Bug 20111: i18nize units in Patron card creator

Test plan:
1. install and switch to the fr_FR locale
     or another one and adapt the test plan accordingly
2. go to /cgi-bin/koha/patroncards/edit-template.pl?op=new
3. then you should see the "Unités" dropdown with english units
4. apply this patch
5. install the language
6. refresh the page
7. then you should see the "Unités" dropdown with french units

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Victor Grousset 2018-02-14 11:25:34 +01:00 committed by Jonathan Druart
parent cc1bfafbd0
commit d9dff376ae

View file

@ -84,7 +84,19 @@
<option value="[% unit.type %]">
[% END %]
[% unit.desc %]
[% SWITCH unit.type %]
[% CASE 'POINT' %]
<span>PostScript Points</span>
[% CASE 'AGATE' %]
<span>Adobe Agates</span>
[% CASE 'INCH' %]
<span>US Inches</span>
[% CASE 'MM' %]
<span>SI Millimeters</span>
[% CASE 'CM' %]
<span>SI Centimeters</span>
[% END %]
</option>
[% END %]
</select>