]> git.koha-community.org Git - koha.git/commit
Bug 12061 - tmpl_process3.pl - Remove obsoleted strings/backups
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sun, 6 Apr 2014 22:21:47 +0000 (19:21 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 1 Sep 2014 14:00:03 +0000 (11:00 -0300)
commit16636c34d25054fd8d8f9dfbfcdfc6fe6fe7020b
treee8a8ae83e25a43df707f14625b49ab387a446ad4
parentecab8f3dd225080e6339c267d886ddc7eb9143d2
Bug 12061 - tmpl_process3.pl - Remove obsoleted strings/backups

This patch modifies the update process for PO files,
removing obsoleted strings. Currently they are removed
manually as part of the standar procedure of strings update.
Also backup files (*~) need to be removed manually.

To test:
1. Update translation files for any language, ej. fi-FI
(cd misc/translation; perl translate update fi-FI)

2. Check existence of obsoleted strings
egrep "#~ msg" misc/translator/po/fi-FI-*

3. Check existence of backup files
ls misc/translator/po/fi-FI-*~

4. Reset to HEAD and clean

5. Apply the patch

6. Update again, check there are no more obsoleted
strings nor backup files

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
misc/translator/tmpl_process3.pl