Bug 41216: Correctly fix the translation using I18N

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Amended-by: Add missing closing parenthesis
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-11-07 13:52:26 +01:00 committed by Lucas Gass
parent 0f7b95d5a7
commit 1f1f89cc0a
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 5 additions and 7 deletions

View File

@ -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 %]
<tr
id="row[% subscription.id | html %]"
[% IF tr_class %]class="[% tr_class | html %]"[% END %]
[% IF tr_warning %]
title="This resource has been reported more than [% tr_warning | html %] times, take care!"
[% 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 %]
<tr id="row[% subscription.id | html %]" [% IF tr_class %]class="[% tr_class | html %]"[% END %] title="[% tr_title | html %]">
<input type="hidden" hidden class="rowid" value="[% subscription.id | html %]" />
<td>[% IF ( subscription.issn ) %][% subscription.issn | html %][% END %]</td>
<td>[% subscription.title | html %]</td>