From 247d74b7e58f27a9e2969bca8983e3b8bade6a44 Mon Sep 17 00:00:00 2001 From: Victor Grousset 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 ." Signed-off-by: Simon Pouchol --- 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 @@ [% ELSE %]
-

There are no [% label_element_title %] currently available.

-

Use the toolbar above to create a new [% label_element %].

+

There are no + [% PROCESS translate_label_element element=label_element_title %] + currently available.

+

Use the toolbar above to create a new + [% PROCESS translate_label_element element=label_element %].

[% END %] [% IF ( error ) %] -- 2.7.4