[Koha-bugs] [Bug 12843] Set printf errors as fuzzy on translation files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 28 16:30:27 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12843
--- Comment #1 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 31257
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31257&action=edit
Bug 12843: Set printf errors as fuzzy on translation files
This patch set as fuzzy entries on translation files
masked as translated.
Problem is that some translations are broken
To test:
View Problems:
1. Translate to arabic, enable it, go to opac, there is nothing
(broken template)
(cd misc/translator; ./translate install ar-Arab)
2. Update fr-FR tranlation files, there are many errors
(cd misc/translator; ./translate update fr-FR)
3. Reset and clean
Fix:
4. Apply the patch
5. Repeat 1, now opac loads
6. Repeat 2, now update runs without warnings
What did I do?
foreach lang
a) extract printf errors not marked as fuzzy
pofilter --nonotes --nofuzzy -i langdir/ -o tmpdir/ -t printf
b) mark them as fuzzy, foreach file
msgattrib $file -o temp.po --set-fuzzy; mv temp.po $file
c) Merge fixed files with old ones
pomerge -t landir/ -i tmpdir/ -o langdir/
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list