Pomo
Pomo copied to clipboard
If the file does not has enters between messages it fails
Translations of aaaa aa module
msgid "" msgstr "" "Project-Id-Version: aa:aa (7.x-3.12)\n" "POT-Creation-Date: 2015-06-30 01:28+0000\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" "Language-Team: aaaa aaa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n"
msgid "Updated" msgstr "Updated" msgid "Measurements" msgstr "Measurements"
This fails, only has Measurements on it. Updated is ignored.
I'm not 100% sure I actually get it. If you're more confortable explaining the issue in spanish or portuguese please do, as right as-is it seems to work for me.
Your use case seems to work for me, somehow. I'm guessing I'm not getting the problem right; please explain in any other language you're more comfortable with so we can get to the bottom of it; we can post translations in any case once this gets fixed
I had to change this for it to work:
https://github.com/lcrodriguez/Pomo/commit/2fba4b7725e924d27f2852ebece0f5405fcb4050
I'm using it in the browser.
I've done a few improvements to this. The problem I have is that I have valid PO files that do not separate with /n/n between messages so where not correctly parsed. I will update my code now.
Code to be improved but works: https://github.com/lcrodriguez/Pomo/commit/28e5e5acff0dec63a7af8a494047f14687e7540f