Bugzilla – Attachment 73148 Details for
Bug 20111
Patron card creator - some strings are not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20111: i18nize units in Patron card creator
Bug-20111-i18nize-units-in-Patron-card-creator.patch (text/plain), 2.33 KB, created by
Mark Tompsett
on 2018-03-22 02:33:26 UTC
(
hide
)
Description:
Bug 20111: i18nize units in Patron card creator
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-03-22 02:33:26 UTC
Size:
2.33 KB
patch
obsolete
>From 1137145ca9b80f022e700c83abec074631c4e62c Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Wed, 14 Feb 2018 11:25:34 +0100 >Subject: [PATCH] Bug 20111: i18nize units in Patron card creator >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >--- > .../prog/en/modules/patroncards/edit-template.tt | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >index 3f69400..83222ed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >@@ -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> >-- >2.1.4
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 20111
:
71603
|
71604
|
72409
|
72410
|
73146
|
73147
|
73148
|
73236
|
73237