Bugzilla – Attachment 190053 Details for
Bug 41340
Better translatability on 'batch_item_record_modification.inc'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41340: Better translatability on 'batch_item_record_modification.inc'
34ba558.patch (text/plain), 2.48 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-12-01 15:22:15 UTC
(
hide
)
Description:
Bug 41340: Better translatability on 'batch_item_record_modification.inc'
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-12-01 15:22:15 UTC
Size:
2.48 KB
patch
obsolete
>From 34ba558eda87c61649204d83f242a1fdf4a9193a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@theke.io> >Date: Mon, 1 Dec 2025 12:21:20 -0300 >Subject: [PATCH] Bug 41340: Better translatability on > 'batch_item_record_modification.inc' >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> >--- > .../batch_item_record_modification.inc | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >index 1ee3fd72cb..e95dcecf59 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >@@ -1,11 +1,17 @@ > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] > > [% BLOCK report %] > [% SET report = job.report %] > [% IF report %] > <div class="alert alert-info"> > [% IF report.modified_itemnumbers.size %] >- <span>[% report.modified_itemnumbers.size | html %] item(s) modified (with [% report.modified_fields | html %] field(s) modified).</span> >+ [% SET modified_items_count = report.modified_itemnumbers.size %] >+ [% SET modified_fields_count = report.modified_fields %] >+ <span> >+ [% tnx('{count} item modified', '{count} items modified', modified_items_count, { count = modified_items_count }) | html %] >+ [% tnx('(with {count} field modified).', '(with {count} fields modified).', modified_fields_count, { count = modified_fields_count }) | html %] >+ </span> > [% ELSE %] > <span>No items modified.</span> > [% END %] >@@ -16,7 +22,8 @@ > <div> > [% IF report.errors.size %] > <div class="alert alert-warning"> >- <span>[% report.errors.size | html %] item(s) could not be modified.</span> >+ [% SET error_items_count = report.errors.size %] >+ <span> [% tnx('{count} item could not be modified.', '{count} items could not be modified.', error_items_count, { count = error_items_count }) | html %] </span> > </div> > [% END %] > </div> >-- >2.50.1 (Apple Git-155) >
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 41340
:
190053
|
190064
|
190142