From ba776800276b317edae91fee8e820bb160522538 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:46:25 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/basket --- .../prog/en/modules/basket/basket.tt | 87 ++++++++++--------- .../prog/en/modules/basket/downloadcart.tt | 21 ++--- .../prog/en/modules/basket/sendbasket.tt | 87 ++++++++++--------- .../prog/en/modules/basket/sendbasketform.tt | 19 ++-- 4 files changed, 109 insertions(+), 105 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index 6b1d28f904..b4b3b8d872 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -1,30 +1,31 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% BLOCK controls %]

- Select all Clear all - | Selected items : - Remove + [% t('Select all') %] [% t('Clear all') %] + | [% t('Selected items :') %] + [% t('Remove') %] [% IF ( loggedinusername ) %] - | Add to a list + | [% t('Add to a list') %] [% END %] [% IF ( CAN_user_reserveforothers ) %] - | Place hold + | [% t('Place hold') %] [% END %] [% IF CAN_user_tools_records_batchmod %] - | Batch modify + | [% t('Batch modify') %] [% END %] [% IF CAN_user_tools_records_batchdel %] - | Batch delete + | [% t('Batch delete') %] [% END %]

[% END %] [% INCLUDE 'doc-head-open.inc' %] -[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart +[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('Catalog › Your cart') %] [% IF ( print_basket ) %] @@ -44,30 +45,30 @@
[% UNLESS ( print_basket ) %] -

Your cart

+

[% t('Your cart') %]

[% END %] @@ -90,18 +91,18 @@ [% END %] - + [% IF ( BIBLIO_RESULT.isbn ) %] - + [% END %] [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] - + - + [% END %] [% IF ( BIBLIO_RESULT.pages ) %] - + [% END %] [% IF ( BIBLIO_RESULT.seriestitle ) %] - + [% END %] [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %] - + + [% END %] [% IF ( BIBLIO_RESULT.MARCNOTES ) %] - + - + [% END %] [% IF ( BIBLIO_RESULT.serial ) %] - + [% END %] [% IF ( BIBLIO_RESULT.dewey ) %] - + [% END %] [% IF ( BIBLIO_RESULT.classification ) %] - + [% END %] [% IF ( BIBLIO_RESULT.lccn ) %] - + [% END %] @@ -206,7 +207,7 @@ [% IF BIBLIO_RESULT.MARCURLS.size %] - + - + + [% END %][% ELSE %][% t('This record has no items.') %][% END %]
ISBN[% t('ISBN') %] [% BIBLIO_RESULT.isbn %]
Author(s)[% t('Author(s)') %] [% IF ( BIBLIO_RESULT.author ) %]

[% BIBLIO_RESULT.author %]

@@ -121,27 +122,27 @@ [% IF ( BIBLIO_RESULT.publishercode ) %]
Publisher[% t('Publisher') %] [% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
Details[% t('Details') %] [% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]
Collection[% t('Collection') %] [% BIBLIO_RESULT.seriestitle %]
Subject(s)[% t('Subject(s)') %] [% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]

[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %] @@ -151,14 +152,14 @@ [% END %] [% IF ( BIBLIO_RESULT.copyrightdate ) %] -

Copyright
[% t('Copyright') %] [% BIBLIO_RESULT.copyrightdate %]
Notes[% t('Notes') %] [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]

@@ -174,31 +175,31 @@ [% IF ( BIBLIO_RESULT.unititle ) %]

Unified title[% t('Unified title') %] [% BIBLIO_RESULT.unititle %]
Serial[% t('Serial') %] [% BIBLIO_RESULT.serial %]
Dewey[% t('Dewey') %] [% BIBLIO_RESULT.dewey %]
Classification[% t('Classification') %] [% BIBLIO_RESULT.classification %]
LCCN[% t('LCCN') %] [% BIBLIO_RESULT.lccn %]
URL(s)[% t('URL(s)') %] [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %] [% IF MARCurl.part %]

[% MARCurl.part %]

[% END %] @@ -220,7 +221,7 @@ [% END %]
Location(s)[% t('Location(s)') %] [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]

[% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] @@ -228,7 +229,7 @@ ([% ITEM_RESULT.itemcallnumber %]) [% END %]

- [% END %][% ELSE %]This record has no items.[% END %]
[% END %] @@ -242,10 +243,10 @@ - [% UNLESS ( print_basket ) %][% END %] - - - + [% UNLESS ( print_basket ) %][% END %] + + + [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] @@ -267,7 +268,7 @@

[% BIBLIO_RESULT.notes %]

[% END %] - + @@ -277,7 +278,7 @@
[% ITEM_RESULT.itemcallnumber %] [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %]
[% END %] [% ELSE %] - This record has no items. + [% t('This record has no items.') %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt index a343bd8b99..008901badc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt @@ -1,23 +1,24 @@ +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Download cart +[% t('Koha › Download cart') %] [% INCLUDE 'doc-head-close.inc' %] [% IF ( format ) %] -

Your download should begin automatically.

+

[% t('Your download should begin automatically.') %]

[% ELSE %]
- Download cart + [% t('Download cart') %]
  1. - +
  2. @@ -25,7 +26,7 @@
- Cancel + [% t('Cancel') %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt index 68e735c549..1dfdaa1417 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt @@ -1,30 +1,31 @@ +[% PROCESS 'i18n.inc' %] [% USE HtmlToText %] [% USE Koha %] - -Your cart - + +[% t('Your cart') %] + -
+
[% FILTER html2text %] -

Hi,

+

[% t('Hi,') %]

-

Here is your cart, sent from our online catalog.

+

[% t('Here is your cart, sent from our online catalog.') %]

-

Please note that the attached file is a MARC bibliographic records file - which can be imported into personal bibliographic software like EndNote, - Reference Manager or ProCite.

-
+

[% t('Please note that the attached file is a MARC bibliographic records file') %] + [% t('which can be imported into personal bibliographic software like EndNote,') %] + [% t('Reference Manager or ProCite.') %]

+
[% END %] - + - + [% FILTER html2text %] [% IF comment %]

[% comment %]

-
+
[% END %]
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] @@ -36,7 +37,7 @@ Your cart

    [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] - Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %] + [% t('Author(s):') %] [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %] [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] [% IF ( BIBLIO_RESULT.author ) %]; [% END %] @@ -47,20 +48,20 @@ Your cart [% UNLESS ( loop.last ) %];[% END %] [% END %] [% END %] -
    +

    [% END %] [% IF ( BIBLIO_RESULT.ISBN ) %] - ISBN: [% BIBLIO_RESULT.ISBN %] -
    + [% t('ISBN:') %] [% BIBLIO_RESULT.ISBN %] +
    [% END %] [% IF BIBLIO_RESULT.publishercode %] - Published by: [% BIBLIO_RESULT.publishercode %] + [% t('Published by:') %] [% BIBLIO_RESULT.publishercode %] [% IF ( BIBLIO_RESULT.publicationyear ) %] - in [% BIBLIO_RESULT.publicationyear %] + [% t('in') %] [% BIBLIO_RESULT.publicationyear %] [% END %] [% IF ( BIBLIO_RESULT.pages ) %] , [% BIBLIO_RESULT.pages %] @@ -68,65 +69,65 @@ Your cart [% IF BIBLIO_RESULT.item('size') %] , [% BIBLIO_RESULT.item('size') %] [% END %] -
    +
    [% END %] [% IF BIBLIO_RESULT.collection %] - Collection: [% BIBLIO_RESULT.seriestitle %] -
    + [% t('Collection:') %] [% BIBLIO_RESULT.seriestitle %] +
    [% END %] [% IF ( BIBLIO_RESULT.subject ) %] - Subject: [% BIBLIO_RESULT.subject %] -
    + [% t('Subject:') %] [% BIBLIO_RESULT.subject %] +
    [% END %] [% IF ( BIBLIO_RESULT.copyrightdate ) %] - Copyright year: [% BIBLIO_RESULT.copyrightdate %] -
    + [% t('Copyright year:') %] [% BIBLIO_RESULT.copyrightdate %] +

    [% END %] [% IF ( BIBLIO_RESULT.notes ) %] - Notes : [% BIBLIO_RESULT.notes %] -
    + [% t('Notes :') %] [% BIBLIO_RESULT.notes %] +

    [% END %] [% IF ( BIBLIO_RESULT.unititle ) %] - Unified title: [% BIBLIO_RESULT.unititle %] -
    + [% t('Unified title:') %] [% BIBLIO_RESULT.unititle %] +

    [% END %] [% IF ( BIBLIO_RESULT.serial ) %] - Serial: [% BIBLIO_RESULT.serial %] -
    + [% t('Serial:') %] [% BIBLIO_RESULT.serial %] +
    [% END %] [% IF ( BIBLIO_RESULT.dewey ) %] - Dewey: [% BIBLIO_RESULT.dewey %] -
    + [% t('Dewey:') %] [% BIBLIO_RESULT.dewey %] +
    [% END %] [% IF ( BIBLIO_RESULT.classification ) %] - Classification: [% BIBLIO_RESULT.classification %] -
    + [% t('Classification:') %] [% BIBLIO_RESULT.classification %] +
    [% END %] [% IF ( BIBLIO_RESULT.lccn ) %] - LCCN: [% BIBLIO_RESULT.lccn %] -
    + [% t('LCCN:') %] [% BIBLIO_RESULT.lccn %] +
    [% END %] [% IF ( BIBLIO_RESULT.url ) %] - URL: [% BIBLIO_RESULT.url %] + [% t('URL:') %] [% BIBLIO_RESULT.url %] [% END %]

    @@ -134,11 +135,11 @@ Your cart [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] [% IF ( OPACBaseURL ) %]

    - In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %] + [% t('In online catalog:') %] [% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% BIBLIO_RESULT.biblionumber %]

    [% END %] [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %] -

    Items: +

    [% t('Items:') %]

      [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
    • [% ITEM_RESULT.branchname %] @@ -149,10 +150,10 @@ Your cart

    [% END %] -
    +
    [% END %]
[% END %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt index b78a650ac8..87fc17dd77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt @@ -1,17 +1,18 @@ +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] -[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart +[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %] [% t('Sending your cart') %] [% INCLUDE 'doc-head-close.inc' %]
[% IF ( email_add ) %] [% IF ( SENT ) %] -

Message sent

-

The cart was sent to: [% email_add |html %]

-

Close window

+

[% t('Message sent') %]

+

[% t('The cart was sent to:') %] [% email_add |html %]

+

[% t('Close window') %]

[% END %] [% IF ( error ) %] -

Problem sending the cart...

+

[% t('Problem sending the cart...') %]

[% END %] [% ELSE %] @@ -19,18 +20,18 @@
-Sending your cart +[% t('Sending your cart') %]
  1. - +
  2. - +
-
Cancel
+
[% t('Cancel') %]
-- 2.17.1
 TitleItem typeItems [% t('Title') %][% t('Item type') %][% t('Items') %]
[% BIBLIO_RESULT.description %]