Bug 32356: Install installer translated files on update
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Nov 2022 09:22:10 +0000 (10:22 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 17 Feb 2023 13:08:10 +0000 (14:08 +0100)
commit0d73f1b9a23beb3ec13752cbcb587dc5255b4dbc
tree4951da48242c797c93e2817116940a506271d9e7
parent3b053b0d793b6adbd1fc4c87752c011e9d0e5dd4
Bug 32356: Install installer translated files on update

If the installer files exist for a given language, the translate script
won't update it.
We should get a confirmation from Bernardo (author of bug 24262), but I
don't understand why it could be needed (side-effects?)

Test plan:
Installer several times the same language, drop the DB and run the
installer+onboarding process.
Check files installed by the installer (yaml for notice templates,
biblio frameworks) have inserted the data properly in DB.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit aa3444505f2b47a73f4b281a622b6c1073bb5c8d)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 27d128c3ab24096fccb1fa96a05ad7173c9bbc9d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1c19bb0532483da1ff7e0af3a98965550e744f68)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
misc/translator/LangInstaller.pm