Bugzilla – Attachment 68616 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: translate empty list message
Bug-19522-Label-creator-translate-empty-list-messa.patch (text/plain), 2.00 KB, created by
Victor Grousset/tuxayo
on 2017-10-26 14:30:50 UTC
(
hide
)
Description:
Bug 19522: Label creator: translate empty list message
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2017-10-26 14:30:50 UTC
Size:
2.00 KB
patch
obsolete
>From 71a1865554cce4824f64788a7300e4ff37577fcf Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Thu, 26 Oct 2017 15:56:54 +0200 >Subject: [PATCH] Bug 19522: Label creator: translate empty list message >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The name of the element wasn't translated in the message. > >Test plan: >1. install the fr_FR locale >2. go to /cgi-bin/koha/labels/label-manage.pl?label_element=batch >3. ensure that the list is empty >4. then you should see "pas de Batches actuellement" >5. then you should see "créer un nouveau batch." >6. apply this patch >7. install the language >8. refresh the page >9. then you should see "pas de Lots actuellement" >10. then you should see "créer un nouveau lot ." >--- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index 7bd00e5..c247b6e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -168,8 +168,11 @@ > </form> > [% ELSE %] > <div class="dialog message"> >- <h4>There are no [% label_element_title %] currently available.</h4> >- <p>Use the toolbar above to create a new [% label_element %].</p></div> >+ <h4>There are no >+ [% PROCESS translate_label_element element=label_element_title %] >+ currently available.</h4> >+ <p>Use the toolbar above to create a new >+ [% PROCESS translate_label_element element=label_element %].</p></div> > [% END %] > </div> > [% IF ( error ) %] >-- >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