Re: New class proposal: Numbers_Spell

From: Date: Fri, 15 Nov 2002 20:18:44 +0000
Subject: Re: New class proposal: Numbers_Spell
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10851@lists.php.net to get a copy of this message
+1. I will help with french translations. -- M.CHAILLAN Nicolas nicos@php.net www.WorldAKT.com Hébergement de sites internets. "Xavier Noguer" <xnoguer@rezebra.com> a écrit dans le message de news: 200211151702.59694.xnoguer@rezebra.com... El Vie 15 Nov 2002 14:09, Tal Peer escribió: > Arnaud Limbourg wrote: > > Looks all right to me. > > > > +1. > > +1 too, just a little typo: when i try with num=0, it gives 'ero' > instaed of zero. > And regarding the name, maybe Numbers_Words? +1. And a patch for the 'ero' error: --- /home/xnoguer/Numbers_Spell-0.1/Spell/lang.en_US.php Fri Nov 15 12:03:06 2002 +++ Spell/lang.en_US.php.new Fri Nov 15 16:58:44 2002 @@ -216,7 +216,7 @@ return $ret; } } elseif ($num == 0 || $num == '') { - return $this->_digits[0]; + return $this->_sep . $this->_digits[0]; } $h = $t = $d = 0;

« previous php.pear.dev (#10851) next »