Bug 13362: translate script creates dirs on update
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 28 Nov 2014 18:14:53 +0000 (15:14 -0300)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 18 Dec 2014 00:54:27 +0000 (13:54 +1300)
commit98d7b1a8c222cee85eb0d770f46e91d78f124712
tree64830adfcf2d61ce6cd533a9ca3b28c2bae6001f
parent4de5a80e26baa90f09bed9c9fb7af1bfeffcf335
Bug 13362: translate script creates dirs on update

A dir creation was uncommented (by me), the effect is
create a lang dir on 'update', which is no needed.

To test:
1) Update translation files for a uninstalled language
(cd misc/translator; ./translate update xx-YY)

2) Check new dirs
koha-tmpl/opac-tmpl/bootstrap/xx-YY/
koha-tmpl/intranet-tmpl/prog/xx-YY/
koha-tmpl/intranet-tmpl/prog/en/modules/help/xx-YY/

3) Clean all
git clean -f -d

4) Apply the patch

5) Repeat 1) (i.e. update)

6) Check no new dirs this time

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested according to test plan, works as described.
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 0edebb12b4aa9bb0532eb574aaaeee201a61f595)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/translator/LangInstaller.pm