From: Matt R. <ma...@fr...> - 2006-04-24 22:18:50
|
It had been awhile since I looked at this project and needed to revisit it anyway. I just went ahead and grabbed the latest CSV snapshot for the 1.5.2 plugins (plugins-20060405_0000-CVS.devel.tar.gz) and tested it on a near vanilla (altering config/config.php for it to work) install of CVS snapshot for 1.4.7 (squirrelmail-20060405_0000-CVS.stable.tar.gz). With the following patch it appears to work just fine with the 1.4.x tree. I did not install the compatibility plugin btw. Hope this is what you were looking for.. It's pretty much out of the box. Note: this is for plugins-20060405_0000-CVS.devel.tar.gz. Index: squirrelspell/modules/check_me.mod =================================================================== --- squirrelspell/modules/check_me.mod Sun Feb 5 05:23:03 2006 +++ squirrelspell/modules/check_me.mod Mon Apr 24 12:02:46 2006 @@ -339,7 +339,7 @@ <tr> <td bgcolor="<?php echo $color[9] ?>" align="center"> <b> - <?php printf( ngettext("Found %d error","Found %d errors",$errors), $errors ) ?> + <?php printf( _("Found %s errors"), $errors ) ?> </b> </td> </tr> Thanks. Matthew Ruzicka - Systems Administrator Front Range Internet, Inc. ma...@fr... - (970) 212-0728 Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com On Mon, 24 Apr 2006, Jonathan Angliss wrote: > Hi Matt, > On Thursday, March 30, 2006, Matt wrote: >> I finally got around to implementing this so I figured I'd post my >> results. > >> I went ahead and grabbed the 1.5.2-cvs plugins (20060331), moved the >> original 1.4.6 squirrelspell plugin offline and copied the 1.5.1 >> squirrelspell plugin into its place. I then grabbed the latest >> compatibility plugin (2.0.4) and patched the source with it. Partially >> out of laziness and partially out of a distrust of making php install >> changes I went ahead and replaced the ngettext line in new check_me.mod >> with the old one instead of recompiling with gettext. I'm assuming this >> would only lose me translation and numeral word correctness figuring I >> could regain this functionality when 1.5 is ready for prime time. > >> All and all pretty painless and it's nice to have the user dicts in sql. > >> Thanks for the assistance, and as always, thanks for all the hard work on >> SM. > > As you've done the leg work, want to submit a patch for the > SquirrelSpell plugin? I don't believe the compatibility plugin is > needed for SquirrelSpell, so just a patch for the SquirrelSpell plugin > would be great. Would save us a bit of duplicated work ;) > > > -- > Jonathan Angliss > <jo...@sq...> > > [ PGP Signature ok - Mon Apr 24 16:10:42 MDT 2006 ] > |