Bugzilla – Attachment 189318 Details for
Bug 41216
Resurrect tt_valid.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41216: Correctly fix the translation using I18N
Bug-41216-Correctly-fix-the-translation-using-I18N.patch (text/plain), 2.23 KB, created by
Jonathan Druart
on 2025-11-07 12:59:04 UTC
(
hide
)
Description:
Bug 41216: Correctly fix the translation using I18N
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-11-07 12:59:04 UTC
Size:
2.23 KB
patch
obsolete
>From 4ee5e7b3487f493a9a327fcb5dd3944bfd9b38d8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 7 Nov 2025 13:52:26 +0100 >Subject: [PATCH] Bug 41216: Correctly fix the translation using I18N > >--- > .../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 %] >- <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> >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41216
:
189316
|
189317
|
189318
|
189328
|
189329
|
189330