From 6baac923f86120e702c5062e827e344ec229234d Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Mon, 10 Mar 2025 11:41:06 -0400 Subject: [PATCH] Bug 38842: (follow-up) Fix translatability Add t() calls to make text translatable Signed-off-by: Baptiste Wojtkowski --- .../prog/en/includes/html_helpers.inc | 2 +- .../prog/en/modules/circ/returns.tt | 38 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index 5423943d..9ae186f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -702,7 +702,7 @@ [% footer_has_content = 1 %] [% END %] [% IF !footer_has_content %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index dc9472c7..2598e455 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -847,27 +847,27 @@ [% SET print_button = '' %] [% IF transfertodo %] - [% confirm_button_text = 'Confirm hold and transfer' %] - [% print_button = '' %] + [% confirm_button_text = t('Confirm hold and transfer') %] + [% print_button = '' %] [% ELSE %] - [% confirm_button_text = 'Confirm hold' %] - [% print_button = '' %] + [% confirm_button_text = t('Confirm hold') %] + [% print_button = '' %] [% END %] [% SET modal_print_url = reserve_id | uri %] [% modal_print_url = "/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" _ modal_print_url %] - [% WRAPPER modal_wrapper modal_id="hold-found-modal" modal_header_contents='

Hold found

' modal_confirm_text=confirm_button_text modal_confirm_accesskey="Y" modal_custom_utility_button=print_button modal_deny_text="Ignore" modal_deny_accesskey="I" modal_deny_action="dismiss" %] + [% WRAPPER modal_wrapper modal_id="hold-found-modal" modal_header_contents='

' _ t('Hold found') _ '

' modal_confirm_text=confirm_button_text modal_confirm_accesskey="Y" modal_custom_utility_button=print_button modal_deny_text= t('Ignore') modal_deny_accesskey="I" modal_deny_action="dismiss" %]

[% title | html %]

[% IF ( reservenotes ) %] -

Notes:

+

[% t('Notes') | html %]:

[% reservenotes | html %]


[% END %] -

Hold for:

+

[% t('Hold for') | html %]:

[% IF ( transfertodo ) %] -

Transfer to: [% Branches.GetName( destbranch ) | html %]

+

[% t('Transfer to') | html %]: [% Branches.GetName( destbranch ) | html %]

[% ELSE %] -

Hold at [% Branches.GetName( destbranch ) | html %]

+

[% t('Hold at') | html %] [% Branches.GetName( destbranch ) | html %]

[% END %] [% PROCESS passthrough_data %] -- 2.30.2