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

Reply via email to