Follow-up Comment #1, bug #48872 (project gettext):

To clarify: the submitter originally posted this as a Poedit bug (see
https://groups.google.com/forum/#!msg/poedit/vlEQ55jdabo/zGAwYanLBQAJ).

It’s fine that msgfmt -c doesn’t complain about the lack of {selnum} in
msgstr[0] (singular). That’s of course desirable, because some languages
strongly prefer to express “1 something” without using the “1” number.


What _isn’t_ fine is that it doesn’t complain about other errors such as
the above example {selnum123}, which are unrelated to this singular special
case. The error given (lack of selnum) for msgstr[1] is misleading, but if you
use “{selnum} {selnum123} of {maxnum}" instead, you get the expected "a
format specification for argument 'selnum123' doesn't exist in
'msgid_plural’”… That’s something that should be reported for singular
translations & msgid as well.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48872>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to