[Koha-bugs] [Bug 23452] Multiple select options in system preferences are not translatable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 24 14:42:23 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23452

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #95008|0                           |1
        is obsolete|                            |

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 95764
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95764&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list