Hide Forgot
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Build Identifier: I'm not sure which component to file this against. The kn.po file that was pulled is returning errors when processed with /usr/bin/msgfmt -c --statistics --verbose -o kn.gmo kn.po it reports errors on lines 22, 1310, 2398 and 2625 because it has multiple plural entries when it is only supposed to have one. I edited it to remove the extra msgstr[1] entries and pushed the changes back up (using zanata-python-client). On the next pull the file was still broken. Reproducible: Always
This is because the plural format specified in kn.po is wrong. The correct plural forms should be "Plural-Forms: nplurals=2; plural=(n != 1);" I have fixed the plural-forms for kn so you can pull the kn.po with zanata-cli -B pull --locales kn This should solve the "too many plural forms" error.
It would be helpful if things like this could be caught on the server side so that pulling doesn't result in broken files.
Ding, could you work with Brian to file an RFE if this is a necessary feature.
Two RFE bugs have been filed: 1. Checking when po is uploading via web UI: Bug 1197925 2. Checking when po is pushing via zanata-client: 1197927 3. Checking when po is pushing via zanata-python-client: 1197928
Correction: Following RFE bugs have been filed: 1. Checking when po is uploading via web UI: Bug 1197925 2. Checking when po is pushing via zanata-client: Bug 1197927 3. Checking when po is pushing via zanata-python-client: Bug 1197928