Bugzilla – Attachment 110988 Details for
Bug 14648
Batch remove reserve items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14648: Take advantage of I18N to deal with plural
Bug-14648-Take-advantage-of-I18N-to-deal-with-plur.patch (text/plain), 1.75 KB, created by
Jonathan Druart
on 2020-09-30 13:17:07 UTC
(
hide
)
Description:
Bug 14648: Take advantage of I18N to deal with plural
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-09-30 13:17:07 UTC
Size:
1.75 KB
patch
obsolete
>From 8e0fd43f50903cf9300ec00cf5d72077115dac4e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 30 Sep 2020 15:16:25 +0200 >Subject: [PATCH] Bug 14648: Take advantage of I18N to deal with plural > >--- > .../prog/en/modules/course_reserves/batch_rm_items.tt | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >index 39d61a95c8..d39db41914 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > > [% INCLUDE 'doc-head-open.inc' %] >@@ -42,11 +43,7 @@ > <p>The following items were removed from all courses:</p> > <ul> > [% FOREACH i IN item_and_count %] >- [% IF i.delcount == 1 %] >- <li>[% i.delitem.biblio.title | html %] ([% i.delitem.barcode | html %]) was removed from [% i.delcount | html %] course.</li> >- [% ELSIF i.delcount > 1 %] >- <li>[% i.delitem.biblio.title | html %] ([% i.delitem.barcode | html %]) was removed from [% i.delcount | html %] courses.</li> >- [% END %] >+ <li>[% txn('{title} ({barcode}) was removed from {count} course.', '{title} ({barcode}) was removed from {count} courses.', i.delcount, { title = i.delitem.biblio.title, barcode = i.delitem.barcode, count = i.delcount }) | html %]</li> > [% END %] > </ul> > [% ELSE %] >-- >2.20.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 14648
:
105190
|
105607
|
105609
|
105610
|
107043
|
110228
|
110293
|
110294
|
110295
| 110988