From eff7ff033eb9342dc556f9fa11aff7631b0b2260 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:50:20 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections --- .../modules/rotating_collections/addItems.tt | 51 ++++++++--------- .../rotating_collections/editCollections.tt | 55 ++++++++++--------- .../rotatingCollections.tt | 29 +++++----- .../transferCollection.tt | 19 ++++--- 4 files changed, 79 insertions(+), 75 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt index 365745db99..5b56cbfc1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › Rotating collections › Collection [% colTitle %] ’ Add or remove items +[% t('Koha › Tools › Rotating collections › Collection') %] [% colTitle %] [% t('’ Add or remove items') %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,7 +10,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
@@ -18,26 +19,26 @@ [% IF ( ! colId ) %]
-

Invalid collection id

-

Return to rotating collections home

+

[% t('Invalid collection id') %]

+

[% t('Return to rotating collections home') %]

[% ELSE %] [% INCLUDE 'rotating-collections-toolbar.inc' %] -

Collection [% colTitle %]

+

[% t('Collection') %] [% colTitle %]

[% IF ( previousActionAdd ) %] [% IF ( addSuccess ) %] -
Item with barcode '[% barcode %]' added successfully
+
[% t('Item with barcode \'') %][% barcode %][% t('\' added successfully') %]
[% ELSE %]
-

Failed to add item with barcode [% barcode %]: +

[% t('Failed to add item with barcode') %] [% barcode %]:

[% IF failureMessage == "NO_ITEM" %] - No item with matching barcode found + [% t('No item with matching barcode found') %] [% ELSIF failureMessage == "IN_COLLECTION_OTHER" %] - Item is already in a different rotating collection + [% t('Item is already in a different rotating collection') %] [% ELSIF failureMessage == "IN_COLLECTION" %] - Item is already in this collection + [% t('Item is already in this collection') %] [% ELSE %] [% failureMessage %] [% END %] @@ -48,15 +49,15 @@ [% IF ( previousActionRemove ) %] [% IF ( removeSuccess ) %] -

Item with barcode [% barcode %] removed successfully
+
[% t('Item with barcode') %] [% barcode %] [% t('removed successfully') %]
[% ELSE %]
- Failed to remove item with barcode [% barcode %]: + [% t('Failed to remove item with barcode') %] [% barcode %]:

[% IF failureMessage == "NO_ITEM" %] - No item with matching barcode found + [% t('No item with matching barcode found') %] [% ELSIF failureMessage == "NOT_IN_COLLECTION" %] - Item is not in this collection + [% t('Item is not in this collection') %] [% ELSE %] [% failureMessage %] [% END %] @@ -68,15 +69,15 @@

- Add or remove items + [% t('Add or remove items') %]
  1. - + [% IF ( removeChecked ) %] - + [% ELSE %] - + [% END %]
@@ -91,26 +92,26 @@
-

Items in [% colTitle %]

+

[% t('Items in') %] [% colTitle %]

[% IF ( collectionItemsLoop ) %] - - - - + + + + [% FOREACH collectionItemsLoo IN collectionItemsLoop %] - + [% END %]
TitleCall numberBarcode [% t('Title') %][% t('Call number') %][% t('Barcode') %] 
[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title |html %] [% collectionItemsLoo.itemcallnumber %] [% collectionItemsLoo.barcode %]Remove[% t('Remove') %]
[% ELSE %] -
There are no items in this collection.
+
[% t('There are no items in this collection.') %]
[% END %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt index 0f0f755017..4ccb40ca8f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt @@ -1,11 +1,12 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › Rotating collections › +<title>[% t('Koha › Tools › Rotating collections ›') %] [%- IF ( action == "new" ) %] - Add a new collection + [% t('Add a new collection') %] [% ELSE %] - Edit collection [% editColTitle %] + [% t('Edit collection') %] [% editColTitle %] [% END -%] [% INCLUDE 'doc-head-close.inc' %] @@ -14,11 +15,11 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -