Bug 19522: i18n Label creator: wrap text with <span>
authorVictor Grousset <victor.grousset@biblibre.com>
Mon, 5 Mar 2018 10:47:25 +0000 (11:47 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:31:15 +0000 (17:31 -0300)
In a SWITCH CASE.
To avoid pollution and duplication in the .po files.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt

index 8383663..b9ba556 100644 (file)
 
                                      [% SWITCH unit.type %]
                                      [%   CASE 'POINT' %]
-                                     PostScript Points
+                                     <span>PostScript Points</span>
                                      [%   CASE 'AGATE' %]
-                                     Adobe Agates
+                                     <span>Adobe Agates</span>
                                      [%   CASE 'INCH' %]
-                                     US Inches
+                                     <span>US Inches</span>
                                      [%   CASE 'MM' %]
-                                     SI Millimeters
+                                     <span>SI Millimeters</span>
                                      [%   CASE 'CM' %]
-                                     SI Centimeters
+                                     <span>SI Centimeters</span>
                                      [% END %]
                                  </option>
                                  [% END %]