http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11631

Bernardo Gonzalez Kriegel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24859|0                           |1
        is obsolete|                            |

--- Comment #2 from Bernardo Gonzalez Kriegel <[email protected]> ---
Created attachment 26478
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26478&action=edit
[SIGNED-OFF] Bug 11631 - Make translation toolchain ignore useless
"translatable" strings that contain nothing but spaces and/or placeholders.

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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to