|
Lines 10-15
Link Here
|
| 10 |
[%- CASE 'Batches' -%]Batches |
10 |
[%- CASE 'Batches' -%]Batches |
| 11 |
[%- END -%] |
11 |
[%- END -%] |
| 12 |
[% END %] |
12 |
[% END %] |
|
|
13 |
[% BLOCK translate_card_elements %] |
| 14 |
[%- SWITCH element -%] |
| 15 |
[%- CASE 'layout' -%]layouts |
| 16 |
[%- CASE 'template' -%]templates |
| 17 |
[%- CASE 'profile' -%]profiles |
| 18 |
[%- CASE 'batch' -%]batches |
| 19 |
[%- END -%] |
| 20 |
[% END %] |
| 21 |
|
| 13 |
[% INCLUDE 'doc-head-open.inc' %] |
22 |
[% INCLUDE 'doc-head-open.inc' %] |
| 14 |
<title>Koha › Tools › Patron cards › Manage patron card elements</title> |
23 |
<title>Koha › Tools › Patron cards › Manage patron card elements</title> |
| 15 |
[% INCLUDE 'doc-head-close.inc' %] |
24 |
[% INCLUDE 'doc-head-close.inc' %] |
|
Lines 21-27
Link Here
|
| 21 |
|
30 |
|
| 22 |
var msg; |
31 |
var msg; |
| 23 |
if (element_ids.length > 1) { |
32 |
if (element_ids.length > 1) { |
| 24 |
msg = _("Are you sure you want to delete %s items?").format(element_ids.length, element_ids.length); |
33 |
msg = _("Are you sure you want to delete %s %s?").format(element_ids.length, "[% PROCESS translate_card_elements element=card_element %]"); |
| 25 |
} else if (element_ids.length == 1) { |
34 |
} else if (element_ids.length == 1) { |
| 26 |
msg = _("Are you sure you want to delete %s %s?").format("[% PROCESS translate_card_element element=card_element %]", element_ids[0]); |
35 |
msg = _("Are you sure you want to delete %s %s?").format("[% PROCESS translate_card_element element=card_element %]", element_ids[0]); |
| 27 |
} |
36 |
} |
| 28 |
- |
|
|