[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #56456] xgettext doesn't separate msgid_plural and ms
From: |
Michal Čihař |
Subject: |
[bug-gettext] [bug #56456] xgettext doesn't separate msgid_plural and msgid when extracting |
Date: |
Fri, 7 Jun 2019 06:06:49 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
URL:
<https://savannah.gnu.org/bugs/?56456>
Summary: xgettext doesn't separate msgid_plural and msgid
when extracting
Project: GNU gettext
Submitted by: nijel
Submitted on: Fri 07 Jun 2019 12:06:47 PM CEST
Category: Plural forms
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When there are both simple and plural string with same singular they are
extracted as only plural leaving out possibility to translate the simple form
as that.
Example file (in Python, but the language doesn't seem to affect this, tested
with C as well):
n = 1
ngettext("Language", "Languages", n)
_("Language")
After running xgettext test.py, I'd expect to have two entries, but there is
just one:
#: test.py:2 test.py:3
msgid "Language"
msgid_plural "Languages"
msgstr[0] ""
msgstr[1] ""
This might be just different incarnation of
https://savannah.gnu.org/bugs/?35027
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56456>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug-gettext] [bug #56456] xgettext doesn't separate msgid_plural and msgid when extracting,
Michal Čihař <=