Bug 11593 - subtag_registry.sql files contain the same information for each language
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Wed, 2 Apr 2014 20:49:48 +0000 (17:49 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 13:49:02 +0000 (10:49 -0300)
commitb4abb244f7c0f9d460986338ee3b88ad23173b80
treea455ab7ce09913a693315de9f4554562b5e4dd74
parent1b695f7dd7ba3eb5b2ccc919099cd2c7b0f8c378
Bug 11593 - subtag_registry.sql files contain the same information for each language

This patch removes subtag_registry.sql from lang dirs,
and put it on a new mandatory dir

In that way we need to update only one file.
All similar files are removed.

To test:
1) Try a new install, or simply create a new database,
grant permissions on it, change koha-conf.xml to use
this database and go to staff page

2) Go step by step until all mandatory or optional sql
files are loaded. Check that subtag_registry.sql is
loaded.

3) Do it again but on other language. First install
translation and repeat 2), could use de-DE or fr-FR

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, tested with de-DE.
Thx!

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
19 files changed:
C4/Installer.pm
installer/data/mysql/de-DE/mandatory/subtag_registry.txt [deleted file]
installer/data/mysql/en/mandatory/subtag_registry.sql [deleted file]
installer/data/mysql/es-ES/mandatory/subtag_registry.sql [deleted file]
installer/data/mysql/es-ES/mandatory/subtag_registry.txt [deleted file]
installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.sql [deleted file]
installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.txt [deleted file]
installer/data/mysql/it-IT/necessari/subtag_registry.sql [deleted file]
installer/data/mysql/it-IT/necessari/subtag_registry.txt [deleted file]
installer/data/mysql/mandatory/subtag_registry.sql [moved from installer/data/mysql/de-DE/mandatory/subtag_registry.sql with 100% similarity]
installer/data/mysql/mandatory/subtag_registry.txt [moved from installer/data/mysql/en/mandatory/subtag_registry.txt with 100% similarity]
installer/data/mysql/nb-NO/1-Obligatorisk/subtag_registry.sql [deleted file]
installer/data/mysql/nb-NO/1-Obligatorisk/subtag_registry.txt [deleted file]
installer/data/mysql/pl-PL/mandatory/subtag_registry.sql [deleted file]
installer/data/mysql/pl-PL/mandatory/subtag_registry.txt [deleted file]
installer/data/mysql/ru-RU/mandatory/subtag_registry.sql [deleted file]
installer/data/mysql/ru-RU/mandatory/subtag_registry.txt [deleted file]
installer/data/mysql/uk-UA/mandatory/subtag_registry.sql [deleted file]
installer/data/mysql/uk-UA/mandatory/subtag_registry.txt [deleted file]