Bugzilla – Attachment 24458 Details for
Bug 11363
Label printer profile units are not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11363 - Label printer profile units are not translatable
SIGNED-OFF-Bug-11363---Label-printer-profile-units.patch (text/plain), 2.19 KB, created by
Owen Leonard
on 2014-01-16 13:39:40 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11363 - Label printer profile units are not translatable
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-01-16 13:39:40 UTC
Size:
2.19 KB
patch
obsolete
>From c16609fddfd84d72ba6d0c126343d49d067a3cdc Mon Sep 17 00:00:00 2001 >From: Roman Amor <romanwilton@gmail.com> >Date: Thu, 16 Jan 2014 15:55:03 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 11363 - Label printer profile units are not > translatable >Content-Type: text/plain; charset="utf-8" > >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> >--- > .../prog/en/modules/labels/label-edit-profile.tt | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >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.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11363
:
24442
|
24458
|
24504