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

Bug #685621 reported by Redmar
6
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://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

Revision history for this message
Данило Шеган (danilo) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.