If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=475434
sabayon | general | Ver: 2.19.x
Summary: ngettext strings are not translated
Product: sabayon
Version: 2.19.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
CC: [email protected]
GNOME version: 2.19/2.20
GNOME milestone: Unspecified
Trying to take a localized screenshot for sabayon, I find that the warning
messages telling the time since last saving are not translated, although they
are already translated in po files.
In sabayon's admin-tool/saveconfirm.py:
secondary_msg = gettext.ngettext ("If you don't save, changes from
the last %ld second "
"will be permanently lost.",
"If you don't save, changes from
the last %ld seconds "
"will be permanently lost.",
seconds) % seconds
Nothing looks wrong. But gettext happens to be initialized with
gettext.install() in lib/util.py : init_gettext().
I've written a simple test program to check this. It seems gettext.install()
has defined the meaning of _(), but not ngettext(). However, had gettext been
initialized by bindtextdomain() and textdomain(), both would work.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=475434.
_______________________________________________
gnome-i18n mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-i18n