[Yum-devel] [PATCH] Add po/Makevars for gettext plural handling

Jeremy Katz katzj at fedoraproject.org
Fri Nov 13 14:29:10 UTC 2009


On Fri, Nov 13, 2009 at 3:46 AM, Ville-Pekka Vainio
<vpivaini at cs.helsinki.fi> wrote:
> to, 2009-11-12 kello 11:48 -0500, Jeremy Katz kirjoitti:
>> Does msgfmt -c do the right thing to ensure that the format strings
>> given in the translated versions match with the expected format
>> strings now?  The last time I looked, it didn't do so for python which
>> (to me) was a strong reason _against_ using any of the format string
>> methods for string substitution.  If msgfmt -c doesn't catch it[1],
>> then the outcome of a typo in a po file is a crash for users of that
>> language :-/
>
> I did a quick test:
[snip]
> This is on gettext-0.17-15.fc12. I guess we could start using format
> strings now?

That all looks great.  Thanks for testing it!

- Jeremy


More information about the Yum-devel mailing list