From 513297a93483f3686c1ac41ce130c59bee1ca9ef Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 17 Dec 2024 09:50:24 -0300 Subject: [PATCH] Bug 38727: Improve translatability in categories.tt This makes the strings easier to translated for maintaining them as a whole instead of splitting them Bonus 1: it adds a missing dot for consistency. Bonus 2: makes a string more idiomatic. To test: 1. In the categories edit page, check the 3 'If set...' texts 2. Apply this patch and reload => SUCCESS: No visual change 3. Sign off :-D Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/admin/categories.tt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt index a162519f98b..1e400992982 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Asset %] [% USE Koha %] +[% USE KohaSpan %] [% USE Branches %] [% USE KohaDates %] [% USE Price %] @@ -403,8 +404,9 @@ [% END %] + [%- SET pref_BlockExpiredPatronOpacActions_link = 'BlockExpiredPatronOpacActions' -%]
- Choose which OPAC actions, if any, are blocked for expired patrons of this category. Alternatively, the system preference BlockExpiredPatronOpacActions can be used instead. + Choose which OPAC actions, if any, should be blocked for expired patrons in this category. Alternatively, you can use the system preference [%- pref_BlockExpiredPatronOpacActions_link | $raw | $KohaSpan -%] instead. [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
  • @@ -478,22 +480,25 @@ [% END %] -
    If Yes, holds placed by patrons of this category will not be given priority
    +
    If Yes, holds placed by patrons of this category will not be given priority.
  • -
    If set, this will override the global value set in the noissuescharge preference
    + [%- SET pref_noissuescharge_link = 'noissuescharge' -%] +
    If set, this will override the global value set in the [%- pref_noissuescharge_link | $raw | $KohaSpan -%] preference.
  • -
    If set, this will override the global value set in the NoIssuesChargeGuarantees preference
    + [%- SET pref_NoIssuesChargeGuarantees_link = 'NoIssuesChargeGuarantees' -%] +
    If set, this will override the global value set in the [%- pref_NoIssuesChargeGuarantees_link | $raw | $KohaSpan -%] preference.
  • -
    If set, this will override the global value set in the NoIssuesChargeGuarantorsWithGuarantees preference
    + [%- SET pref_NoIssuesChargeGuarantorsWithGuarantees_link = 'NoIssuesChargeGuarantees' -%] +
    If set, this will override the global value set in the [%- pref_NoIssuesChargeGuarantorsWithGuarantees_link | $raw | $KohaSpan -%] preference.
  • -- 2.47.1