If you open one of the po files for translating system preferences in an editor, you see lots of comments: # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting # Web services > Reporting msgid "web_services.pref#SvcMaxReportRows# rows of a report requested via the reports web service." msgstr "Zeilen für einen Report, der über den Reports Web Service ausgeführt wird." I checked Chinese and German 3.10 files - both show the additional comments. Right now I don't know why that is or how it happens, but I wanted to document it anyway :)
Verified on current master.
Created attachment 63831 [details] [review] Bug 9433 - Translatability: Too many comments in system preferences po file This patch adds quotes to strings in web_services.pref to avoid lots of comments in preferences po file. To verify: See initial comment. (A lot of lines 'Web services > reporting and other similar lines) To test: - Apply patch - go to misc/translator, then perl translate create aa-AA for an 'language' aa-AA - Verify in po/aa-AA-pref.po that the issue from initial comment is gone
More to come...
Marc, I do not recreate: % perl translate update es-ES % grep "Web services > Reporting" po/es-ES-pref.po|wc -l 3
(In reply to Jonathan Druart from comment #4) > Marc, I do not recreate: > > % perl translate update es-ES > % grep "Web services > Reporting" po/es-ES-pref.po|wc -l > 3 Try create (not update) perl translate create aa-AA Then open po/aa-AA-pref.po
When I tested I compared with the file downloaded from translate.koha-community.org Cait, can you have a look please? - Can you still reproduce? (BTW: The problem appears still in http://translate.koha-community.org/de/17.05/)
I didn't rememember filing this one :) Checked the file on Pootle - it's clean. I'll mark this WORKSFORME now.