View | Details | Raw Unified | Return to bug 14805
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (-2 / +9 lines)
Lines 11-16 Link Here
11
[%-  CASE 'Actions'   -%]Actions
11
[%-  CASE 'Actions'   -%]Actions
12
[%-  END -%]
12
[%-  END -%]
13
[% END %]
13
[% END %]
14
[% BLOCK translate_card_elements %]
15
[%-  SWITCH element -%]
16
[%-  CASE 'layout'    -%]layouts
17
[%-  CASE 'template'  -%]templates
18
[%-  CASE 'profile'   -%]profiles
19
[%-  CASE 'batch'     -%]batches
20
[%-  END -%]
21
[% END %]
14
22
15
    [% INCLUDE 'doc-head-open.inc' %]
23
    [% INCLUDE 'doc-head-open.inc' %]
16
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; [% PROCESS translate_card_element element=card_element_title %]</title>
24
    <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; [% PROCESS translate_card_element element=card_element_title %]</title>
Lines 24-30 Link Here
24
32
25
                var msg;
33
                var msg;
26
                if (element_ids.length > 1) {
34
                if (element_ids.length > 1) {
27
                    msg = _("Are you sure you want to delete %s items?").format(element_ids.length, element_ids.length);
35
                    msg = _("Are you sure you want to delete %s %s?").format(element_ids.length, "[% PROCESS translate_card_elements element=card_element %]");
28
                } else if (element_ids.length == 1) {
36
                } else if (element_ids.length == 1) {
29
                    msg = _("Are you sure you want to delete %s %s?").format("[% PROCESS translate_card_element element=card_element %]", element_ids[0]);
37
                    msg = _("Are you sure you want to delete %s %s?").format("[% PROCESS translate_card_element element=card_element %]", element_ids[0]);
30
                }
38
                }
31
- 

Return to bug 14805