Bugzilla – Attachment 76342 Details for
Bug 20988
[OMNIBUS] Internationalization: wrap all translatable text inside t() calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/basket
Bug-20988-koha-tmplintranet-tmplprogenmodulesbaske.patch (text/plain), 25.73 KB, created by
Julian Maurice
on 2018-06-25 07:22:08 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/basket
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:22:08 UTC
Size:
25.73 KB
patch
obsolete
>From ba776800276b317edae91fee8e820bb160522538 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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 %] > <p style="padding: 7px 0; border-top : 1px solid #E8E8E8;"> >- <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a> >- | <b>Selected items :</b> >- <a href="#" id="remove_from_cart">Remove</a> >+ <a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> >+ | <b>[% t('Selected items :') %]</b> >+ <a href="#" id="remove_from_cart">[% t('Remove') %]</a> > > [% IF ( loggedinusername ) %] >- | <a href="#" id="add_to_list">Add to a list</a> >+ | <a href="#" id="add_to_list">[% t('Add to a list') %]</a> > [% END %] > > [% IF ( CAN_user_reserveforothers ) %] >- | <a href="#" id="place_hold">Place hold</a> >+ | <a href="#" id="place_hold">[% t('Place hold') %]</a> > [% END %] > > [% IF CAN_user_tools_records_batchmod %] >- | <a href="#" id="batch_modify">Batch modify</a> >+ | <a href="#" id="batch_modify">[% t('Batch modify') %]</a> > [% END %] > > [% IF CAN_user_tools_records_batchdel %] >- | <a href="#" id="batch_delete">Batch delete</a> >+ | <a href="#" id="batch_delete">[% t('Batch delete') %]</a> > [% END %] > </p> > [% END %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('Catalog ⺠Your cart') %]</title> > [% IF ( print_basket ) %] > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> >@@ -44,30 +45,30 @@ > > <div class="container"> > [% UNLESS ( print_basket ) %] >-<h1>Your cart</h1> >+<h1>[% t('Your cart') %]</h1> > > <div id="toolbar" class="btn-toolbar"> > [% IF ( verbose ) %] >- <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> Brief display</a> >+ <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> [% t('Brief display') %]</a> > [% ELSE %] >- <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> More details</a> >+ <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> [% t('More details') %]</a> > [% END %] > >- <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a> >+ <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> [% t('Send') %]</a> > <div class="btn-group"> >- <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a> >+ <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> [% t('Download') %] <span class="caret"></span> </a> > <ul class="dropdown-menu"> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">iso2709</a></li> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">RIS</a></li> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">BibTex</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">[% t('iso2709') %]</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">[% t('RIS') %]</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">[% t('BibTex') %]</a></li> > [% FOREACH csv_profile IN csv_profiles %] >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">[% t('CSV -') %] [% csv_profile.profile %]</a></li> > [% END %] > </ul> > </div> >- <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a> >- <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a> >- <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a> >+ <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> [% t('Print') %]</a> >+ <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> [% t('Empty and close') %]</a> >+ <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> [% t('Hide window') %]</a> > </div> > [% END %] > >@@ -90,18 +91,18 @@ > [% END %] > </h3> > <!-- COinS / Openurl --> >- <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >+ <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=') %][% BIBLIO_RESULT.author %][% t('&rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&rft.aucorp=&rft.place=') %][% BIBLIO_RESULT.place %][% t('&rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&rft.series=') %][% BIBLIO_RESULT.series %][% t('&rft.genre=') %]"></span> > <table> > [% IF ( BIBLIO_RESULT.isbn ) %] > <tr> >- <th scope="row">ISBN</th> >+ <th scope="row">[% t('ISBN') %]</th> > <td>[% BIBLIO_RESULT.isbn %]</td> > </tr> > [% END %] > > [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] > <tr> >- <th scope="row">Author(s)</th> >+ <th scope="row">[% t('Author(s)') %]</th> > <td> > [% IF ( BIBLIO_RESULT.author ) %] > <p>[% BIBLIO_RESULT.author %]</p> >@@ -121,27 +122,27 @@ > > [% IF ( BIBLIO_RESULT.publishercode ) %] > <tr> >- <th scope="row">Publisher</th> >+ <th scope="row">[% t('Publisher') %]</th> > <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %] > </td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.pages ) %] > <tr> >- <th scope="row">Details</th> >+ <th scope="row">[% t('Details') %]</th> > <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.seriestitle ) %] > <tr> >- <th scope="row">Collection</th> >+ <th scope="row">[% t('Collection') %]</th> > <td> [% BIBLIO_RESULT.seriestitle %]</td> > </tr> > [% END %] > > [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %] > <tr> >- <th scope="row">Subject(s)</th> >+ <th scope="row">[% t('Subject(s)') %]</th> > <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %] > <p> [% 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 ) %] >- <tr><th scope="row">Copyright</th> >+ <tr><th scope="row">[% t('Copyright') %]</th> > <td> [% BIBLIO_RESULT.copyrightdate %]</td> > </tr> > [% END %] > > [% IF ( BIBLIO_RESULT.MARCNOTES ) %] > <tr> >- <th scope="row">Notes</th> >+ <th scope="row">[% t('Notes') %]</th> > <td> > [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %] > <p> >@@ -174,31 +175,31 @@ > > [% IF ( BIBLIO_RESULT.unititle ) %] > <tr> >- <th scope="row">Unified title</th> >+ <th scope="row">[% t('Unified title') %]</th> > <td> [% BIBLIO_RESULT.unititle %]</td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.serial ) %] > <tr> >- <th scope="row">Serial</th> >+ <th scope="row">[% t('Serial') %]</th> > <td>[% BIBLIO_RESULT.serial %]</td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.dewey ) %] > <tr> >- <th scope="row">Dewey</th> >+ <th scope="row">[% t('Dewey') %]</th> > <td>[% BIBLIO_RESULT.dewey %]</td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.classification ) %] > <tr> >- <th scope="row">Classification</th> >+ <th scope="row">[% t('Classification') %]</th> > <td> [% BIBLIO_RESULT.classification %]</td> > </tr> > [% END %] > [% IF ( BIBLIO_RESULT.lccn ) %] > <tr> >- <th scope="row">LCCN</th> >+ <th scope="row">[% t('LCCN') %]</th> > <td> [% BIBLIO_RESULT.lccn %]</td> > </tr> > [% END %] >@@ -206,7 +207,7 @@ > > [% IF BIBLIO_RESULT.MARCURLS.size %] > <tr> >- <th scope="row">URL(s)</th> >+ <th scope="row">[% t('URL(s)') %]</th> > <td> > [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %] > [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %] >@@ -220,7 +221,7 @@ > [% END %] > > <tr> >- <th scope="row">Location(s)</th> >+ <th scope="row">[% t('Location(s)') %]</th> > <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] > <p> > [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] >@@ -228,7 +229,7 @@ > ([% ITEM_RESULT.itemcallnumber %]) > [% END %] > </p> >- [% END %][% ELSE %]This record has no items.[% END %]</td> >+ [% END %][% ELSE %][% t('This record has no items.') %][% END %]</td> > </tr> > </table> > [% END %] >@@ -242,10 +243,10 @@ > > <table id="itemst"> > <thead><tr> >- [% UNLESS ( print_basket ) %]<th class="NoSort"> </th>[% END %] >- <th class="anti-the">Title</th> >- <th>Item type</th> >- <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th> >+ [% UNLESS ( print_basket ) %]<th class="NoSort"> </th>[% END %] >+ <th class="anti-the">[% t('Title') %]</th> >+ <th>[% t('Item type') %]</th> >+ <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="[% t('Item sorting') %]" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">[% t('Items') %]</a></th> > </tr></thead> > > [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >@@ -267,7 +268,7 @@ > <p>[% BIBLIO_RESULT.notes %]</p> > [% END %] > <!-- COinS / Openurl --> >- <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >+ <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=') %][% BIBLIO_RESULT.author %][% t('&rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&rft.aucorp=&rft.place=') %][% BIBLIO_RESULT.place %][% t('&rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&rft.series=') %][% BIBLIO_RESULT.series %][% t('&rft.genre=') %]"></span> > > </td> > <td>[% BIBLIO_RESULT.description %]</td> >@@ -277,7 +278,7 @@ > <div><span class="nowrap"><strong><span class="callnumber">[% ITEM_RESULT.itemcallnumber %]</span></strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> > [% END %] > [% ELSE %] >- This record has no items. >+ [% t('This record has no items.') %] > [% END %] > </td> > </tr> >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' %] >-<title>Koha › Download cart</title> >+<title>[% t('Koha ⺠Download cart') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body style="padding:1em;" id="cart_downloadcart" class="cart"> > [% IF ( format ) %] >- <p>Your download should begin automatically.</p> >+ <p>[% t('Your download should begin automatically.') %]</p> > [% ELSE %] > <form method="post" action="/cgi-bin/koha/basket/downloadcart.pl"> > <fieldset class="rows"> >- <legend>Download cart</legend> >+ <legend>[% t('Download cart') %]</legend> > <ol><li> >- <label for="format">Format:</label> >+ <label for="format">[% t('Format:') %]</label> > <select name="format" id="format"> >- <option value="">-- Choose format --</option> >- <option value="iso2709">iso2709</option> >- <option value="ris">RIS</option> >- <option value="bibtex">BibTex</option> >+ <option value="">[% t('-- Choose format --') %]</option> >+ <option value="iso2709">[% t('iso2709') %]</option> >+ <option value="ris">[% t('RIS') %]</option> >+ <option value="bibtex">[% t('BibTex') %]</option> > [% FOREACH csv_profile IN csv_profiles %] >- <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option> >+ <option value="[% csv_profile.export_format_id %]">[% t('CSV -') %] [% csv_profile.profile %]</option> > [% END %] > > </select></li> >@@ -25,7 +26,7 @@ > </fieldset> > <fieldset class="action"> > <input type="hidden" name="bib_list" value="[% bib_list %]" /> >- <input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a> >+ <input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">[% t('Cancel') %]</a> > </fieldset> > </form> > >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 %] > >-<SUBJECT> >-Your cart >-<END_SUBJECT> >+<subject> >+[% t('Your cart') %] >+<end_subject> > >-<HEADER> >+<header> > > [% FILTER html2text %] >- <p>Hi,</p> >+ <p>[% t('Hi,') %]</p> > >- <p>Here is your cart, sent from our online catalog.</p> >+ <p>[% t('Here is your cart, sent from our online catalog.') %]</p> > >- <p>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.</p> >- <hr/> >+ <p>[% 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.') %]</p> >+ <hr /> > [% END %] >-<END_HEADER> >+<end_header> > >-<MESSAGE> >+<message> > [% FILTER html2text %] > > [% IF comment %] > <p>[% comment %]</p> >- <hr/> >+ <hr /> > [% END %] > <ol> > [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >@@ -36,7 +37,7 @@ Your cart > > <p> > [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %] >+ <span>[% 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 %] >- </span><br/> >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.ISBN ) %] > <span> >- ISBN: [% BIBLIO_RESULT.ISBN %] >- </span><br/> >+ [% t('ISBN:') %] [% BIBLIO_RESULT.ISBN %] >+ </span><br /> > [% END %] > > [% IF BIBLIO_RESULT.publishercode %] > <span> >- 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 %] >- </span><br/> >+ </span><br /> > [% END %] > > [% IF BIBLIO_RESULT.collection %] > <span> >- Collection: [% BIBLIO_RESULT.seriestitle %] >- </span><br/> >+ [% t('Collection:') %] [% BIBLIO_RESULT.seriestitle %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.subject ) %] > <span> >- Subject: [% BIBLIO_RESULT.subject %] >- <span><br/> >+ [% t('Subject:') %] [% BIBLIO_RESULT.subject %] >+ <span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.copyrightdate ) %] > <span> >- Copyright year: [% BIBLIO_RESULT.copyrightdate %] >- </span><br/> >+ [% t('Copyright year:') %] [% BIBLIO_RESULT.copyrightdate %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.notes ) %] > <span> >- Notes : [% BIBLIO_RESULT.notes %] >- </span><br/> >+ [% t('Notes :') %] [% BIBLIO_RESULT.notes %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.unititle ) %] > <span> >- Unified title: [% BIBLIO_RESULT.unititle %] >- </span><br/> >+ [% t('Unified title:') %] [% BIBLIO_RESULT.unititle %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.serial ) %] > <span> >- Serial: [% BIBLIO_RESULT.serial %] >- </span><br/> >+ [% t('Serial:') %] [% BIBLIO_RESULT.serial %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.dewey ) %] > <span> >- Dewey: [% BIBLIO_RESULT.dewey %] >- </span><br/> >+ [% t('Dewey:') %] [% BIBLIO_RESULT.dewey %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.classification ) %] > <span> >- Classification: [% BIBLIO_RESULT.classification %] >- </span><br/> >+ [% t('Classification:') %] [% BIBLIO_RESULT.classification %] >+ </span><br /> > [% END %] > > [% IF ( BIBLIO_RESULT.lccn ) %] > <span> >- LCCN: [% BIBLIO_RESULT.lccn %] >- </span><br/> >+ [% t('LCCN:') %] [% BIBLIO_RESULT.lccn %] >+ </span><br /> > [% END %] > [% IF ( BIBLIO_RESULT.url ) %] > <span> >- URL: [% BIBLIO_RESULT.url %] >+ [% t('URL:') %] [% BIBLIO_RESULT.url %] > </span> > [% END %] > </p> >@@ -134,11 +135,11 @@ Your cart > [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] > [% IF ( OPACBaseURL ) %] > <p> >- 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 %] > </p> > [% END %] > [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %] >- <p>Items: >+ <p>[% t('Items:') %] > <ul> > [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> > [% ITEM_RESULT.branchname %] >@@ -149,10 +150,10 @@ Your cart > </ul> > </p> > [% END %] >- <hr/> >+ <hr /> > </li> > [% END %] > </ol> > > [% END %] >-<END_MESSAGE> >+<end_message> >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' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart</title> >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog âº') %] [% t('Sending your cart') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body style="padding: 1em;" id="cart_sendbasketform" class="cart"> > <div class="container">[% IF ( email_add ) %] > > [% IF ( SENT ) %] >- <h3>Message sent</h3> >- <p>The cart was sent to: [% email_add |html %]</p> >- <p><a class="focus close" href="#">Close window</a></p> >+ <h3>[% t('Message sent') %]</h3> >+ <p>[% t('The cart was sent to:') %] [% email_add |html %]</p> >+ <p><a class="focus close" href="#">[% t('Close window') %]</a></p> > [% END %] > [% IF ( error ) %] >- <p>Problem sending the cart...</p> >+ <p>[% t('Problem sending the cart...') %]</p> > [% END %] > > [% ELSE %] >@@ -19,18 +20,18 @@ > <form action="/cgi-bin/koha/basket/sendbasket.pl" method="post"> > > <fieldset class="rows"> >-<legend>Sending your cart</legend> >+<legend>[% t('Sending your cart') %]</legend> > <ol> <li> >- <label for="email_add">Email address:</label> >+ <label for="email_add">[% t('Email address:') %]</label> > <input type="text" id="email_add" name="email_add" size="43" class="focus" /> > </li> > <li> >- <label for="comment">Comment:</label> >+ <label for="comment">[% t('Comment:') %]</label> > <textarea id="comment" name="comment" rows="4" cols="40"></textarea> > </li> > </ol> > </fieldset> >- <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset> >+ <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">[% t('Cancel') %]</a> </fieldset> > <input type="hidden" name="bib_list" value="[% bib_list %]" /> > <input type="hidden" name="csrf_token" value="[% csrf_token %]" /> > </form> >-- >2.17.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 20988
:
76333
|
76334
|
76335
|
76336
|
76337
|
76338
|
76339
|
76340
|
76341
|
76342
|
76343
|
76344
|
76345
|
76346
|
76347
|
76348
|
76349
|
76350
|
76351
|
76352
|
76353
|
76354
|
76355
|
76356
|
76357
|
76358
|
76359
|
76360
|
76361
|
76362
|
76363
|
76364
|
76365
|
76934
|
76935