exported po files lack plural forms in meta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Po files exported through Download (email/tarball) have no plural forms information in the meta header but should.
For example, here's a the meta data from a recently downloaded Russian po file:
"Project-
"Report-
"POT-Creation-Date: 2009-08-07 16:54-0400\n"
"PO-Revision-Date: 2009-04-30 13:15-0400\n"
"Last-Translator: knitzsche <email address hidden>\n"
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
And here's the header for a standard Russian po file created by msginit -l ru:
"Project-
"Report-
"POT-Creation-Date: 2009-08-07 16:54-0400\n"
"PO-Revision-Date: 2009-08-14 10:39-0400\n"
"Last-Translator: knitzsche <email address hidden>\n"
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
The lacks of plural forms in the header adds a step (to add it back in) that is easily missed when using Rosetta exports as a basis for external merging/procesing.
tags: | added: oem-services |
oops, I pasted the msginit meta header twice. here is the meta produced from rosetta download:
"Project- Id-Version: netbook- remix-launcher\ n" Msgid-Bugs- To: FULL NAME <EMAIL@ADDRESS>\n" Transfer- Encoding: 8bit\n" Export- Date: 2009-08-04 08:52+0000\n"
"Report-
"POT-Creation-Date: 2009-05-13 09:55-0400\n"
"PO-Revision-Date: 2009-06-17 17:05+0000\n"
"Last-Translator: Sergei Sedov <email address hidden>\n"
"Language-Team: Russian <email address hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-
"X-Launchpad-
"X-Generator: Launchpad (build Unknown)\n"