unclear LP error when translating only one of single/plural pair
Bug #685621 reported by
Redmar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
observed behaviour: If you only translate/submit suggestion for one string in an single/plural pair Launchpad shows the following error:
"a format specification for argument 'amount' doesn't exist in 'msgstr[0]'"
(taken from https:/
When I submit a suggestion/
What I would like to see:
a) just accept it when only one string of a single/plural pair is translated, or
b) give a more informative error message explaining that both should be translated.
Thanks for your time
To post a comment you must log in.
Agreed, we should show a better error message.
However, it's not going to be easy for this specific case because you _can_ submit only a single plural form without getting an error (i.e. your suggested solution a), but what you've seen is an error message from gettext msgfmt syntax checking. And that syntax checking would have to be fixed/improved to differentiate between the two.