From 93d93b36377dea05131307106f1e5a9f226d9487 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 21 Sep 2015 15:56:49 +0100 Subject: [PATCH] Bug 14805: Replace generic 'items' with the specific ones MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/patroncards/manage.tt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt index 8b438d342c..7641a4869c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt @@ -10,6 +10,14 @@ [%- CASE 'Batches' -%]Batches [%- CASE 'Actions' -%]Actions [%- END -%] +[% END %] +[% BLOCK translate_card_elements %] +[%- SWITCH element -%] +[%- CASE 'layout' -%]layouts +[%- CASE 'template' -%]templates +[%- CASE 'profile' -%]profiles +[%- CASE 'batch' -%]batches +[%- END -%] [% END %] [% INCLUDE 'doc-head-open.inc' %] @@ -24,7 +32,7 @@ var msg; if (element_ids.length > 1) { - msg = _("Are you sure you want to delete %s items?").format(element_ids.length, element_ids.length); + msg = _("Are you sure you want to delete %s %s?").format(element_ids.length, "[% PROCESS translate_card_elements element=card_element %]"); } else if (element_ids.length == 1) { msg = _("Are you sure you want to delete %s %s?").format("[% PROCESS translate_card_element element=card_element %]", element_ids[0]); } -- 2.39.5