Bugzilla – Attachment 76348 Details for
Bug 20988
[OMNIBUS] Internationalization: wrap all translatable text inside t() calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/labels
Bug-20988-koha-tmplintranet-tmplprogenmoduleslabel.patch (text/plain), 95.21 KB, created by
Julian Maurice
on 2018-06-25 07:22:42 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/labels
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:22:42 UTC
Size:
95.21 KB
patch
obsolete
>From 0022631910890fab1e2eccd29e54c52854d9eb5d Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 08:47:53 +0200 >Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/labels > >--- > .../en/modules/labels/label-bib-search.tt | 11 +-- > .../en/modules/labels/label-edit-batch.tt | 79 +++++++++--------- > .../en/modules/labels/label-edit-layout.tt | 81 ++++++++++--------- > .../en/modules/labels/label-edit-profile.tt | 55 ++++++------- > .../en/modules/labels/label-edit-template.tt | 63 ++++++++------- > .../prog/en/modules/labels/label-home.tt | 9 ++- > .../prog/en/modules/labels/label-manage.tt | 79 +++++++++--------- > .../prog/en/modules/labels/label-print.tt | 45 ++++++----- > .../prog/en/modules/labels/result.tt | 47 +++++------ > .../prog/en/modules/labels/search.tt | 73 ++++++++--------- > .../prog/en/modules/labels/spinelabel-home.tt | 9 ++- > .../en/modules/labels/spinelabel-print.tt | 9 ++- > 12 files changed, 286 insertions(+), 274 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >index 131f085e35..956ce1cabb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >@@ -1,21 +1,22 @@ >-[% INCLUDE 'doc-head-open.inc' %]Koha › Tools › Labels ›: Search[% INCLUDE 'doc-head-close.inc' %] >+[% PROCESS 'i18n.inc' %] >+[% INCLUDE 'doc-head-open.inc' %][% t('Koha ⺠Tools ⺠Labels âº: Search') %][% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="labels_label-bib-search" class="tools labels"> > <div id="main-compact"> > >-<h1>Search</h1> >+<h1>[% t('Search') %]</h1> > > <form name="f" method="post"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> > <div class="details"> >- <h2>Search on</h2> >+ <h2>[% t('Search on') %]</h2> > <p> >- <label for="category">Name or ISSN: </label> >+ <label for="category">[% t('Name or ISSN:') %] </label> > [% category %] > </p> > <p> >- <label for="index">Search value: </label> >+ <label for="index">[% t('Search value:') %] </label> > <input type="text" name="value" value="[% value %]" /> > <input type="hidden" name="authtypecode" value="[% category %]" /> > <input type="hidden" name="marclist" value="" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >index 178151edcd..c1b513b456 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE ItemTypes %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › Batches › [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]New[% END %]</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator ⺠Batches âº') %] [% IF batch_id %][% t('Edit (') %][% batch_id %])[% ELSE %][% t('New') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'greybox.inc' %] > [% Asset.css("css/datatables.css") %] >@@ -176,14 +177,14 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › >- <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Batches</a> › >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">[% t('Batches') %]</a> ⺠> [% IF batch_id %] >- Edit ([% batch_id %]) >+ [% t('Edit (') %][% batch_id %]) > [% ELSE %] >- New >+ [% t('New') %] > [% END %] > </div> > <div id="doc3" class="yui-t2"> >@@ -195,30 +196,30 @@ > [% BLOCK xlate_errtype %] > [% SWITCH errtype %] > [% CASE 'ITEM_NOT_REMOVED' %] >- <span>Item(s) not removed from batch [% batch_id %].</span> >+ <span>[% t('Item(s) not removed from batch') %] [% batch_id %].</span> > [% CASE 'BATCH_NOT_DELETED' %] >- <span>Batch [% batch_id %] was not deleted.</span> >+ <span>[% t('Batch') %] [% batch_id %] [% t('was not deleted.') %]</span> > [% CASE 'ITEM_NOT_ADDED' %] >- <span>Item(s) not added to batch [% batch_id %].</span> >+ <span>[% t('Item(s) not added to batch') %] [% batch_id %].</span> > [% CASE 'BRANCH_NOT_SET' %] >- <span>Library is not set, please set your library before adding items to a batch.</span> >+ <span>[% t('Library is not set, please set your library before adding items to a batch.') %]</span> > [% CASE 'BATCH_NOT_DEDUP' %] >- <span>Batch [% batch_id %] not fully de-duplicated.</span> >+ <span>[% t('Batch') %] [% batch_id %] [% t('not fully de-duplicated.') %]</span> > [% CASE %] >- <span>Unknown error type [% errtype %].</span> >+ <span>[% t('Unknown error type') %] [% errtype %].</span> > [% END %] > [% END %] > <div class="dialog alert"> >- <strong>WARNING:</strong> An error was encountered: [% PROCESS xlate_errtype %] Please have your system administrator check the error log for details. >+ <strong>[% t('WARNING:') %]</strong> [% t('An error was encountered:') %] [% PROCESS xlate_errtype %] [% t('Please have your system administrator check the error log for details.') %] > </div> > [% ELSIF ( duplicate_message ) %] > <div class="dialog message"> >- <strong>Duplicate item(s) removed from batch number [% batch_id %]: [% duplicate_count %]</strong> >+ <strong>[% t('Duplicate item(s) removed from batch number') %] [% batch_id %]: [% duplicate_count %]</strong> > </div> > [% END %] > > <div id="manage-label-batches"> >- <div class="hint">Current library: [% LoginBranchname %]</div> >+ <div class="hint">[% t('Current library:') %] [% LoginBranchname %]</div> > <form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post"> > <div> > <fieldset class="rows" style="border-bottom: 0px; border: 0px;"> >@@ -227,15 +228,15 @@ > <input type="hidden" name="batch_id" value="[% batch_id %]" /> > </li> > <li> >- <input type="radio" name="number_type" id="barcode_enter" value="barcode" checked /> >- <label for="barcode_enter">Enter by barcode:</label><br/> >+ <input type="radio" name="number_type" id="barcode_enter" value="barcode" checked="" /> >+ <label for="barcode_enter">[% t('Enter by barcode:') %]</label><br /> > <input type="radio" name="number_type" id="itemnum_enter" value="itemnumber" /> >- <label for="itemnum_enter">Enter by itemnumber:</label> >+ <label for="itemnum_enter">[% t('Enter by itemnumber:') %]</label> > </li> > <li> >- <label for="number_list">Add by barcode(s) or itemnumbers(s): >- <br /> <span class="hint">One number per line.</span> >- <br /> <span class="hint">Leave empty to add via item search (itemnumber).</span> >+ <label for="number_list">[% t('Add by barcode(s) or itemnumbers(s):') %] >+ <br /> <span class="hint">[% t('One number per line.') %]</span> >+ <br /> <span class="hint">[% t('Leave empty to add via item search (itemnumber).') %]</span> > </label> > <textarea rows="5" id="number_list" name="number_list" tabindex="1" class="focus"></textarea> > </li></ol> >@@ -243,16 +244,16 @@ > </div> > </form> > <div id="batch-manage" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" id="additems" href="#"><i class="fa fa-plus"></i> Add item(s)</a>[% IF ( table_loop ) %] >- <a class="btn btn-default btn-sm" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected items</a> >- <a class="btn btn-default btn-sm" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a> >- <a class="btn btn-default btn-sm" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a> >- <a class="btn btn-default btn-sm" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected items</a> >- <a class="btn btn-default btn-sm" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export full batch</a>[% END %] >+ <a class="btn btn-default btn-sm" id="additems" href="#"><i class="fa fa-plus"></i> [% t('Add item(s)') %]</a>[% IF ( table_loop ) %] >+ <a class="btn btn-default btn-sm" id="removeitems" href="#"><i class="fa fa-trash"></i> [% t('Remove selected items') %]</a> >+ <a class="btn btn-default btn-sm" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> [% t('Delete batch') %]</a> >+ <a class="btn btn-default btn-sm" id="deduplicate" href="#"><i class="fa fa-minus"></i> [% t('Remove duplicates') %]</a> >+ <a class="btn btn-default btn-sm" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> [% t('Export selected items') %]</a> >+ <a class="btn btn-default btn-sm" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> [% t('Export full batch') %]</a>[% END %] > </div> > [% IF ( table_loop ) %] > <form name="items" class="checkboxed"> >- <h2>Items in batch number [% batch_id %]</h2> >+ <h2>[% t('Items in batch number') %] [% batch_id %]</h2> > <table id="batcht"> > [% FOREACH table_loo IN table_loop %] > [% IF ( table_loo.header_fields ) %] >@@ -261,17 +262,17 @@ > [% FOREACH header_field IN table_loo.header_fields %] > [% SWITCH header_field.field_label -%] > [% CASE "Label number" -%] >- <th>Label number</th> >+ <th>[% t('Label number') %]</th> > [% CASE "Summary" -%] >- <th class="anti-the">Summary</th> >+ <th class="anti-the">[% t('Summary') %]</th> > [% CASE "Item type" %] >- <th>Item type</th> >+ <th>[% t('Item type') %]</th> > [% CASE "Call number" %] >- <th>Call number</th> >+ <th>[% t('Call number') %]</th> > [% CASE "Barcode" %] >- <th>Barcode</th> >+ <th>[% t('Barcode') %]</th> > [% CASE "Select" -%] >- <th>Select</th> >+ <th>[% t('Select') %]</th> > [% CASE %] > <th>[% header_field.field_label %]</th> > [% END -%] >@@ -284,8 +285,8 @@ > [% FOREACH text_field IN table_loo.text_fields %] > [% IF ( text_field.select_field ) %] > <td> >- <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&batch_id=[% batch_id |url %]&label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a> >- <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id %]" data-label-id="[% text_field.field_value |html %]"><i class="fa fa-share-square-o"></i> Export</a> >+ <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&batch_id=[% batch_id |url %]&label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> [% t('Delete') %]</a> >+ <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id %]" data-label-id="[% text_field.field_value |html %]"><i class="fa fa-share-square-o"></i> [% t('Export') %]</a> > </td> > <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td> > [% ELSE %] >@@ -306,8 +307,8 @@ > </form> > [% ELSE %] > <div class="dialog message"> >- <h4>There are no items in this batch yet</h4> >- <p>Add items by using the text area above or leave empty to add via item search.</p> >+ <h4>[% t('There are no items in this batch yet') %]</h4> >+ <p>[% t('Add items by using the text area above or leave empty to add via item search.') %]</p> > </div> > [% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >index 402ea9e24c..2169661810 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >@@ -1,14 +1,15 @@ >+[% PROCESS 'i18n.inc' %] > [% BLOCK translate_label_types %] > [% SWITCH type %] >-[% CASE 'BIB' %]Biblio >-[% CASE 'BARBIB' %]Barcode/Biblio >-[% CASE 'BIBBAR' %]Biblio/Barcode >-[% CASE 'ALT' %]Alternating >-[% CASE 'BAR' %]Barcode >+[% CASE 'BIB' %][% t('Biblio') %] >+[% CASE 'BARBIB' %][% t('Barcode/Biblio') %] >+[% CASE 'BIBBAR' %][% t('Biblio/Barcode') %] >+[% CASE 'ALT' %][% t('Alternating') %] >+[% CASE 'BAR' %][% t('Barcode') %] > [% END %] > [% END %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %]</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator ⺠Layouts âº') %] [% IF ( layout_id ) %][% t('Edit (') %][% layout_id %])[% ELSE %][% t('New') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/JavaScript"> > //<![CDATA[ >@@ -42,20 +43,20 @@ > </head> > [% BLOCK translate_justification_types %] > [% SWITCH type %] >-[% CASE 'L' %]Left >-[% CASE 'C' %]Center >-[% CASE 'R' %]Right >+[% CASE 'L' %][% t('Left') %] >+[% CASE 'C' %][% t('Center') %] >+[% CASE 'R' %][% t('Right') %] > [% END %] > [% END %] > <body id="labels_label-edit-layout" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › >- <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Layouts</a> › >- [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %] >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">[% t('Layouts') %]</a> ⺠>+ [% IF ( layout_id ) %][% t('Edit (') %][% layout_id %])[% ELSE %][% t('New') %][% END %] > </div> > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -69,14 +70,14 @@ > </div> > <form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> > <fieldset class="rows"> >- <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] label layout</legend> >+ <legend>[% IF ( layout_id ) %][% t('Edit') %][% ELSE %][% t('Create') %][% END %] [% t('label layout') %]</legend> > <ol> > <li> >- <label for="layout_name">Layout name: </label> >+ <label for="layout_name">[% t('Layout name:') %] </label> > <input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> > </li> > <li> >- <label for="barcode_type">Choose barcode type (encoding): </label> >+ <label for="barcode_type">[% t('Choose barcode type (encoding):') %] </label> > <select name="barcode_type" id="barcode_type"> > [% FOREACH barcode_type IN barcode_types %] > [% IF ( barcode_type.selected ) %] >@@ -88,7 +89,7 @@ > </select> > </li> > <li> >- <label for="printing_type">Choose layout type: </label> >+ <label for="printing_type">[% t('Choose layout type:') %] </label> > <select name="printing_type" id="printing_type"> > [% FOREACH label_type IN label_types %] > [% IF ( label_type.selected ) %] >@@ -101,12 +102,12 @@ > </li> > <li> > <fieldset> >- <legend>Bibliographic data to print</legend> >+ <legend>[% t('Bibliographic data to print') %]</legend> > <ol> > <li class="radio">[% IF ( layout_string ) %] >- <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label> >+ <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">[% t('Choose order of text fields to print') %]</label> > [% ELSE %] >- <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label> >+ <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">[% t('Choose Order Of Text Fields to Print') %]</label> > [% END %] > <div id="layout_table"> > <p> >@@ -120,50 +121,50 @@ > <option value="[% orde %]">[% orde %]</option> > [% END %] > [% END %] >- </select> <label for="[% text_field.field_name |url %]">[% text_field.field_label %]</label> >+ </select> <label for="[% text_field.field_name |url %]">[% text_field.field_label %]</label> > >- >+   > > [% END %] > </p> > </div> > </li> > [% UNLESS ( layout_string ) %] >- <li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">List fields</label></li> >+ <li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">[% t('List fields') %]</label></li> > [% ELSE %] >- <li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" /> <label for="layout_choice_list">List Fields</label></li> >+ <li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" /> <label for="layout_choice_list">[% t('List Fields') %]</label></li> > [% END %] > <li> <fieldset id="layout_string" class="brief"> >- <label for="format_string">Data fields</label> >+ <label for="format_string">[% t('Data fields') %]</label> > <input type="text" name="format_string" id="format_string" size="80" value="[% format_string |html %]" /> > <div class="hint"> >- <p>Enter a comma separated list of fields to print. You may include any <em>Koha field</em> or MARC subfield.</p> >- <p>See online help for advanced options</p> >- <p>ex: barcode, itemcallnumber, title, "050a 050b", 300a </p> >- <p>Fields homebranch_description, holdingbranch_description, ccode_description, location_description and permanent_location_description show description instead of code.</p> >+ <p>[% t('Enter a comma separated list of fields to print.') %] [% t('You may include any') %] <em>[% t('Koha field') %]</em> [% t('or MARC subfield.') %]</p> >+ <p>[% t('See online help for advanced options') %]</p> >+ <p>[% t('ex: barcode, itemcallnumber, title, "050a 050b", 300a') %] </p> >+ <p>[% t('Fields homebranch_description, holdingbranch_description, ccode_description, location_description and permanent_location_description show description instead of code.') %]</p> > </div> > </fieldset></li> > </ol> > </fieldset> > </li> > <li> >- <label for="guidebox">Draw guide boxes: </label> >+ <label for="guidebox">[% t('Draw guide boxes:') %] </label> > [% IF ( guidebox ) %] >- <input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> >+ <input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="guidebox" id="guidebox" value="1" /> > [% END %] > </li> > <li> >- <label for="callnum_split">Split call numbers: </label> >+ <label for="callnum_split">[% t('Split call numbers:') %] </label> > [% IF ( callnum_split ) %] >- <input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> >+ <input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="callnum_split" id="callnum_split" value="1" /> > [% END %] > </li> > <li> >- <label for="text_justify">Text justification: </label> >+ <label for="text_justify">[% t('Text justification:') %] </label> > <select name="text_justify" id="text_justify"> > [% FOREACH text_justification_type IN text_justification_types %] > [% IF ( text_justification_type.selected ) %] >@@ -175,7 +176,7 @@ > </select> > </li> > <li> >- <label for="font">Font: </label> >+ <label for="font">[% t('Font:') %] </label> > <select name="font" id="font"> > [% FOREACH font_type IN font_types %] > [% IF ( font_type.selected ) %] >@@ -187,13 +188,13 @@ > </select> > </li> > <li> >- <label for="font_size">Font size: </label> >+ <label for="font_size">[% t('Font size:') %] </label> > <input type="text" name="font_size" id="font_size" size="2" value="[% font_size |html %]" /> > </li> > <li> >- <label for="oblique_title">Oblique title: </label> >+ <label for="oblique_title">[% t('Oblique title:') %] </label> > [% IF ( oblique_title ) %] >- <input type="checkbox" name="oblique_title" id="oblique_title" value="1" checked="checked" /> >+ <input type="checkbox" name="oblique_title" id="oblique_title" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="oblique_title" id="oblique_title" value="1" /> > [% END %] >@@ -202,7 +203,7 @@ > </fieldset> > <fieldset class="action"> > <input type="submit" value="Save" /> >- <a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">[% t('Cancel') %]</a> > <input type="hidden" name="op" value="save" /> > <input type="hidden" name="layout_id" value="[% layout_id %]" /> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >index 03d1a50b50..9049eb2fc6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › Profiles › [% IF ( profile_id ) %]Edit ([% profile_id %])[% ELSE %]New[% END%]</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator ⺠Profiles âº') %] [% IF ( profile_id ) %][% t('Edit (') %][% profile_id %])[% ELSE %][% t('New') %][% END%]</title> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript"> > //<![CDATA[ >@@ -40,11 +41,11 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › >- <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Profiles</a> › >- [% IF ( profile_id ) %]Edit ([% profile_id %])[% ELSE %]New[% END%] >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">[% t('Profiles') %]</a> ⺠>+ [% IF ( profile_id ) %][% t('Edit (') %][% profile_id %])[% ELSE %][% t('New') %][% END%] > </div> > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -54,36 +55,36 @@ > [% INCLUDE 'labels-toolbar.inc' %] > </div> > <div class="yui-u first"> >- <h3>Edit printer profile</h3> >+ <h3>[% t('Edit printer profile') %]</h3> > <div class="yui-g first"> > <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get"> >- <fieldset class="rows"><legend>Profile settings</legend> >+ <fieldset class="rows"><legend>[% t('Profile settings') %]</legend> > <ol> > <li> > [% IF ( profile_id ) %] >- <span class="label">Printer name:</span>[% printer_name %] >+ <span class="label">[% t('Printer name:') %]</span>[% printer_name %] > <input type="hidden" name="printer_name" value="[% printer_name %]" /> > [% ELSE %] >- <label for="printer_name">Printer name:</label><input type="text" size="20" name="printer_name" id="printer_name" /> >+ <label for="printer_name">[% t('Printer name:') %]</label><input type="text" size="20" name="printer_name" id="printer_name" /> > [% END %] > </li> > <li> > [% IF ( profile_id ) %] >- <span class="label">Paper bin:</span> [% paper_bin %] >+ <span class="label">[% t('Paper bin:') %]</span> [% paper_bin %] > <input type="hidden" name="paper_bin" value="[% paper_bin %]" /> > [% ELSE %] >- <label for="paper_bin">Paper bin:</label><input type="text" size="20" name="paper_bin" id="paper_bin" /> >+ <label for="paper_bin">[% t('Paper bin:') %]</label><input type="text" size="20" name="paper_bin" id="paper_bin" /> > [% END %] > </li> > <li> > [% IF ( label_template ) %] >- <label for="template_name">Template name:</label> [% label_template %] >+ <label for="template_name">[% t('Template name:') %]</label> [% label_template %] > [% ELSE %] >- <span class="label">Template name:</span> Profile unassigned >+ <span class="label">[% t('Template name:') %]</span> [% t('Profile unassigned') %] > [% END %] > </li> > <li> >- <label for="units">Units: </label> >+ <label for="units">[% t('Units:') %] </label> > <select id="units" name="units"> > [% FOREACH unit IN units %] > [% IF ( unit.selected ) %] >@@ -93,15 +94,15 @@ > [% END %] > [% SWITCH unit.type %] > [% CASE 'POINT' %] >- PostScript Points >+ [% t('PostScript Points') %] > [% CASE 'AGATE' %] >- Adobe Agates >+ [% t('Adobe Agates') %] > [% CASE 'INCH' %] >- US Inches >+ [% t('US Inches') %] > [% CASE 'MM' %] >- SI Millimeters >+ [% t('SI Millimeters') %] > [% CASE 'CM' %] >- SI Centimeters >+ [% t('SI Centimeters') %] > [% END %] > </option> > [% END %] >@@ -110,30 +111,30 @@ > </ol> > </fieldset> > >- <fieldset class="rows"><legend>Offset:</legend> >+ <fieldset class="rows"><legend>[% t('Offset:') %]</legend> > <ol> > <li> >- <label for="offset_horz">Horizontal: </label><input type="text" size="4" name="offset_horz" id="offset_horz" value="[% offset_horz %]" /> >+ <label for="offset_horz">[% t('Horizontal:') %] </label><input type="text" size="4" name="offset_horz" id="offset_horz" value="[% offset_horz %]" /> > </li> > <li> >- <label for="offset_vert">Vertical: </label><input type="text" size="4" name="offset_vert" id="offset_vert" value="[% offset_vert %]" /> >+ <label for="offset_vert">[% t('Vertical:') %] </label><input type="text" size="4" name="offset_vert" id="offset_vert" value="[% offset_vert %]" /> > </li> > </ol> > </fieldset> > >- <fieldset class="rows"><legend>Creep:</legend> >+ <fieldset class="rows"><legend>[% t('Creep:') %]</legend> > <ol> > <li> >- <label for="creep_horz">Horizontal: </label><input type="text" size="4" name="creep_horz" id="creep_horz" value="[% creep_horz %]" /> >+ <label for="creep_horz">[% t('Horizontal:') %] </label><input type="text" size="4" name="creep_horz" id="creep_horz" value="[% creep_horz %]" /> > </li> > <li> >- <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert %]" /> >+ <label for="creep_vert">[% t('Vertical:') %] </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert %]" /> > </li> > </ol> > </fieldset> > <fieldset class="action"> > <input type="submit" value="Save" /> >- <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">[% t('Cancel') %]</a> > <input type="hidden" name="op" value="save" /> > <input type="hidden" name="profile_id" value="[% profile_id %]" /> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >index b9ba5562e1..3389af04cb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › Templates › [% IF ( template_id ) %]Edit ([% template_id %])[% ELSE %]New[% END %]</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator ⺠Templates âº') %] [% IF ( template_id ) %][% t('Edit (') %][% template_id %])[% ELSE %][% t('New') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript"> > //<![CDATA[ >@@ -40,11 +41,11 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › >- <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Templates</a> › >- [% IF ( template_id ) %]Edit ([% template_id %])[% ELSE %]New[% END %] >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">[% t('Templates') %]</a> ⺠>+ [% IF ( template_id ) %][% t('Edit (') %][% template_id %])[% ELSE %][% t('New') %][% END %] > </div> > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -58,23 +59,23 @@ > </div> > <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get"> > <div class="yui-g"> >- <h3>Edit label template</h3> >+ <h3>[% t('Edit label template') %]</h3> > <div class="yui-u first"> > <fieldset class="rows"> > <ol> > <li> >- <span class="label">Template ID:</span>[% IF ( template_id ) %][% template_id %][% ELSE %]N/A[% END %] >+ <span class="label">[% t('Template ID:') %]</span>[% IF ( template_id ) %][% template_id %][% ELSE %][% t('N/A') %][% END %] > </li> > <li> >- <label for="template_code">Template code:</label> >+ <label for="template_code">[% t('Template code:') %]</label> > <input type="text" size="30" maxlength="43" name="template_code" id="template_code" value="[% template_code %]" /> > </li> > <li> >- <label for="template_desc">Template description:</label> >+ <label for="template_desc">[% t('Template description:') %]</label> > <textarea cols="30" rows="3" id="template_desc" name="template_desc">[% template_desc %]</textarea> > </li> > <li> >- <label for="units">Units:</label> >+ <label for="units">[% t('Units:') %]</label> > <select id="units" name="units"> > [% FOREACH unit IN units %] > [% IF ( unit.selected ) %] >@@ -85,34 +86,34 @@ > > [% SWITCH unit.type %] > [% CASE 'POINT' %] >- <span>PostScript Points</span> >+ <span>[% t('PostScript Points') %]</span> > [% CASE 'AGATE' %] >- <span>Adobe Agates</span> >+ <span>[% t('Adobe Agates') %]</span> > [% CASE 'INCH' %] >- <span>US Inches</span> >+ <span>[% t('US Inches') %]</span> > [% CASE 'MM' %] >- <span>SI Millimeters</span> >+ <span>[% t('SI Millimeters') %]</span> > [% CASE 'CM' %] >- <span>SI Centimeters</span> >+ <span>[% t('SI Centimeters') %]</span> > [% END %] > </option> > [% END %] > </select> > </li> > <li> >- <label for="page_height">Page height:</label> >+ <label for="page_height">[% t('Page height:') %]</label> > <input type="text" size="4" name="page_height" id="page_height" value="[% page_height %]" /> > </li> > <li> >- <label for="page_width">Page width:</label> >+ <label for="page_width">[% t('Page width:') %]</label> > <input type="text" size="4" name="page_width" id="page_width" value="[% page_width %]" /> > </li> > <li> >- <label for="label_width">Label width:</label> >+ <label for="label_width">[% t('Label width:') %]</label> > <input type="text" size="4" name="label_width" id="label_width" value="[% label_width %]" /> > </li> > <li> >- <label for="label_height">Label height:</label> >+ <label for="label_height">[% t('Label height:') %]</label> > <input type="text" size="4" name="label_height" id="label_height" value="[% label_height %]" /> > </li> > >@@ -122,40 +123,40 @@ > <div class="yui-u"> > <fieldset class="rows"> > <ol><li> >- <label for="top_margin">Top page margin:</label> >+ <label for="top_margin">[% t('Top page margin:') %]</label> > <input type="text" size="4" name="top_margin" id="top_margin" value="[% top_margin %]" /> > </li> > <li> >- <label for="left_margin">Left page margin:</label> >+ <label for="left_margin">[% t('Left page margin:') %]</label> > <input type="text" size="4" name="left_margin" id="left_margin" value="[% left_margin %]" /> > </li> > <li> >- <label for="top_text_margin">Top text margin:</label> >+ <label for="top_text_margin">[% t('Top text margin:') %]</label> > <input type="text" size="4" name="top_text_margin" id="top_text_margin" value="[% top_text_margin %]" /> > </li> > <li> >- <label for="left_text_margin">Left text margin:</label> >+ <label for="left_text_margin">[% t('Left text margin:') %]</label> > <input type="text" size="4" name="left_text_margin" id="left_text_margin" value="[% left_text_margin %]" /> > </li> > <li> >- <label for="cols">Number of columns:</label> >+ <label for="cols">[% t('Number of columns:') %]</label> > <input type="text" size="4" name="cols" id="cols" value="[% cols %]" /> > </li> > <li> >- <label for="rows">Number of rows:</label> >+ <label for="rows">[% t('Number of rows:') %]</label> > <input type="text" size="4" name="rows" id="rows" value="[% rows %]" /> > </li> > <li> >- <label for="col_gap">Gap between columns:</label> >+ <label for="col_gap">[% t('Gap between columns:') %]</label> > <input type="text" size="4" name="col_gap" id="col_gap" value="[% col_gap %]" /> > </li> > <li> >- <label for="row_gap">Gap between rows:</label> >+ <label for="row_gap">[% t('Gap between rows:') %]</label> > <input type="text" size="4" name="row_gap" id="row_gap" value="[% row_gap %]" /> > </li> > > <li> >- <label for="profile_id">Profile:</label> >+ <label for="profile_id">[% t('Profile:') %]</label> > [% IF ( profile_list ) %] > <select id="profile_id" name="profile_id"> > [% FOREACH profile_lis IN profile_list %] >@@ -169,7 +170,7 @@ > [% END %] > </select> > [% ELSE %] >- <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">Click here to define a printer profile.</a> >+ <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">[% t('Click here to define a printer profile.') %]</a> > [% END %] > </li> > </ol> >@@ -178,7 +179,7 @@ > </div> > <div class="yui-g"> > <fieldset class="action"> >- <input type="submit" class="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a> >+ <input type="submit" class="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">[% t('Cancel') %]</a> > <input type="hidden" name="op" value="save" /> > [% IF ( template_id ) %] > <input type="hidden" name="template_id" value="[% template_id %]" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >index 79f790795c..b424d3ca77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% IF ( bidi ) %] > [% Asset.css("css/right-to-left.css") %] >@@ -10,9 +11,9 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- Label creator >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ [% t('Label creator') %] > </div> > <div id="doc3" class="yui-t2"> > <div id="bd"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index 18a4467ffe..161aa9573f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -1,18 +1,19 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% BLOCK translate_label_element %] > [%- SWITCH element -%] >-[%- CASE 'layout' -%]layout >-[%- CASE 'Layouts' -%]Layouts >-[%- CASE 'template' -%]template >-[%- CASE 'Templates' -%]Templates >-[%- CASE 'profile' -%]profile >-[%- CASE 'Profiles' -%]Profiles >-[%- CASE 'batch' -%]batch >-[%- CASE 'Batches' -%]Batches >+[%- CASE 'layout' -%][% t('layout') %] >+[%- CASE 'Layouts' -%][% t('Layouts') %] >+[%- CASE 'template' -%][% t('template') %] >+[%- CASE 'Templates' -%][% t('Templates') %] >+[%- CASE 'profile' -%][% t('profile') %] >+[%- CASE 'Profiles' -%][% t('Profiles') %] >+[%- CASE 'batch' -%][% t('batch') %] >+[%- CASE 'Batches' -%][% t('Batches') %] > [%- END -%] > [% END %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › [% PROCESS translate_label_element element=label_element_title %]</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator âº') %] [% PROCESS translate_label_element element=label_element_title %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'greybox.inc' %] > <script type="text/javascript"> >@@ -95,9 +96,9 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >- <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › >- <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠>+ <a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a> ⺠> [% PROCESS translate_label_element element=label_element_title %] > </div> > <div id="doc3" class="yui-t2"> >@@ -107,17 +108,17 @@ > [% INCLUDE 'labels-toolbar.inc' %] > <div class="yui-gc"> > <div class="yui-u first" id="manage-label-layouts"> >- <div class="hint">Current library: [% LoginBranchname %]</div> >+ <div class="hint">[% t('Current library:') %] [% LoginBranchname %]</div> > [% IF ( table_loop ) %] > <form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element %]"> > [% IF ( label_element == 'layout' ) %] >- <h2>Currently available layouts</h2> >+ <h2>[% t('Currently available layouts') %]</h2> > [% ELSIF ( label_element == 'template' ) %] >- <h2>Currently available templates</h2> >+ <h2>[% t('Currently available templates') %]</h2> > [% ELSIF ( label_element == 'profile' ) %] >- <h2>Currently available profiles</h2> >+ <h2>[% t('Currently available profiles') %]</h2> > [% ELSIF ( label_element == 'batch' ) %] >- <h2>Currently available batches</h2> >+ <h2>[% t('Currently available batches') %]</h2> > [% END %] > <table id="labels-table"> > [% FOREACH table_loo IN table_loop %] >@@ -126,20 +127,20 @@ > <tr> > [% FOREACH header_field IN table_loo.header_fields %] > [% SWITCH header_field.field_label %] >- [% CASE 'Layout ID' %]<th>Layout ID</th> >- [% CASE 'Layout' %]<th>Layout</th> >- [% CASE 'Barcode Type' %]<th>Barcode type</th> >- [% CASE 'Print Type' %]<th>Print type</th> >- [% CASE 'Template ID' %]<th>Template ID</th> >- [% CASE 'Template Name' %]<th>Template name</th> >- [% CASE 'Description' %]<th>Description</th> >- [% CASE 'Actions' %]<th>Actions</th> >- [% CASE 'Profile ID' %]<th>Profile ID</th> >- [% CASE 'Printer Name' %]<th>Printer name</th> >- [% CASE 'Paper Bin' %]<th>Paper bin</th> >- [% CASE 'Batch ID' %]<th>Batch ID</th> >- [% CASE 'Item Count' %]<th>Item count</th> >- [% CASE 'Fields to Print' %]<th>Fields to print</th> >+ [% CASE 'Layout ID' %]<th>[% t('Layout ID') %]</th> >+ [% CASE 'Layout' %]<th>[% t('Layout') %]</th> >+ [% CASE 'Barcode Type' %]<th>[% t('Barcode type') %]</th> >+ [% CASE 'Print Type' %]<th>[% t('Print type') %]</th> >+ [% CASE 'Template ID' %]<th>[% t('Template ID') %]</th> >+ [% CASE 'Template Name' %]<th>[% t('Template name') %]</th> >+ [% CASE 'Description' %]<th>[% t('Description') %]</th> >+ [% CASE 'Actions' %]<th>[% t('Actions') %]</th> >+ [% CASE 'Profile ID' %]<th>[% t('Profile ID') %]</th> >+ [% CASE 'Printer Name' %]<th>[% t('Printer name') %]</th> >+ [% CASE 'Paper Bin' %]<th>[% t('Paper bin') %]</th> >+ [% CASE 'Batch ID' %]<th>[% t('Batch ID') %]</th> >+ [% CASE 'Item Count' %]<th>[% t('Item count') %]</th> >+ [% CASE 'Fields to Print' %]<th>[% t('Fields to print') %]</th> > [% CASE %]<th>[% header_field.field_label %]</th> > [% END %] > [% END %] >@@ -150,36 +151,36 @@ > [% FOREACH text_field IN table_loo.text_fields %] > [% IF ( text_field.select_field ) %] > <td class="actions"> >- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&element_id=[% text_field.field_value |url %]"><i class="fa fa-edit"></i> Edit</a> >- <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&label_element=[% label_element %]&element_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&element_id=[% text_field.field_value |url %]"><i class="fa fa-edit"></i> [% t('Edit') %]</a> >+ <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&label_element=[% label_element %]&element_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> [% t('Delete') %]</a> > </td> > [% IF label_element == 'batch' %] <td><input type="checkbox" name="action" value="[% text_field.field_value %]" /></td>[% END %] > [% ELSIF ( text_field.field_value ) %] > <td>[% text_field.field_value %]</td> > [% ELSE %] >- <td> </td> >+ <td> </td> > [% END %] > [% END %] > </tr> > [% END %] > [% END %] > </table> >- [% IF ( print ) %]<button type="button" class="btn btn-default btn-sm" id="print">Export selected</button>[% END %] >+ [% IF ( print ) %]<button type="button" class="btn btn-default btn-sm" id="print">[% t('Export selected') %]</button>[% END %] > </fieldset> > </form> > [% ELSE %] > <div class="dialog message"> >- <h4>There are no >+ <h4>[% t('There are no') %] > [% PROCESS translate_label_element element=label_element_title %] >- currently available.</h4> >- <p>Use the toolbar above to create a new >+ [% t('currently available.') %]</h4> >+ <p>[% t('Use the toolbar above to create a new') %] > [% PROCESS translate_label_element element=label_element %].</p></div> > [% END %] > </div> > [% IF ( error ) %] > <div class="yui-u"> > <div class="dialog alert"> >- <strong>WARNING:</strong> An error was encountered and the [% op %] operation for [% label_element %] [% element_id %] was not completed. Please have your system administrator check the error log for details. >+ <strong>[% t('WARNING:') %]</strong> [% t('An error was encountered and the') %] [% op %] [% t('operation for') %] [% label_element %] [% element_id %] [% t('was not completed. Please have your system administrator check the error log for details.') %] > </div> > </div> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >index 0bb80b9427..c7628a44b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Label creator › Label printing/exporting</title> >+ <title>[% t('Koha ⺠Tools ⺠Label creator ⺠Label printing/exporting') %]</title> > [% INCLUDE 'doc-head-close.inc' popup => 1 %] > <script type="text/javascript"> > //<![CDATA[ >@@ -21,32 +22,32 @@ > <div id="bd"> > [% IF ( batches ) %] > <form> >- <h3>Click on the following links to download the exported batch(es).</h3> >+ <h3>[% t('Click on the following links to download the exported batch(es).') %]</h3> > [% FOREACH batche IN batches %] > <fieldset> > [% IF ( batche.label_ids ) %] >- <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count %] single label[% ELSE %][% batche.label_count %] single labels[% END %]</legend> >- <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script %]?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %][% batche.label_ids %]">Download as PDF</a></p> >+ <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count %] [% t('single label') %][% ELSE %][% batche.label_count %] [% t('single labels') %][% END %]</legend> >+ <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script %]?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %][% batche.label_ids %]">[% t('Download as PDF') %]</a></p> > >- <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.label_ids %]">Download as CSV</a></p> >+ <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.label_ids %]">[% t('Download as CSV') %]</a></p> > >- <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.label_ids %]">Download as XML</a></p> >+ <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.label_ids %]">[% t('Download as XML') %]</a></p> > [% ELSIF ( batche.item_numbers ) %] >- <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count %] single label[% ELSE %][% batche.label_count %] single labels[% END %]</legend> >- <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script %]?template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %][% batche.item_numbers %]">Download as PDF</a></p> >+ <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count %] [% t('single label') %][% ELSE %][% batche.label_count %] [% t('single labels') %][% END %]</legend> >+ <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script %]?template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %][% batche.item_numbers %]">[% t('Download as PDF') %]</a></p> > >- <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.item_numbers %]">Download as CSV</a></p> >+ <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.item_numbers %]">[% t('Download as CSV') %]</a></p> > >- <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.item_numbers %]">Download as XML</a></p> >+ <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %][% batche.item_numbers %]">[% t('Download as XML') %]</a></p> > [% ELSE %] >- <legend>Label Batch Number [% batche.batch_id %]</legend> >- <p><a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %]">Download as PDF</a> >+ <legend>[% t('Label Batch Number') %] [% batche.batch_id %]</legend> >+ <p><a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]&start_label=[% batche.start_label %]">[% t('Download as PDF') %]</a> > </p> > <p> >- <a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]">Download as CSV</a> >+ <a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]">[% t('Download as CSV') %]</a> > </p> > <p> >- <a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]">Download as XML</a></p> >+ <a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id %]&template_id=[% batche.template_id %]&layout_id=[% batche.layout_id %]">[% t('Download as XML') %]</a></p> > [% END %] > </fieldset> > [% END %] >@@ -57,11 +58,11 @@ > [% ELSE %] > <h3> > [% IF ( label_ids ) %] >- [% IF ( label_count == 1 ) %]Exporting [% label_count %] label[% ELSE %]Exporting [% label_count %] labels[% END %] >+ [% IF ( label_count == 1 ) %][% t('Exporting') %] [% label_count %] [% t('label') %][% ELSE %][% t('Exporting') %] [% label_count %] [% t('labels') %][% END %] > [% ELSIF ( item_numbers ) %] >- [% IF ( item_count == 1 ) %]Exporting [% item_count %] label[% ELSE %]Exporting [% item_count %] labels[% END %] >+ [% IF ( item_count == 1 ) %][% t('Exporting') %] [% item_count %] [% t('label') %][% ELSE %][% t('Exporting') %] [% item_count %] [% t('labels') %][% END %] > [% ELSE %] >- [% IF ( multi_batch_count == 1 ) %][% multi_batch_count %] batch to export[% ELSE %][% multi_batch_count %] batches to export[% END %] >+ [% IF ( multi_batch_count == 1 ) %][% multi_batch_count %] [% t('batch to export') %][% ELSE %][% multi_batch_count %] [% t('batches to export') %][% END %] > [% END %] > </h3> > <form name="exporting" method="post" action="/cgi-bin/koha/labels/label-print.pl"> >@@ -79,7 +80,7 @@ > <fieldset class="rows"> > <ol> > <li> >- <label for="template_id" style="width:20em">Select a template to be applied: </label> >+ <label for="template_id" style="width:20em">[% t('Select a template to be applied:') %] </label> > <select name="template_id" id="template_id"> > [% FOREACH template IN templates %] > <option value="[% template.template_id %]">[% template.template_code %]</option> >@@ -87,7 +88,7 @@ > </select> > </li> > <li> >- <label for="layout_id" style="width:20em">Select a layout to be applied: </label> >+ <label for="layout_id" style="width:20em">[% t('Select a layout to be applied:') %] </label> > <select name="layout_id" id="layout_id"> > [% FOREACH layout IN layouts %] > <option value="[% layout.layout_id %]">[% layout.layout_name %]</option> >@@ -95,14 +96,14 @@ > </select> > </li> > <li> >- <label for="start_label" style="width:20em">Enter starting label position (for PDF): </label> >- <input type="text" size="5" id="start_label" name="start_label" class="focus" title="Starting label number" value="1"/> >+ <label for="start_label" style="width:20em">[% t('Enter starting label position (for PDF):') %] </label> >+ <input type="text" size="5" id="start_label" name="start_label" class="focus" title="[% t('Starting label number') %]" value="1" /> > </li> > </ol> > </fieldset> > <fieldset class="action"> > <input type="submit" value="Export" /> >- <a href="#" class="cancel gb-close">Cancel</a> >+ <a href="#" class="cancel gb-close">[% t('Cancel') %]</a> > </fieldset> > </form> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >index c02a2170d3..16d0bff706 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Barcodes and labels › Search results</title> >+ <title>[% t('Koha ⺠Barcodes and labels ⺠Search results') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css">#custom-doc { width:46.23em;*width:45.04em;min-width:700px; margin:auto;margin-top: .4em; text-align:left; }</style> > [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] >@@ -51,41 +52,41 @@ > <body id="labels_result" class="tools labels"> > <div id="custom-doc" class="yui-t7"> > <div id="bd"> >- <h1>Search results</h1> >+ <h1>[% t('Search results') %]</h1> > <div class="results"> > [% IF ( displayprev || displaynext ) %] > <p> > [% IF ( displayprev ) %] >- <a href="label-item-search.pl?startfrom=[% startfromprev %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> >+ <a href="label-item-search.pl?startfrom=[% startfromprev %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> > [% END %] > [% FOREACH number IN numbers %] >- <a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">[% number.number %]</a> >+ <a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">[% number.number %]</a> > [% END %] > [% IF ( displaynext ) %] >- <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> >+ <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> > [% END %] > </p> > [% END %] > [% IF ( results ) %] >- <strong>Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %]</strong> >+ <strong>[% t('Results') %] [% from %] [% t('through') %] [% to %] [% IF ( total ) %] [% t('of') %] [% total %][% END %]</strong> > [% ELSE %] >- No results found >+ [% t('No results found') %] > [% END %] > > <form name="resultform" action=""> > <div id="toolbar" class="btn-toolbar"> >- <div class="btn-group"><button type="button" class="btn btn-default btn-sm" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div> >- <div class="btn-group"><a href="#" class="btn btn-default btn-sm close"><i class="fa fa-times-circle"></i> Done</a></div> >+ <div class="btn-group"><button type="button" class="btn btn-default btn-sm" id="add_items"><i class="fa fa-plus"></i> [% t('Add checked') %]</button></div> >+ <div class="btn-group"><a href="#" class="btn btn-default btn-sm close"><i class="fa fa-times-circle"></i> [% t('Done') %]</a></div> > </div> >- <div><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></div> >+ <div><a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></div> > > <div id="label-search-results"> > <input type="hidden" name="ccl_query" value="[% ccl_query %]" /> > [% FOREACH result_se IN result_set %] > <div style="border-bottom:1px solid #CCC;padding:1em 0;"> > <h4>[% result_se.title |html %]</h4> >- <p>[% IF ( result_se.author ) %]by [% result_se.author %][% END %] >- [[% result_se.itemtype %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode %] [% END %][% IF ( result_se.place ) %][% result_se.place %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate %], [% END %][% IF ( result_se.pages ) %][% result_se.pages %][% END %][% IF ( result_se.isbn ) %], <b>ISBN: </b>[% result_se.isbn %][% END %][% IF ( result_se.notes ) %],<br />[% result_se.notes %][% END %]</p> >+ <p>[% IF ( result_se.author ) %][% t('by') %] [% result_se.author %][% END %] >+ [[% result_se.itemtype %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode %] [% END %][% IF ( result_se.place ) %][% result_se.place %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate %], [% END %][% IF ( result_se.pages ) %][% result_se.pages %][% END %][% IF ( result_se.isbn ) %], <b>[% t('ISBN:') %] </b>[% result_se.isbn %][% END %][% IF ( result_se.notes ) %],<br />[% result_se.notes %][% END %]</p> > > <table> > [% FOREACH item_tabl IN result_se.item_table %] >@@ -95,18 +96,18 @@ > [% FOREACH header_field IN item_tabl.header_fields %] > [% SWITCH header_field.field_label -%] > [% CASE "Add Item" -%] >- <th>Add item</th> >+ <th>[% t('Add item') %]</th> > [% CASE "Call Number" -%] >- <th>Call number</th> >+ <th>[% t('Call number') %]</th> > [% CASE "Accession Date" %] >- <th>Accession date</th> >+ <th>[% t('Accession date') %]</th> > [% CASE "Barcode" %] >- <th>Barcode</th> >+ <th>[% t('Barcode') %]</th> > [% CASE "Select" -%] >- <th>Select</th> >+ <th>[% t('Select') %]</th> > [% CASE %] > <th>[% header_field.field_label %]</th> >-z [% END -%] >+[% t('z') %] [% END -%] > [% END %] > </tr> > </thead> >@@ -117,7 +118,7 @@ z [% END -%] > <td><input type="checkbox" name="action" value="[% text_field.field_value %]"></td> > [% ELSIF ( text_field.link_field ) %] > <td> >- <a class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value %]" data-batch-id="[% batch_id %]" data-field-type="[% text_field.type %]"><i class="fa fa-plus"></i> Add</a> >+ <a class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value %]" data-batch-id="[% batch_id %]" data-field-type="[% text_field.type %]"><i class="fa fa-plus"></i> [% t('Add') %]</a> > </td> > [% ELSE %] > <td>[% text_field.field_value %]</td> >@@ -135,20 +136,20 @@ z [% END -%] > [% IF ( displayprev || displaynext ) %] > <p> > [% IF ( displayprev ) %] >- <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> >+ <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> > [% END %] > [% FOREACH number IN numbers %] > [% IF ( number.highlight ) %] > <span class="current">[% number.number %]</span> > [% ELSE %] >- <a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% number.ccl_query %]&resultsperpage=[% number.resultsperpage %]&op=do_search&batch_id=[% number.batch_id %]">[% number.number %]</a> >+ <a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% number.ccl_query %]&resultsperpage=[% number.resultsperpage %]&op=do_search&batch_id=[% number.batch_id %]">[% number.number %]</a> > [% END %] > [% END %] > [% IF ( displaynext ) %] >- <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> >+ <a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> > [% END %] > </p> >- <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> >+ <div id="closewindow"><a href="#" class="btn btn-default btn-default close">[% t('Close') %]</a></div> > [% END %] > </div> > [% INCLUDE 'popup-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >index d9d52357ad..97deb2ab57 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >@@ -1,4 +1,5 @@ >-[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Labels</title> >+[% PROCESS 'i18n.inc' %] >+[% INCLUDE 'doc-head-open.inc' %]<title>[% t('Koha âº') %] [% t('Labels') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'calendar.inc' %] > <style type="text/css">#custom-doc { width:47.23em;*width:46.04em;min-width:610px; margin:auto;margin-top: .4em; text-align:left; }</style> >@@ -8,9 +9,9 @@ > <div id="custom-doc" class="yui-t7"> > <div id="bd"> > >-<h1>Search for items >+<h1>[% t('Search for items') %] > [% IF ( batch_id ) %] >-to add to Batch [% batch_id %] >+[% t('to add to Batch') %] [% batch_id %] > [% END %] > </h1> > >@@ -21,60 +22,60 @@ to add to Batch [% batch_id %] > > <fieldset class="rows"> > <ol><li> >-<select name="idx" > <!-- FIXME: script does keyword search regardless --> >+<select name="idx"> <!-- FIXME: script does keyword search regardless --> > >-[% IF idx == 'kw' %]<option value="kw" selected="selected">Keyword</option> >-[% ELSE %]<option value="kw">Keyword</option>[% END %] >+[% IF idx == 'kw' %]<option value="kw" selected="selected">[% t('Keyword') %]</option> >+[% ELSE %]<option value="kw">[% t('Keyword') %]</option>[% END %] > >-[% IF idx == 'au' %]<option value="au" selected="selected">Author</option> >-[% ELSE %]<option value="au">Author</option>[% END %] >+[% IF idx == 'au' %]<option value="au" selected="selected">[% t('Author') %]</option> >+[% ELSE %]<option value="au">[% t('Author') %]</option>[% END %] > >-[% IF idx == 'yr' %]<option value="yr" selected="selected">Publication date</option> >-[% ELSE %]<option value="yr">Publication date</option>[% END %] >+[% IF idx == 'yr' %]<option value="yr" selected="selected">[% t('Publication date') %]</option> >+[% ELSE %]<option value="yr">[% t('Publication date') %]</option>[% END %] > >-[% IF idx == 'sn' %]<option value="sn" selected="selected">Standard number</option> >-[% ELSE %]<option value="sn">Standard number</option>[% END %] >+[% IF idx == 'sn' %]<option value="sn" selected="selected">[% t('Standard number') %]</option> >+[% ELSE %]<option value="sn">[% t('Standard number') %]</option>[% END %] > >-[% IF idx == 'nb' %]<option value="nb" selected="selected">ISBN</option> >-[% ELSE %]<option value="nb">ISBN</option>[% END %] >+[% IF idx == 'nb' %]<option value="nb" selected="selected">[% t('ISBN') %]</option> >+[% ELSE %]<option value="nb">[% t('ISBN') %]</option>[% END %] > >-[% IF idx == 'ns' %]<option value="ns" selected="selected">ISSN</option> >-[% ELSE %]<option value="ns">ISSN</option>[% END %] >+[% IF idx == 'ns' %]<option value="ns" selected="selected">[% t('ISSN') %]</option> >+[% ELSE %]<option value="ns">[% t('ISSN') %]</option>[% END %] > >-[% IF idx == 'lcn,phr' %]<option value="lcn,phr" selected="selected">Call number</option> >-[% ELSE %]<option value="lcn,phr">Call number</option>[% END %] >+[% IF idx == 'lcn,phr' %]<option value="lcn,phr" selected="selected">[% t('Call number') %]</option> >+[% ELSE %]<option value="lcn,phr">[% t('Call number') %]</option>[% END %] > >-[% IF idx == 'su' %]<option value="su" selected="selected">Subject</option> >-[% ELSE %]<option value="su">Subject</option>[% END %] >+[% IF idx == 'su' %]<option value="su" selected="selected">[% t('Subject') %]</option> >+[% ELSE %]<option value="su">[% t('Subject') %]</option>[% END %] > > [% IF idx == 'ti' %] >- <option value="ti" selected="selected">Title</option> >+ <option value="ti" selected="selected">[% t('Title') %]</option> > [% ELSE %] >- <option value="ti">Title</option>[% END %] >+ <option value="ti">[% t('Title') %]</option>[% END %] > >-[% IF idx == 'ti,phr' %]<option value="ti,phr" selected="selected">Title phrase</option> >-[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] >+[% IF idx == 'ti,phr' %]<option value="ti,phr" selected="selected">[% t('Title phrase') %]</option> >+[% ELSE %]<option value="ti,phr">[% t('Title phrase') %]</option>[% END %] > >-[% IF idx == 'se' %]<option value="se" selected="selected">Series title</option> >-[% ELSE %]<option value="se">Series title</option>[% END %] >+[% IF idx == 'se' %]<option value="se" selected="selected">[% t('Series title') %]</option> >+[% ELSE %]<option value="se">[% t('Series title') %]</option>[% END %] > >-[% IF idx == 'bc' or not idx %]<option value="bc" selected="selected">Barcode</option> >-[% ELSE %]<option value="bc">Barcode</option>[% END %] >+[% IF idx == 'bc' or not idx %]<option value="bc" selected="selected">[% t('Barcode') %]</option> >+[% ELSE %]<option value="bc">[% t('Barcode') %]</option>[% END %] > >-[% IF idx == 'acqdate' %]<option value="acqdate" selected="selected">Acquisition date</option> >-[% ELSE %]<option value="acqdate">Acquisition date</option>[% END %] >+[% IF idx == 'acqdate' %]<option value="acqdate" selected="selected">[% t('Acquisition date') %]</option> >+[% ELSE %]<option value="acqdate">[% t('Acquisition date') %]</option>[% END %] > </select> > >- <input type="text" size="30" id="ccl_textbox" name="ccl_textbox" class="focus" title="Enter search terms" value=""/> >+ <input type="text" size="30" id="ccl_textbox" name="ccl_textbox" class="focus" title="[% t('Enter search terms') %]" value="" /> > > </li> > </ol> > </fieldset> > > [% IF ( sort_by_loop ) %] >-<fieldset><legend>Sort by: </legend> >+<fieldset><legend>[% t('Sort by:') %] </legend> > <p><select id="sort_by" name="sort_by"> >- <option value="">Field-weighted, relevance ranked</option> >+ <option value="">[% t('Field-weighted, relevance ranked') %]</option> > [% FOREACH sort_by_loo IN sort_by_loop %] > > [% IF ( sort_by_loo.selected ) %]<option value="[% sort_by_loo.value %]" selected="selected">[% sort_by_loo.label %]</option>[% ELSE %]<option value="[% sort_by_loo.value %]">[% sort_by_loo.label %]</option>[% END %] >@@ -90,18 +91,18 @@ to add to Batch [% batch_id %] > <fieldset class="rows"> > <ol> > <li> >- <label for="from">Added on or after date: </label> >+ <label for="from">[% t('Added on or after date:') %] </label> > <input type="text" size="10" id="from" name="datefrom" class="datepickerfrom" value="" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >- <label for="to">Added on or before date: </label> >+ <label for="to">[% t('Added on or before date:') %] </label> > <input type="text" size="10" id="to" name="dateto" class="datepickerto" value="" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li></ol> > </fieldset> > >-<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset> >+<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">[% t('Cancel') %]</a></fieldset> > </form> > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >index e324db596c..2b5f50e5c9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >@@ -1,22 +1,23 @@ >-[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Tools › Quick spine label creator</title> >+[% PROCESS 'i18n.inc' %] >+[% INCLUDE 'doc-head-open.inc' %]<title>[% t('Koha ⺠Tools ⺠Quick spine label creator') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="labels_spinelabel-home" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Quick spine label creator</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> [% t('⺠Quick spine label creator') %]</div> > > <div id="doc3" class="yui-t2"> > > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h2>Quick spine label creator</h2> >+ <h2>[% t('Quick spine label creator') %]</h2> > <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post"> > <fieldset class="brief"> > <ol> >- <li><label for="barcode">Barcode: </label> >+ <li><label for="barcode">[% t('Barcode:') %] </label> > <input type="text" name="barcode" id="barcode" class="focus" /> > </li> > </ol> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >index 4c71cfcc70..b951e30bb3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > <!DOCTYPE html> > [% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %] > <head> >-<title>Koha › Tools › Spine labels</title> >+<title>[% t('Koha ⺠Tools ⺠Spine labels') %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > [% Asset.css("css/spinelabel.css") %] > >@@ -24,8 +25,8 @@ > </head> > [% IF ( BarcodeNotFound ) %] > <body id="labels_spinelabel-print" class="tools labels"> >- <p>The barcode [% Barcode |html %] was not found.</p> >- <p><a href="spinelabel-home.pl">Return to spine label printer</a></p> >+ <p>[% t('The barcode') %] [% Barcode |html %] [% t('was not found.') %]</p> >+ <p><a href="spinelabel-home.pl">[% t('Return to spine label printer') %]</a></p> > </body> > [% ELSE %] > [% IF ( autoprint ) %] >@@ -37,7 +38,7 @@ > [% content %] > </span> > <span id="print_button" class="noprint"> >- <button onclick="window.print()">Print this label</button> >+ <button onclick="window.print()">[% t('Print this label') %]</button> > </span> > </body> > [% END %] >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20988
:
76333
|
76334
|
76335
|
76336
|
76337
|
76338
|
76339
|
76340
|
76341
|
76342
|
76343
|
76344
|
76345
|
76346
|
76347
|
76348
|
76349
|
76350
|
76351
|
76352
|
76353
|
76354
|
76355
|
76356
|
76357
|
76358
|
76359
|
76360
|
76361
|
76362
|
76363
|
76364
|
76365
|
76934
|
76935