From 8c29761f26e4c54dd68d3807e0878ed0a4544a4e Mon Sep 17 00:00:00 2001 From: Julian Maurice <julian.maurice@biblibre.com> Date: Mon, 25 Jun 2018 08:46:39 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue --- .../prog/en/modules/catalogue/ISBDdetail.tt | 15 +- .../prog/en/modules/catalogue/MARCdetail.tt | 51 +-- .../prog/en/modules/catalogue/advsearch.tt | 175 +++++----- .../prog/en/modules/catalogue/detail.tt | 326 +++++++++--------- .../prog/en/modules/catalogue/imageviewer.tt | 17 +- .../prog/en/modules/catalogue/issuehistory.tt | 43 +-- .../prog/en/modules/catalogue/itemsearch.tt | 115 +++--- .../en/modules/catalogue/itemsearch_json.tt | 9 +- .../en/modules/catalogue/labeledMARCdetail.tt | 23 +- .../prog/en/modules/catalogue/moredetail.tt | 139 ++++---- .../prog/en/modules/catalogue/results.tt | 267 +++++++------- .../en/modules/catalogue/search-history.tt | 79 ++--- .../prog/en/modules/catalogue/showmarc.tt | 3 +- 13 files changed, 637 insertions(+), 625 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt index e292c145e1..16cb9b4bcc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt @@ -1,11 +1,12 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › +<title>[% t('Koha › Catalog ›') %] [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - ISBD details + [% t('ISBD details') %] [% END %] </title> [% INCLUDE 'doc-head-close.inc' %] @@ -15,18 +16,18 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> › [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - ISBD details + [% t('ISBD details') %] [% END %] </div> <div id="doc3" class="yui-t2"> [% IF ( unknownbiblionumber ) %] - <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div> + <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div> [% ELSE %] <div id="bd"> <div id="yui-main"> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 3b7c161553..6b84fab335 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -1,11 +1,12 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › +<title>[% t('Koha › Catalog ›') %] [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - MARC details for [% bibliotitle | html %] + [% t('MARC details for') %] [% bibliotitle | html %] [% END %] </title> [% INCLUDE 'doc-head-close.inc' %] @@ -16,18 +17,18 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> › [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - MARC Details for <i>[% bibliotitle |html %]</i> + [% t('MARC Details for') %] <i>[% bibliotitle |html %]</i> [% END %] </div> <div id="doc3" class="yui-t2"> [% IF ( unknownbiblionumber ) %] - <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div> + <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div> [% ELSE %] <div id="bd"> <div id="yui-main"> @@ -35,13 +36,13 @@ [% INCLUDE 'cat-toolbar.inc' %] [% UNLESS ( popup ) %] - <h1>MARC biblio : [% biblionumber %] ( [% bibliotitle |html %] )</h1> + <h1>[% t('MARC biblio :') %] [% biblionumber %] ( [% bibliotitle |html %] )</h1> [% END %] - <p><b>With framework : <select name="Frameworks" id="Frameworks"> - <option value="">Default</option> + <p><b>[% t('With framework :') %] <select name="Frameworks" id="Frameworks"> + <option value="">[% t('Default') %]</option> [% FOREACH framework IN frameworks %] [% IF framework.frameworkcode == frameworkcode %] <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option> @@ -73,17 +74,17 @@ [% END %] [% FOREACH subfiel IN tab0X.subfield %] <p class="subfield_line"> - <span class="subfield-label"> + <span class="subfield-label"> [% UNLESS ( subfiel.hide_marc ) %]<span class="subfield-code">[% subfiel.marc_subfield %]</span>[% END %] <span class="desc" title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></span> [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value |html %]</a>[% ELSE %][% subfiel.marc_value |html %][% END %] [% IF ( subfiel.link ) %] - <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&idx=[% subfiel.link %],phr&type=intranet&q=[% subfiel.marc_value |url %]"> - <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="Search on [% subfiel.marc_value |html %]" alt="Search on [% subfiel.marc_value |html %]" /> + <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&idx=[% subfiel.link %],phr&type=intranet&q=[% subfiel.marc_value |url %]"> + <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="[% t('Search on') %] [% subfiel.marc_value |html %]" alt="[% t('Search on') %] [% subfiel.marc_value |html %]" /> </a> [% END %] [% IF ( subfiel.authority ) %] - <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a> + <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">[% t('Auth') %]</a> [% END %] </p> [% END %] @@ -96,37 +97,37 @@ <div id="bibliotabs" class="toptabs numbered"> <ul> [% IF ( tab0XX ) %] - <li><a href="#tab0XX">0</a></li> + <li><a href="#tab0XX">[% t('0') %]</a></li> [% END %] [% IF ( tab1XX ) %] - <li><a href="#tab1XX">1</a></li> + <li><a href="#tab1XX">[% t('1') %]</a></li> [% END %] [% IF ( tab2XX ) %] - <li><a href="#tab2XX">2</a></li> + <li><a href="#tab2XX">[% t('2') %]</a></li> [% END %] [% IF ( tab3XX ) %] - <li><a href="#tab3XX">3</a></li> + <li><a href="#tab3XX">[% t('3') %]</a></li> [% END %] [% IF ( tab4XX ) %] - <li><a href="#tab4XX">4</a></li> + <li><a href="#tab4XX">[% t('4') %]</a></li> [% END %] [% IF ( tab5XX ) %] - <li><a href="#tab5XX">5</a></li> + <li><a href="#tab5XX">[% t('5') %]</a></li> [% END %] [% IF ( tab6XX ) %] - <li><a href="#tab6XX">6</a></li> + <li><a href="#tab6XX">[% t('6') %]</a></li> [% END %] [% IF ( tab7XX ) %] - <li><a href="#tab7XX">7</a></li> + <li><a href="#tab7XX">[% t('7') %]</a></li> [% END %] [% IF ( tab8XX ) %] - <li><a href="#tab8XX">8</a></li> + <li><a href="#tab8XX">[% t('8') %]</a></li> [% END %] [% IF ( tab9XX ) %] - <li><a href="#tab9XX">9</a></li> + <li><a href="#tab9XX">[% t('9') %]</a></li> [% END %] [% IF ( tab10XX ) %] - <li><a href="#tab10XX">Item(s)</a></li> + <li><a href="#tab10XX">[% t('Item(s)') %]</a></li> [% END %] </ul> [% PROCESS show_tab_html tab_id="tab0XX" tab_data=tab0XX %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index 5be1aa54c8..554a6d894c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -1,15 +1,16 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › Advanced search</title> +<title>[% t('Koha › Catalog › Advanced search') %]</title> [% INCLUDE 'doc-head-close.inc' %] </head> <body id="catalog_advsearch" class="catalog"> [% INCLUDE 'header.inc' %] [% INCLUDE 'adv-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Advanced search</div> +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('› Advanced search') %]</div> <div class="main container-fluid"> <div class="row"> @@ -17,27 +18,27 @@ <form action="search.pl" method="get"> <div id="advanced-search"> -<h1>Advanced search</h1> +<h1>[% t('Advanced search') %]</h1> <p> - <a href="/cgi-bin/koha/catalogue/itemsearch.pl">Go to item search</a> + <a href="/cgi-bin/koha/catalogue/itemsearch.pl">[% t('Go to item search') %]</a> </p> <!-- SEARCH BUTTONS --> <div id="toolbar" class="btn-toolbar"> <fieldset class="action" id="submit1"> <div class="btn-group"> - <button class="btn btn-default btn-sm" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button> + <button class="btn btn-default btn-sm" type="submit" accesskey="s"><i class="fa fa-search"></i> [% t('Search') %]</button> </div> <div class="btn-group"> [% IF ( expanded_options ) %] - <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-sm btn-link"><i class="fa fa-search-minus"></i> Fewer options</a> + <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-sm btn-link"><i class="fa fa-search-minus"></i> [% t('Fewer options') %]</a> </div> [% ELSE %] - <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-sm btn-link"><i class="fa fa-search-plus"></i> More options</a> + <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-sm btn-link"><i class="fa fa-search-plus"></i> [% t('More options') %]</a> </div> [% END %] <div class="btn-group"> - <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]" class="btn btn-sm btn-link"><i class="fa fa-trash"></i> Clear fields</a> + <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]" class="btn btn-sm btn-link"><i class="fa fa-trash"></i> [% t('Clear fields') %]</a> </div> </fieldset> </div> @@ -48,7 +49,7 @@ <!-- DATABASES --> <fieldset> - <legend>Select local databases</legend> + <legend>[% t('Select local databases') %]</legend> [% FOREACH local_servers_loo IN local_servers_loop %] [% IF ( local_servers_loo.checked ) %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" checked="checked" value="[% local_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" value="[% local_servers_loo.value %]" />[% END %]<label for="[% local_servers_loo.id %]"><img width="16" height="16" alt="[% local_servers_loo.id %]" src="[% themelang %]/img/[% local_servers_loo.icon %]" /> [% local_servers_loo.label %]</label>[% END %] </fieldset> @@ -58,7 +59,7 @@ [% IF ( outer_servers_loop ) %] <!-- REMOTE DATABASES --> <fieldset id="databases"> - <legend>Select remote databases</legend> + <legend>[% t('Select remote databases') %]</legend> [% FOREACH outer_servers_loo IN outer_servers_loop %] [% IF ( outer_servers_loo.checked ) %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" checked="checked" value="[% outer_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" value="[% outer_servers_loo.value %]" />[% END %] <label for="[% outer_servers_loo.id %]"><img alt="[% outer_servers_loo.id %]" src="[% themelang %]/images/[% outer_servers_loo.icon %]" />[% outer_servers_loo.label %]</label> @@ -69,26 +70,26 @@ <!-- BOOLEAN SEARCH OPTIONS --> <fieldset id="searchterms"> - <legend>Search for </legend> + <legend>[% t('Search for') %] </legend> [% FOREACH search_box IN search_boxes_loop %] [% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %] [% IF ( expanded_options ) %] [% IF ( search_box.boolean ) %] <select name="op"> - <option value="and" selected="selected">and</option> - <option value="or">or</option> - <option value="not">not</option> + <option value="and" selected="selected">[% t('and') %]</option> + <option value="or">[% t('or') %]</option> + <option value="not">[% t('not') %]</option> </select> [% END %] [% END %] [% INCLUDE 'search_indexes.inc' %] - <input type="text" size="30" name="q" title="Enter search terms" value="" /> + <input type="text" size="30" name="q" title="[% t('Enter search terms') %]" value="" /> [% IF ( expanded_options ) %] [% IF ( search_box.add_field ) %] - <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a> + <a href="JavaScript:add_field();" id="ButtonPlus" title="[% t('Add another field') %]">[+]</a> [% END %] [% IF ( search_box.scan_index ) %] - <label for="scan">Scan indexes:</label> <input type="checkbox" name="scan" id="scan" value="1" /> + <label for="scan">[% t('Scan indexes:') %]</label> <input type="checkbox" name="scan" id="scan" value="1" /> [% END %] [% END %] </div> @@ -103,10 +104,10 @@ [% FOREACH advsearchloo IN advancedsearchesloop %] <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]"> <a href="#advsearch-[% advsearchloo.advanced_search_type %]"> - [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type - [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection - [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location - [% ELSE %]Something else + [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %][% t('Item type') %] + [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %][% t('Collection') %] + [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %][% t('Shelving location') %] + [% ELSE %][% t('Something else') %] [% END %] </a> </li> @@ -114,11 +115,11 @@ </ul> [% FOREACH advsearchloo IN advancedsearchesloop %] <div id="advsearch-[% advsearchloo.advanced_search_type %]" class="advsearch"> - <h4>Limit to any of the following:</h4> + <h4>[% t('Limit to any of the following:') %]</h4> <table> <tr> [% FOREACH itemtypeloo IN advsearchloo.code_loop %] - <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %] [% END %] + <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]" /><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %] [% END %] [% itemtypeloo.description %]</label></td> [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %] [% END %] @@ -129,18 +130,18 @@ [% IF ( expanded_options ) %] <!-- BASIC LIMITS --> <fieldset id="basiclimits"> - <legend>Limits</legend> + <legend>[% t('Limits') %]</legend> <fieldset id="pubrange"> <!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options --> - <p><label for="limit-yr">Year: </label> - <input type="text" size="15" name="limit-yr" id="limit-yr" value=""/> (format: yyyy-yyyy)</p> + <p><label for="limit-yr">[% t('Year:') %] </label> + <input type="text" size="15" name="limit-yr" id="limit-yr" value="" />[% t(' (format: yyyy-yyyy)') %]</p> <!-- /PUB / COPY YEAR LIMIT --> </fieldset> <fieldset id="language"> <!-- LANGUAGE LIMIT --> - <p><label for="language-limit">Language: </label> + <p><label for="language-limit">[% t('Language:') %] </label> <select name="limit" id="language-limit"> - <option value="">No limit</option> + <option value="">[% t('No limit') %]</option> [% FOREACH search_languages_loo IN search_languages_loop %] [% IF ( search_languages_loo.selected ) %] <option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option> @@ -162,68 +163,68 @@ [% ELSE %] <!-- SUBTYPE LIMITS --> <fieldset id="subtype"> - <legend>Subtype limits</legend><p> + <legend>[% t('Subtype limits') %]</legend><p> <select name="limit" class="subtype"> - <option value="" selected="selected" class="menuheader">Any audience</option> - <option value="aud:a">Preschool</option> - <option value="aud:b">Primary</option> - <option value="aud:c">Pre-adolescent</option> - <option value="aud:d">Adolescent</option> - <option value="aud:e">Adult</option> - <option value="aud:f">Specialized</option> - <option value="aud:g">General</option> - <option value="aud:j">Juvenile</option> + <option value="" selected="selected" class="menuheader">[% t('Any audience') %]</option> + <option value="aud:a">[% t('Preschool') %]</option> + <option value="aud:b">[% t('Primary') %]</option> + <option value="aud:c">[% t('Pre-adolescent') %]</option> + <option value="aud:d">[% t('Adolescent') %]</option> + <option value="aud:e">[% t('Adult') %]</option> + <option value="aud:f">[% t('Specialized') %]</option> + <option value="aud:g">[% t('General') %]</option> + <option value="aud:j">[% t('Juvenile') %]</option> </select> <select name="limit" class="subtype"> - <option value="" selected="selected" class="menuheader">Any content</option> - <option value="fic:1" >Fiction</option> - <option value="fic:0" >Non-fiction</option> - <option value="bio:b" >Biography</option> - <option value="mus:j" >Musical recording</option> - <option value="mus:i" >Non-musical recording</option> + <option value="" selected="selected" class="menuheader">[% t('Any content') %]</option> + <option value="fic:1">[% t('Fiction') %]</option> + <option value="fic:0">[% t('Non-fiction') %]</option> + <option value="bio:b">[% t('Biography') %]</option> + <option value="mus:j">[% t('Musical recording') %]</option> + <option value="mus:i">[% t('Non-musical recording') %]</option> </select> <select name="limit" class="subtype"> - <option value="" selected="selected" class="menuheader">Any format</option> - <option value="l-format:ta" >Regular print</option> - <option value="l-format:tb" >Large print</option> - <option value="l-format:fk" >Braille</option> - <option value="" >-----------</option> - <option value="l-format:sd" >CD audio</option> - <option value="l-format:ss" >Cassette recording</option> - <option value="l-format:vf" >VHS tape / Videocassette</option> - <option value="l-format:vd" >DVD video / Videodisc</option> - <option value="l-format:co" >CD software</option> - <option value="l-format:cr" >Website</option> + <option value="" selected="selected" class="menuheader">[% t('Any format') %]</option> + <option value="l-format:ta">[% t('Regular print') %]</option> + <option value="l-format:tb">[% t('Large print') %]</option> + <option value="l-format:fk">[% t('Braille') %]</option> + <option value="">-----------</option> + <option value="l-format:sd">[% t('CD audio') %]</option> + <option value="l-format:ss">[% t('Cassette recording') %]</option> + <option value="l-format:vf">[% t('VHS tape / Videocassette') %]</option> + <option value="l-format:vd">[% t('DVD video / Videodisc') %]</option> + <option value="l-format:co">[% t('CD software') %]</option> + <option value="l-format:cr">[% t('Website') %]</option> </select> <select name="limit" class="subtype"> - <option value="" >Additional content types</option> - <option value="ctype:a" >Abstracts / Summaries</option> - <option value="ctype:b" >Bibliographies</option> - <option value="ctype:c" >Catalogs</option> - <option value="ctype:d" >Dictionaries</option> - <option value="ctype:e" >Encyclopedias </option> - <option value="ctype:f" >Handbooks</option> - <option value="ctype:g" >Legal articles</option> - <option value="ctype:i" >Indexes</option> - <option value="ctype:j" >Patent document</option> - <option value="ctype:k" >Discographies</option> - <option value="ctype:l" >Legislation</option> - <option value="ctype:m" >Theses</option> - <option value="ctype:n" >Surveys</option> - <option value="ctype:o" >Reviews</option> - <option value="ctype:p" >Programmed texts</option> - <option value="ctype:q" >Filmographies</option> - <option value="ctype:r" >Directories</option> - <option value="ctype:s" >Statistics</option> - <option value="ctype:t" >Technical reports</option> - <option value="ctype:v" >Legal cases and case notes</option> - <option value="ctype:w" >Law reports and digests</option> - <option value="ctype:z" >Treaties </option> + <option value="">[% t('Additional content types') %]</option> + <option value="ctype:a">[% t('Abstracts / Summaries') %]</option> + <option value="ctype:b">[% t('Bibliographies') %]</option> + <option value="ctype:c">[% t('Catalogs') %]</option> + <option value="ctype:d">[% t('Dictionaries') %]</option> + <option value="ctype:e">[% t('Encyclopedias') %] </option> + <option value="ctype:f">[% t('Handbooks') %]</option> + <option value="ctype:g">[% t('Legal articles') %]</option> + <option value="ctype:i">[% t('Indexes') %]</option> + <option value="ctype:j">[% t('Patent document') %]</option> + <option value="ctype:k">[% t('Discographies') %]</option> + <option value="ctype:l">[% t('Legislation') %]</option> + <option value="ctype:m">[% t('Theses') %]</option> + <option value="ctype:n">[% t('Surveys') %]</option> + <option value="ctype:o">[% t('Reviews') %]</option> + <option value="ctype:p">[% t('Programmed texts') %]</option> + <option value="ctype:q">[% t('Filmographies') %]</option> + <option value="ctype:r">[% t('Directories') %]</option> + <option value="ctype:s">[% t('Statistics') %]</option> + <option value="ctype:t">[% t('Technical reports') %]</option> + <option value="ctype:v">[% t('Legal cases and case notes') %]</option> + <option value="ctype:w">[% t('Law reports and digests') %]</option> + <option value="ctype:z">[% t('Treaties') %] </option> </select> </p> @@ -231,25 +232,25 @@ [% END %] <!-- AVAILABILITY LIMITS --> - <fieldset id="availability"><legend>Location and availability</legend> + <fieldset id="availability"><legend>[% t('Location and availability') %]</legend> <fieldset id="currently-avail"> - <p><label for="available-items">Only items currently available:</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p> + <p><label for="available-items">[% t('Only items currently available:') %]</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p> </fieldset> <fieldset id="select-libs"> - <p><label for="branchloop">Individual libraries:</label><select name="limit" id="branchloop"> - <option value="">All libraries</option> + <p><label for="branchloop">[% t('Individual libraries:') %]</label><select name="limit" id="branchloop"> + <option value="">[% t('All libraries') %]</option> [%# FIXME Should not we filter the libraries displayed? %] [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %] </select></p> <!-- <input type="hidden" name="limit" value="branch: MAIN" /> --> [% IF search_groups %] - <p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. --> + <p>[% t('OR') %]</p> <!-- should addjs to grey out group pulldown if a library is selected. --> <p> - <label for="categoryloop">Groups of libraries: </label> + <label for="categoryloop">[% t('Groups of libraries:') %] </label> <select name="multibranchlimit" id="categoryloop"> - <option value=""> -- none -- </option> + <option value=""> [% t('-- none --') %] </option> [% FOREACH sg IN search_groups %] [% UNLESS sg.branchcode %] <option value="[% sg.id %]">[% sg.title %]</option> @@ -263,9 +264,9 @@ <!-- /AVAILABILITY LIMITS --> <!-- RANK LIMITS --> -<fieldset id="sortby"><legend>Sorting</legend> +<fieldset id="sortby"><legend>[% t('Sorting') %]</legend> <p> - <label for="sort_by">Sort by: </label><select id="sort_by" name="sort_by"> + <label for="sort_by">[% t('Sort by:') %] </label><select id="sort_by" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> </p> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index c67d6e2ecd..075c9dabfb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1,3 +1,4 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] @@ -26,11 +27,11 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › +<title>[% t('Koha › Catalog ›') %] [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %] + [% t('Details for') %] [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %] [% END %] </title> [% INCLUDE 'doc-head-close.inc' %] @@ -42,18 +43,18 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> › [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i> + [% t('Details for') %] <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i> [% END %] </div> <div id="doc3" class="yui-t2"> [% IF ( unknownbiblionumber ) %] - <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div> + <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div> [% ELSE %] <div id="bd"> <div id="yui-main"> @@ -87,15 +88,15 @@ [% XSLTBloc %] [% IF shelves.count %] - <span class="results_summary"><span class="label">Lists that include this title: </span> + <span class="results_summary"><span class="label">[% t('Lists that include this title:') %] </span> [% FOREACH s IN shelves %] - <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a> + <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a> [% IF ( loop.last ) %][% ELSE %]|[% END %] [% END %] </span> [% END %] [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %] - <span class="results_summary"><span class="label">Tags:</span> + <span class="results_summary"><span class="label">[% t('Tags:') %]</span> [% FOREACH TagLoo IN TagLoop %] [% IF ( CAN_user_tools_moderate_tags ) %] <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> @@ -106,11 +107,11 @@ [% END %] </span> [% END %] - <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&viewas=html" title="MARC" class="previewMARC">Show</a></span> + <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">[% t('MARC Preview:') %]</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&viewas=html" title="[% t('MARC') %]" class="previewMARC">[% t('Show') %]</a></span> [% IF ( holdcount ) %] <span class="results_summary"> - <span class="label">Holds:</span> + <span class="label">[% t('Holds:') %]</span> <span class="number_box"> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a> </span> @@ -119,7 +120,7 @@ [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %] <span class="results_summary"> - <span class="label">Article requests:</span> + <span class="label">[% t('Article requests:') %]</span> <span class="number_box"> <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a> </span> @@ -146,10 +147,10 @@ [% END %] [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %] [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %] - [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %] + [% IF ( author ) %]<p>[% t('By') %] <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %] <ul> [% IF ( MARCAUTHORS ) %] - <li><strong>Additional authors:</strong><ul> + <li><strong>[% t('Additional authors:') %]</strong><ul> [% FOREACH MARCAUTHOR IN MARCAUTHORS %] <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li> [% END %] @@ -158,26 +159,26 @@ </li> [% END %] [% IF ( MARCSERIES ) %] - <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %] + <li><strong>[% t('Series:') %] </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %] <li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li> [% END %] </ul> </li> [% END %] [% IF ( publishercode ) %] - <li><strong>Published by:</strong> + <li><strong>[% t('Published by:') %]</strong> <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]"> [% publishercode |html %] </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsibility ) %][% editionresponsibility %][% END %] </li> [% END %] - <li><strong>Description:</strong> + <li><strong>[% t('Description:') %]</strong> [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %] [% IF ( size ) %][% size %][% END %] </li> [% IF ( MARCURLS ) %]<li> - <strong>Online resources:</strong> + <strong>[% t('Online resources:') %]</strong> <ul> [% FOREACH MARCurl IN MARCURLS %] <li>[% IF ( MARCurl.part ) %][% MARCurl.part %] <br />[% END %] @@ -189,13 +190,13 @@ [% END %] [% IF ( OPACBaseURL ) %] - <li><strong>OPAC view:</strong> - <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a> + <li><strong>[% t('OPAC view:') %]</strong> + <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">[% t('Open in new window') %]</a> </li> [% END %] <li id="catalogue_detail_marc_preview"> - <strong>MARC Preview:</strong> - <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a> + <strong>[% t('MARC Preview:') %]</strong> + <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="[% t('MARC') %]" rel="gb_page_center[600,500]">[% t('Show') %]</a> </li> </ul> </div> @@ -218,22 +219,22 @@ <div class="yui-u" style="margin-top: 1em;"> <ul> [% IF ( MARCISBNS ) %] - <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li> + <li><strong>[% t('ISBN:') %]</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li> [% ELSE %] [% IF ( normalized_isbn ) %] - <li><strong>ISBN:</strong> [% normalized_isbn %]</li> + <li><strong>[% t('ISBN:') %]</strong> [% normalized_isbn %]</li> [% END %] [% END %] [% IF ( issn ) %] - <li><strong>ISSN:</strong>[% issn %]</li> + <li><strong>[% t('ISSN:') %]</strong>[% issn %]</li> [% END %] [% IF ( collectiontitle ) %] - <li><strong>Collection: </strong> - [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %] + <li><strong>[% t('Collection:') %] </strong> + [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>[% t('ISSN:') %]</strong> [% collectionissn %])[% END %] </li> [% END %] [% IF ( MARCSUBJCTS ) %] - <li><strong>Subjects:</strong> + <li><strong>[% t('Subjects:') %]</strong> <ul> [% FOREACH MARCSUBJCT IN MARCSUBJCTS %] <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li> @@ -242,17 +243,17 @@ </li> [% END %] [% IF ( copyrightdate ) %] - <li><strong>Copyright:</strong> [% copyrightdate %]</li> + <li><strong>[% t('Copyright:') %]</strong> [% copyrightdate %]</li> [% END %] [% IF ( classification ) %] - <li><strong>Classification:</strong> [% subclass %][% classification %]</li> + <li><strong>[% t('Classification:') %]</strong> [% subclass %][% classification %]</li> [% END %] [% IF ( dewey ) %] - <li><strong>Dewey:</strong> [% dewey %]</li> + <li><strong>[% t('Dewey:') %]</strong> [% dewey %]</li> [% END %] [% IF ( urlS ) %] - <li><strong>URL:</strong> + <li><strong>[% t('URL:') %]</strong> [% FOREACH url IN urlS %] <a href="[% url.url %]">[% url.url %]</a> [% END %] @@ -260,16 +261,16 @@ [% END %] <!--This grabs all of the lists a bib record appears in --> [% IF shelves.count %] - <li><strong>Lists that include this title: </strong> + <li><strong>[% t('Lists that include this title:') %] </strong> <ul> [% FOREACH s IN shelves %] - <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li> + <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li> [% END %] </ul> </li> [% END %] [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %] - <li><strong>Tags:</strong> + <li><strong>[% t('Tags:') %]</strong> <ul id="tagslist"> [% FOREACH TagLoo IN TagLoop %] <li> @@ -282,7 +283,7 @@ [% END %] </ul></li> [% END %] - [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %] + [% IF ( holdcount ) %]<li><strong>[% t('Holds:') %]</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %] </ul> [% END %] @@ -292,19 +293,19 @@ <ul> [% IF (SeparateHoldings) %] - <li><a href="#holdings">[% LoginBranchname %] holdings</a></li> - <li><a href="#otherholdings">Other holdings</a></li> + <li><a href="#holdings">[% LoginBranchname %] [% t('holdings') %]</a></li> + <li><a href="#otherholdings">[% t('Other holdings') %]</a></li> [% ELSE %] - <li><a href="#holdings">Holdings</a></li> + <li><a href="#holdings">[% t('Holdings') %]</a></li> [% END %] -[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] -[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] -[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] -[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] -[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] -[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] +[% IF ( MARCNOTES || notes ) %]<li><a href="#description">[% t('Descriptions') %]</a></li>[% END %] +[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">[% t('Subscriptions') %]</a></li>[% END %] +[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">[% t('Acquisition details') %]</a></li>[% END %] +[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">[% t('Editions') %]</a></li>[% END %][% END %] +[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">[% t('Images') %]</a></li>[% END %][% END %] +[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">[% t('Play media') %]</a></li>[% END %][% END %] [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %] - <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li> + <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">[% t('NoveList Select') %]</a></li> [% END %] </ul> @@ -313,15 +314,15 @@ [% items_table_block_iter = items_table_block_iter + 1 %] <div class="[% tab %]_table_table_controls"> [% IF (StaffDetailItemSelection) %] - | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> | - <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a> + | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> [% t('Select all') %]</a> | + <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> <span class="itemselection_actions"> - | Actions: + [% t('| Actions:') %] [% IF CAN_user_tools_items_batchdel %] - <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a> + <a class="itemselection_action_delete"><i class="fa fa-trash"></i> [% t('Delete selected items') %]</a> [% END %] [% IF CAN_user_tools_items_batchmod %] - <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a> + <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> [% t('Modify selected items') %]</a> [% END %] </span> [% END %] @@ -330,26 +331,26 @@ <thead> <tr> [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %] - [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %] - <th>Current location</th> - <th>Home library</th> - [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %] - <th>Call number</th> - <th>Status</th> - <th>Last seen</th> - <th>Barcode</th> - [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] - [% IF ( itemdata_uri ) %]<th>URL</th>[% END %] - [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %] - [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %] - [% IF materials %]<th>Materials specified</th>[% END %] - [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %] - [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %] - [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %] - [% IF ( hostrecords ) %]<th>Host records</th>[% END %] - [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %] - [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %] - [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %] + [% IF ( item_level_itypes ) %]<th>[% t('Item type') %]</th>[% END %] + <th>[% t('Current location') %]</th> + <th>[% t('Home library') %]</th> + [% IF ( itemdata_ccode ) %]<th>[% t('Collection') %]</th>[% END %] + <th>[% t('Call number') %]</th> + <th>[% t('Status') %]</th> + <th>[% t('Last seen') %]</th> + <th>[% t('Barcode') %]</th> + [% IF ( volinfo ) %]<th>[% t('Serial enumeration / chronology') %]</th>[% END %] + [% IF ( itemdata_uri ) %]<th>[% t('URL') %]</th>[% END %] + [% IF ( itemdata_copynumber ) %]<th>[% t('Copy number') %]</th>[% END %] + [% IF ( itemdata_stocknumber ) %]<th>[% t('Inventory number') %]</th>[% END %] + [% IF materials %]<th>[% t('Materials specified') %]</th>[% END %] + [% IF ( itemdata_itemnotes ) %]<th>[% t('Public notes') %]</th>[% END %] + [% IF ( itemdata_nonpublicnotes ) %]<th>[% t('Non-public notes') %]</th>[% END %] + [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>[% t('Spine label') %]</th>[% END %] + [% IF ( hostrecords ) %]<th>[% t('Host records') %]</th>[% END %] + [% IF ( analyze ) %]<th>[% t('Used in') %]</th><th></th>[% END %] + [% IF ( ShowCourseReserves ) %]<th>[% t('Course Reserves') %]</th>[% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %] </tr> </thead> <tbody> @@ -376,22 +377,22 @@ [% IF item.CheckedOutFor %] [% IF item.onsite_checkout %] - <span>Currently in local use + <span>[% t('Currently in local use') %] [% ELSE %] - <span class="datedue">Checked out + <span class="datedue">[% t('Checked out') %] [% END %] [% UNLESS ( item.NOTSAMEBRANCH ) %] [% IF item.onsite_checkout %] - by + [% t('by') %] [% ELSE %] - to + [% t('to') %] [% END %] [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %] [% END %] - : due [% item.datedue %] + [% t(': due') %] [% item.datedue %] </span> [% ELSIF ( item.transfertwhen ) %] - <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span> + <span class="intransit">[% t('In transit from') %] [% Branches.GetName( item.transfertfrom ) %] [% t('to') %] [% Branches.GetName( item.transfertto ) %] [% t('since') %] [% item.transfertwhen | $KohaDates %]</span> [% END %] [% IF ( item.itemlost ) %] @@ -402,7 +403,7 @@ [% END %] [% END %] [% ELSE %] - <span class="lost">Unavailable (lost or missing)</span> + <span class="lost">[% t('Unavailable (lost or missing)') %]</span> [% END %] [% END %] @@ -414,7 +415,7 @@ [% END %] [% END %] [% ELSE %] - <span class="wdn">Withdrawn</span> + <span class="wdn">[% t('Withdrawn') %]</span> [% END %] [% END %] @@ -426,12 +427,12 @@ [% END %] [% END %] [% ELSE %] - <span class="dmg">Damaged</span> + <span class="dmg">[% t('Damaged') %]</span> [% END %] [% END %] [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %] - Not for loan + [% t('Not for loan') %] [% IF ( item.notforloanvalue ) %] ([% item.notforloanvalue %]) [% END %] @@ -439,17 +440,17 @@ [% IF ( item.reservedate ) %] [% IF ( item.waitingdate ) %] - Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %]. + [% t('Waiting at') %] [% Branches.GetName( item.ExpectedAtLibrary ) %] [% t('since') %] [% item.waitingdate | $KohaDates %]. [% ELSE %] - Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %]. + [% t('Item-level hold (placed') %] [% item.reservedate | $KohaDates %][% t(') for delivery at') %] [% Branches.GetName( item.ExpectedAtLibrary ) %]. [% END %] [% IF ( canreservefromotherbranches ) %] - Hold for: + [% t('Hold for:') %] [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %] [% END %] [% END %] [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %] - Available + [% t('Available') %] [% END %] [% IF ( item.restricted ) %] @@ -458,7 +459,7 @@ </td> <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td> - <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type %]&itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a></td> + <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type %]&itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a></td> [% IF ( volinfo ) %] <td class="enumchron"> [% IF ( itemdata_enumchron ) %] @@ -498,20 +499,20 @@ <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td> [% END %] [% IF ( SpineLabelShowPrintOnBibDetails ) %] - <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td> + <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]">[% t('Print label') %]</a></td> [% END %] [% IF ( hostrecords ) %] - <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td> + <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]">[% item.hosttitle %]</a>[% END %]</td> [% END %] [% IF ( analyze ) %] <td> [% IF ( item.countanalytics ) %] - <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] [% t('analytics') %]</a> [% END %] </td> [% END %] [% IF ( analyze ) %] - <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td> + <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">[% t('Create analytics') %]</a></td> [% END %] [% IF ShowCourseReserves %] @@ -535,7 +536,7 @@ [% IF CAN_user_editcatalogue_edit_items %] <td class="actions"> [% UNLESS item.cannot_be_edited %] - <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> Edit</a> + <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> [% END %] </td> [% END %] @@ -549,7 +550,7 @@ [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %] <span class="results_summary NovelistSelect" style="display:none;"> - <span class="label">Novelist Select: </span> + <span class="label">[% t('Novelist Select:') %] </span> <div data-novelist-novelistselect="[% normalized_isbn %]"></div> </span> [% END %] @@ -559,29 +560,29 @@ [% PROCESS items_table tab="holdings" items=itemloop %] [% END %] [% IF ( hiddencount ) %] - <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a> + <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">[% t('Show all items (') %][% hiddencount %] [% t('hidden)') %]</a> [% END %] [% IF ( debug_display ) %] <br /><br /> <table> - <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr> - <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr> - <tr><td>serial</td><td>[% serial %]</td></tr> + <tr><td>[% t('itemdata_enumchron') %]</td><td>[% itemdata_enumchron %]</td></tr> + <tr><td>[% t('itemdata_copynumber') %]</td><td>[% itemdata_copynumber %]</td></tr> + <tr><td>[% t('serial') %]</td><td>[% serial %]</td></tr> </table> [% END %] [% ELSE %] [% IF ( ALTERNATEHOLDINGS ) %] [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] - <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div> + <div id="alternateholdings"><span class="holdings_label">[% t('Holdings:') %]</span> [% ALTERNATEHOLDING.holding %]</div> [% END %] [% ELSE %] - <div id="noitems">No physical items for this record</div> + <div id="noitems">[% t('No physical items for this record') %]</div> [% END %] [% END %] [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %] <span class="results_summary NovelistSelect" style="display:none;"> - <span class="label">Novelist Select: </span> + <span class="label">[% t('Novelist Select:') %] </span> <div data-novelist-novelistselect="[% normalized_isbn %]"></div> </span> [% END %] @@ -592,7 +593,7 @@ [% IF (otheritemloop.size) %] [% PROCESS items_table tab="otherholdings" items=otheritemloop %] [% ELSE %] - No other items. + [% t('No other items.') %] [% END %] </div> [% END %] @@ -626,26 +627,26 @@ <div id="subscriptions"> <div class="yui-g"> <div id="catalogue_detail_subscriptions"> - <h2>This is a serial subscription</h2> - <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p> + <h2>[% t('This is a serial subscription') %]</h2> + <p> [% t('(There are') %] [% subscriptionsnumber %] [% t('subscriptions associated with this title).') %]</p> [% FOREACH subscription IN subscriptions %] [% IF subscription.branchcode %] - <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3> + <h3>[% t('At library:') %] [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3> [% END %] - [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %] - [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %] + [% IF ( subscription.closed ) %]<p>[% t('This subscription is closed.') %]</p>[% END %] + [% IF ( subscription.callnumber ) %]<p>[% t('Callnumber:') %] [% subscription.callnumber %] </p>[% END %] [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %] - [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %] + [% IF ( subscription.missinglist ) %]<p>[% t('Missing issues:') %] [% subscription.missinglist %] </p>[% END %] [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %] [% IF ( subscription.latestserials ) %] - <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p> + <p> [% t('The') %] [% subscription.staffdisplaycount %] [% t('latest issues related to this subscription:') %]</p> <table> <tr> - <th>Issue #</th> - <th>Date arrived</th> - <th>Date published</th> - <th>Status</th> - <th>Note</th> + <th>[% t('Issue #') %]</th> + <th>[% t('Date arrived') %]</th> + <th>[% t('Date published') %]</th> + <th>[% t('Status') %]</th> + <th>[% t('Note') %]</th> </tr> [% FOREACH latestserial IN subscription.latestserials %] <tr> @@ -653,25 +654,25 @@ <td>[% latestserial.planneddate %]</td> <td>[% latestserial.publisheddate%]</td> <td> - [% IF ( latestserial.status1 ) %]Expected[% END %] - [% IF ( latestserial.status2 ) %]Arrived[% END %] - [% IF ( latestserial.status3 ) %]Late[% END %] - [% IF ( latestserial.status4 ) %]Missing[% END %] - [% IF ( latestserial.status41 ) %]Missing (never received)[% END %] - [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %] - [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %] - [% IF ( latestserial.status44 ) %]Missing (lost)[% END %] - [% IF ( latestserial.status5 ) %]Not issued[% END %] - [% IF ( latestserial.status6 ) %]Delete[% END %] - [% IF ( latestserial.status7 ) %]Claimed[% END %] - [% IF ( latestserial.status8 ) %]Stopped[% END %] + [% IF ( latestserial.status1 ) %][% t('Expected') %][% END %] + [% IF ( latestserial.status2 ) %][% t('Arrived') %][% END %] + [% IF ( latestserial.status3 ) %][% t('Late') %][% END %] + [% IF ( latestserial.status4 ) %][% t('Missing') %][% END %] + [% IF ( latestserial.status41 ) %][% t('Missing (never received)') %][% END %] + [% IF ( latestserial.status42 ) %][% t('Missing (sold out)') %][% END %] + [% IF ( latestserial.status43 ) %][% t('Missing (damaged)') %][% END %] + [% IF ( latestserial.status44 ) %][% t('Missing (lost)') %][% END %] + [% IF ( latestserial.status5 ) %][% t('Not issued') %][% END %] + [% IF ( latestserial.status6 ) %][% t('Delete') %][% END %] + [% IF ( latestserial.status7 ) %][% t('Claimed') %][% END %] + [% IF ( latestserial.status8 ) %][% t('Stopped') %][% END %] </td> <td>[% latestserial.notes %]</td> </tr> [% END %] </table> [% END %] - <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a> + <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">[% t('Subscription details') %]</a> [% END %] </div> </div> @@ -684,15 +685,15 @@ <table id="orders"> <thead> <tr> - <th>Vendor</th> - <th>Invoice</th> - <th>Basket group</th> - <th>Basket</th> - <th>Order number</th> - <th class="title-string">Creation date</th> - <th class="title-string">Receive date</th> - <th>Status</th> - <th>Quantity</th> + <th>[% t('Vendor') %]</th> + <th>[% t('Invoice') %]</th> + <th>[% t('Basket group') %]</th> + <th>[% t('Basket') %]</th> + <th>[% t('Order number') %]</th> + <th class="title-string">[% t('Creation date') %]</th> + <th class="title-string">[% t('Receive date') %]</th> + <th>[% t('Status') %]</th> + <th>[% t('Quantity') %]</th> </tr> </thead> <tbody> @@ -700,14 +701,13 @@ <tr> <td> [% IF (order.id) %] - <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a> + <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="[% t('Vendor detail page') %]">[% order.name %]</a> [% END %] </td> <td> [% IF (order.invoiceid) %] [% IF CAN_user_acquisition %] - <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]" - title="Invoice detail page"> + <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]" title="[% t('Invoice detail page') %]"> [% order.invoicenumber %]</a> [% ELSE %] [% order.invoicenumber %] @@ -733,11 +733,11 @@ <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td> <td> [% SWITCH order.orderstatus %] - [% CASE 'new' %]New - [% CASE 'ordered' %]Ordered - [% CASE 'partial' %]Partial - [% CASE 'complete' %]Complete - [% CASE 'cancelled' %]Cancelled + [% CASE 'new' %][% t('New') %] + [% CASE 'ordered' %][% t('Ordered') %] + [% CASE 'partial' %][% t('Partial') %] + [% CASE 'complete' %][% t('Complete') %] + [% CASE 'cancelled' %][% t('Cancelled') %] [% END %] </td> <td>[% order.quantity %]</td> @@ -746,17 +746,17 @@ </tbody> </table> [% ELSE %] - There is no order for this biblio. + [% t('There is no order for this biblio.') %] [% END %] </div> [% END %] [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] -<div id="editions"><h4>Editions</h4> +<div id="editions"><h4>[% t('Editions') %]</h4> <table> [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %][% AmazonAssocTag %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %] [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %] -<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %] +<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> [% t('by') %] [% XISBN.author | html %] ©[% XISBN.copyrightdate %] [% IF ( XISBN.publishercode ) %] [% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility %][% END %] [% END %] @@ -771,15 +771,15 @@ [% IF ( LocalCoverImages ) %] <div id="images"> [% IF ( localimages.0 ) %] - <p>Click on an image to view it in the image viewer</p> + <p>[% t('Click on an image to view it in the image viewer') %]</p> <ul class="thumbnails"> [% FOREACH image IN localimages %] [% IF image %] <li id="imagenumber-[% image %]"> - <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"> - <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" /> + <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"> + <img alt="[% t('remove this image') %]" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" /> [% IF CAN_user_tools_upload_local_cover_images %] - <span class="remove" title="remove this image">Delete image</span> + <span class="remove" title="[% t('remove this image') %]">[% t('Delete image') %]</span> [% END %] </a> </li> @@ -795,10 +795,10 @@ <div id="html5media"> [% FOREACH HTML5MediaSet IN HTML5MediaSets %] <p> - <[% HTML5MediaParent %] controls preload=none> - <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] /> + <[% HTML5MediaParent %] [% t('controls preload=none>') %] + <[% HTML5MediaSet.child %] [% t('src="') %][% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] /> [[% HTML5MediaParent %] tag not supported by your browser.] - </[% HTML5MediaParent %]> + <!--[% HTML5MediaParent %]--> </p> [% END %] </div> @@ -816,13 +816,13 @@ <div class="yui-g" id="export" style="margin-top: 1em;"> <form method="get" action="/cgi-bin/koha/catalogue/export.pl"> <table> <tr> - <th>Save Record</th> </tr> - <tr><td> Select download format: <select name="format"> - <option value="mods">MODS (XML)</option> - <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option> - <option value="marcxml">MARCXML</option> - <option value="marc8">MARC (non-Unicode/MARC-8)</option> - <option value="utf8">MARC (Unicode/UTF-8)</option> </select> + <th>[% t('Save Record') %]</th> </tr> + <tr><td> [% t('Select download format:') %] <select name="format"> + <option value="mods">[% t('MODS (XML)') %]</option> + <option data-toggle="modal" data-target="#exportModal_">[% t('Dublin Core') %]</option> + <option value="marcxml">[% t('MARCXML') %]</option> + <option value="marc8">[% t('MARC (non-Unicode/MARC-8)') %]</option> + <option value="utf8">[% t('MARC (Unicode/UTF-8)') %]</option> </select> <input type="submit" name="save" value="Download Record" /></td> </tr> <tr><td> @@ -837,13 +837,13 @@ <div class="modal-content"> <div class="modal-header"> <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> - <h3 id="marcPreviewLabel">MARC preview</h3> + <h3 id="marcPreviewLabel">[% t('MARC preview') %]</h3> </div> <div class="modal-body"> - <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div> + <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div> </div> <div class="modal-footer"> - <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> + <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[% t('Close') %]</button> </div> </div> </div> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt index 99bed914c4..050ec2d210 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title> +<title>[% t('Koha › Catalog › Details for') %] [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title> [% INCLUDE 'doc-head-close.inc' %] [% IF ( LocalCoverImages == 1 ) %] <style type="text/css"> @@ -38,7 +39,7 @@ img.thumbnail { [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Images for <i>[% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div> +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Images for') %] <i>[% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div> <div id="doc3" class="yui-t1"> @@ -49,7 +50,7 @@ img.thumbnail { [% INCLUDE 'cat-toolbar.inc' %] -<h3>Images for <i>[% biblio.title |html %]</i></h3> +<h3>[% t('Images for') %] <i>[% biblio.title |html %]</i></h3> <h4>[% biblio.author %]</h4> [% IF ( LocalCoverImages == 1 ) %] @@ -63,11 +64,11 @@ img.thumbnail { [% FOREACH img IN images %] [% IF img %] - <a class="show_cover" data-coverimg="[% img %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% img %]"> + <a class="show_cover" data-coverimg="[% img %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% img %]"> [% IF ( imagenumber == img ) %] - <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail" /> + <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" /> [% ELSE %] - <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail" /> + <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" /> [% END %] </a> [% END %] @@ -75,10 +76,10 @@ img.thumbnail { </div></div> [% ELSE %] - <div class="dialog message">There are no images for this record.</div> + <div class="dialog message">[% t('There are no images for this record.') %]</div> [% END %] [% ELSE %] - <div class="dialog message">Local images have not been enabled by your system administrator.</div> + <div class="dialog message">[% t('Local images have not been enabled by your system administrator.') %]</div> [% END %] </div> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt index 0d3c01d498..cda2879137 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -1,10 +1,11 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › Checkout history for [% biblio.title |html %]</title> +<title>[% t('Koha › Catalog › Checkout history for') %] [% biblio.title |html %]</title> [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] </head> @@ -14,7 +15,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Checkout history for <i>[% biblio.title |html %]</i></div> +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Checkout history for') %] <i>[% biblio.title |html %]</i></div> <div id="doc3" class="yui-t2"> @@ -22,23 +23,23 @@ <div id="yui-main"> <div class="yui-b"> -<h1>Checkout history for [% biblio.title |html %]</h1> -[% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %] +<h1>[% t('Checkout history for') %] [% biblio.title |html %]</h1> +[% IF biblio.author %]<h3>[% t('by') %] [% biblio.author %]</h3>[% END %] <div class="searchresults"> [% IF checkouts.count %] - <h4>Checked out [% checkouts.count %] times</h4> + <h4>[% t('Checked out') %] [% checkouts.count %] [% t('times') %]</h4> <table id="table_issues"> <thead><tr> [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] - <th>Patron</th> + <th>[% t('Patron') %]</th> [% END %] - <th>Barcode</th> - <th>Checked out from</th> - <th>Renewed</th> - <th class='title-string'>Checkout on</th> - <th class='title-string'>Due date</th> - <th class='title-string'>Checkin on</th> + <th>[% t('Barcode') %]</th> + <th>[% t('Checked out from') %]</th> + <th>[% t('Renewed') %]</th> + <th class="title-string">[% t('Checkout on') %]</th> + <th class="title-string">[% t('Due date') %]</th> + <th class="title-string">[% t('Checkin on') %]</th> </tr></thead> <tbody> [% FOREACH checkout IN checkouts %] @@ -48,35 +49,35 @@ [% END %] <td> [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %] - <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a> + <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a> [% ELSE %] - + [% END %]</td> <td>[% IF checkout.branchcode %] [% Branches.GetName( checkout.branchcode ) %] [% ELSE %] - + [% END %]</td> <td>[% IF checkout.renewals %] - Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]</small> + [% t('Yes') %][% IF checkout.lastreneweddate %], <small>[% t('last on:') %] [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]</small> [% END %] [% ELSE %] - No + [% t('No') %] [% END %]</td> <td>[% IF checkout.issuedate %] <span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1 %]</span> [% ELSE %] - <span title="0000-00-00"></span> + <span title="[% t('0000-00-00') %]"></span> [% END %]</td> <td>[% IF checkout.date_due %] <span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1 %]</span> [% ELSE %] - <span title="0000-00-00"></span> + <span title="[% t('0000-00-00') %]"></span> [% END %]</td> <td>[% IF checkout.returndate %] <span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1 %]</span> [% ELSE %] - <span title="Checked out"><small>Checked out</small></span> + <span title="[% t('Checked out') %]"><small>[% t('Checked out') %]</small></span> [% END %]</td> </tr> [% END %] @@ -84,7 +85,7 @@ </table> [% ELSE %] <div class="dialog message"><p> - <b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div> + <b>[% biblio.title |html %][% IF biblio.author %][% t(', by') %] [% biblio.author %][% END %]</b> [% t('has never been checked out.') %]</p></div> [% END %] </div> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index ee130b6fda..250ae04bed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -1,31 +1,32 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE JSON.Escape %] [% BLOCK form_label %] [% SWITCH label %] - [% CASE 'barcode' %]<span>Barcode</span> - [% CASE 'itemcallnumber' %]<span>Call number</span> - [% CASE 'stocknumber' %]<span>Inventory number</span> - [% CASE 'title' %]<span>Title</span> - [% CASE 'author' %]<span>Author</span> - [% CASE 'publishercode' %]<span>Publisher</span> - [% CASE 'publicationyear' %]<span>Publication date</span> - [% CASE 'collectiontitle' %]<span>Collection</span> - [% CASE 'isbn' %]<span>ISBN</span> - [% CASE 'issn' %]<span>ISSN</span> - [% CASE 'homebranch' %]<span>Home library</span> - [% CASE 'holdingbranch' %]<span>Current location</span> - [% CASE 'All libraries' %]<span>All libraries</span> - [% CASE 'location' %]<span>Shelving location</span> - [% CASE 'All locations' %]<span>All locations</span> - [% CASE 'itype' %]<span>Item type</span> - [% CASE 'All item types' %]<span>All item types</span> - [% CASE 'ccode' %]<span>Collection code</span> - [% CASE 'All collection codes' %]<span>All collection codes</span> - [% CASE 'notforloan' %]<span>Status</span> - [% CASE 'All statuses' %]<span>All statuses</span> - [% CASE 'damaged' %]<span>Damaged</span> - [% CASE 'itemlost' %]<span>Lost</span> + [% CASE 'barcode' %]<span>[% t('Barcode') %]</span> + [% CASE 'itemcallnumber' %]<span>[% t('Call number') %]</span> + [% CASE 'stocknumber' %]<span>[% t('Inventory number') %]</span> + [% CASE 'title' %]<span>[% t('Title') %]</span> + [% CASE 'author' %]<span>[% t('Author') %]</span> + [% CASE 'publishercode' %]<span>[% t('Publisher') %]</span> + [% CASE 'publicationyear' %]<span>[% t('Publication date') %]</span> + [% CASE 'collectiontitle' %]<span>[% t('Collection') %]</span> + [% CASE 'isbn' %]<span>[% t('ISBN') %]</span> + [% CASE 'issn' %]<span>[% t('ISSN') %]</span> + [% CASE 'homebranch' %]<span>[% t('Home library') %]</span> + [% CASE 'holdingbranch' %]<span>[% t('Current location') %]</span> + [% CASE 'All libraries' %]<span>[% t('All libraries') %]</span> + [% CASE 'location' %]<span>[% t('Shelving location') %]</span> + [% CASE 'All locations' %]<span>[% t('All locations') %]</span> + [% CASE 'itype' %]<span>[% t('Item type') %]</span> + [% CASE 'All item types' %]<span>[% t('All item types') %]</span> + [% CASE 'ccode' %]<span>[% t('Collection code') %]</span> + [% CASE 'All collection codes' %]<span>[% t('All collection codes') %]</span> + [% CASE 'notforloan' %]<span>[% t('Status') %]</span> + [% CASE 'All statuses' %]<span>[% t('All statuses') %]</span> + [% CASE 'damaged' %]<span>[% t('Damaged') %]</span> + [% CASE 'itemlost' %]<span>[% t('Lost') %]</span> [% END %] [% END %] @@ -33,12 +34,12 @@ <div class="form-field form-field-select"> <label class="form-field-label" for="[% name %]">[% INCLUDE form_label label=name %]</label> <select id="[% name %]_op" name="[% name %]_op"> - <option value="=">is</option> - <option value="!=" >is not</option> + <option value="=">[% t('is') %]</option> + <option value="!=">[% t('is not') %]</option> </select> <select id="[% name %]" name="[% name %]" multiple="multiple" size="[% options.size < 4 ? options.size + 1 : 4 %]"> <option value="" selected="selected"> - [% IF (empty_option) %][% INCLUDE form_label label=empty_option %][% ELSE %]<span>All</span>[% END %] + [% IF (empty_option) %][% INCLUDE form_label label=empty_option %][% ELSE %]<span>[% t('All') %]</span>[% END %] </option> [% FOREACH option IN options %] <option value="[% option.value %]">[% option.label %]</option> @@ -54,8 +55,8 @@ [% BLOCK form_field_select_text %] <div class="form-field form-field-select-text"> <select name="c" class="form-field-conjunction" disabled="disabled"> - <option value="and">AND</option> - <option value="or">OR</option> + <option value="and">[% t('AND') %]</option> + <option value="or">[% t('OR') %]</option> </select> <select name="f" class="form-field-column"> [% INCLUDE form_field_select_option value='barcode' %] @@ -69,7 +70,7 @@ [% INCLUDE form_field_select_option value='isbn' %] [% INCLUDE form_field_select_option value='issn' %] [% IF items_search_fields.size %] - <optgroup label="Custom search fields"> + <optgroup label="[% t('Custom search fields') %]"> [% FOREACH field IN items_search_fields %] [% marcfield = field.tagfield %] [% IF field.tagsubfield %] @@ -88,12 +89,12 @@ [% BLOCK form_field_radio_yes_no %] <div class="form-field"> <label class="form-field-label">[% INCLUDE form_label label=name %]:</label> - <input type="radio" name="[% name %]" id="[% name %]_indifferent" value="" checked="checked"/> - <label for="[% name %]_indifferent">Ignore</label> + <input type="radio" name="[% name %]" id="[% name %]_indifferent" value="" checked="checked" /> + <label for="[% name %]_indifferent">[% t('Ignore') %]</label> <input type="radio" name="[% name %]" id="[% name %]_yes" value="yes" /> - <label for="[% name %]_yes">Yes</label> + <label for="[% name %]_yes">[% t('Yes') %]</label> <input type="radio" name="[% name %]" id="[% name %]_no" value="no" /> - <label for="[% name %]_no">No</label> + <label for="[% name %]_no">[% t('No') %]</label> </div> [% END %] @@ -101,7 +102,7 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - <title>Koha › Catalog › Item search</title> + <title>[% t('Koha › Catalog › Item search') %]</title> [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/itemsearchform.css") %] [% Asset.css("css/datatables.css") %] @@ -111,7 +112,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'home-search.inc' %] <div id="breadcrumbs"> - <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Item search + <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Item search') %] </div> <div class="main container-fluid"> @@ -119,13 +120,13 @@ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> <div id="item-search-block"> - <h1>Item search</h1> - <p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p> + <h1>[% t('Item search') %]</h1> + <p><a href="/cgi-bin/koha/catalogue/search.pl">[% t('Go to advanced search') %]</a></p> <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform"> <div id="toolbar" class="btn-toolbar"> <fieldset class="action"> <div class="btn-group"> - <button class="btn btn-default btn-sm"><i class="fa fa-search"></i> Search</button> + <button class="btn btn-default btn-sm"><i class="fa fa-search"></i> [% t('Search') %]</button> </div> </fieldset> </div> @@ -147,50 +148,50 @@ </fieldset> <fieldset> [% INCLUDE form_field_select_text %] - <p class="hint">You can use the following wildcard characters: % _</p> - <p class="hint">% matches any number of characters</p> - <p class="hint">_ matches only a single character</p> + <p class="hint">[% t('You can use the following wildcard characters: % _') %]</p> + <p class="hint">[% t('% matches any number of characters') %]</p> + <p class="hint">[% t('_ matches only a single character') %]</p> </fieldset> <fieldset> <div class="form-field"> - <label class="form-field-label" for="itemcallnumber_from">From call number:</label> + <label class="form-field-label" for="itemcallnumber_from">[% t('From call number:') %]</label> <input type="text" id="itemcallnumber_from" name="itemcallnumber_from" value="" /> - <span class="hint">(inclusive)</span> + <span class="hint">[% t('(inclusive)') %]</span> </div> <div class="form-field"> - <label class="form-field-label" for="itemcallnumber_to">To call number:</label> + <label class="form-field-label" for="itemcallnumber_to">[% t('To call number:') %]</label> <input type="text" id="itemcallnumber_to" name="itemcallnumber_to" value="" /> - <span class="hint">(inclusive)</span> + <span class="hint">[% t('(inclusive)') %]</span> </div> [% INCLUDE form_field_radio_yes_no name="damaged" %] [% INCLUDE form_field_radio_yes_no name="itemlost" %] <div class="form-field"> - <label class="form-field-label" for="issues_op">Checkout count:</label> + <label class="form-field-label" for="issues_op">[% t('Checkout count:') %]</label> <select id="issues_op" name="issues_op"> - <option value=">">></option> - <option value="<"><</option> + <option value=">">></option> + <option value="<"><</option> <option value="=">=</option> <option value="!=">!=</option> </select> <input type="text" name="issues" /> </div> <div class="form-field"> - <label class="form-field-label" for="datelastborrowed_op">Last checkout date:</label> + <label class="form-field-label" for="datelastborrowed_op">[% t('Last checkout date:') %]</label> <select id="datelastborrowed_op" name="datelastborrowed_op"> - <option value=">">After</option> - <option value="<">Before</option> - <option value="=">On</option> + <option value=">">[% t('After') %]</option> + <option value="<">[% t('Before') %]</option> + <option value="=">[% t('On') %]</option> </select> <input type="text" name="datelastborrowed" /> - <span class="hint">ISO Format (YYYY-MM-DD)</span> + <span class="hint">[% t('ISO Format (YYYY-MM-DD)') %]</span> </div> </fieldset> <fieldset> <div class="form-field-radio"> - <label>Output:</label> - <input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">Screen</label> - <input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">CSV</label> - <input type="radio" id="format-barcodes" name="format" value="barcodes"/> <label for="format-barcodes">Barcodes file</label> + <label>[% t('Output:') %]</label> + <input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">[% t('Screen') %]</label> + <input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">[% t('CSV') %]</label> + <input type="radio" id="format-barcodes" name="format" value="barcodes" /> <label for="format-barcodes">[% t('Barcodes file') %]</label> </div> </fieldset> </form> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt index 4bc2add569..600cd57a4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt @@ -1,8 +1,9 @@ +[% PROCESS 'i18n.inc' %] { - "sEcho": [% sEcho %], - "iTotalRecords": [% total_rows %], - "iTotalDisplayRecords": [% total_rows %], - "aaData": [ + [% t('"sEcho":') %] [% sEcho %], + [% t('"iTotalRecords":') %] [% total_rows %], + [% t('"iTotalDisplayRecords":') %] [% total_rows %], + [% t('"aaData":') %] [ [%- FOREACH item IN results -%] [%- INCLUDE 'catalogue/itemsearch_item.json.inc' item = item -%] [%- UNLESS loop.last %],[% END -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt index e3b472b7c6..f6bed750ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt @@ -1,12 +1,13 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › +<title>[% t('Koha › Catalog ›') %] [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - Labeled MARC details for [% bibliotitle | html %] + [% t('Labeled MARC details for') %] [% bibliotitle | html %] [% END %] </title> @@ -18,19 +19,19 @@ [% INCLUDE 'cat-search.inc' %] <div id="breadcrumbs"> - <a href="/cgi-bin/koha/mainpage.pl">Home</a> - › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › + <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> + › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> › [% IF ( unknownbiblionumber ) %] - Unknown record + [% t('Unknown record') %] [% ELSE %] - MARC details for <i>[% bibliotitle | html %]</i> + [% t('MARC details for') %] <i>[% bibliotitle | html %]</i> [% END %] </div> <div id="doc3" class="yui-t2"> [% IF ( unknownbiblionumber ) %] - <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div> + <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div> [% ELSE %] <div id="bd"> @@ -40,11 +41,11 @@ [% INCLUDE 'cat-toolbar.inc' %] [% UNLESS ( popup ) %] - <h1>Labeled MARC biblio : [% biblionumber %] ( [% bibliotitle | html %] )</h1> + <h1>[% t('Labeled MARC biblio :') %] [% biblionumber %] ( [% bibliotitle | html %] )</h1> [% END %] - <p><b>With framework: + <p><b>[% t('With framework:') %] <select name="Frameworks" id="Frameworks" size="1" onchange="Changefwk(this);"> - <option value="">Default</option> + <option value="">[% t('Default') %]</option> [% FOREACH framework IN frameworks %] [% IF framework.frameworkcode == frameworkcode %] <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt index b1a261fa26..53315c8ccd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -1,9 +1,10 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title> +<title>[% t('Koha › Catalog › Item details for') %] [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title> [% INCLUDE 'doc-head-close.inc' %] <style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style> </head> @@ -12,7 +13,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Item details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div> +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Item details for') %] <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div> <div id="doc3" class="yui-t2"> @@ -25,81 +26,81 @@ <h2>[% title |html %]</h2> [% IF ( subtitle ) %]<h4>[% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</h4>[% END %] - [% IF ( author ) %]<h4>by [% author | html %]</h4>[% END %] + [% IF ( author ) %]<h4>[% t('by') %] [% author | html %]</h4>[% END %] <ol class="bibliodetails"> - <li><span class="label">Biblionumber:</span> [% biblionumber %] </li> + <li><span class="label">[% t('Biblionumber:') %]</span> [% biblionumber %] </li> [% UNLESS ( item_level_itypes ) %] - <li><span class="label">Item type:</span> [% itemtypename %] </li> + <li><span class="label">[% t('Item type:') %]</span> [% itemtypename %] </li> [% END %] - [% IF ( rentalcharge ) %]<li><span class="label">Rental charge:</span>[% rentalcharge %] </li>[% END %] - <li><span class="label">ISBN:</span> [% isbn | html %] </li> - <li><span class="label">Publisher:</span>[% place %] [% publishercode |html %] [% publicationyear %] </li> - [% IF ( volumeddesc ) %]<li><span class="label">Volume:</span> [% volumeddesc %]</li>[% END %] - <li><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %] </li> - [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes %]</li>[% END %] - <li><span class="label">No. of items:</span> [% count %] [% IF ( hiddencount ) %]total ([% showncount %] shown / [% hiddencount %] hidden) -<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items</a>[% END %]</li> + [% IF ( rentalcharge ) %]<li><span class="label">[% t('Rental charge:') %]</span>[% rentalcharge %] </li>[% END %] + <li><span class="label">[% t('ISBN:') %]</span> [% isbn | html %] </li> + <li><span class="label">[% t('Publisher:') %]</span>[% place %] [% publishercode |html %] [% publicationyear %] </li> + [% IF ( volumeddesc ) %]<li><span class="label">[% t('Volume:') %]</span> [% volumeddesc %]</li>[% END %] + <li><span class="label">[% t('Physical details:') %]</span> [% pages %] [% illus %] [% size %] </li> + [% IF ( bnotes ) %]<li><span class="label">[% t('Notes:') %]</span> [% bnotes %]</li>[% END %] + <li><span class="label">[% t('No. of items:') %]</span> [% count %] [% IF ( hiddencount ) %][% t('total (') %][% showncount %] [% t('shown /') %] [% hiddencount %] [% t('hidden)') %] +<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&showallitems=1">[% t('Show all items') %]</a>[% END %]</li> </ol> <br clear="all" /> [% IF ( ONLY_ONE ) %] - <div class="dialog message">You are only viewing one item. <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&bi=[% biblioitemnumber %]#item[% itemnumber %]">View All</a></div> + <div class="dialog message">[% t('You are only viewing one item.') %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&bi=[% biblioitemnumber %]#item[% itemnumber %]">[% t('View All') %]</a></div> [% END %] [% FOREACH ITEM_DAT IN ITEM_DATA %] <div class="yui-g"> - <h3 id="item[% ITEM_DAT.itemnumber %]">Barcode [% ITEM_DAT.barcode %] [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]</h3> - <div class="listgroup"><h4>Item information [% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% UNLESS ( ITEM_DAT.nomod ) %] + <h3 id="item[% ITEM_DAT.itemnumber %]">[% t('Barcode') %] [% ITEM_DAT.barcode %] [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]</h3> + <div class="listgroup"><h4>[% t('Item information') %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% UNLESS ( ITEM_DAT.nomod ) %] [% IF ( CAN_user_editcatalogue_edit_items ) %] - <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% ITEM_DAT.biblionumber %]&itemnumber=[% ITEM_DAT.itemnumber %]">[Edit Item]</a> + <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% ITEM_DAT.biblionumber %]&itemnumber=[% ITEM_DAT.itemnumber %]">[% t('[Edit Item]') %]</a> [% END %] [% END %][% END %]</h4> <ol class="bibliodetails"> - <li><span class="label">Home library:</span> [% Branches.GetName( ITEM_DAT.homebranch ) %] </li> + <li><span class="label">[% t('Home library:') %]</span> [% Branches.GetName( ITEM_DAT.homebranch ) %] </li> [% IF ( item_level_itypes ) %] - <li><span class="label">Item type:</span> [% ITEM_DAT.itype %] </li> + <li><span class="label">[% t('Item type:') %]</span> [% ITEM_DAT.itype %] </li> [% END %] - [% IF ( ITEM_DAT.collection ) %]<li><span class="label">Collection:</span> [% ITEM_DAT.collection %]</li> [% END %] - <li><span class="label">Item callnumber:</span> [% ITEM_DAT.itemcallnumber %] </li> - [% IF ( ITEM_DAT.displaycopy ) %]<li><span class="label">Copy number:</span> [% ITEM_DAT.copyvol %] </li> [% END %] - [% IF ( ITEM_DAT.replacementprice ) %]<li><span class="label">Replacement price:</span> [% ITEM_DAT.replacementprice %] </li> [% END %] - [% IF ITEM_DAT.materials %]<li><span class="label">Materials specified:</span> [% ITEM_DAT.materials %] </li> [% END %] + [% IF ( ITEM_DAT.collection ) %]<li><span class="label">[% t('Collection:') %]</span> [% ITEM_DAT.collection %]</li> [% END %] + <li><span class="label">[% t('Item callnumber:') %]</span> [% ITEM_DAT.itemcallnumber %] </li> + [% IF ( ITEM_DAT.displaycopy ) %]<li><span class="label">[% t('Copy number:') %]</span> [% ITEM_DAT.copyvol %] </li> [% END %] + [% IF ( ITEM_DAT.replacementprice ) %]<li><span class="label">[% t('Replacement price:') %]</span> [% ITEM_DAT.replacementprice %] </li> [% END %] + [% IF ITEM_DAT.materials %]<li><span class="label">[% t('Materials specified:') %]</span> [% ITEM_DAT.materials %] </li> [% END %] </ol></div> - <div class="listgroup"><h4>Statuses [% IF ( ITEM_DAT.status_advisory ) %]( + <div class="listgroup"><h4>[% t('Statuses') %] [% IF ( ITEM_DAT.status_advisory ) %]( [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %] - [% IF ( ITEM_DAT.itemlost ) %]Lost[% END %] - [% IF ( ITEM_DAT.damaged ) %]Damaged[% END %] - [% IF ( ITEM_DAT.withdrawn ) %]Withdrawn[% END %] + [% IF ( ITEM_DAT.itemlost ) %][% t('Lost') %][% END %] + [% IF ( ITEM_DAT.damaged ) %][% t('Damaged') %][% END %] + [% IF ( ITEM_DAT.withdrawn ) %][% t('Withdrawn') %][% END %] )[% END %]</h4> <ol class="bibliodetails"> - <li><span class="label">Current location:</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) %] </li> - <li><span class="label">Checkout status:</span> - [% IF ( ITEM_DAT.issue ) %]Checked out to + <li><span class="label">[% t('Current location:') %]</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) %] </li> + <li><span class="label">[% t('Checkout status:') %]</span> + [% IF ( ITEM_DAT.issue ) %][% t('Checked out to') %] [% IF ( hidepatronname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>, [% ELSE %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.borrowerfirstname %] [% ITEM_DAT.borrowersurname %]</a>, [% END %] [% IF ( ITEM_DAT.lastreneweddate ) %] - Last renewed [% ITEM_DAT.lastreneweddate | $KohaDates %], + [% t('Last renewed') %] [% ITEM_DAT.lastreneweddate | $KohaDates %], [% END %] [% IF ( ITEM_DAT.datedue ) %] - Due back on [% ITEM_DAT.datedue | $KohaDates %] + [% t('Due back on') %] [% ITEM_DAT.datedue | $KohaDates %] [% ELSE %] - Not checked out + [% t('Not checked out') %] [% END %] [% END %] - </li> - <li><span class="label">Current renewals:</span> [% ITEM_DAT.renewals %] </li> + </li> + <li><span class="label">[% t('Current renewals:') %]</span> [% ITEM_DAT.renewals %] </li> [% IF itemlostloop %] - <li><span class="label">Lost status:</span> + <li><span class="label">[% t('Lost status:') %]</span> [% IF ( CAN_user_circulate ) %] <form action="updateitem.pl" method="post"> <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" /> <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /> <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" /> - <select name="itemlost" > - <option value="">Choose</option> + <select name="itemlost"> + <option value="">[% t('Choose') %]</option> [% FOREACH itemlostloo IN itemlostloop %] [% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] <option value="[% itemlostloo.authorised_value %]" selected="selected">[% itemlostloo.lib %]</option> @@ -117,22 +118,22 @@ [% itemlostloo.lib %] [% END %] [% END %] - + [% END %] </li> [% IF ITEM_DAT.itemlost != "" && ITEM_DAT.itemlost_on %] - <li><span class="label">Lost on:</span>[% ITEM_DAT.itemlost_on | $KohaDates %] </li> + <li><span class="label">[% t('Lost on:') %]</span>[% ITEM_DAT.itemlost_on | $KohaDates %] </li> [% END %] [% END %] [% IF itemdamagedloop %] - <li><span class="label">Damaged status:</span> + <li><span class="label">[% t('Damaged status:') %]</span> [% IF ( CAN_user_circulate ) %] <form action="updateitem.pl" method="post"> <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" /> <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /> <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" /> - <select name="damaged" > - <option value="">Choose</option> + <select name="damaged"> + <option value="">[% t('Choose') %]</option> [% FOREACH itemdamagedloo IN itemdamagedloop %] [% IF itemdamagedloo.authorised_value == ITEM_DAT.damaged %] <option value="[% itemdamagedloo.authorised_value %]" selected="selected">[% itemdamagedloo.lib %]</option> @@ -150,23 +151,23 @@ [% itemdamagedloo.lib %] [% END %] [% END %] - + [% END %] </li> [% IF ITEM_DAT.damaged != "" && ITEM_DAT.damaged_on %] - <li><span class="label">Damaged on:</span>[% ITEM_DAT.damaged_on | $KohaDates %] </li> + <li><span class="label">[% t('Damaged on:') %]</span>[% ITEM_DAT.damaged_on | $KohaDates %] </li> [% END %] [% END %] [% IF itemwithdrawnloop %] - <li><span class="label">Withdrawn status:</span> + <li><span class="label">[% t('Withdrawn status:') %]</span> [% IF ( CAN_user_circulate ) %] <form action="updateitem.pl" method="post"> <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" /> <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /> <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" /> - <select name="withdrawn" > - <option value="">Choose</option> + <select name="withdrawn"> + <option value="">[% t('Choose') %]</option> [% FOREACH itemwithdrawn IN itemwithdrawnloop %] [% IF itemwithdrawn.authorised_value == ITEM_DAT.withdrawn %] <option value="[% itemwithdrawn.authorised_value %]" selected="selected">[% itemwithdrawn.lib %]</option> @@ -184,33 +185,33 @@ [% itemwithdrawn.lib %] [% END %] [% END %] - + [% END %] </li> [% IF ITEM_DAT.withdrawn != "" && ITEM_DAT.withdrawn_on %] - <li><span class="label">Withdrawn on:</span>[% ITEM_DAT.withdrawn_on | $KohaDates %] </li> + <li><span class="label">[% t('Withdrawn on:') %]</span>[% ITEM_DAT.withdrawn_on | $KohaDates %] </li> [% END %] [% END %] </ol></div> - <div class="listgroup"><h4>History</h4> + <div class="listgroup"><h4>[% t('History') %]</h4> <ol class="bibliodetails"> [% IF ITEM_DAT.basketno %] - <li><span class="label">Order date:</span> + <li><span class="label">[% t('Order date:') %]</span> [% IF ( CAN_user_acquisition_order_manage ) %] <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ITEM_DAT.basketno %]">[% ITEM_DAT.orderdate | $KohaDates %]</a> [% ELSE %] [% ITEM_DAT.orderdate | $KohaDates %] [% END %] </li> - <li><span class="label">Vendor:</span> + <li><span class="label">[% t('Vendor:') %]</span> [% ITEM_DAT.vendor %] </li> [% END %] [% IF ITEM_DAT.dateaccessioned %] - <li><span class="label">Accession date:</span> + <li><span class="label">[% t('Accession date:') %]</span> [% IF ( CAN_user_acquisition_order_receive && ITEM_DAT.invoiceid ) %] <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% ITEM_DAT.invoiceid %]">[% ITEM_DAT.dateaccessioned | $KohaDates %]</a> [% ELSE %] @@ -219,27 +220,27 @@ </li> [% END %] [% IF ( ITEM_DAT.invoicenumber ) %] - <li><span class="label">Invoice number:</span> + <li><span class="label">[% t('Invoice number:') %]</span> [% ITEM_DAT.invoicenumber %] </li> [% END %] - <li><span class="label">Total checkouts:</span>[% IF ( ITEM_DAT.issues ) %][% ITEM_DAT.issues %][% ELSE %]0[% END %] (<a href="/cgi-bin/koha/circ/bookcount.pl?&biblionumber=[% ITEM_DAT.biblionumber %]&itm=[% ITEM_DAT.itemnumber %]">View item's checkout history</a>)</li> + <li><span class="label">[% t('Total checkouts:') %]</span>[% IF ( ITEM_DAT.issues ) %][% ITEM_DAT.issues %][% ELSE %][% t('0') %][% END %] (<a href="/cgi-bin/koha/circ/bookcount.pl?&biblionumber=[% ITEM_DAT.biblionumber %]&itm=[% ITEM_DAT.itemnumber %]">[% t('View item\'s checkout history') %]</a>)</li> - <li><span class="label">Last seen:</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %] </li> - <li><span class="label">Last borrowed:</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %] </li> + <li><span class="label">[% t('Last seen:') %]</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %] </li> + <li><span class="label">[% t('Last borrowed:') %]</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %] </li> [% IF Koha.Preference('StoreLastBorrower') && ITEM_DAT.object.last_returned_by %] - <li><span class="label">Last returned by:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.object.last_returned_by.borrowernumber %]">[% ITEM_DAT.object.last_returned_by.cardnumber %]</a> </li> + <li><span class="label">[% t('Last returned by:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.object.last_returned_by.borrowernumber %]">[% ITEM_DAT.object.last_returned_by.cardnumber %]</a> </li> [% END %] - [% IF ( ITEM_DAT.card0 ) %]<li><span class="label">Last borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower0 %]">[% ITEM_DAT.card0 %]</a> </li>[% END %] - [% IF ( ITEM_DAT.card1 ) %]<li><span class="label">Previous borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower1 %]">[% ITEM_DAT.card1 %]</a> </li>[% END %] - [% IF ( ITEM_DAT.card2 ) %]<li><span class="label">Previous borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower2 %]">[% ITEM_DAT.card2 %]</a> </li>[% END %] - [% IF ( ITEM_DAT.paidfor ) %]<li><span class="label">Paid for?:</span> [% ITEM_DAT.paidfor %] </li>[% END %] + [% IF ( ITEM_DAT.card0 ) %]<li><span class="label">[% t('Last borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower0 %]">[% ITEM_DAT.card0 %]</a> </li>[% END %] + [% IF ( ITEM_DAT.card1 ) %]<li><span class="label">[% t('Previous borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower1 %]">[% ITEM_DAT.card1 %]</a> </li>[% END %] + [% IF ( ITEM_DAT.card2 ) %]<li><span class="label">[% t('Previous borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower2 %]">[% ITEM_DAT.card2 %]</a> </li>[% END %] + [% IF ( ITEM_DAT.paidfor ) %]<li><span class="label">[% t('Paid for?:') %]</span> [% ITEM_DAT.paidfor %] </li>[% END %] - [% IF ( ITEM_DAT.enumchron ) %]<li><span class="label">Serial enumeration:</span> [% ITEM_DAT.enumchron %] </li>[% END %] + [% IF ( ITEM_DAT.enumchron ) %]<li><span class="label">[% t('Serial enumeration:') %]</span> [% ITEM_DAT.enumchron %] </li>[% END %] <li> - <span class="label">Public note:</span> + <span class="label">[% t('Public note:') %]</span> [% IF ( CAN_user_editcatalogue_edit_items ) %] <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" /> <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" /> @@ -247,12 +248,12 @@ </form> [% ELSE %] [% ITEM_DAT.itemnotes %] - + [% END %] </li> <li> - <span class="label">Non-public note:</span> + <span class="label">[% t('Non-public note:') %]</span> [% IF ( CAN_user_editcatalogue_edit_items ) %] <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" /> <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" /> @@ -260,7 +261,7 @@ </form> [% ELSE %] [% ITEM_DAT.itemnotes_nonpublic %] - + [% END %] </li> </ol> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 242c64f348..361298bbb4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -1,3 +1,4 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% USE Biblio %] @@ -15,7 +16,7 @@ [% SET DetailPage="detail.pl" %] [% END %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Catalog › [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title> +<title>[% t('Koha › Catalog ›') %] [% IF ( searchdesc ) %][% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %][% ELSE %][% t('You did not specify any search criteria') %][% END %]</title> [% INCLUDE 'doc-head-close.inc' %] </head> @@ -24,9 +25,9 @@ [% INCLUDE 'cat-search.inc' %] <div id="breadcrumbs"> - <a href="/cgi-bin/koha/mainpage.pl">Home</a> -› <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> -› Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] + <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> +› <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> +[% t('› Search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc |html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %] </div> <div id="doc3" class="yui-t1"> @@ -40,7 +41,7 @@ [% END %] [% IF ( koha_spsuggest ) %] - <div style="font-size: 12px;">Did you mean: + <div style="font-size: 12px;">[% t('Did you mean:') %] <ul style="list-style: none;"> [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %] <li> @@ -54,34 +55,34 @@ [% IF ( total ) %] <h3> - [% total %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc |html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %]. + [% total %] [% t('result(s) found') %] [% IF ( query_desc ) %][% t('for') %] <span class="results_query_desc">'[% query_desc |html %]'</span>[% END %][% IF limit_desc %][% t(' with limit(s):') %] <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] [% t('in') %] [% LibraryName %] [% t('Catalog') %][% END %]. </h3> <div id="searchheader"> <div id="selection_ops"> - <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> + <a href="#" id="select_all"><i class="fa fa-check"></i> [% t('Select all') %]</a> | - <a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a> + <a href="#" id="clear_all"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> | - <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a> - <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a> + <a href="#" class="highlight_toggle" id="highlight_toggle_off">[% t('Unhighlight') %]</a> + <a href="#" class="highlight_toggle" id="highlight_toggle_on">[% t('Highlight') %]</a> | [% IF ( intranetbookbag ) %] <div class="btn-group"> - <a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a> + <a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> [% t('Add to cart') %]</a> </div> [% END %] [% IF Koha.Preference('virtualshelves') %] <div class="btn-group"> <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - <i class="fa fa-list"></i> Add to list <span class="caret"></span> + <i class="fa fa-list"></i> [% t('Add to list') %] <span class="caret"></span> </button> <ul class="dropdown-menu"> [% IF add_to_some_private_shelves.count %] - <li class="dropdown-header">Your lists</li> + <li class="dropdown-header">[% t('Your lists') %]</li> [% SET number_of_private_shelves = 0 %] [% FOREACH s IN add_to_some_private_shelves %] [% IF shelfnumber != s.shelfnumber %] @@ -94,7 +95,7 @@ [% END %] [% END %] [% IF add_to_some_public_shelves.count %] - <li class="dropdown-header">Public lists</li> + <li class="dropdown-header">[% t('Public lists') %]</li> [% SET number_of_public_shelves = 0 %] [% FOREACH s IN add_to_some_public_shelves %] [% IF shelfnumber != s.shelfnumber %] @@ -109,11 +110,11 @@ <li role="separator" class="divider"></li> [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %] <li> - <a href="#" class="addtolist morelists">More lists</a> + <a href="#" class="addtolist morelists">[% t('More lists') %]</a> </li> [% END %] <li> - <a href="#" class="addtolist newlist">New list</a> + <a href="#" class="addtolist newlist">[% t('New list') %]</a> </li> </ul> </div> @@ -123,125 +124,125 @@ [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %] [% IF ( holdfor ) %] <div id="placeholdc" class="btn-group"> - <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button> + <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</button> <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <ul class="dropdown-menu"> - <li><a href="#" class="placehold">Place hold</a></li> - <li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li> + <li><a href="#" class="placehold">[% t('Place hold') %]</a></li> + <li><a href="#" class="placeholdfor">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li> <li class="divider"></li> - <li><a href="#" id="forgetholdfor">Forget [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li> + <li><a href="#" id="forgetholdfor">[% t('Forget') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li> </ul> </div> [% ELSE %] - <div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a></div> + <div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</a></div> [% END %] [% END %] [% IF Koha.Preference('BrowseResultSelection') %] - <div id="browse_selection" class="btn-group"><a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a></div> + <div id="browse_selection" class="btn-group"><a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> [% t('Browse selected records') %]</a></div> [% END %] - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>[% END %] + [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> [% t('Z39.50/SRU search') %]</a></div>[% END %] [% IF ( searchdesc ) %] [% BLOCK sort_search_query ~%] [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] - &[% QUERY_INPUT.input_name |html %]=[% QUERY_INPUT.input_value |html %] + &[% QUERY_INPUT.input_name |html %]=[% QUERY_INPUT.input_value |html %] [%~ END ~%] [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] - &[% LIMIT_INPUT.input_name |html %]=[% LIMIT_INPUT.input_value |html %] + &[% LIMIT_INPUT.input_name |html %]=[% LIMIT_INPUT.input_value |html %] [%~ END ~%] [%~ END %] [% END %] <div class="btn-group"> <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - Sort <span class="caret"></span> + [% t('Sort') %] <span class="caret"></span> </button> <ul class="dropdown-menu"> [% IF ( sort_by == "relevance_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Relevance</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Relevance') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">Relevance</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">[% t('Relevance') %]</a></li> [% END %] - <li class="dropdown-header">Popularity</li> + <li class="dropdown-header">[% t('Popularity') %]</li> [% IF ( sort_by == "popularity_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (most to least)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Popularity (most to least)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">Popularity (most to least)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">[% t('Popularity (most to least)') %]</a></li> [% END %] [% IF ( sort_by == "popularity_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (least to most)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Popularity (least to most)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">Popularity (least to most)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">[% t('Popularity (least to most)') %]</a></li> [% END %] - <li class="dropdown-header">Author</li> + <li class="dropdown-header">[% t('Author') %]</li> [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> Author (A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> [% t('Author (A-Z)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">Author (A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">[% t('Author (A-Z)') %]</a></li> [% END %] [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Author (Z-A)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Author (Z-A)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">Author (Z-A)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">[% t('Author (Z-A)') %]</a></li> [% END %] - <li class="dropdown-header">Call number</li> + <li class="dropdown-header">[% t('Call number') %]</li> [% IF ( sort_by == "call_number_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call Number (0-9 to A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Call Number (0-9 to A-Z)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">Call Number (0-9 to A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">[% t('Call Number (0-9 to A-Z)') %]</a></li> [% END %] [% IF ( sort_by == "call_number_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (Z-A to 9-0)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Call number (Z-A to 9-0)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">Call number (Z-A to 9-0)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">[% t('Call number (Z-A to 9-0)') %]</a></li> [% END %] - <li class="dropdown-header">Dates</li> + <li class="dropdown-header">[% t('Dates') %]</li> [% IF ( sort_by == "pubdate_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: newest to oldest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Publication/Copyright date: newest to oldest') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">Publication/Copyright date: newest to oldest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">[% t('Publication/Copyright date: newest to oldest') %]</a></li> [% END %] [% IF ( sort_by == "pubdate_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: oldest to newest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Publication/Copyright date: oldest to newest') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">Publication/Copyright date: oldest to newest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">[% t('Publication/Copyright date: oldest to newest') %]</a></li> [% END %] [% IF ( sort_by == "acqdate_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: newest to oldest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Acquisition date: newest to oldest') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">Acquisition date: newest to oldest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">[% t('Acquisition date: newest to oldest') %]</a></li> [% END %] [% IF ( sort_by == "acqdate_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: oldest to newest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Acquisition date: oldest to newest') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">Acquisition date: oldest to newest</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">[% t('Acquisition date: oldest to newest') %]</a></li> [% END %] - <li class="dropdown-header">Title</li> + <li class="dropdown-header">[% t('Title') %]</li> [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Title (A-Z)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">Title (A-Z)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">[% t('Title (A-Z)') %]</a></li> [% END %] [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (Z-A)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Title (Z-A)') %]</a></li> [% ELSE %] - <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">Title (Z-A)</a></li> + <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">[% t('Title (Z-A)') %]</a></li> [% END %] </ul> </div> @@ -251,65 +252,65 @@ [% ELSE %] <div id="searchheader"> <form method="post" name="fz3950" class="fz3950bigrpad"> - <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button> + <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> [% t('Z39.50/SRU search') %]</button> </form> - <h3>No results found</h3> + <h3>[% t('No results found') %]</h3> [% IF ( searchdesc ) %] <p> - No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF ( limit_desc ) %] with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %]. + [% t('No results match your search') %] [% IF ( query_desc ) %][% t('for') %] <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF ( limit_desc ) %][% t(' with limit(s):') %] <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] [% t('in') %] [% LibraryName %] [% t('Catalog') %][% END %]. </p> [% ELSE %] - <p>You did not specify any search criteria.</p> + <p>[% t('You did not specify any search criteria.') %]</p> [% END %] </div> [% END %] [% IF ( query_error ) %] - <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div> + <div class="dialog alert"><p><strong>[% t('Error:') %]</strong> [% query_error %]</p></div> [% END %] <!-- Search Results Table --> [% IF ( total ) %] [% IF ( scan ) %] - <h1>Scan index:</h1> + <h1>[% t('Scan index:') %]</h1> <form action="/cgi-bin/koha/catalogue/search.pl" method="get"> <table> <tr> <td> [% IF ( scan_search_term_to_use ) %] - Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" /> + [% t('Scan Index for:') %] <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" /> [% ELSE %] - Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" /> + [% t('Scan Index for:') %] <input type="text" name="q" id="scan-index" size="35" value="" /> [% END %] </td> </tr> <tr> <td> - <label for="scan-index">Indexed in:</label> + <label for="scan-index">[% t('Indexed in:') %]</label> <select name="idx" id="scan-index"> - <option value="">Any word</option> - [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option> - [% ELSE %]<option value="any,phr">Any phrase</option>[% END %] - [% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option> - [% ELSE %]<option value="ti">Title</option>[% END %] - [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option> - [% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] - [% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option> - [% ELSE %]<option value="au,phr">Author</option>[% END %] - [% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option> - [% ELSE %]<option value="su">Subject</option>[% END %] - [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option> - [% ELSE %]<option value="su,phr">Subject phrase</option>[% END %] - [% IF ( ms_se ) %]<option selected="selected" value="se">Series</option> - [% ELSE %]<option value="su">Series</option>[% END %] - [% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option> - [% ELSE %]<option value="pb">Publisher</option>[% END %] - [% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option> - [% ELSE %]<option value="nt">Notes</option>[% END %] - [% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option> - [% ELSE %]<option value="sn">ISBN</option>[% END %] - [% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option> - [% ELSE %]<option value="ss">ISSN</option>[% END %] + <option value="">[% t('Any word') %]</option> + [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">[% t('Any phrase') %]</option> + [% ELSE %]<option value="any,phr">[% t('Any phrase') %]</option>[% END %] + [% IF ( ms_ti ) %]<option selected="selected" value="ti">[% t('Title') %]</option> + [% ELSE %]<option value="ti">[% t('Title') %]</option>[% END %] + [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">[% t('Title phrase') %]</option> + [% ELSE %]<option value="ti,phr">[% t('Title phrase') %]</option>[% END %] + [% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">[% t('Author') %]</option> + [% ELSE %]<option value="au,phr">[% t('Author') %]</option>[% END %] + [% IF ( ms_su ) %]<option selected="selected" value="su">[% t('Subject') %]</option> + [% ELSE %]<option value="su">[% t('Subject') %]</option>[% END %] + [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">[% t('Subject phrase') %]</option> + [% ELSE %]<option value="su,phr">[% t('Subject phrase') %]</option>[% END %] + [% IF ( ms_se ) %]<option selected="selected" value="se">[% t('Series') %]</option> + [% ELSE %]<option value="su">[% t('Series') %]</option>[% END %] + [% IF ( ms_pb ) %]<option selected="selected" value="pb">[% t('Publisher') %]</option> + [% ELSE %]<option value="pb">[% t('Publisher') %]</option>[% END %] + [% IF ( ms_nt ) %]<option selected="selected" value="nt">[% t('Notes') %]</option> + [% ELSE %]<option value="nt">[% t('Notes') %]</option>[% END %] + [% IF ( ms_sn ) %]<option selected="selected" value="sn">[% t('ISBN') %]</option> + [% ELSE %]<option value="sn">[% t('ISBN') %]</option>[% END %] + [% IF ( ms_ss ) %]<option selected="selected" value="ss">[% t('ISSN') %]</option> + [% ELSE %]<option value="ss">[% t('ISSN') %]</option>[% END %] </select> <input type="hidden" name="scan" value="1" /> </td> @@ -320,13 +321,13 @@ <form action="/cgi-bin/koha/catalogue/search.pl" method="get"> <table> <tr> - <th>Term/Phrase</th> - <th>Count</th> + <th>[% t('Term/Phrase') %]</th> + <th>[% t('Count') %]</th> </tr> [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] <tr> <td> - <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title %]"">[% SEARCH_RESULT.title |html %]</a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title %]"">[% SEARCH_RESULT.title |html %]</a> </td> <td> [% SEARCH_RESULT.author %] @@ -344,19 +345,19 @@ <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form"> [% IF ( searchdesc ) %] [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] - <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/> + <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]" /> [% END %] [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] - <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/> + <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]" /> [% END %] [% END %] <!-- TABLE RESULTS START --> <table> <tr> - [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th> </th>[% END %] - <th colspan="2">Results</th> - <th>Location</th> + [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th> </th>[% END %] + <th colspan="2">[% t('Results') %]</th> + <th>[% t('Location') %]</th> </tr> <!-- Actual Search Results --> [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] @@ -403,7 +404,7 @@ [% biblionumber = SEARCH_RESULT.biblionumber %] [% INCLUDE 'biblio-default-view.inc' %] - <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</b> + <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %][% t('No title') %][% END %]</b> </a> [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %] [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %] @@ -411,27 +412,27 @@ </p> [% IF ( SEARCH_RESULT.summary ) %] [% IF ( SEARCH_RESULT.author ) %] - <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="[% t('Search for this Author') %]">[% SEARCH_RESULT.author %]</a> [% ELSE %] - + [% END %] <p>[% SEARCH_RESULT.summary %]</p> [% ELSE %] <p> [% IF ( SEARCH_RESULT.author ) %] - <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="[% t('Search for this Author') %]">[% SEARCH_RESULT.author %]</a> [% ELSE %] - + [% END %] - Description: + [% t('Description:') %] <span class="results_imprint">[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %] [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %] [% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSIF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %]</span> - [% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">Edition: [% SEARCH_RESULT.edition %]</span>[% END %] + [% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">[% t('Edition:') %] [% SEARCH_RESULT.edition %]</span>[% END %] <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %] - [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %] + [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">[% t('ISBN:') %] [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %] <span class="results_itemtype">[% SEARCH_RESULT.description %]</span> - [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %] - [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %] + [% IF ( SEARCH_RESULT.timestamp ) %] <i>[% t('(modified on') %] [% SEARCH_RESULT.timestamp %])</i>[% END %] + [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %] </p> [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% SEARCH_RESULT.searchhighlightblob %]</p>[% END %] @@ -440,34 +441,34 @@ <p class="hold"> [% IF ( SEARCH_RESULT.norequests ) %] - <span class="noholdstext">No holds allowed</span> + <span class="noholdstext">[% t('No holds allowed') %]</span> [% ELSE %] - <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) %])</a> - [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %] + <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Holds (') %][% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) %])</a> + [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&findborrower=[% holdfor_cardnumber %]">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %] [% END %] [% IF Koha.Preference('intranetbookbag') == 1 %] [% IF ( SEARCH_RESULT.incart ) %] - | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a> + | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">[% t('In your cart') %]</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">[% t('(remove)') %]</a> [% ELSE %] - | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a> + | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">[% t('Add to cart') %]</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">[% t('(remove)') %]</a> [% END %] [% END # / IF intranetbookbag %] [% IF Koha.Preference('ArticleRequests') %] - | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a> + | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Request article') %]</a> [% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] - | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a> + | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Edit record') %]</a> [% END %] [% IF ( CAN_user_editcatalogue_edit_items ) %] - | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit items</a> + | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Edit items') %]</a> [% END %] [% IF ( OPACBaseURL ) %] <span class="view-in-opac"> - | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">OPAC view</a> + | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">[% t('OPAC view') %]</a> </span> [% END %] @@ -478,10 +479,10 @@ [% IF ( SEARCH_RESULT.items_count ) %] <strong> [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] - <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses"> + <span class="blocker inaccurate-item-statuses" title="[% t('Item statuses may be inaccurate. Please view the record details for accurate item statuses') %]"> [% END %] - [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %] + [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] [% t('available:') %][% ELSE %][% t(', None available') %][% END %] [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] </span> @@ -500,10 +501,10 @@ [% END %] [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %] [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %] - [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %] + [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %] ([% available_items_loo.count %]) [% IF item_level_itypes && available_items_loo.description %] - <br/>[% available_items_loo.description %] + <br />[% available_items_loo.description %] [% END %] </li> [% END %] @@ -511,7 +512,7 @@ [% END %] [% IF ( SEARCH_RESULT.onloancount ) %] - <span class="status">[% SEARCH_RESULT.onloancount %] on loan:</span> + <span class="status">[% SEARCH_RESULT.onloancount %] [% t('on loan:') %]</span> <ul> [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %] [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %] @@ -522,10 +523,10 @@ [% END %] [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %] [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %] - [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %] - ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %] + [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %] + ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] [% t('long overdue') %][% END %][% t(') date due:') %] [% onloan_items_loo.due_date | $KohaDates %] [% IF item_level_itypes && onloan_items_loo.description %] - <br/>[% onloan_items_loo.description %] + <br />[% onloan_items_loo.description %] [% END %] </li> [% END %] @@ -533,7 +534,7 @@ [% END %] [% IF ( SEARCH_RESULT.othercount ) %] - <span class="unavailable">[% SEARCH_RESULT.othercount %] unavailable:</span> + <span class="unavailable">[% SEARCH_RESULT.othercount %] [% t('unavailable:') %]</span> <ul> [% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %] [% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %] @@ -544,16 +545,16 @@ [% END %] [% IF ( other_items_loo.branchname ) %][% other_items_loo.branchname %][% END %] [% IF ( other_items_loo.location ) %][% other_items_loo.location %][% END %] - [% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber %]</a>][% END %] + [% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber %]</a>][% END %] [% IF ( other_items_loo.withdrawn ) %]([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) %])[% END %] [% IF ( other_items_loo.itemlost ) %]([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) %])[% END %] [% IF ( other_items_loo.damaged ) %]([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) %])[% END %] - [% IF ( other_items_loo.intransit ) %](In transit)[% END %] - [% IF ( other_items_loo.onhold ) %](On hold)[% END %] + [% IF ( other_items_loo.intransit ) %][% t('(In transit)') %][% END %] + [% IF ( other_items_loo.onhold ) %][% t('(On hold)') %][% END %] [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %] ([% other_items_loo.count %]) [% IF item_level_itypes && other_items_loo.description %] - <br/>[% other_items_loo.description %] + <br />[% other_items_loo.description %] [% END %] </li> [% END %] @@ -561,14 +562,14 @@ [% END %] [% ELSE %] [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %] - <strong id="altholdings_heading">Other holdings:</strong> + <strong id="altholdings_heading">[% t('Other holdings:') %]</strong> <ul> [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %] <li id="alternateholdings">[% ALTERNATEHOLDING.holding %]</li> [% END %] </ul> [% ELSE %] - <span class="unavailable">No items</span> + <span class="unavailable">[% t('No items') %]</span> [% END %] [% END %] <!-- /items count --> </div></td> @@ -604,13 +605,13 @@ <!-- Value will be set here by placeHold() --> <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" /> <input type="hidden" name="findborrower" id="holdFor" value="" /> - <input type="hidden" name="multi_hold" value="1"/> + <input type="hidden" name="multi_hold" value="1" /> </form> <form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> <!-- Value will be set here by addToList() --> <input id="list_form_biblios" type="hidden" name="biblionumbers" value="" /> - <input type="hidden" name="multi_listadd" value="1"/> + <input type="hidden" name="multi_listadd" value="1" /> </form> </div> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt index a69e7a205f..8a6de311f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt @@ -1,9 +1,10 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% USE Koha %] [% USE KohaDates %] -<title>Koha › Catalog › Search history</title> +<title>[% t('Koha › Catalog › Search history') %]</title> [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] </head> @@ -14,7 +15,7 @@ [% INCLUDE 'cat-search.inc' %] <div id="breadcrumbs"> - <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Search history + <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Search history') %] </div> <div id="doc3" class="yui-t2"> @@ -22,24 +23,24 @@ <div id="bd"> <div id="yui-main"> <div class="yui-b"> - <h1>Search history</h1> + <h1>[% t('Search history') %]</h1> <div id="tabs" class="toptabs"> <ul> - <li><a href="#biblio_tab">Catalog</a></li> - <li><a href="#authority_tab">Authority</a></li> + <li><a href="#biblio_tab">[% t('Catalog') %]</a></li> + <li><a href="#authority_tab">[% t('Authority') %]</a></li> </ul> <div id="biblio_tab"> [% IF ( current_biblio_searches ) %] - <h2>Current session</h2> + <h2>[% t('Current session') %]</h2> <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post"> <div class="selections-toolbar"> - <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a> + <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a> <span class="sep">|</span> - <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a> + <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a> <span class="sep">|</span> <span class="links"> - <span class="selections">Select searches to: </span> - <a href="#" class="action_delete disabled">Delete</a> + <span class="selections">[% t('Select searches to:') %] </span> + <a href="#" class="action_delete disabled">[% t('Delete') %]</a> </span> </div> <input type="hidden" name="action" value="delete" /> @@ -47,9 +48,9 @@ <thead> <tr> <th></th> - <th>Date</th> - <th>Search</th> - <th>Results</th> + <th>[% t('Date') %]</th> + <th>[% t('Search') %]</th> + <th>[% t('Results') %]</th> </tr> </thead> <tbody> @@ -67,16 +68,16 @@ [% END %] [% IF ( previous_biblio_searches ) %] - <h2>Previous sessions</h2> + <h2>[% t('Previous sessions') %]</h2> <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post"> <div class="selections-toolbar"> - <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a> + <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a> <span class="sep">|</span> - <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a> + <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a> <span class="sep">|</span> <span class="links"> - <span class="selections">Select searches to: </span> - <a href="#" class="action_delete disabled">Delete</a> + <span class="selections">[% t('Select searches to:') %] </span> + <a href="#" class="action_delete disabled">[% t('Delete') %]</a> </span> </div> <input type="hidden" name="action" value="delete" /> @@ -84,9 +85,9 @@ <thead> <tr> <th></th> - <th>Date</th> - <th>Search</th> - <th>Results</th> + <th>[% t('Date') %]</th> + <th>[% t('Search') %]</th> + <th>[% t('Results') %]</th> </tr> </thead> <tbody> @@ -104,22 +105,22 @@ [% END %] [% IF !current_biblio_searches && !previous_biblio_searches %] - <p>Your catalog search history is empty.</p> + <p>[% t('Your catalog search history is empty.') %]</p> [% END %] </div> <div id="authority_tab"> [% IF ( current_authority_searches ) %] - <h2>Current session</h2> + <h2>[% t('Current session') %]</h2> <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post"> <div class="selections-toolbar"> - <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a> + <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a> <span class="sep">|</span> - <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a> + <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a> <span class="sep">|</span> <span class="links"> - <span class="selections">Select searches to: </span> - <a href="#" class="action_delete disabled">Delete</a> + <span class="selections">[% t('Select searches to:') %] </span> + <a href="#" class="action_delete disabled">[% t('Delete') %]</a> </span> </div> <input type="hidden" name="action" value="delete" /> @@ -127,9 +128,9 @@ <thead> <tr> <th></th> - <th>Date</th> - <th>Search</th> - <th>Results</th> + <th>[% t('Date') %]</th> + <th>[% t('Search') %]</th> + <th>[% t('Results') %]</th> </tr> </thead> <tbody> @@ -147,16 +148,16 @@ [% END %] [% IF ( previous_authority_searches ) %] - <h2>Previous sessions</h2> + <h2>[% t('Previous sessions') %]</h2> <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post"> <div class="selections-toolbar"> - <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a> + <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a> <span class="sep">|</span> - <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a> + <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a> <span class="sep">|</span> <span class="links"> - <span class="selections">Select searches to: </span> - <a href="#" class="action_delete disabled">Delete</a> + <span class="selections">[% t('Select searches to:') %] </span> + <a href="#" class="action_delete disabled">[% t('Delete') %]</a> </span> </div> <input type="hidden" name="action" value="delete" /> @@ -164,9 +165,9 @@ <thead> <tr> <th></th> - <th>Date</th> - <th>Search</th> - <th>Results</th> + <th>[% t('Date') %]</th> + <th>[% t('Search') %]</th> + <th>[% t('Results') %]</th> </tr> </thead> <tbody> @@ -184,7 +185,7 @@ [% END %] [% IF !current_authority_searches && !previous_authority_searches %] - <p>Your authority search history is empty.</p> + <p>[% t('Your authority search history is empty.') %]</p> [% END %] </div> </div> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt index 609c392156..b15021c297 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt @@ -1,5 +1,6 @@ +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Cataloging › MARC import</title> +<title>[% t('Koha › Cataloging › MARC import') %]</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body id="catalog_showmarc" class="catalog"> -- 2.17.1