Bugzilla – Attachment 70450 Details for
Bug 19522
Label creator - some strings are not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19522: Label creator - some strings are not translatable
Bug-19522-Label-creator---some-strings-are-not-tra.patch (text/plain), 2.48 KB, created by
Victor Grousset/tuxayo
on 2018-01-12 08:59:16 UTC
(
hide
)
Description:
Bug 19522: Label creator - some strings are not translatable
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2018-01-12 08:59:16 UTC
Size:
2.48 KB
patch
obsolete
>From e44f9adecd827cfd172c3a5cc86b8a3b99ec6d7f Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Wed, 25 Oct 2017 15:22:11 +0200 >Subject: [PATCH] Bug 19522: Label creator - some strings are not translatable >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Templates: new form: >Add hardcoded unit names to make them translatable. > >Test plan: >1. install the fr_FR locale >2. go to /cgi-bin/koha/labels/label-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: Simon Pouchol <simon.pouchol@biblibre.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/labels/label-edit-template.tt | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >index e4fc9f9..1a107ef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >@@ -77,14 +77,24 @@ > <label for="units">Units:</label> > <select id="units" name="units"> > [% FOREACH unit IN units %] >- > [% IF ( unit.selected ) %] > <option value="[% unit.type %]" selected="selected"> > [% 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> >-- >2.7.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 19522
:
68471
|
68472
|
68526
|
68527
|
68537
|
68538
|
68612
|
68613
|
68614
|
68615
|
68616
|
68674
|
68739
|
68740
|
68785
|
68964
|
68965
|
68966
|
68967
|
68968
|
68969
|
68970
|
68971
|
68973
|
68974
|
68975
|
68976
|
68977
|
68978
|
68979
|
70015
|
70016
|
70017
|
70018
|
70019
|
70020
|
70021
|
70449
|
70450
|
70451
|
70452
|
70453
|
70454
|
70935
|
70936
|
70937
|
70938
|
70939
|
70940
|
72357
|
72371
|
72375
|
72415
|
73228
|
73229
|
73230
|
73231
|
73232
|
73233
|
73234
|
73235