From ebd523ffd55ba89892986c87bf8cab299d035361 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=utf8 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 Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../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 71fe074686..c2984509b5 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.39.2