Re: [+gnome] Re: Format specifier (re)ordering in Python (was: String change for orca)
2009-02-11 klockan 21:58 skrev Willie Walker: But, if the gnome-i18n team makes a decree that thou shalt always use format specifier reordering, [...] Hi Willie, No worries, if your current approach to this specific case works, by all means leave it like it currently is. It's simpler after all. Sorry if I wasn't clear about this: my intention was not to correct you or urge you to revisit the changes you made. I just sent out this message for future reference. Keep up the good work, and take care not to insult gnome-i18n, ;) — Wouter signature.asc Description: Digital signature ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: [+gnome] Re: Format specifier (re)ordering in Python (was: String change for orca)
2009-02-11 klockan 22:03 skrev Marcel Telka: On Wed, Feb 11, 2009 at 09:37:20PM +0100, Wouter Bolsterlee wrote: There is one downside though: translators MUST NOT translate the keywords Isn't this checked by the msgfmt command? If not, it should be, IMHO. Bug in gettext? If I recall correctly (it's been a while), this is not checked. However, things might have changed in the mean time. — Wouter signature.asc Description: Digital signature ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: [+gnome] Re: Format specifier (re)ordering in Python (was: String change for orca)
On Wed, Feb 11, 2009 at 10:07:25PM +0100, Wouter Bolsterlee wrote: 2009-02-11 klockan 22:03 skrev Marcel Telka: On Wed, Feb 11, 2009 at 09:37:20PM +0100, Wouter Bolsterlee wrote: There is one downside though: translators MUST NOT translate the keywords Isn't this checked by the msgfmt command? If not, it should be, IMHO. Bug in gettext? If I recall correctly (it's been a while), this is not checked. However, things might have changed in the mean time. I tested it and it works! $ tail sk.po -n 3 #, python-format msgid %(aaa)s %(bbb)d msgstr %(bbb)d %(zzz)s $ LC_ALL=C msgfmt -c sk.po sk.po:20: a format specification for argument 'aaa' doesn't exist in 'msgstr' msgfmt: found 1 fatal error $ msgfmt -V msgfmt (GNU gettext-tools) 0.17 Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Napísal Ulrich Drepper. $ -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | |jabber: mar...@jabber.sk | +---+ ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n