From 5203a13a120f03c0d750c42d704d7d0e4142ccf2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 9 Jan 2023 20:00:53 +0000 Subject: [PATCH] Bug 31957: (follow-up) Further improve translations With the previous attempt, we ended up with some TT constructs in the po files. This will hopefully avoid that. Signed-off-by: Caroline Cyr La Rose --- .../prog/en/modules/admin/branches.tt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index ae8ff60128..bd3cc22728 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -3,6 +3,7 @@ [% USE Asset %] [% SET footerjs = 1 %] [% USE TablesSettings %] +[%- USE KohaSpan -%] [% INCLUDE 'doc-head-open.inc' %] [% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %] @@ -193,8 +194,8 @@ Libraries › Administration › Koha
[% IF ( CAN_user_parameters_manage_sysprefs ) %] - [% SET pref_ILLDefaultStaffEmail_link = 'ILLDefaultStaffEmail' %] - Default: [% pref_ILLDefaultStaffEmail_link | $raw %] system preference + [% pref_ILLDefaultStaffEmail_link = BLOCK %]ILLDefaultStaffEmail[% END %] + Default: [% pref_ILLDefaultStaffEmail_link | $KohaSpan %] system preference [% ELSE %] Default: ILLDefaultStaffEmail system preference [% END %] @@ -206,8 +207,8 @@ Libraries › Administration › Koha
[% IF ( CAN_user_parameters_manage_sysprefs ) %] - [% SET pref_ReplyToDefault_link = 'ReplyToDefault' %] - Default: [% pref_ReplyToDefault_link | $raw %] system preference + [% pref_ReplyToDefault_link = BLOCK %]ReplyToDefault[% END %] + Default: [% pref_ReplyToDefault_link | $KohaSpan %] system preference [% ELSE %] Default: ReplyToDefault system preference [% END %] @@ -218,8 +219,8 @@ Libraries › Administration › Koha
[% IF ( CAN_user_parameters_manage_sysprefs ) %] - [% SET pref_ReturnpathDefault_link = 'ReturnpathDefault' %] - Default: [% pref_ReturnpathDefault_link | $raw %] system preference + [% pref_ReturnpathDefault_link = BLOCK %]ReturnpathDefault[% END %] + Default: [% pref_ReturnpathDefault_link | $KohaSpan %] system preference [% ELSE %] Default: ReturnpathDefault system preference [% END %] @@ -260,8 +261,8 @@ Libraries › Administration › Koha
[% IF ( CAN_user_parameters_manage_sysprefs ) %] - [% SET pref_MARCOrgCode_link = 'MARCOrgCode' %] - If not filled in defaults to system preference [% pref_MARCOrgCode_link | $raw %]. + [% pref_MARCOrgCode_link = BLOCK %]MARCOrgCode[% END %] + If not filled in defaults to system preference [% pref_MARCOrgCode_link | $KohaSpan %]. [% ELSE %] If not filled in defaults to system preference MARCOrgCode. [% END %] -- 2.34.1