]> git.koha-community.org Git - koha.git/commit
Bug 23452: Multiple select options in system preferences are not translatable
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Mon, 4 Nov 2019 13:50:11 +0000 (10:50 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 26 Nov 2019 11:45:41 +0000 (11:45 +0000)
commit7657163d8f9fb0f2932dc663fdec1ce8e2c8e3c4
treec12c97088b5ccf03894dedefa832d5d9d6c75a6b
parent7da1644fd5ad7506cfe410f8c04f6d0f2e416668
Bug 23452: Multiple select options in system preferences are not translatable

Translate script ignores multiple options in system preferences,
this patch fix that.

To test:
1) Apply the patch
2) Go to misc/translator
cd misc/translator
3) Update your preferred language
perl translate update xx-YY
4) Updated pref file must contain new strings, eg.
egrep "when cataloguing an item" po/xx-YY-pref.po
5) Edit & translate that string
6) Install the updated translation
perl translate install xx-YY
7) Check that the translated pref file has
a) multiple options present
b) the message from 5) is translated
see for example circulation.pref
en: koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
xx: koha-tmpl/intranet-tmpl/prog/xx-YY/modules/admin/preferences/circulation.pref

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/translator/LangInstaller.pm