Problems with translations import

Asked by Erdal Ronahi

After importing the file http://launchpadlibrarian.net/11576951/drkonqi-ku.po I got the following mail:

We were unable to import the file because of errors in its format.
You can check your file for correct formatting with the 'msgfmt'
command.

msgfmt -cv does not show any errors. I have no idea where the problem may be. The original file was downloaded from Launchpad and merged with the translations from KDE SVN.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Jeroen T. Vermeulen
Solved:
Last query:
Last reply:
Revision history for this message
Best Jeroen T. Vermeulen (jtv) said :
#1

The problem seems to be here:

#, fuzzy
#~| msgid "Backtrace saved to %1"
#~ msgid "Backtrace saved to <filename>%1</filename>."
#~ msgstr "Dîtina paşde li pelê%1 hat tomarkirin"

The "#~" prefix has a special meaning: it says that this message is obsolete. That is, the message's string was removed or changed in the template. In this case it was changed to add quotes around the filename. There is also a special prefix "#|" which indicates an older version of the same message string.

Your file seems to combine the two. I'm not sure that's allowed, but it seems to confuse our parser. If you edit out that line, the problem should go away.

Revision history for this message
Erdal Ronahi (erdalronahi) said :
#2

Thanks Jeroen T. Vermeulen, that solved my question.