unclear LP error when translating only one of single/plural pair

Bug #685621 reported by Redmar on 2010-12-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

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://translations.launchpad.net/ubuntu/natty/+source/software-center/+pots/software-center/nl/183/+translate)

When I submit a suggestion/translation for both the single and plural however, the error goes away and the translation is accepted.

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

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.

Changed in rosetta:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers