[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.06-23-gfe4e5ed
Git repo owner
gitmaster at git.koha-community.org
Fri May 16 14:22:22 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 3.14.x has been updated
via fe4e5eded2c4531600f700cbd1f0b0582f316bbb (commit)
from c69dfd1de219230187928fe258dff9a9ca3b8f2f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fe4e5eded2c4531600f700cbd1f0b0582f316bbb
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date: Thu Apr 24 11:01:52 2014 +0300
Bug 11631: Make i18n toolchain ignore useless strings
This patch removes several types of strings from the
PO files that cannot be usefully translated, including
ones that consist entirely of punctuation and/or HTML entities.
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.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Tested according to test plan, works as described.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit c2295530401f53653386ff07a43c668a6a574d65)
-----------------------------------------------------------------------
Summary of changes:
misc/translator/xgettext.pl | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list