From 336bf252ceaeb1ea3443bb3fb2ea431ecba6d2f7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 7 Nov 2025 13:52:26 +0100 Subject: [PATCH] Bug 41216: Correctly fix the translation using I18N Signed-off-by: Julian Maurice --- .../mana/mana-subscription-search-result.inc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc index ec31106ecc7..949e1611958 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc @@ -3,6 +3,7 @@ [% USE AuthorisedValues %] [% USE Branches %] [% USE raw %] +[% USE I18N %] [% IF statuscode == "200" %] [% INCLUDE 'mana/mana-comment-status.inc' %] @@ -38,13 +39,10 @@ [% SET tr_class = 'highlighted-row' %] [% SET tr_warning = lowWarned %] [% END %] - + [% IF tr_warning %] + [% SET tr_title = I18N.tnx('This resource has already been reported', 'This resource has been reported more than {count} times, take care!', tr_warning, { count = tr_warning } %] + [% END %] + [% IF ( subscription.issn ) %][% subscription.issn | html %][% END %] [% subscription.title | html %] -- 2.39.5