[Koha-bugs] [Bug 11631] Make translation toolchain ignore useless translatable strings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 26 18:22:01 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11631
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27527|0 |1
is obsolete| |
--- Comment #14 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 27659
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27659&action=edit
[SIGNED_OFF] Bug 11631: Make i18n toolchain ignore useless strings
Copy of test plan:
Test:
1) Update PO files of some lang, xx-YY-*po
cd misc/translator
perl translate update xx-YY
2) Do it again, just in case
3) rm po/xx-YY*po~
4) Extract all msgid's, sorted
cat po/xx-YY*po | egrep "^msgid" | sort | uniq > xx-YY-pre
5) Apply the patch
6) Repeat 1-3
7) Repeat 4 again, other file
cat po/xx-YY*po | egrep "^msgid" | sort | uniq > xx-YY-post
8) Do a diff, inspect results, only strings with %s and \s
diff xx-YY-pre xx-YY-post | less
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Works as described, 380 strings less to 'translate'
No koha-qa errors.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list