@@ -, +, @@
---
.../prog/en/modules/course_reserves/batch_rm_items.tt | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt
+++ a/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 @@
The following items were removed from all courses:
[% FOREACH i IN item_and_count %]
- [% IF i.delcount == 1 %]
- - [% i.delitem.biblio.title | html %] ([% i.delitem.barcode | html %]) was removed from [% i.delcount | html %] course.
- [% ELSIF i.delcount > 1 %]
- - [% i.delitem.biblio.title | html %] ([% i.delitem.barcode | html %]) was removed from [% i.delcount | html %] courses.
- [% END %]
+ - [% 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 %]
[% END %]
[% ELSE %]
--