number of format specifications in 'msgid' and 'msgstr' does not match

Asked by Donald Rogers

My understanding is that with a msgid such as:

_n: %n replacement made
%n replacements made

the line starting with _n: should not be translated. Is this so?
When I translated only the second line of the above msgid I got the message:
"number of format specifications in 'msgid' and 'msgstr' does not match".
Presumably this is because msgstr has one "%n" but msgid has two. Can the syntax checker be changed to allow for this, if I am right about it? Is it a bug?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
Данило Шеган Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

I'm moving this question to the Launchpad Translations team.

Revision history for this message
Matthew Paul Thomas (mpt) said :
#2

.

Revision history for this message
Carlos Perelló Marín (carlos) said :
#3

That's a limitation in Launchpad. Until we finish KDE plural form support, those strings cannot be translated in Launchpad. You can read more about this here: https://bugs.launchpad.net/rosetta/+bug/46982 If you want to track its status, subscribe to the bug report.

Cheers.

Can you help with this problem?

Provide an answer of your own, or ask Donald Rogers for more information if necessary.

To post a message you must log in.