Re: [poedit-users] plural functions other than ngettext()
Vaclav Slavik <[email protected]> Sat, 17 May 2008 23:13:01 +0200
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <1211058781.29115.39.camel@localhost> |
Hi, On Wed, 2008-05-14 at 19:01 +0200, Ruben Arslan wrote: > Vaclav said: > > xgettext must be told that a keyword is plural, so you must either > > specify keywordspec as per xgettext documentation in place of the > > keyword in poedit's configuration dialog or wait for a fixed version > > of poedit. If __ngettext uses same arguments as C ngettext() > > function, then it should be enough to use "__ngettext:1,2" instead of > > "__ngettext" as the keyword (see xgettext documentation for > > explanation of what this means). > > I'm not familiar with command line apps at all and I was only able to > grasp the gettext concept with PoEdit's help, so I wanted to humbly > ask you to implement this feature There is no feature to implement -- you just have to add your (nonstandard, AFAIK) _n() function to keywords list in Catalogs -> Settings -> Keywords, using the correct plural-form syntax. > PS.: Is there an online manual for PoEdit? Not yet, but I plan to move it into a wiki... > I had to gather > information from various sources via Google when I had a (admittedly > stupid) issue with the path specification and the help inside the Mac > OS X version does not seem to work..? Something's wrong with its packaging script :-( In the meantime, the manual is included in sources tarball: http://prdownloads.sourceforge.net/poedit/poedit-1.4.1.tar.gz Also, here: http://fisheye3.cenqua.com/browse/~raw,r=1175/poedit/trunk/docs/en/index.html Regards, Vaclav ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Poedit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/poedit-users
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkgvSl0ACgkQxDYa/UZSZMn/wQCdGuUnN2qsw15rtmslzn3CEgla qo4AnRkAoaXtTkCDKTvshIe8HPuWVSaK =yorr -----END PGP SIGNATURE-----