[zanata-users] broken po files after adding msgid_plurals to pot files

Sean Flanigan sflaniga at redhat.com
Tue Nov 20 00:33:39 UTC 2012


Hi Adrian,

Which client are you using?

Sean.

On 2012-11-20 01:59, Adrian Likins wrote:
> 
> I added a usage of ngettext, and the resulting msgid_plural field to my 
> pot files. After I
> uploaded the pot files, the po files are not populating the field 
> correctly.
> If I upload a pot with content like:
> 
> #: ../src/subscription_manager/gui/installedtab.py:215
> #, python-format
> msgid "Covered by contract %s through %s"
> msgid_plural "Covered by contracts %s through %s"
> msgstr[0] ""
> msgstr[1] ""
> 
> The po files that I pull are populated like:
> 
>   "Covered by contract %s through %s"
> msgid_plural "Covered by contracts %s through %s"
> msgstr ""
> 
> 
> Which cause msgfmt to give errors like:
> 
> po/ja.po:293:10: syntax error
> msgfmt: found 1 fatal error
> 
> 
> It seems like this is happening for po's that
> haven't had any changes made to them since uploading
> the pot file. Files that have had changes (as.po, for
> example) seem to be okay.
> 
> Adrian
> 

-- 
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20121120/89177083/attachment.sig>


More information about the zanata-users mailing list