From f6c7860a790bec89bda68623796ec55a737bbd48 Mon Sep 17 00:00:00 2001
From: Roman Amor <romanwilton@gmail.com>
Date: Thu, 16 Jan 2014 15:55:03 +1300
Subject: [PATCH] Bug 11363 - Label printer profile units are not translatable

Changed the unit names form an import to a switch case so that it is in
the .tt so that it can be translated

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 .../prog/en/modules/labels/label-edit-profile.tt   |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt
index 3051521..815fe61 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt
@@ -88,7 +88,18 @@
                                                     [% ELSE %]
                                                     <option value="[% unit.type %]">
                                                     [% END %]
-                                                    [% unit.desc %]
+                                                    [% SWITCH unit.type %]
+                                                    [%   CASE 'POINT' %]
+                                                    PostScript Points
+                                                    [%   CASE 'AGATE' %]
+                                                    Adobe Agates
+                                                    [%   CASE 'INCH' %]
+                                                    US Inches
+                                                    [%   CASE 'MM' %]
+                                                    SI Millimeters
+                                                    [%   CASE 'CM' %]
+                                                    SI Centimeters
+                                                    [% END %]
                                                     </option>
                                                     [% END %]
                                                 </select>
-- 
1.7.2.5