Bugzilla – Attachment 76358 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/tools
Bug-20988-koha-tmplintranet-tmplprogenmodulestools.patch (text/plain), 402.74 KB, created by
Julian Maurice
on 2018-06-25 07:23:39 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/tools
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:23:39 UTC
Size:
402.74 KB
patch
obsolete
>From d221e83551a5f547b23fd09ddaf9792b072fb355 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 08:50:43 +0200 >Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/tools > >--- > .../prog/en/modules/tools/access_files.tt | 17 +- > .../automatic_item_modification_by_age.tt | 91 ++++---- > .../prog/en/modules/tools/batchMod-del.tt | 75 +++---- > .../prog/en/modules/tools/batchMod-edit.tt | 91 ++++---- > .../prog/en/modules/tools/batchMod.tt | 31 +-- > .../en/modules/tools/batch_delete_records.tt | 97 ++++----- > .../tools/batch_record_modification.tt | 103 ++++----- > .../prog/en/modules/tools/cleanborrowers.tt | 87 ++++---- > .../prog/en/modules/tools/csv-profiles.tt | 151 +++++++------- > .../prog/en/modules/tools/export.tt | 117 +++++------ > .../prog/en/modules/tools/holidays.tt | 159 +++++++------- > .../prog/en/modules/tools/import_borrowers.tt | 115 ++++++----- > .../prog/en/modules/tools/inventory.tt | 121 +++++------ > .../prog/en/modules/tools/koha-news.tt | 119 +++++------ > .../prog/en/modules/tools/letter.tt | 177 ++++++++-------- > .../en/modules/tools/manage-marc-import.tt | 195 +++++++++--------- > .../tools/marc_modification_templates.tt | 169 +++++++-------- > .../prog/en/modules/tools/modborrowers.tt | 131 ++++++------ > .../prog/en/modules/tools/overduerules.tt | 55 ++--- > .../prog/en/modules/tools/picture-upload.tt | 83 ++++---- > .../prog/en/modules/tools/preview_letter.tt | 29 +-- > .../prog/en/modules/tools/quotes-upload.tt | 35 ++-- > .../prog/en/modules/tools/quotes.tt | 29 +-- > .../prog/en/modules/tools/scheduler.tt | 35 ++-- > .../prog/en/modules/tools/showdiffmarc.tt | 15 +- > .../en/modules/tools/stage-marc-import.tt | 111 +++++----- > .../prog/en/modules/tools/tools-home.tt | 147 ++++++------- > .../prog/en/modules/tools/upload-images.tt | 55 ++--- > .../prog/en/modules/tools/upload.tt | 95 ++++----- > .../prog/en/modules/tools/viewlog.tt | 147 ++++++------- > 30 files changed, 1456 insertions(+), 1426 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt >index fd156d58dd..78ba3bde01 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Access files</title> >+<title>[% t('Access files') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -9,25 +10,25 @@ > [% 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> › Access files</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('⺠Access files') %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> > >- <h1>Access files</h1> >+ <h1>[% t('Access files') %]</h1> > > [% IF ( error_no_dir ) %] >- <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div> >+ <div class="dialog alert"><strong>[% t('Error:') %] </strong>[% t('Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.') %]</div> > [% ELSE %] > [% IF ( files_loop ) %] > <table id="files"> > <thead> > <tr> >- <th>Name</th> >- <th>Size (bytes)</th> >- <th>Date last modified</th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Size (bytes)') %]</th> >+ <th>[% t('Date last modified') %]</th> > </tr> > </thead> > <tbody> >@@ -41,7 +42,7 @@ > </tbody> > </table> > [% ELSE %] >- No file found. >+ [% t('No file found.') %] > [% END %] > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >index 7e1d5a3851..da9f21620e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Automatic item modifications by age</title> >+<title>[% t('Koha ⺠Tools ⺠Automatic item modifications by age') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,13 +10,13 @@ > [% 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/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠> [% IF ( op == 'edit_form' ) %] >- <a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Automatic item modifications by age</a> › >- Rules >+ <a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">[% t('Automatic item modifications by age') %]</a> ⺠>+ [% t('Rules') %] > [% ELSE %] >- Automatic item modifications by age >+ [% t('Automatic item modifications by age') %] > [% END %] > </div> > >@@ -26,27 +27,27 @@ > > [% IF ( op == 'edit_form' ) %] > <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"> >- <h3>Rules for automatic item modifications by age</h3> >+ <h3>[% t('Rules for automatic item modifications by age') %]</h3> > <div id="toolbar" class="btn-toolbar"> > <div class="btn-group"> >- <button class="btn btn-default btn-sm add_rule"><i class="fa fa-plus"></i> Add rule</button> >+ <button class="btn btn-default btn-sm add_rule"><i class="fa fa-plus"></i> [% t('Add rule') %]</button> > </div> > <div class="btn-group"> >- <button type="submit" id="save_rules" class="btn btn-default btn-sm"><i class="fa fa-save"></i> Save</button> >+ <button type="submit" id="save_rules" class="btn btn-default btn-sm"><i class="fa fa-save"></i> [% t('Save') %]</button> > </div> > <div class="btn-group"> >- <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> Cancel</a> >+ <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> [% t('Cancel') %]</a> > </div> > </div> > [% ELSE %] >- <h3>Automatic item modifications by age</h3> >+ <h3>[% t('Automatic item modifications by age') %]</h3> > [% IF ( rules ) %] > <div id="toolbar" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-pencil"></i> Edit rules</a> >+ <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-pencil"></i> [% t('Edit rules') %]</a> > </div> > [% ELSE %] > <div id="toolbar" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-plus"></i> Add rules</a> >+ <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-plus"></i> [% t('Add rules') %]</a> > </div> > [% END %] > [% END %] >@@ -56,7 +57,7 @@ > <div class="dialog alert"> > [% END %] > [% IF message.code == "unable_to_load_configuration" %] >- An error occurs: Unable to load the configuration. >+ [% t('An error occurs: Unable to load the configuration.') %] > [% END %] > </div> > [% END %] >@@ -67,18 +68,18 @@ > [% FOR rule IN rules %] > [% SET id = loop.count %] > <fieldset class="rule"> >- <legend>Rule <span class="rulecount">[% loop.count %]</span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend> >+ <legend>[% t('Rule') %] <span class="rulecount">[% loop.count %]</span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> [% t('Remove this rule') %]</a></legend> > <input type="hidden" name="unique_id" value="[% loop.count %]" /> <!-- FIXME on update, the unique_id should be filled --> > <div class="age"> >- <h5>Age in days</h5> >+ <h5>[% t('Age in days') %]</h5> > <input class="age" type="number" value="[% rule.age %]" name="age_[% id %]" /> > </div> > <div class="blocks"> >- <h5>Conditions</h5> >+ <h5>[% t('Conditions') %]</h5> > [% FOR condition IN rule.conditions %] > <div class="block"> > <select name="condition_field_[% id %]"> >- <option value="">Choose a field name</option> >+ <option value="">[% t('Choose a field name') %]</option> > [% FOR field IN condition_fields %] > [% IF condition.field == field %] > <option value="[% field %]" selected="selected">[% field %]</option> >@@ -89,17 +90,17 @@ > </select> > = > <input type="text" value="[% condition.value %]" name="condition_value_[% id%]" /> >- <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a> >- <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a> >+ <a class="add_block" href="#"><i class="fa fa-plus"></i> [% t('Add a condition') %]</a> >+ <a class="remove_block" href="#"><i class="fa fa-trash"></i> [% t('Remove condition') %]</a> > </div> > [% END %] > </div> > <div class="blocks"> >- <h5>Substitutions</h5> >+ <h5>[% t('Substitutions') %]</h5> > [% FOR substitution IN rule.substitutions %] > <div class="block"> > <select class="required" required="required" name="substitution_field_[% id %]"> >- <option value="">Choose a field name</option> >+ <option value="">[% t('Choose a field name') %]</option> > [% FOR field IN substitution_fields %] > [% IF substitution.field == field %] > <option value="[% field %]" selected="selected">[% field %]</option> >@@ -110,9 +111,9 @@ > </select> > = > <input type="text" value="[% substitution.value %]" name="substitution_value_[% id %]" /> >- <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a> >- <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a> >- <span class="required">A field name is required</span> >+ <a class="add_block" href="#"><i class="fa fa-plus"></i> [% t('Add a substitution') %]</a> >+ <a class="remove_block" href="#"><i class="fa fa-trash"></i> [% t('Remove substitution') %]</a> >+ <span class="required">[% t('A field name is required') %]</span> > </div> > [% END %] > </div> >@@ -124,57 +125,57 @@ > </form> > > <div id="norules" class="dialog message"> >- There are no rules defined. >+ [% t('There are no rules defined.') %] > </div> > > <fieldset id="new_rule"> >- <legend>Rule <span class="rulecount"></span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend> >+ <legend>[% t('Rule') %] <span class="rulecount"></span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> [% t('Remove this rule') %]</a></legend> > <input type="hidden" name="unique_id" /> > <div class="age"> >- <h5>Age in days</h5> >+ <h5>[% t('Age in days') %]</h5> > <input class="age" type="number" value="" name="age" /> > </div> > <div class="blocks"> >- <h5>Conditions</h5> >+ <h5>[% t('Conditions') %]</h5> > <div class="block"> > <select name="condition_field"> >- <option value="">Choose a field name</option> >+ <option value="">[% t('Choose a field name') %]</option> > [% FOR field IN condition_fields %] > <option value="[% field %]">[% field %]</option> > [% END %] > </select> > = > <input type="text" value="" name="condition_value" /> >- <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a> >- <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a> >+ <a class="add_block" href="#"><i class="fa fa-plus"></i> [% t('Add a condition') %]</a> >+ <a class="remove_block" href="#"><i class="fa fa-trash"></i> [% t('Remove condition') %]</a> > </div> > </div> > <div class="blocks"> >- <h5>Substitutions</h5> >+ <h5>[% t('Substitutions') %]</h5> > <div class="block"> > <select required="required" class="required" name="substitution_field"> >- <option value="">Choose a field name</option> >+ <option value="">[% t('Choose a field name') %]</option> > [% FOR field IN substitution_fields %] > <option value="[% field %]">[% field %]</option> > [% END %] > </select> > = > <input type="text" value="" name="substitution_value" /> >- <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a> >- <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a> >- <span class="required">A field name is required</span> >+ <a class="add_block" href="#"><i class="fa fa-plus"></i> [% t('Add a substitution') %]</a> >+ <a class="remove_block" href="#"><i class="fa fa-trash"></i> [% t('Remove substitution') %]</a> >+ <span class="required">[% t('A field name is required') %]</span> > </div> > </div> > </fieldset> > [% ELSIF rules %] > <div> >- <h4>List of rules</h4> >+ <h4>[% t('List of rules') %]</h4> > <table id="rulest"> > <thead> > <tr> >- <th>Age</th> >- <th>Conditions</th> >- <th>Substitutions</th> >+ <th>[% t('Age') %]</th> >+ <th>[% t('Conditions') %]</th> >+ <th>[% t('Substitutions') %]</th> > </tr> > </thead> > <tbody> >@@ -182,9 +183,9 @@ > <tr> > <td> > [% IF rule.age.defined and rule.age.length > 0 %] >- [% rule.age %] days >+ [% rule.age %] [% t('days') %] > [% ELSE %] >- There is no age for this rule. >+ [% t('There is no age for this rule.') %] > [% END %] > </td> > <td> >@@ -194,7 +195,7 @@ > [% condition.field %] = [% condition.value %] > </div> > [% ELSE %] >- There is no condition for this rule. >+ [% t('There is no condition for this rule.') %] > [% END %] > [% END %] > </td> >@@ -212,7 +213,7 @@ > </div> > [% ELSE %] > <div class="dialog message"> >- There are no rules defined. >+ [% t('There are no rules defined.') %] > </div> > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >index 835be89507..15ba127d15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Batch item deletion</title> >+<title>[% t('Koha ⺠Tools ⺠Batch item deletion') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > <!--[if IE]> >@@ -13,29 +14,29 @@ > [% 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/tools/batchMod.pl?del=1">Batch item deletion</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/tools/batchMod.pl?del=1">[% t('Batch item deletion') %]</a> > </div> > > <div class="main container-fluid"> > >- [% IF ( show ) %]<h1>Batch item deletion</h1>[% ELSE %]<h1>Batch item deletion results</h1>[% END %] >- [% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %] >- [% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %] >- [% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot delete</strong>: item is checked out.</div>[% END %] >- [% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot delete</strong>: item has a waiting hold.</div>[% END %] >+ [% IF ( show ) %]<h1>[% t('Batch item deletion') %]</h1>[% ELSE %]<h1>[% t('Batch item deletion results') %]</h1>[% END %] >+ [% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>[% t('Error saving item') %]</strong>[% t(': Barcode must be unique.') %]</div>[% END %] >+ [% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>[% t('Error saving items') %]</strong>[% t(': Unable to automatically determine values for barcodes. No item has been inserted.') %]</div>[% END %] >+ [% IF ( book_on_loan ) %]<div class="dialog alert"><strong>[% t('Cannot delete') %]</strong>[% t(': item is checked out.') %]</div>[% END %] >+ [% IF ( book_reserved ) %]<div class="dialogalert"><strong>[% t('Cannot delete') %]</strong>[% t(': item has a waiting hold.') %]</div>[% END %] > > [% UNLESS ( action ) %] > > [% IF ( notfoundbarcodes ) %] > <div class="dialog alert"> >- [% IF ( itemresults ) %]<p>Warning, the following barcodes were not found:</p>[% ELSE %]<p>Warning: no barcodes were found</p>[% END %] >+ [% IF ( itemresults ) %]<p>[% t('Warning, the following barcodes were not found:') %]</p>[% ELSE %]<p>[% t('Warning: no barcodes were found') %]</p>[% END %] > </div> > <table style="margin:auto;"> > <thead> > <tr> >- <th>Barcode</th> >+ <th>[% t('Barcode') %]</th> > </tr> > </thead> > <tbody> >@@ -45,7 +46,7 @@ > </tbody> > </table> > [% UNLESS ( too_many_items ) %] >- [% IF ( item_loop ) %]<h4>The following barcodes were found: </h4>[% END %] >+ [% IF ( item_loop ) %]<h4>[% t('The following barcodes were found:') %] </h4>[% END %] > [% END %] > [% END %] > >@@ -61,10 +62,10 @@ > [% END %] > > [% IF ( item_loop ) %] >- [% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a></div>[% END %] >+ [% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></div>[% END %] > <div id="cataloguing_additem_itemlist"> > >- <p id="selections"><strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span> >+ <p id="selections"><strong>[% t('Show/hide columns:') %]</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall" /><label for="showall">[% t('Show all columns') %]</label></span> <span><input type="checkbox" id="hideall" /><label for="hideall">[% t('Hide all columns') %]</label></span> > [% FOREACH item_header_loo IN item_header_loop %] > <span class="selected"><input id="checkheader[% loop.count %]" type="checkbox" checked="checked" /> <label for="checkheader[% loop.count %]">[% item_header_loo.header_value %]</label> </span> > [% END %] >@@ -73,16 +74,16 @@ > <table id="itemst"> > <thead> > <tr> >- [% IF ( show ) %]<th> </th>[% END %] >- <th class="anti-the">Title</th> >+ [% IF ( show ) %]<th> </th>[% END %] >+ <th class="anti-the">[% t('Title') %]</th> > [% FOREACH item_header_loo IN item_header_loop %] > <th> [% item_header_loo.header_value %] </th> > [% END %] > </tr> > </thead> > <tbody> >- [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% END %] >- <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td> >+ [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">[% t('Cannot edit') %]</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% END %] >+ <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %][% t(', by') %] [% item_loo.author %][% END %]</label></td> > [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> > [% END %] </tr> > [% END %] >@@ -105,7 +106,7 @@ > [% IF ( show ) %] > > [% IF ( too_many_items ) %] >- <p>Too many items ([% too_many_items %]) to display individually.</p> >+ <p>[% t('Too many items (') %][% too_many_items %][% t(') to display individually.') %]</p> > [% FOREACH itemnumber IN itemnumbers_array %] > <input type="hidden" name="itemnumber" value="[% itemnumber %]" /> > [% END %] >@@ -114,21 +115,21 @@ > [% IF ( itemresults ) %] > <div id="cataloguing_additem_newitem"> > <input type="hidden" name="op" value="[% op %]" /> >- <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p> >+ <p>[% t('This will delete') %] [% IF ( too_many_items ) %][% t('all the') %][% ELSE %][% t('the selected') %][% END %] [% t('items.') %]</p> > <input type="hidden" name="del" value="1" /> > <fieldset class="action"> >- <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label> >+ <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">[% t('Delete records if no items remain.') %]</label> > [% IF too_many_items %] > <input type="submit" name="mainformsubmit" value="Delete ALL submitted items" /> > [% ELSE %] > <input type="submit" name="mainformsubmit" value="Delete selected items" /> > [% END %] > >- <a href="/cgi-bin/koha/tools/batchMod.pl?del=1" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl?del=1" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </div> > [% ELSE %] >- <p><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Return to batch item deletion</a></p> >+ <p><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">[% t('Return to batch item deletion') %]</a></p> > [% END %] > [% END %] > </form> >@@ -136,34 +137,34 @@ > > [% IF ( action ) %] > <div class="dialog message"> >- <p>[% deleted_items %] item(s) deleted.</p> >- [% IF delete_records %] <p>[% deleted_records %] record(s) deleted.</p> [% END %] >+ <p>[% deleted_items %] [% t('item(s) deleted.') %]</p> >+ [% IF delete_records %] <p>[% deleted_records %] [% t('record(s) deleted.') %]</p> [% END %] > [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Delete items in a batch%] >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">Return to the record</a> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% t('Return to the record') %]</a> > [% ELSIF src %] >- <a href="[% src %]">Return to where you were</a> >+ <a href="[% src %]">[% t('Return to where you were') %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Return to batch item deletion</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">[% t('Return to batch item deletion') %]</a> > [% END %] > </div> > [% IF ( not_deleted_items ) %] > <div style="width:55%;margin:auto;"> >- <p>[% not_deleted_items %] item(s) could not be deleted: [% FOREACH not_deleted_itemnumber IN not_deleted_itemnumbers %][% not_deleted_itemnumber.itemnumber %][% END %]</p> >+ <p>[% not_deleted_items %] [% t('item(s) could not be deleted:') %] [% FOREACH not_deleted_itemnumber IN not_deleted_itemnumbers %][% not_deleted_itemnumber.itemnumber %][% END %]</p> > [% IF ( not_deleted_loop ) %] > <table id="itemst"> > <thead> > <tr> >- <th>Itemnumber</th> >- <th>Barcode</th> >- <th>Reason</th> >+ <th>[% t('Itemnumber') %]</th> >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Reason') %]</th> > </tr> > </thead> > <tbody> > [% FOREACH not_deleted_loo IN not_deleted_loop %] > <tr> > <td>[% not_deleted_loo.itemnumber %]</td> >- <td>[% IF ( CAN_user_editcatalogue_edit_items ) %]<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% not_deleted_loo.biblionumber %]&itemnumber=[% not_deleted_loo.itemnumber %]">[% not_deleted_loo.barcode %]</a>[% ELSE %][% not_deleted_loo.barcode %][% END %]</td> >- <td>[% IF ( not_deleted_loo.book_on_loan ) %]Item is checked out[% ELSIF ( not_deleted_loo.book_reserved ) %]Item has a waiting hold[% END %]</td> >+ <td>[% IF ( CAN_user_editcatalogue_edit_items ) %]<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% not_deleted_loo.biblionumber %]&itemnumber=[% not_deleted_loo.itemnumber %]">[% not_deleted_loo.barcode %]</a>[% ELSE %][% not_deleted_loo.barcode %][% END %]</td> >+ <td>[% IF ( not_deleted_loo.book_on_loan ) %][% t('Item is checked out') %][% ELSIF ( not_deleted_loo.book_reserved ) %][% t('Item has a waiting hold') %][% END %]</td> > </tr> > [% END %] > </tbody> >@@ -174,11 +175,11 @@ > > <p> > [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Delete items in a batch%] >- <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]"><i class="fa fa-check-square-o"></i> Return to the record</a> >+ <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]"><i class="fa fa-check-square-o"></i> [% t('Return to the record') %]</a> > [% ELSIF src %] >- <a class="btn btn-default" href="[% src %]"><i class="fa fa-check-square-o"></i> Return to where you were</a> >+ <a class="btn btn-default" href="[% src %]"><i class="fa fa-check-square-o"></i> [% t('Return to where you were') %]</a> > [% ELSE %] >- <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl?del=1"><i class="fa fa-check-square-o"></i> Return to batch item deletion</a> >+ <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl?del=1"><i class="fa fa-check-square-o"></i> [% t('Return to batch item deletion') %]</a> > [% END %] > </p> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >index 32577c8674..cc7a9339d4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Batch item modification</title> >+<title>[% t('Koha ⺠Tools ⺠Batch item modification') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.js("js/background-job-progressbar.js") %] > [% Asset.js("js/cataloging.js") %] >@@ -57,44 +58,44 @@ $(document).ready(function(){ > [% 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/tools/batchMod.pl">Batch item modification</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/tools/batchMod.pl">[% t('Batch item modification') %]</a> > </div> > > <div class="main container-fluid"> > > [% IF ( show ) %] >- <h1>Batch item modification</h1> >+ <h1>[% t('Batch item modification') %]</h1> > [% ELSE %] >- <h1>Batch item modification results</h1> >+ <h1>[% t('Batch item modification results') %]</h1> > <div class="dialog message"> > [% IF (modified_items) %] >- [% modified_items %] item(s) modified (with [% modified_fields %] field(s) modified). >+ [% modified_items %] [% t('item(s) modified (with') %] [% modified_fields %] [% t('field(s) modified).') %] > [% ELSE %] >- No items modified. >+ [% t('No items modified.') %] > [% END %] > <fieldset class="action"> > [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">Return to the record</a> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% t('Return to the record') %]</a> > [% ELSIF src %] >- <a href="[% src %]">Return to where you were</a> >+ <a href="[% src %]">[% t('Return to where you were') %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl">[% t('Return to batch item modification') %]</a> > [% END %] > </fieldset> > </div> > [% END %] >-[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %] >-[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %] >-[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot Delete</strong>: item is checked out.</div>[% END %] >-[% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot Delete</strong>: item has a waiting hold.</div>[% END %] >+[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>[% t('Error saving item') %]</strong>[% t(': Barcode must be unique.') %]</div>[% END %] >+[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>[% t('Error saving items') %]</strong>[% t(': Unable to automatically determine values for barcodes. No item has been inserted.') %]</div>[% END %] >+[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>[% t('Cannot Delete') %]</strong>[% t(': item is checked out.') %]</div>[% END %] >+[% IF ( book_reserved ) %]<div class="dialogalert"><strong>[% t('Cannot Delete') %]</strong>[% t(': item has a waiting hold.') %]</div>[% END %] > > [% IF ( notfoundbarcodes ) %] >- <div class="dialog alert"><p>Warning, the following barcodes were not found:</p></div> >+ <div class="dialog alert"><p>[% t('Warning, the following barcodes were not found:') %]</p></div> > <table style="margin:auto;"> > <thead> >- <tr><th>Barcodes not found</th></tr> >+ <tr><th>[% t('Barcodes not found') %]</th></tr> > </thead> > <tbody> > [% FOREACH notfoundbarcode IN notfoundbarcodes %] >@@ -104,7 +105,7 @@ $(document).ready(function(){ > </table> > [% IF ( item_loop ) %] > [% UNLESS ( too_many_items ) %] >- <h4>The following barcodes were found: </h4> >+ <h4>[% t('The following barcodes were found:') %] </h4> > [% END %] > [% END %] > [% END %] <!-- /notfoundbarcodes --> >@@ -122,12 +123,12 @@ $(document).ready(function(){ > [% IF ( item_loop ) %] > [% IF show %] > <div id="toolbar"> >- <a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" href="#">Clear on loan</a> >+ <a id="selectallbutton" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> | <a id="clearonloanbutton" href="#">[% t('Clear on loan') %]</a> > </div> > [% END %] > <div id="cataloguing_additem_itemlist"> > >-<p id="selections"><strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span> >+<p id="selections"><strong>[% t('Show/hide columns:') %]</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall" /><label for="showall">[% t('Show all columns') %]</label></span> <span><input type="checkbox" id="hideall" /><label for="hideall">[% t('Hide all columns') %]</label></span> > [% FOREACH item_header_loo IN item_header_loop %] > <span class="selected"><input id="checkheader[% loop.count %]" type="checkbox" checked="checked" /> <label for="checkheader[% loop.count %]">[% item_header_loo.header_value %]</label> </span> > [% END %] >@@ -135,8 +136,8 @@ $(document).ready(function(){ > <table id="itemst"> > <thead> > <tr> >- <th> </th> >- <th class="anti-the">Title</th> >+ <th> </th> >+ <th class="anti-the">[% t('Title') %]</th> > [% FOREACH item_header_loo IN item_header_loop %] > <th> [% item_header_loo.header_value %] </th> > [% END %] >@@ -147,14 +148,14 @@ $(document).ready(function(){ > <tr> > [% IF show %] > [% IF item_loo.nomod %] >- <td class="error">Cannot edit</td> >+ <td class="error">[% t('Cannot edit') %]</td> > [% ELSE %] > <td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" data-is-onloan="[% item_loo.onloan %]" /></td> > [% END %] > [% ELSE %] >- <td> </td> >+ <td> </td> > [% END %] >- <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td> >+ <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %][% t(', by') %] [% item_loo.author %][% END %]</label></td> > [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> > [% END %] </tr> > [% END %] >@@ -164,11 +165,11 @@ $(document).ready(function(){ > [% END %]<!-- /item_loop --> > > [% IF ( simple_items_display ) %] >- <p>The following items were modified:</p> >+ <p>[% t('The following items were modified:') %]</p> > <ul> > [% FOREACH simple_items_displa IN simple_items_display %] > <li> >- [% IF ( CAN_user_editcatalogue_edit_items ) %]<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% simple_items_displa.biblionumber %]&itemnumber=[% simple_items_displa.itemnumber %]">[% simple_items_displa.barcode %]</a>[% ELSE %][% simple_items_displa.barcode %][% END %] >+ [% IF ( CAN_user_editcatalogue_edit_items ) %]<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% simple_items_displa.biblionumber %]&itemnumber=[% simple_items_displa.itemnumber %]">[% simple_items_displa.barcode %]</a>[% ELSE %][% simple_items_displa.barcode %][% END %] > </li> > [% END %] > </ul> >@@ -177,7 +178,7 @@ $(document).ready(function(){ > [% IF ( show ) %] > > [% IF ( too_many_items ) %] >- <p>Too many items ([% too_many_items %]): You are not allowed to edit more than [% Koha.Preference('MaxItemsToProcessForBatchMod') %] items in a batch.</p> >+ <p>[% t('Too many items (') %][% too_many_items %][% t('): You are not allowed to edit more than') %] [% Koha.Preference('MaxItemsToProcessForBatchMod') %] [% t('items in a batch.') %]</p> > [% FOREACH itemnumber IN itemnumbers_array %] > <input type="hidden" name="itemnumber" value="[% itemnumber %]" /> > [% END %] >@@ -185,8 +186,8 @@ $(document).ready(function(){ > > [% IF ( item_loop ) %] > <div id="cataloguing_additem_newitem"> >- <h2>Edit Items</h2> >- <div class="hint">Checking the box right next the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div> >+ <h2>[% t('Edit Items') %]</h2> >+ <div class="hint">[% t('Checking the box right next the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.') %]</div> > <fieldset class="rows"> > <ol> > [% FOREACH ite IN item %] >@@ -213,13 +214,13 @@ $(document).ready(function(){ > </select> > [% ELSIF ( mv.type == 'text1' ) %] > <input type="text" tabindex="1" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value -%]" /> >- <a href="#" class="buttonDot" onclick="Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=[%- mv.authtypecode -%]&index=[%- mv.id -%]','[%- mv.id -%]'); return false;" title="Tag editor">...</a> >+ <a href="#" class="buttonDot" onclick="Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=[%- mv.authtypecode -%]&index=[%- mv.id -%]','[%- mv.id -%]'); return false;" title="[% t('Tag editor') %]">...</a> > [% ELSIF ( mv.type == 'text2' ) %] > <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value -%]" /> > [% IF mv.noclick %] >- <a href="#" class="buttonDot disabled" title="No popup">...</a> >+ <a href="#" class="buttonDot disabled" title="[% t('No popup') %]">...</a> > [% ELSE %] >- <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot" title="Tag editor">...</a> >+ <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot" title="[% t('Tag editor') %]">...</a> > [% END %] > [% mv.javascript %] > [% ELSIF ( mv.type == 'text' ) %] >@@ -231,17 +232,17 @@ $(document).ready(function(){ > [%- END -%] > > [% UNLESS ( ite.mandatory ) %] >- <input type="checkbox" id="row[% ite.tag %][% ite.subfield %][% ite.random %]" title="Check to delete subfield [% ite.subfield %]" name="disable_input" value="[% ite.subfield %]" /> >+ <input type="checkbox" id="row[% ite.tag %][% ite.subfield %][% ite.random %]" title="[% t('Check to delete subfield') %] [% ite.subfield %]" name="disable_input" value="[% ite.subfield %]" /> > [% ELSE %] >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > [% END %] > >- <input type="hidden" name="tag" value="[% ite.tag %]" /> >- <input type="hidden" name="subfield" value="[% ite.subfield %]" /> >- <input type="hidden" name="mandatory" value="[% ite.mandatory %]" /> >+ <input type="hidden" name="tag" value="[% ite.tag %]" /> >+ <input type="hidden" name="subfield" value="[% ite.subfield %]" /> >+ <input type="hidden" name="mandatory" value="[% ite.mandatory %]" /> > [% IF ( ite.repeatable ) %] > <a href="#" class="buttonPlus" onclick="CloneItemSubfield(this.parentNode); return false;"> >- <img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> >+ <img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="[% t('Clone') %]" title="[% t('Clone this subfield') %]" /> > </a> > [% END %] > <span class="hint" id="hint[% ite.tag %][% ite.subfield %][% ite.random %]"></span> >@@ -252,24 +253,24 @@ $(document).ready(function(){ > </fieldset> > <fieldset class="action"> > <div id="jobpanel"> >- <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >+ <div id="jobstatus" class="progress_panel">[% t('Job progress:') %] <div id="jobprogress"></div> <span id="jobprogresspercent">[% t('0') %]</span>%</div> > <div id="jobfailed"></div> > </div> > <input type="submit" id="mainformsubmit" value="Save" /> >- <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </div> > [% ELSE %] >- <p><a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p> >+ <p><a href="/cgi-bin/koha/tools/batchMod.pl">[% t('Return to batch item modification') %]</a></p> > [% END %] > [% ELSE %] <!-- // show --> > <fieldset class="action"> > [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] >- <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]"><i class="fa fa-check-square-o"></i> Return to the record</a> >+ <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]"><i class="fa fa-check-square-o"></i> [% t('Return to the record') %]</a> > [% ELSIF src %] >- <a class="btn btn-default" href="[% src %]"><i class="fa fa-check-square-o"></i> Return to where you were</a> >+ <a class="btn btn-default" href="[% src %]"><i class="fa fa-check-square-o"></i> [% t('Return to where you were') %]</a> > [% ELSE %] >- <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a> >+ <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> [% t('Return to batch item modification') %]</a> > [% END %] > </fieldset> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >index 50a7b8ec3d..316a2dd186 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] </title> >+<title>[% t('Koha ⺠Tools âº') %] [% IF ( del ) %][% t('Batch item deletion') %][% ELSE %][% t('Batch item modification') %][% END %] </title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="tools_batchMod" class="tools"> >@@ -9,12 +10,12 @@ > [% 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/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠> [% IF ( del ) %] >- <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">[% t('Batch item deletion') %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a> >+ <a href="/cgi-bin/koha/tools/batchMod.pl">[% t('Batch item modification') %]</a> > [% END %] > </div> > >@@ -22,24 +23,24 @@ > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h1>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h1> >+ <h1>[% t('Batch item') %] [% IF ( del ) %][% t('deletion') %][% ELSE %][% t('modification') %][% END %]</h1> > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl"> > <fieldset class="rows"> >- <legend>Use a file</legend> >+ <legend>[% t('Use a file') %]</legend> > <ol> > <li> >- <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li> >+ <label for="barcode_file">[% t('Barcode file:') %] </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li> > <li> >- <label for="itemid_file">Item number file: </label><input type="radio" name="filecontent" value="itemid_file" id="itemid_file" /> >+ <label for="itemid_file">[% t('Item number file:') %] </label><input type="radio" name="filecontent" value="itemid_file" id="itemid_file" /> > </li> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ <li><label for="uploadfile">[% t('File:') %] </label> <input type="file" id="uploadfile" name="uploadfile" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Or scan items one by one</legend> >+ <legend>[% t('Or scan items one by one') %]</legend> > <ol> > <li> >- <label for="barcodelist">Barcode list (one barcode per line): </label> >+ <label for="barcodelist">[% t('Barcode list (one barcode per line):') %] </label> > <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea> > </li> > </ol> >@@ -48,12 +49,12 @@ > > [% UNLESS del %] > <fieldset class="rows"> >- <legend>Use default values</legend> >+ <legend>[% t('Use default values') %]</legend> > <ol class="radio"> > <li> > <label> > <input type="checkbox" name="use_default_values" id="use_default_values" /> >- Populate fields with default values from default framework >+ [% t('Populate fields with default values from default framework') %] > </label> > </li> > </ol> >@@ -63,7 +64,7 @@ > [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %] > <fieldset class="action"> > <input type="submit" value="Continue" class="button" /> >- <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">[% t('Cancel') %]</a> > </fieldset> > > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >index cd789a9ef5..79c1a47d66 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% PROCESS 'authorities-search-results.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Batch record deletion</title> >+<title>[% t('Koha ⺠Tools ⺠Batch record deletion') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -12,16 +13,16 @@ > [% 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/tools/batch_delete_records.pl">Batch record deletion</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/tools/batch_delete_records.pl">[% t('Batch record deletion') %]</a> > </div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h1>Batch record deletion</h1> >+ <h1>[% t('Batch record deletion') %]</h1> > [% FOREACH message IN messages %] > [% IF message.type == 'success' %] > <div class="dialog message"> >@@ -31,49 +32,49 @@ > <div class="dialog error" style="margin:auto;"> > [% END %] > [% IF message.code == 'biblio_not_exists' %] >- The biblionumber [% message.biblionumber |html %] does not exist in the database. >+ [% t('The biblionumber') %] [% message.biblionumber |html %] [% t('does not exist in the database.') %] > [% ELSIF message.code == 'authority_not_exists' %] >- The authority id [% message.authid |html %] does not exist in the database. >+ [% t('The authority id') %] [% message.authid |html %] [% t('does not exist in the database.') %] > [% ELSIF message.code == 'item_issued' %] >- At least one item is checked out on bibliographic record [% message.biblionumber %]. >+ [% t('At least one item is checked out on bibliographic record') %] [% message.biblionumber %]. > [% ELSIF message.code == 'reserve_not_cancelled' %] >- Bibliographic record [% message.biblionumber %] was not deleted. A hold could not be canceled (reserve_id [% message.reserve_id %]). >+ [% t('Bibliographic record') %] [% message.biblionumber %] [% t('was not deleted. A hold could not be canceled (reserve_id') %] [% message.reserve_id %]). > [% ELSIF message.code == 'item_not_deleted' %] >- The bibliographic record [% message.biblionumber %] was not deleted. An error was encountered when deleting an item (itemnumber [% message.itemnumber %]). >+ [% t('The bibliographic record') %] [% message.biblionumber %] [% t('was not deleted. An error was encountered when deleting an item (itemnumber') %] [% message.itemnumber %]). > [% ELSIF message.code == 'biblio_not_deleted' %] >- Bibliographic record [% message.biblionumber %] was not deleted. An error occurred. >+ [% t('Bibliographic record') %] [% message.biblionumber %] [% t('was not deleted. An error occurred.') %] > [% ELSIF message.code == 'authority_not_deleted' %] >- Authority record [% message.authid %] was not deleted. An error occurred. >+ [% t('Authority record') %] [% message.authid %] [% t('was not deleted. An error occurred.') %] > [% ELSIF message.code == 'biblio_deleted' %] >- Bibliographic record [% message.biblionumber %] has been deleted successfully. >+ [% t('Bibliographic record') %] [% message.biblionumber %] [% t('has been deleted successfully.') %] > [% ELSIF message.code == 'authority_deleted' %] >- Authority [% message.authid %] has been deleted successfully. >+ [% t('Authority') %] [% message.authid %] [% t('has been deleted successfully.') %] > [% END %] > [% IF message.error %] >- (The error was: [% message.error%], see the Koha log file for more information). >+ [% t('(The error was:') %] [% message.error%][% t(', see the Koha log file for more information).') %] > [% END %] > </div> > [% END %] > [% IF op == 'form' %] > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_delete_records.pl"> > <fieldset class="rows"> >- <legend>Record type</legend> >+ <legend>[% t('Record type') %]</legend> > <ol> >- <li><label for="biblio_type">Bibliographic: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li> >- <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> >+ <li><label for="biblio_type">[% t('Bibliographic:') %] </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li> >+ <li><label for="authority_type">[% t('Authorities:') %] </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Use a file</legend> >+ <legend>[% t('Use a file') %]</legend> > <ol> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ <li><label for="uploadfile">[% t('File:') %] </label> <input type="file" id="uploadfile" name="uploadfile" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Or enter a list of record numbers</legend> >+ <legend>[% t('Or enter a list of record numbers') %]</legend> > <ol> > <li> >- <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >+ <label for="recordnumber_list">[% t('List of biblionumbers or authority ids (one per line):') %] </label> > <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> > </li> > </ol> >@@ -81,28 +82,28 @@ > <fieldset class="action"> > <input type="hidden" name="op" value="list" /> > <input type="submit" value="Continue" class="button" /> >- <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">[% t('Cancel') %]</a> > </fieldset> > </form> > [% ELSIF op == 'list' %] > [% IF records %] > [% IF recordtype == 'biblio' %] > <div id="toolbar"> >- <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >- | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >- | <a id="selectwithoutitems" href="#">Select without items</a> >- | <a id="selectnotreserved" href="#">Select without holds</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> >+ | <a id="selectwithoutitems" href="#">[% t('Select without items') %]</a> >+ | <a id="selectnotreserved" href="#">[% t('Select without holds') %]</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords"> > <table id="biblios" class="records"> > <thead> > <tr> > <th></th> >- <th>Biblionumber</th> >- <th>Title</th> >- <th>Items</th> >- <th>Holds</th> >- <th>Checkouts</th> >+ <th>[% t('Biblionumber') %]</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Items') %]</th> >+ <th>[% t('Holds') %]</th> >+ <th>[% t('Checkouts') %]</th> > </tr> > </thead> > <tbody> >@@ -118,21 +119,21 @@ > [% END %] > </tbody> > </table> >- <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!</div> >+ <div class="note"><i class="fa fa-exclamation"></i> [% t('Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!') %]</div> > [% ELSE %] > <div id="toolbar"> >- <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >- | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >- | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> >+ | <a id="clearlinkedtobiblio" href="#">[% t('Clear used authorities') %]</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths"> > <table id="authorities" class="records"> > <thead> > <tr> > <th></th> >- <th>Authid</th> >- <th>Summary</th> >- <th>Used in</th> >+ <th>[% t('Authid') %]</th> >+ <th>[% t('Summary') %]</th> >+ <th>[% t('Used in') %]</th> > </tr> > </thead> > <tbody> >@@ -141,34 +142,34 @@ > <td><input type="checkbox" name="record_id" value="[% authority.authid %]" data-usage="[% authority.count_usage %]" /></td> > <td><a href="/cgi-bin/koha/authorities/detail.pl?authid=[% authority.authid %]">[% authority.authid %]</a></td> > <td>[% PROCESS authresult summary=authority.summary %]</td> >- <td><a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% authority.authid %]">[% authority.count_usage %] record(s)</a></td> >+ <td><a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% authority.authid %]">[% authority.count_usage %] [% t('record(s)') %]</a></td> > </tr> > [% END %] > </tbody> > </table> >- <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will delete all selected authorities!</div> >+ <div class="note"><i class="fa fa-exclamation"></i> [% t('Reminder: this action will delete all selected authorities!') %]</div> > [% END %] > <fieldset class="action"> > <input type="hidden" name="op" value="delete" /> > <input type="hidden" name="recordtype" value="[% recordtype %]" /> > <input type="submit" value="Delete selected records" class="button" /> >- <a class="cancel" href="/cgi-bin/koha/tools/batch_delete_records.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/batch_delete_records.pl">[% t('Cancel') %]</a> > </fieldset> > </form> > [% ELSE %] >- There are no record ids defined. >+ [% t('There are no record ids defined.') %] > [% END %] > [% ELSIF op == 'report' %] > [% IF report.total_records == report.total_success %] >- All records have been deleted successfully! >+ [% t('All records have been deleted successfully!') %] > [% ELSIF report.total_success == 0 %] >- No record has been deleted. An error occurred. >+ [% t('No record has been deleted. An error occurred.') %] > [% ELSE %] >- [% report.total_success %] / [% report.total_records %] records have been deleted successfully but some errors occurred. >+ [% report.total_success %] / [% report.total_records %] [% t('records have been deleted successfully but some errors occurred.') %] > [% END %] >- <p><a href="/cgi-bin/koha/tools/batch_delete_records.pl" title="New batch record deletion">New batch record deletion</a></p> >+ <p><a href="/cgi-bin/koha/tools/batch_delete_records.pl" title="[% t('New batch record deletion') %]">[% t('New batch record deletion') %]</a></p> > [% ELSE %] >- No action defined for the template. >+ [% t('No action defined for the template.') %] > [% END %] > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >index a1d5d7535c..f50b67cfb3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% PROCESS 'authorities-search-results.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Batch record modification</title> >+<title>[% t('Koha ⺠Tools ⺠Batch record modification') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -12,16 +13,16 @@ > [% 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/tools/batch_record_modification.pl">Batch record modification</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/tools/batch_record_modification.pl">[% t('Batch record modification') %]</a> > </div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h1>Batch record modification</h1> >+ <h1>[% t('Batch record modification') %]</h1> > > [% IF ( messages ) %] > <div class="dialog message"> >@@ -35,22 +36,22 @@ > <div><i class="fa fa-exclamation error"></i> > [% END %] > [% IF message.code == 'no_action_defined_for_the_template' %] >- The selected template (id=[% message.mmtid%]) does not exist or no action is defined. >+ [% t('The selected template (id=') %][% message.mmtid%][% t(') does not exist or no action is defined.') %] > [% ELSIF message.code == 'biblio_not_exists' %] >- Bibliographic record [% message.biblionumber %] does not exist in the database. >+ [% t('Bibliographic record') %] [% message.biblionumber %] [% t('does not exist in the database.') %] > [% ELSIF message.code == 'authority_not_exists' %] >- Authority record [% message.authid %] does not exist in the database. >+ [% t('Authority record') %] [% message.authid %] [% t('does not exist in the database.') %] > [% ELSIF message.code == 'biblio_not_modified' %] >- Bibliographic record <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> has not been modified. An error occurred on modifying it. >+ [% t('Bibliographic record') %] <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> [% t('has not been modified. An error occurred on modifying it.') %] > [% ELSIF message.code == 'authority_not_modified' %] >- Authority record <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> has not been modified. An error occurred on modifying it. >+ [% t('Authority record') %] <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> [% t('has not been modified. An error occurred on modifying it.') %] > [% ELSIF message.code == 'biblio_modified' %] >- Bibliographic record <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> has successfully been modified. >+ [% t('Bibliographic record') %] <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% message.biblionumber %]">[% message.biblionumber %]</a> [% t('has successfully been modified.') %] > [% ELSIF message.code == 'authority_modified' %] >- Bibliographic record <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> has successfully been modified. >+ [% t('Bibliographic record') %] <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% message.authid %]">[% message.authid %]</a> [% t('has successfully been modified.') %] > [% END %] > [% IF message.error %] >- (The error was: [% message.error%]. See the Koha logfile for more information). >+ [% t('(The error was:') %] [% message.error%][% t('. See the Koha logfile for more information).') %] > [% END %] > </div> > [% END %] >@@ -61,34 +62,34 @@ > [% IF view == 'form' %] > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_record_modification.pl"> > <fieldset class="rows"> >- <legend>Record type</legend> >+ <legend>[% t('Record type') %]</legend> > <ol> >- <li><label for="biblio_type">Biblios: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li> >- <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> >+ <li><label for="biblio_type">[% t('Biblios:') %] </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li> >+ <li><label for="authority_type">[% t('Authorities:') %] </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Use a file</legend> >+ <legend>[% t('Use a file') %]</legend> > <ol> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ <li><label for="uploadfile">[% t('File:') %] </label> <input type="file" id="uploadfile" name="uploadfile" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Or enter a list of record numbers</legend> >+ <legend>[% t('Or enter a list of record numbers') %]</legend> > <ol> > <li> >- <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >+ <label for="recordnumber_list">[% t('List of biblionumbers or authority ids (one per line):') %] </label> > <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> > </li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Use MARC Modification Template:</legend> >+ <legend>[% t('Use MARC Modification Template:') %]</legend> > <ol> > <li> >- <label for="marc_modification_template_id" class="required">Modify record using the following template: </label> >+ <label for="marc_modification_template_id" class="required">[% t('Modify record using the following template:') %] </label> > <select name="marc_modification_template_id" id="marc_modification_template_id" required="required"> >- <option value="">Select a template</option> >+ <option value="">[% t('Select a template') %]</option> > [% FOREACH mmt IN MarcModificationTemplatesLoop %] > <option value="[% mmt.template_id %]">[% mmt.name %]</option> > [% END %] >@@ -99,15 +100,15 @@ > <fieldset class="action"> > <input type="hidden" name="op" value="list" /> > <input type="submit" value="Continue" class="button" /> >- <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">[% t('Cancel') %]</a> > </fieldset> > </form> > [% ELSIF view == 'list' %] > [% IF records %] > <form action="/cgi-bin/koha/tools/batch_record_modification.pl" method="post" id="process"> >- <label for="marc_modification_template_id" class="required">Modify record using the following template: </label> >+ <label for="marc_modification_template_id" class="required">[% t('Modify record using the following template:') %] </label> > <select name="marc_modification_template_id" id="marc_modification_template_id" required="required"> >- <option value="">Select a template</option> >+ <option value="">[% t('Select a template') %]</option> > [% FOREACH mmt IN MarcModificationTemplatesLoop %] > [% IF mmt.selected %] > <option value="[% mmt.template_id %]" selected="selected">[% mmt.name %]</option> >@@ -121,29 +122,29 @@ > <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/loading-small.gif" alt="" /> Loading </div> >+ <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-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> > </div> > [% IF recordtype == 'biblio' %] > <div id="toolbar"> >- <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >- | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> > </div> > <table id="biblios" class="records"> > <thead> > <tr> >- <th> </th> >- <th>Biblionumber</th> >- <th>Title</th> >- <th> </th> >+ <th> </th> >+ <th>[% t('Biblionumber') %]</th> >+ <th>[% t('Title') %]</th> >+ <th> </th> > </tr> > </thead> > <tbody> >@@ -153,25 +154,25 @@ > <td>[% biblio.biblionumber %]</td> > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title %]</a></td> > <td class="actions"> >- <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber %]&mmtid=[% mmtid %]" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber %]" data-mmtid="[% mmtid %]" title="Preview MARC"><i class="fa fa-eye"></i> Show MARC</a> >+ <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber %]&mmtid=[% mmtid %]" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber %]" data-mmtid="[% mmtid %]" title="[% t('Preview MARC') %]"><i class="fa fa-eye"></i> [% t('Show MARC') %]</a> > </td> > </tr> > [% END %] > </tbody> > </table> >- <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div> >+ <div class="note"><i class="fa fa-exclamation"></i> [% t('Reminder: this action will modify all selected biblios!') %]</div> > [% ELSE %] > <div id="toolbar"> >- <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >- | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a> > </div> > <table id="authorities" class="records"> > <thead> > <tr> > <th></th> >- <th>Authid</th> >- <th>Summary</th> >- <th> </th> >+ <th>[% t('Authid') %]</th> >+ <th>[% t('Summary') %]</th> >+ <th> </th> > </tr> > </thead> > <tbody> >@@ -180,12 +181,12 @@ > <td><input type="checkbox" name="record_id" value="[% authority.authid %]" data-usage="[% authority.count_usage %]" /></td> > <td><a href="/cgi-bin/koha/authorities/detail.pl?authid=[% authority.authid %]">[% authority.authid %]</a></td> > <td>[% PROCESS authresult summary=authority.summary %]</td> >- <td class="actions"><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid %]&mmtid=[% mmtid %]" data-record_type="authority" data-record_id="[% authority.authid %]" data-mmtid="[% mmtid %]" class="previewMARC btn btn-default btn-xs"><i class='fa fa-eye'></i> Show MARC</a> >+ <td class="actions"><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid %]&mmtid=[% mmtid %]" data-record_type="authority" data-record_id="[% authority.authid %]" data-mmtid="[% mmtid %]" class="previewMARC btn btn-default btn-xs"><i class="fa fa-eye"></i> [% t('Show MARC') %]</a> > </tr> > [% END %] > </tbody> > </table> >- <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected authorities!</div> >+ <div class="note"><i class="fa fa-exclamation"></i> [% t('Reminder: this action will modify all selected authorities!') %]</div> > [% END %] > <fieldset class="action"> > <input type="hidden" name="op" value="modify" /> >@@ -193,39 +194,39 @@ > <input type="button" id="mainformsubmit" value="Modify selected records" class="button" /> > <input type="hidden" name="runinbackground" id="runinbackground" value="" /> > <input type="hidden" name="completedJobID" id="completedJobID" value="" /> >- <a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">[% t('Cancel') %]</a> > </fieldset> > <div id="jobpanel"> >- <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >+ <div id="jobstatus" class="progress_panel">[% t('Job progress:') %] <div id="jobprogress"></div> <span id="jobprogresspercent">[% t('0') %]</span>%</div> > <div id="jobfailed"></div> > </div> > </form> > [% ELSE %] > <div class="dialog message"> >- No records were modified. <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a> >+ [% t('No records were modified.') %] <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="[% t('New batch record modification') %]">[% t('New batch record modification') %]</a> > </div> > [% END %] > [% ELSIF view == 'report' %] > [% IF report.total_records == report.total_success %] > <div class="dialog message"> >- All records have successfully been modified! <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a> >+ [% t('All records have successfully been modified!') %] <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="[% t('New batch record modification') %]">[% t('New batch record modification') %]</a> > </div> > [% ELSE %] > <div class="dialog message"> >- [% report.total_success %] / [% report.total_records %] records have successfully been modified. Some errors occurred. <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a> >+ [% report.total_success %] / [% report.total_records %] [% t('records have successfully been modified. Some errors occurred.') %] <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="[% t('New batch record modification') %]">[% t('New batch record modification') %]</a> > </div> > [% END %] > [% ELSIF view == 'errors' %] > [% FOR error IN errors %] > [% IF error == 'no_template_defined' %] > <div class="dialog alert"> >- No MARC modification template is defined. You have <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">to create</a> at least one template for using this tool. >+ [% t('No MARC modification template is defined. You have') %] <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">[% t('to create') %]</a> [% t('at least one template for using this tool.') %] > </div> > [% END %] > [% END %] > [% ELSE %] > <div class="dialog alert"> >- No action defined for the template. >+ [% t('No action defined for the template.') %] > </div> > [% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt >index 271a78d4ec..d3f0074e41 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.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 › Tools › Batch patron deletion/anonymization [% IF step == 2 %]› Confirm[% END %][% IF step == 3 %]› Finished[% END %]</title> >+<title>[% t('Koha ⺠Tools ⺠Batch patron deletion/anonymization') %] [% IF step == 2 %][% t('⺠Confirm') %][% END %][% IF step == 3 %][% t('⺠Finished') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -13,15 +14,15 @@ > [% 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/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠> [% IF step == 1 %] >- Batch patron deletion/anonymization >+ [% t('Batch patron deletion/anonymization') %] > [% ELSE %] >- <a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion/anonymization</a> › >+ <a href="/cgi-bin/koha/tools/cleanborrowers.pl">[% t('Batch patron deletion/anonymization') %]</a> ⺠> [% END %] >- [% IF step == 2 %] Confirm [% END %] >- [% IF step == 3 %] Finished [% END %] >+ [% IF step == 2 %] [% t('Confirm') %] [% END %] >+ [% IF step == 3 %] [% t('Finished') %] [% END %] > </div> > > <div id="doc3" class="yui-t2"> >@@ -31,9 +32,9 @@ > <div class="yui-b"> > [% IF !OnlyMine %] > <form method="get" action="/cgi-bin/koha/tools/cleanborrowers.pl" id="selectlibrary"> >- Select a library : >+ [% t('Select a library :') %] > <select name="branch" id="branch" style="width:20em;"> >- <option value="*">All libraries</option> >+ <option value="*">[% t('All libraries') %]</option> > [% FOREACH branch IN Branches.all( selected => current_branch ) %] > [% IF branch.selected %] > <option value="[% branch.branchcode %]" selected="selected">[% branch.branchname %]</option> >@@ -44,49 +45,49 @@ > </select> > </form> > [% IF current_branch == '*' %] >- <h1>Batch patron deletion/anonymization</h1> >+ <h1>[% t('Batch patron deletion/anonymization') %]</h1> > [% ELSE %] >- <h1>Batch patron deletion/anonymization for [% Branches.GetName( current_branch ) %]</h1> >+ <h1>[% t('Batch patron deletion/anonymization for') %] [% Branches.GetName( current_branch ) %]</h1> > [% END %] > [% ELSE %] >- <h1>Batch patron deletion/anonymization for [% Branches.GetName( Branches.GetLoggedInBranchcode ) %]</h1> >+ <h1>[% t('Batch patron deletion/anonymization for') %] [% Branches.GetName( Branches.GetLoggedInBranchcode ) %]</h1> > [% END %] > > [% IF step == 1 %] > <!-- step 1 START --> > > <div class="help"> >- <p>This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.</p> >+ <p>[% t('This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.') %]</p> > </div> > <div id="step1"> > <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post"> > <fieldset> >- <legend>Delete patrons</legend> >- <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label></h3> >+ <legend>[% t('Delete patrons') %]</legend> >+ <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> [% t('Verify you want to delete patrons') %]</label></h3> > <br /> >- <h5>Delete patrons who meet the following criteria:</h5> >+ <h5>[% t('Delete patrons who meet the following criteria:') %]</h5> > <ul> > <li> >- <label for="date1">who have not borrowed since:</label> >+ <label for="date1">[% t('who have not borrowed since:') %]</label> > <input size="10" id="date1" name="not_borrowed_since" type="text" class="datepicker" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </li> > <li> >- <label for="borrower_dateexpiry">whose expiration date is before:</label> >+ <label for="borrower_dateexpiry">[% t('whose expiration date is before:') %]</label> > <input size="10" id="borrower_dateexpiry" name="borrower_dateexpiry" type="text" class="datepicker" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </li> > [% IF Koha.Preference('TrackLastPatronActivity') %] > <li> >- <label for="borrower_lastseen">who have not been connected since:</label> >+ <label for="borrower_lastseen">[% t('who have not been connected since:') %]</label> > <input size="10" id="borrower_lastseen" name="borrower_lastseen" type="text" class="datepicker" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </li> > [% END %] > <li> >- <label for="borrower_categorycode">whose patron category is:</label> >+ <label for="borrower_categorycode">[% t('whose patron category is:') %]</label> > <select id="borrower_categorycode" name="borrower_categorycode"> >- <option value="" selected="selected">Any</option> >+ <option value="" selected="selected">[% t('Any') %]</option> > [% FOREACH bc IN borrower_categorycodes %] > [% UNLESS bc.category_type == 'S' %] > <option value="[% bc.categorycode %]">[% bc.description %]</option> >@@ -96,7 +97,7 @@ > </li> > [% IF patron_lists %] > <li> >- <label for="patron_list_id">who are in patron list: </label> >+ <label for="patron_list_id">[% t('who are in patron list:') %] </label> > <select id="patron_list_id" name="patron_list_id"> > <option value=""></option> > [% FOREACH pl IN patron_lists %] >@@ -109,15 +110,15 @@ > </fieldset> > > <fieldset> >- <legend>Anonymize checkout history</legend> >+ <legend>[% t('Anonymize checkout history') %]</legend> > [% UNLESS Koha.Preference('AnonymousPatron') %] >- <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div> >+ <div class="dialog message">[% t('The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.') %]</div> > [% END %] >- <h3><input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label></h3> >+ <h3><input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> [% t('Verify you want to anonymize patron checkout history') %]</label></h3> > <br /> > <ul> > <li> >- <label for="date2">Permanently delete checkout history older than</label> >+ <label for="date2">[% t('Permanently delete checkout history older than') %]</label> > <input size="10" id="date2" name="last_issue_date" type="text" class="datepicker" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > </li> >@@ -127,7 +128,7 @@ > <input type="hidden" name="step" value="2" /> > <input type="hidden" name="branch" value="[% current_branch %]" /> > </fieldset> >- <fieldset class="action"><input type="submit" value="Next >>" /></fieldset> >+ <fieldset class="action"><input type="submit" value="Next >>" /></fieldset> > </form> > </div> > <!-- step 1 END --> >@@ -138,28 +139,28 @@ > <div id="step2"> > <form name="f2" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post"> > <fieldset> >- <legend>Warnings</legend> >+ <legend>[% t('Warnings') %]</legend> > <ul> >- <li>[% patrons_to_delete.size || 0 %] patrons will be deleted</li> >- <li>[% patrons_to_anonymize.count || 0 %] patron's checkout histories will be anonymized</li> >+ <li>[% patrons_to_delete.size || 0 %] [% t('patrons will be deleted') %]</li> >+ <li>[% patrons_to_anonymize.count || 0 %] [% t('patron\'s checkout histories will be anonymized') %]</li> > </ul> > > <br /> > [% IF patrons_to_delete.size %] >- <fieldset><legend>What do you want to do for deleted patrons?</legend> >+ <fieldset><legend>[% t('What do you want to do for deleted patrons?') %]</legend> > <input id="delete" type="radio" name="radio" value="delete" /> >- <label for="delete">Permanently delete these patrons</label> >+ <label for="delete">[% t('Permanently delete these patrons') %]</label> > > <br /><input id="trash" type="radio" name="radio" value="trash" /> >- <label for="trash">Move these patrons to the trash</label> >+ <label for="trash">[% t('Move these patrons to the trash') %]</label> > > <br /><input id="testrun" type="radio" name="radio" value="testrun" checked="checked" /> >- <label for="testrun">Do not remove any patrons (test run)</label> >+ <label for="testrun">[% t('Do not remove any patrons (test run)') %]</label> > <input type="hidden" name="do_delete" value="[% patrons_to_delete.size %]" /></fieldset> > > [% END %] > [% IF patrons_to_anonymize.count %] >- Checkout history for [% patrons_to_anonymize.count %] patrons will be anonymized >+ [% t('Checkout history for') %] [% patrons_to_anonymize.count %] [% t('patrons will be anonymized') %] > <input type="hidden" name="do_anonym" value="[% patrons_to_anonymize.count %]" /> > [% END %] > >@@ -174,7 +175,7 @@ > <input type="hidden" name="patron_list_id" value="[% patron_list_id %]" /> > <input type="hidden" name="branch" value="[% current_branch %]" /> > </fieldset> >- <fieldset class="action"><input type="submit" value="Finish" /> <a class="cancel" href="/cgi-bin/koha/tools/cleanborrowers.pl">Cancel</a></fieldset> >+ <fieldset class="action"><input type="submit" value="Finish" /> <a class="cancel" href="/cgi-bin/koha/tools/cleanborrowers.pl">[% t('Cancel') %]</a></fieldset> > </form> > </div> > <!-- STEP 2 END --> >@@ -185,23 +186,23 @@ > > <div id="step3"> > [% IF ( testrun ) %] >- <h4>[% TotalDel %] patrons would have been removed (if it wasn't a test run)</h4> >- <h4>No patron records have been actually removed</h4> >+ <h4>[% TotalDel %] [% t('patrons would have been removed (if it wasn\'t a test run)') %]</h4> >+ <h4>[% t('No patron records have been actually removed') %]</h4> > [% ELSE %] > [% IF ( do_delete ) %] > [% IF ( trash ) %] >- <h4>[% TotalDel %] patrons have been successfully moved to trash</h4> >+ <h4>[% TotalDel %] [% t('patrons have been successfully moved to trash') %]</h4> > [% ELSE %] >- <h4>[% TotalDel %] patrons have been successfully deleted</h4> >+ <h4>[% TotalDel %] [% t('patrons have been successfully deleted') %]</h4> > [% END %] > [% ELSE %] >- <h4>No patron records have been removed</h4> >+ <h4>[% t('No patron records have been removed') %]</h4> > [% END %] > [% END %] > [% IF do_anonym %] >- <h4>All checkouts ([% do_anonym %]) older than [% last_issue_date | $KohaDates %] have been anonymized</h4> >+ <h4>[% t('All checkouts (') %][% do_anonym %][% t(') older than') %] [% last_issue_date | $KohaDates %] [% t('have been anonymized') %]</h4> > [% ELSE %] >- <h4>No patron records have been anonymized</h4> >+ <h4>[% t('No patron records have been anonymized') %]</h4> > [% END %] > > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >index 9856dec628..6ccc0a4cdb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › CSV export profiles</title> >+<title>[% t('Koha ⺠Tools ⺠CSV export profiles') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -10,9 +11,9 @@ > [% 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> >- › CSV export profiles >+ <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> >+ ⺠<a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> >+ [% t('⺠CSV export profiles') %] > </div> > > <div id="doc3" class="yui-t2"> >@@ -24,19 +25,19 @@ > <div class="dialog [% m.type %]"> > [% SWITCH m.code %] > [% CASE 'error_on_update' %] >- An error occurred when updating this CSV profile. Perhaps it already exists. >+ [% t('An error occurred when updating this CSV profile. Perhaps it already exists.') %] > [% CASE 'error_on_insert' %] >- An error occurred when adding this CSV profile. >+ [% t('An error occurred when adding this CSV profile.') %] > [% CASE 'error_on_delete' %] >- An error occurred when deleting this CSV profile. Check the logs. >+ [% t('An error occurred when deleting this CSV profile. Check the logs.') %] > [% CASE 'success_on_update' %] >- CSV profile updated successfully. >+ [% t('CSV profile updated successfully.') %] > [% CASE 'success_on_insert' %] >- CSV profile added successfully. >+ [% t('CSV profile added successfully.') %] > [% CASE 'success_on_delete' %] >- CSV profile deleted successfully. >+ [% t('CSV profile deleted successfully.') %] > [% CASE 'already_exists' %] >- This CSV profile already exists. >+ [% t('This CSV profile already exists.') %] > [% CASE %] > [% m.code %] > [% END %] >@@ -45,63 +46,63 @@ > > [% BLOCK list_separator_options %] > [% IF selected_separator == ',' %] >- <option value="," selected="selected">Comma (,)</option> >+ <option value="," selected="selected">[% t('Comma (,)') %]</option> > [% ELSE %] >- <option value=",">Comma (,)</option> >+ <option value=",">[% t('Comma (,)') %]</option> > [% END %] > [% IF selected_separator == '|' %] >- <option value="|" selected="selected">Pipe (|)</option> >+ <option value="|" selected="selected">[% t('Pipe (|)') %]</option> > [% ELSE %] >- <option value="|">Pipe (|)</option> >+ <option value="|">[% t('Pipe (|)') %]</option> > [% END %] > [% IF selected_separator == ';' %] >- <option value=";" selected="selected">Semi-colon (;)</option> >+ <option value=";" selected="selected">[% t('Semi-colon (;)') %]</option> > [% ELSE %] >- <option value=";">Semi-colon (;)</option> >+ <option value=";">[% t('Semi-colon (;)') %]</option> > [% END %] > [% IF selected_separator == '#' %] >- <option value="#" selected="selected">Sharp (#)</option> >+ <option value="#" selected="selected">[% t('Sharp (#)') %]</option> > [% ELSE %] >- <option value="#">Sharp (#)</option> >+ <option value="#">[% t('Sharp (#)') %]</option> > [% END %] > [% IF selected_separator == ' ' %] >- <option value=" " selected="selected">Space ( )</option> >+ <option value=" " selected="selected">[% t('Space ( )') %]</option> > [% ELSE %] >- <option value=" ">Space ( )</option> >+ <option value=" ">[% t('Space ( )') %]</option> > [% END %] > [% IF selected_separator == '\t' %] >- <option value="\t" selected="selected">Tabulation (\t)</option> >+ <option value="\t" selected="selected">[% t('Tabulation (\t)') %]</option> > [% ELSE %] >- <option value="\t">Tabulation (\t)</option> >+ <option value="\t">[% t('Tabulation (\t)') %]</option> > [% END %] > [% IF selected_separator == '\n' %] >- <option value="\n" selected="selected">New line (\n)</option> >+ <option value="\n" selected="selected">[% t('New line (\n)') %]</option> > [% ELSE %] >- <option value="\n">New line (\n)</option> >+ <option value="\n">[% t('New line (\n)') %]</option> > [% END %] > [% END %] > > [% BLOCK type_description %] >- [% IF type_code == 'marc' %] MARC >- [% ELSIF type_code == 'sql' %] SQL >- [% ELSE %] Unknown type >+ [% IF type_code == 'marc' %] [% t('MARC') %] >+ [% ELSIF type_code == 'sql' %] [% t('SQL') %] >+ [% ELSE %] [% t('Unknown type') %] > [% END %] > [% END %] > > [% BLOCK used_for_description %] >- [% IF used_for_code == 'export_records' %] Export records >- [% ELSIF used_for_code == 'late_issues' %] Late serial issues claims >- [% ELSIF used_for_code == 'export_basket' %] Basket export in acquisition >- [% ELSIF used_for_code == 'export_lost_items' %] Export lost items in report >- [% ELSE %] Unknown usage >+ [% IF used_for_code == 'export_records' %] [% t('Export records') %] >+ [% ELSIF used_for_code == 'late_issues' %] [% t('Late serial issues claims') %] >+ [% ELSIF used_for_code == 'export_basket' %] [% t('Basket export in acquisition') %] >+ [% ELSIF used_for_code == 'export_lost_items' %] [% t('Export lost items in report') %] >+ [% ELSE %] [% t('Unknown usage') %] > [% END %] > [% END %] > > [% IF op == 'add_form' %] > [% IF csv_profile %] >- <h1>Modify a CSV profile</h1> >+ <h1>[% t('Modify a CSV profile') %]</h1> > [% ELSE %] >- <h1>New CSV profile</h1> >+ <h1>[% t('New CSV profile') %]</h1> > [% END %] > > <form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post"> >@@ -110,15 +111,15 @@ > <fieldset class="rows"> > <ol> > [% IF csv_profile %] >- <li><span class="label">Profile ID: </span>[% csv_profile.export_format_id %]</li> >+ <li><span class="label">[% t('Profile ID:') %] </span>[% csv_profile.export_format_id %]</li> > [% END %] > <li> >- <label for="profile" class="required">Profile name: </label> >+ <label for="profile" class="required">[% t('Profile name:') %] </label> > <input type="text" name="profile" id="profile" value="[% csv_profile.profile | html %]" class="required"> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="type" class="required">Profile type: </label> >+ <label for="type" class="required">[% t('Profile type:') %] </label> > <select id="type" name="type"> > [% FOREACH type IN [ 'marc' 'sql'] %] > [% IF csv_profile.type == type %] >@@ -128,10 +129,10 @@ > [% END %] > [% END %] > </select> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li class="sql_specific"> >- <label for="used_for_sql">Usage: </label> >+ <label for="used_for_sql">[% t('Usage:') %] </label> > <select id="used_for_sql" name="used_for_sql"> > [% FOREACH used_for IN [ 'late_issues' 'export_basket' 'export_lost_items' ] %] > [% IF csv_profile.used_for == used_for %] >@@ -143,7 +144,7 @@ > </select> > </li> > <li class="marc_specific"> >- <label for="used_for_marc">Usage: </label> >+ <label for="used_for_marc">[% t('Usage:') %] </label> > <select id="used_for_marc" name="used_for_marc"> > [% FOREACH used_for IN [ 'export_records' ] %] > [% IF csv_profile.used_for == used_for %] >@@ -155,30 +156,30 @@ > </select> > </li> > <li> >- <label for="description">Profile description: </label> >+ <label for="description">[% t('Profile description:') %] </label> > <textarea cols="50" rows="2" name="description" id="description">[% csv_profile.description | html %]</textarea> > </li> > <li> >- <label for="csv_separator">CSV separator: </label> >+ <label for="csv_separator">[% t('CSV separator:') %] </label> > <select name="csv_separator" id="csv_separator"> > [% PROCESS list_separator_options selected_separator=csv_profile.csv_separator || ',' %] > </select> > </li> > > <li class="marc_specific"> >- <label for="field_separator">Field separator: </label> >+ <label for="field_separator">[% t('Field separator:') %] </label> > <select name="field_separator" id="field_separator"> > [% PROCESS list_separator_options selected_separator=csv_profile.field_separator || '#' %] > </select> > </li> > >- <li class="marc_specific"><label for="subfield_separator">Subfield separator: </label> >+ <li class="marc_specific"><label for="subfield_separator">[% t('Subfield separator:') %] </label> > <select name="subfield_separator" id="subfield_separator"> > [% PROCESS list_separator_options selected_separator=csv_profile.subfield_separator || '|'%] > </select> > </li> > >- <li class="marc_specific"><label for="encoding">Encoding: </label> >+ <li class="marc_specific"><label for="encoding">[% t('Encoding:') %] </label> > <select name="encoding" id="encoding"> > [% FOREACH encoding IN encodings %] > [% IF csv_profile.encoding == encoding OR NOT csv_profile AND encoding == 'utf8' %] >@@ -191,29 +192,29 @@ > </li> > > <li class="marc_specific"> >- <label for="marc_content" class="required">Profile MARC fields: </label> >+ <label for="marc_content" class="required">[% t('Profile MARC fields:') %] </label> > <textarea cols="50" rows="2" name="marc_content" id="marc_content">[% csv_profile.content %]</textarea> >- <span class="required">Required</span> >- <p>You have to define which fields or subfields you want to export, separated by pipes.</p> >- <p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p> >- <p>Example: Personal name=200|Entry element=210$a|300|009</p> >- <p>You can use Template Toolkit tags too. See the help page for more information.</p> >+ <span class="required">[% t('Required') %]</span> >+ <p>[% t('You have to define which fields or subfields you want to export, separated by pipes.') %]</p> >+ <p>[% t('You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.') %]</p> >+ <p>[% t('Example: Personal name=200|Entry element=210$a|300|009') %]</p> >+ <p>[% t('You can use Template Toolkit tags too. See the help page for more information.') %]</p> > </li> > > <li class="sql_specific"> >- <label for="late_issues_content" class="required">Profile SQL fields: </label> >+ <label for="late_issues_content" class="required">[% t('Profile SQL fields:') %] </label> > <textarea cols="50" rows="2" name="sql_content" id="sql_content">[% csv_profile.content %]</textarea> >- <p>You have to define which fields you want to export, separated by pipes.</p> >- <p>You can also use your own headers (instead of the ones from Koha) by prefixing the field name with an header, followed by the equal sign.</p> >- <p>Example: Name=subscription.name|Title=subscription.title|Issue number=serial.serialseq</p> >- <p>For late issues claims you can use data from following tables: serial, subscription, biblio, biblioitems and aqbookseller.</p> >- <p>For basket exports you can use data from following tables: biblio, biblioitems, aqorders, aqbudgets and aqbasket.</p> >+ <p>[% t('You have to define which fields you want to export, separated by pipes.') %]</p> >+ <p>[% t('You can also use your own headers (instead of the ones from Koha) by prefixing the field name with an header, followed by the equal sign.') %]</p> >+ <p>[% t('Example: Name=subscription.name|Title=subscription.title|Issue number=serial.serialseq') %]</p> >+ <p>[% t('For late issues claims you can use data from following tables: serial, subscription, biblio, biblioitems and aqbookseller.') %]</p> >+ <p>[% t('For basket exports you can use data from following tables: biblio, biblioitems, aqorders, aqbudgets and aqbasket.') %]</p> > </li> > </ol> > </fieldset> > <fieldset class="action"> > <input type="submit" value="Submit" /> >- <a class="cancel" href="/cgi-bin/koha/tools/csv-profiles.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/csv-profiles.pl">[% t('Cancel') %]</a> > </fieldset> > </form> > [% END %] >@@ -221,7 +222,7 @@ > [% IF op == 'delete_confirm' %] > <div class="dialog alert"> > [% IF csv_profile %] >- <h3>Delete CSV Profile "[% csv_profile.profile | html %]?"</h3> >+ <h3>[% t('Delete CSV Profile "') %][% csv_profile.profile | html %]?"</h3> > <form action="/cgi-bin/koha/tools/csv-profiles.pl" method="post"> > <input type="hidden" name="op" value="delete_confirmed" /> > <input type="hidden" name="export_format_id" value="[% csv_profile.export_format_id %]" /> >@@ -231,7 +232,7 @@ > <input type="submit" class="deny" value="No, do not Delete" /> > </form> > [% ELSE %] >- This CSV Profile does not exist. >+ [% t('This CSV Profile does not exist.') %] > [% END %] > </div> > [% END %] >@@ -239,22 +240,22 @@ > [% IF op == 'list' %] > > <div id="toolbar" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" id="newcsvprofile" href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form"><i class="fa fa-plus"></i> New CSV profile</a> >+ <a class="btn btn-default btn-sm" id="newcsvprofile" href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form"><i class="fa fa-plus"></i> [% t('New CSV profile') %]</a> > </div> > >- <h2>CSV profiles</h2> >+ <h2>[% t('CSV profiles') %]</h2> > > [% IF csv_profiles %] > <table id="table_csv_profiles"> > <thead> >- <th>CSV profile ID</th> >- <th>Name</th> >- <th>Description</th> >- <th>Content</th> >- <th>CSV separator</th> >- <th>CSV type</th> >- <th>Usage</th> >- <th>Actions</th> >+ <th>[% t('CSV profile ID') %]</th> >+ <th>[% t('Name') %]</th> >+ <th>[% t('Description') %]</th> >+ <th>[% t('Content') %]</th> >+ <th>[% t('CSV separator') %]</th> >+ <th>[% t('CSV type') %]</th> >+ <th>[% t('Usage') %]</th> >+ <th>[% t('Actions') %]</th> > </thead> > <tbody> > [% FOREACH csv_profile IN csv_profiles %] >@@ -267,15 +268,15 @@ > <td>[% PROCESS type_description type_code = csv_profile.type %]</td> > <td>[% PROCESS used_for_description used_for_code = csv_profile.used_for %]</td> > <td class="actions"> >- <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> >- <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a> >+ <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> >+ <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> [% t('Delete') %]</a> > </td> > </tr> > [% END %] > </tbody> > </table> > [% ELSE %] >- There is no CSV profile defined. <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form">Create a new CSV profile</a>. >+ [% t('There is no CSV profile defined.') %] <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form">[% t('Create a new CSV profile') %]</a>. > [% END %] > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >index 6d09067bcf..69781c481a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Export data</title> >+<title>[% t('Koha ⺠Tools ⺠Export data') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > fieldset.rows fieldset.rows { >@@ -15,7 +16,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/tools/tools-home.pl">Tools</a> › Export data</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('⺠Export data') %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -26,7 +27,7 @@ > [% FOR m IN messages %] > <div class="dialog [% m.type %]"> > [% SWITCH m.code %] >- [% CASE 'invalid_mimetype' %]The file used does not have a valid format. Only csv and txt are allowed. >+ [% CASE 'invalid_mimetype' %][% t('The file used does not have a valid format. Only csv and txt are allowed.') %] > [% CASE %][% m.code %] > [% END %] > </div> >@@ -34,37 +35,37 @@ > > <div id="exporttype" class="toptabs"> > <ul> >-<li><a href="#bibs">Export bibliographic records</a></li> >-<li><a href="#auths">Export authority records</a></li> >+<li><a href="#bibs">[% t('Export bibliographic records') %]</a></li> >+<li><a href="#auths">[% t('Export authority records') %]</a></li> > [% IF ( allow_db_export ) %] >-<li><a href="#db">Export database</a></li> >+<li><a href="#db">[% t('Export database') %]</a></li> > [% END %] > [% IF ( allow_conf_export ) %] >-<li><a href="#conf">Export configuration</a></li> >+<li><a href="#conf">[% t('Export configuration') %]</a></li> > [% END %] > </ul> > <div id="bibs"> > <p> >- <b>Note : The items are exported by this tool unless specified.</b> >+ <b>[% t('Note : The items are exported by this tool unless specified.') %]</b> > </p> > > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl"> > <fieldset class="rows"> >- <legend> Select records to export </legend> >+ <legend> [% t('Select records to export') %] </legend> > <ol> > <li> >- <label for="start">From biblio number: </label> >+ <label for="start">[% t('From biblio number:') %] </label> > <input id="start" type="text" name="StartingBiblionumber" size="5" /> > </li> > <li> >- <label for="end">To biblio number: </label> >+ <label for="end">[% t('To biblio number:') %] </label> > <input id="end" type="text" name="EndingBiblionumber" size="5" /> > </li> > > <li> >- <label for="itemtype">Item type: </label> >+ <label for="itemtype">[% t('Item type:') %] </label> > <select name="itemtype" id="itemtype"> >- <option value="">-- All --</option> >+ <option value="">[% t('-- All --') %]</option> > [% FOREACH itemtype IN itemtypes %] > <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option> > [% END %] >@@ -72,34 +73,34 @@ > </li> > > <li> >- <label>With items owned by the following libraries: </label> >+ <label>[% t('With items owned by the following libraries:') %] </label> > [% INCLUDE 'branch-selector.inc' branches = libraries %] > </li> > </ol> > > <fieldset class="rows"> >- <legend>Call number range</legend> >+ <legend>[% t('Call number range') %]</legend> > <ol> > <li> >- <label for="startcn">From item call number: </label> >+ <label for="startcn">[% t('From item call number:') %] </label> > <input id="startcn" type="text" name="start_callnumber" size="15" /> > </li> > <li> >- <label for="endcn">To item call number: </label> >+ <label for="endcn">[% t('To item call number:') %] </label> > <input id="endcn" type="text" name="end_callnumber" size="15" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Accession date (inclusive)</legend> >+ <legend>[% t('Accession date (inclusive)') %]</legend> > <ol> > <li> >- <label for="from">Start date:</label> >+ <label for="from">[% t('Start date:') %]</label> > <input type="text" size="10" id="from" name="start_accession" value="[% from %]" class="datepickerfrom" /> > </li> > <li> >- <label for="to">End date:</label> >+ <label for="to">[% t('End date:') %]</label> > <input size="10" id="to" name="end_accession" value="[% end_accession %]" type="text" class="datepickerto" /> > </li> > </ol> >@@ -108,47 +109,47 @@ > </fieldset> > <fieldset class="rows"> > <legend> >- Use a file >+ [% t('Use a file') %] > </legend> > <ol> >- <li>File containing a list of biblio numbers with one biblio number per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)</li> >- <li><label for="id_list_file">File: </label> <input type="file" id="id_list_file" name="id_list_file" /></li> >+ <li>[% t('File containing a list of biblio numbers with one biblio number per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)') %]</li> >+ <li><label for="id_list_file">[% t('File:') %] </label> <input type="file" id="id_list_file" name="id_list_file" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend> Options</legend> >+ <legend> [% t('Options') %]</legend> > <ol> <li> >- <label for="dont_export_item">Don't export items:</label> >+ <label for="dont_export_item">[% t('Don\'t export items:') %]</label> > <input id="dont_export_item" type="checkbox" name="dont_export_item" /> > </li> > <li> >- <label for="strip_items_not_from_libraries">Remove items not owned by selected libraries:</label> >+ <label for="strip_items_not_from_libraries">[% t('Remove items not owned by selected libraries:') %]</label> > <input id="strip_items_not_from_libraries" type="checkbox" name="strip_items_not_from_libraries" /> > </li> > <li> >- <label for="export_remove_fields">Don't export fields:</label> >+ <label for="export_remove_fields">[% t('Don\'t export fields:') %]</label> > <input id="export_remove_fields" type="text" name="export_remove_fields" value="[% export_remove_fields %]" /> >- separate by a blank. (e.g., 100a 200 606) >+ [% t('separate by a blank. (e.g., 100a 200 606)') %] > </li></ol> > </fieldset> > <fieldset class="rows"> > <legend> >- Output format >+ [% t('Output format') %] > </legend> > <ol><li> >- <label for="output_format">File format: </label> >+ <label for="output_format">[% t('File format:') %] </label> > <select id="output_format" name="output_format"> >- <option value="iso2709">marc</option> >- <option value="xml">xml</option> >+ <option value="iso2709">[% t('marc') %]</option> >+ <option value="xml">[% t('xml') %]</option> > [% IF csv_profiles %] >- <option value="csv">csv</option> >+ <option value="csv">[% t('csv') %]</option> > [% ELSE %] >- <option value="csv" disabled data-toggle="tooltip" data-placement="left" title="You must create a CSV profile for MARC exports to use this option.">csv</option> >+ <option value="csv" disabled="" data-toggle="tooltip" data-placement="left" title="[% t('You must create a CSV profile for MARC exports to use this option.') %]">[% t('csv') %]</option> > [% END %] > </select> > </li> > <li class="csv_profiles"> >- <label for="bibs_csv_profile">CSV profile: </label> >+ <label for="bibs_csv_profile">[% t('CSV profile:') %] </label> > <select id="bibs_csv_profile" name="csv_profile_id"> > [% FOR csv_profile IN csv_profiles %] > <option value="[% csv_profile.export_format_id %]">[% csv_profile.profile %]</option> >@@ -156,7 +157,7 @@ > </select> > </li> > <li> >- <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" /> >+ <label for="filename">[% t('File name:') %]</label><input id="filename" type="text" name="filename" value="koha.mrc" /> > </li></ol> > </fieldset> > <input type="hidden" name="op" value="export" /> >@@ -169,19 +170,19 @@ > <div id="auths"> > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl"> > <fieldset class="rows"> >- <legend> Select records to export </legend> >+ <legend> [% t('Select records to export') %] </legend> > <ol><li> >- <label for="start">From authid: </label> >+ <label for="start">[% t('From authid:') %] </label> > <input id="start" type="text" name="starting_authid" size="6" /> > </li> > <li> >- <label for="end">To authid: </label> >+ <label for="end">[% t('To authid:') %] </label> > <input id="end" type="text" name="ending_authid" size="6" /> > </li> > <li> >- <label for="authtype">Authority type: </label> >+ <label for="authtype">[% t('Authority type:') %] </label> > <select name="authtype" id="authtype"> >- <option value="">-- All --</option> >+ <option value="">[% t('-- All --') %]</option> > [% FOREACH authority_type IN authority_types %] > <option value="[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</option> > [% END %] >@@ -191,33 +192,33 @@ > </fieldset> > <fieldset class="rows"> > <legend> >- Use a file >+ [% t('Use a file') %] > </legend> > <ol> >- <li>File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)</li> >- <li><label for="id_list_file">File:</label> <input type="file" id="id_list_file" name="id_list_file" /></li> >+ <li>[% t('File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)') %]</li> >+ <li><label for="id_list_file">[% t('File:') %]</label> <input type="file" id="id_list_file" name="id_list_file" /></li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Options</legend> >+ <legend>[% t('Options') %]</legend> > <ol> > <li> >- <label for="export_remove_fields">Don't export fields:</label> >+ <label for="export_remove_fields">[% t('Don\'t export fields:') %]</label> > <input id="export_remove_fields" type="text" name="export_remove_fields" /> >- separate by a blank. (e.g., 100a 200 606) >+ [% t('separate by a blank. (e.g., 100a 200 606)') %] > </li></ol> > </fieldset> > <fieldset class="rows"> >- <legend>Output format</legend> >+ <legend>[% t('Output format') %]</legend> > <ol><li> >- <label for="output_format">File format: </label> >+ <label for="output_format">[% t('File format:') %] </label> > <select id="output_format" name="output_format"> >- <option value="marc">marc</option> >- <option value="xml">xml</option> >+ <option value="marc">[% t('marc') %]</option> >+ <option value="xml">[% t('xml') %]</option> > </select> > </li> > <li> >- <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" /> >+ <label for="filename">[% t('File name:') %]</label><input id="filename" type="text" name="filename" value="koha.mrc" /> > </li></ol> > </fieldset> > <input type="hidden" name="op" value="export" /> >@@ -230,9 +231,9 @@ > [% IF ( allow_db_export ) %] > <div id="db"> > <form method="post" action="/cgi-bin/koha/tools/export.pl"> >- <p><b>Note : This export file will be very large, and is generated nightly.</b></p> >+ <p><b>[% t('Note : This export file will be very large, and is generated nightly.') %]</b></p> > <fieldset class="rows"> >- <legend> Choose a file </legend> >+ <legend> [% t('Choose a file') %] </legend> > [% IF ( dbfiles && (dbfiles.size > 0) ) %] > <ul> > [% FOREACH dbfile IN dbfiles %] >@@ -240,7 +241,7 @@ > [% END %] > </ul> > [% ELSE %] >- <p>Unfortunately, no backups are available.</p> >+ <p>[% t('Unfortunately, no backups are available.') %]</p> > [% END %] > </fieldset> > >@@ -256,9 +257,9 @@ > [% IF ( allow_conf_export ) %] > <div id="conf"> > <form method="post" action="/cgi-bin/koha/tools/export.pl"> >- <p><b>Note : This export file will be very large, and is generated nightly.</b></p> >+ <p><b>[% t('Note : This export file will be very large, and is generated nightly.') %]</b></p> > <fieldset class="rows"> >- <legend> Choose a file </legend> >+ <legend> [% t('Choose a file') %] </legend> > [% IF ( conffiles && (conffiles.size > 0) ) %] > <ul> > [% FOREACH conffile IN conffiles %] >@@ -266,7 +267,7 @@ > [% END %] > </ul> > [% ELSE %] >- <p>Unfortunately, no backups are available.</p> >+ <p>[% t('Unfortunately, no backups are available.') %]</p> > [% END %] > </fieldset> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >index b7252ad288..8a58fed404 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › [% Branches.GetName( branch ) %] calendar</title> >+<title>[% t('Koha ⺠Tools âº') %] [% Branches.GetName( branch ) %] [% t('calendar') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > <style type="text/css"> .key { padding : 3px; white-space:nowrap; line-height:230%; } >@@ -29,17 +30,17 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > [% 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> › [% Branches.GetName( branch ) %] calendar</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> ⺠[% Branches.GetName( branch ) %] [% t('calendar') %]</div> > > <div id="doc3" class="yui-t1"> > > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h2>[% Branches.GetName( branch ) %] calendar</h2> >+ <h2>[% Branches.GetName( branch ) %] [% t('calendar') %]</h2> > <div class="yui-g"> > <div class="yui-u first"> >- <label for="branch">Define the holidays for:</label> >+ <label for="branch">[% t('Define the holidays for:') %]</label> > <select id="branch" name="branch"> > [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] > </select> >@@ -53,15 +54,15 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post"> > <input type="hidden" id="showHolidayType" name="showHolidayType" value="" /> > <fieldset class="brief"> >- <h3>Edit this holiday</h3> >+ <h3>[% t('Edit this holiday') %]</h3> > <span id="holtype"></span> > <ol> > <li> >- <strong>Library:</strong> <span id="showBranchNameOutput"></span> >+ <strong>[% t('Library:') %]</strong> <span id="showBranchNameOutput"></span> > <input type="hidden" id="showBranchName" name="showBranchName" /> > </li> > <li> >- <strong>From date:</strong> >+ <strong>[% t('From date:') %]</strong> > <span id="showDaynameOutput"></span>, > > [% IF ( dateformat == "us" ) %]<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>/<span id="showYearOutput"></span>[% ELSIF ( dateformat == "metric") %]<span id="showDayOutput"></span>/<span id="showMonthOutput"></span>/<span id="showYearOutput"></span>[% ELSIF ( dateformat == "dmydot") %]<span id="showDayOutput"></span>.<span id="showMonthOutput"></span>.<span id="showYearOutput"></span>[% ELSE %]<span id="showYearOutput"></span>/<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>[% END %] >@@ -73,47 +74,47 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > <input type="hidden" id="showYear" name="showYear" /> > </li> > <li class="dateinsert"> >- <b>To Date : </b> >- <input type="text" id="datecancelrange" name="datecancelrange" size="20" value="[% datecancelrange %]" class="datepicker"/> >+ <b>[% t('To Date :') %] </b> >+ <input type="text" id="datecancelrange" name="datecancelrange" size="20" value="[% datecancelrange %]" class="datepicker" /> > </li> >- <li><label for="showTitle">Title: </label><input type="text" name="showTitle" id="showTitle" size="35" /></li> >+ <li><label for="showTitle">[% t('Title:') %] </label><input type="text" name="showTitle" id="showTitle" size="35" /></li> > <!-- showTitle is necessary for exception radio button to work properly --> > <li> >- <label for="showDescription">Description:</label> >+ <label for="showDescription">[% t('Description:') %]</label> > <textarea rows="2" cols="40" id="showDescription" name="showDescription"></textarea> > </li> > <li class="radio"><div id="exceptionPosibility" style="position:static"> >- <input type="radio" name="showOperation" id="showOperationExc" value="exception" /> <label for="showOperationExc">Generate an exception for this repeated holiday.</label> >+ <input type="radio" name="showOperation" id="showOperationExc" value="exception" /> <label for="showOperationExc">[% t('Generate an exception for this repeated holiday.') %]</label> > <a href="#" class="helptext">[?]</a> >- <div class="hint">You can make an exception for this holiday rule. This means that you will be able to say that for a repeatable holiday there is one day which is going to be an exception.</div> >+ <div class="hint">[% t('You can make an exception for this holiday rule. This means that you will be able to say that for a repeatable holiday there is one day which is going to be an exception.') %]</div> > </div></li> > <li class="radio"><input type="radio" name="showOperation" id="showOperationExcRange" value="exceptionrange" /> >- <label for="showOperationExcRange">Generate exceptions on a range of dates.</label> >+ <label for="showOperationExcRange">[% t('Generate exceptions on a range of dates.') %]</label> > <a href="#" class="helptext">[?]</a> >- <div class="hint">You can make an exception on a range of dates repeated yearly.</div> >+ <div class="hint">[% t('You can make an exception on a range of dates repeated yearly.') %]</div> > </li> >- <li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label> >+ <li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">[% t('Delete this holiday') %]</label> > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will delete this holiday rule. If it is a repeatable holiday, this option checks for possible exceptions. If an exception exists, this option will remove the exception and set the date to a regular holiday.</div></li> >- <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRange" value="deleterange" /> <label for="showOperationDelRange" id="showOperationDelLabelRange">Delete the single holidays on a range</label>. >+ <div class="hint">[% t('This will delete this holiday rule. If it is a repeatable holiday, this option checks for possible exceptions. If an exception exists, this option will remove the exception and set the date to a regular holiday.') %]</div></li> >+ <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRange" value="deleterange" /> <label for="showOperationDelRange" id="showOperationDelLabelRange">[% t('Delete the single holidays on a range') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will delete the single holidays rules only. The repeatable holidays and exceptions will not be deleted.</div> >+ <div class="hint">[% t('This will delete the single holidays rules only. The repeatable holidays and exceptions will not be deleted.') %]</div> > </li> >- <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeat" value="deleterangerepeat" /> <label for="showOperationDelRangeRepeat" id="showOperationDelLabelRangeRepeat">Delete the repeated holidays on a range</label>. >+ <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeat" value="deleterangerepeat" /> <label for="showOperationDelRangeRepeat" id="showOperationDelLabelRangeRepeat">[% t('Delete the repeated holidays on a range') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will delete the repeated holidays rules only. The repeatable holidays will be deleted but not the exceptions.</div> >+ <div class="hint">[% t('This will delete the repeated holidays rules only. The repeatable holidays will be deleted but not the exceptions.') %]</div> > </li> >- <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeatExcept" value="deleterangerepeatexcept" /> <label for="showOperationDelRangeRepeatExcept" id="showOperationDelLabelRangeRepeatExcept">Delete the exceptions on a range</label>. >+ <li class="radio"><input type="radio" name="showOperation" id="showOperationDelRangeRepeatExcept" value="deleterangerepeatexcept" /> <label for="showOperationDelRangeRepeatExcept" id="showOperationDelLabelRangeRepeatExcept">[% t('Delete the exceptions on a range') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will delete the exceptions inside a given range. Be careful about your scope range; if it is oversized you could slow down Koha.</div> >+ <div class="hint">[% t('This will delete the exceptions inside a given range. Be careful about your scope range; if it is oversized you could slow down Koha.') %]</div> > </li> >- <li class="radio"><input type="radio" name="showOperation" id="showOperationEdit" value="edit" checked="checked" /> <label for="showOperationEdit">Edit this holiday</label> >+ <li class="radio"><input type="radio" name="showOperation" id="showOperationEdit" value="edit" checked="checked" /> <label for="showOperationEdit">[% t('Edit this holiday') %]</label> > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will save changes to the holiday's title and description. If the information for a repeatable holiday is modified, it affects all of the dates on which the holiday is repeated.</div></li> >+ <div class="hint">[% t('This will save changes to the holiday\'s title and description. If the information for a repeatable holiday is modified, it affects all of the dates on which the holiday is repeated.') %]</div></li> > </ol> > <fieldset class="action"> > <input type="submit" name="submit" value="Save" /> >- <a href="#" class="cancel hidePanel showHoliday">Cancel</a> >+ <a href="#" class="cancel hidePanel showHoliday">[% t('Cancel') %]</a> > </fieldset> > </fieldset> > </form> >@@ -123,15 +124,15 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > <div class="panel" id="newHoliday"> > <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post"> > <fieldset class="brief"> >- <h3>Add new holiday</h3> >+ <h3>[% t('Add new holiday') %]</h3> > <ol> > <li> >- <strong>Library:</strong> >+ <strong>[% t('Library:') %]</strong> > <span id="newBranchNameOutput"></span> > <input type="hidden" id="newBranchName" name="newBranchName" /> > </li> > <li> >- <strong>From date:</strong> >+ <strong>[% t('From date:') %]</strong> > <span id="newDaynameOutput"></span>, > > [% IF ( dateformat == "us" ) %]<span id="newMonthOutput"></span>/<span id="newDayOutput"></span>/<span id="newYearOutput"></span>[% ELSIF ( dateformat == "metric" ) %]<span id="newDayOutput"></span>/<span id="newMonthOutput"></span>/<span id="newYearOutput"></span>[% ELSIF ( dateformat == "dmydot" ) %]<span id="newDayOutput"></span>.<span id="newMonthOutput"></span>.<span id="newYearOutput"></span>[% ELSE %]<span id="newYearOutput"></span>/<span id="newMonthOutput"></span>/<span id="newDayOutput"></span>[% END %] >@@ -143,47 +144,47 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > <input type="hidden" id="newYear" name="newYear" /> > </li> > <li class="dateinsert"> >- <b>To date: </b> >+ <b>[% t('To date:') %] </b> > <input type="text" id="dateofrange" name="dateofrange" size="20" value="[% dateofrange %]" class="datepicker" /> > </li> >- <li><label for="title">Title: </label><input type="text" name="newTitle" id="title" size="35" /></li> >- <li><label for="newDescription">Description:</label> >+ <li><label for="title">[% t('Title:') %] </label><input type="text" name="newTitle" id="title" size="35" /></li> >+ <li><label for="newDescription">[% t('Description:') %]</label> > <textarea rows="2" cols="40" id="newDescription" name="newDescription"></textarea> > </li> > <li class="radio"><input type="radio" name="newOperation" id="newOperationOnce" value="holiday" checked="checked" /> >- <label for="newOperationOnce">Holiday only on this day</label>. >+ <label for="newOperationOnce">[% t('Holiday only on this day') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">Make a single holiday. For example, selecting August 1, 2012 will make it a holiday, but will not affect August 1 in other years.</div> >+ <div class="hint">[% t('Make a single holiday. For example, selecting August 1, 2012 will make it a holiday, but will not affect August 1 in other years.') %]</div> > </li> > <li class="radio"><input type="radio" name="newOperation" id="newOperationDay" value="weekday" /> >- <label for="newOperationDay">Holiday repeated every same day of the week</label>. >+ <label for="newOperationDay">[% t('Holiday repeated every same day of the week') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">Make this weekday a holiday, every week. For example, if your library is closed on Saturdays, use this option to make every Saturday a holiday.</div> >+ <div class="hint">[% t('Make this weekday a holiday, every week. For example, if your library is closed on Saturdays, use this option to make every Saturday a holiday.') %]</div> > </li> > <li class="radio"><input type="radio" name="newOperation" id="newOperationYear" value="repeatable" /> >- <label for="newOperationYear">Holiday repeated yearly on the same date</label>. >+ <label for="newOperationYear">[% t('Holiday repeated yearly on the same date') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">This will take this day and month as a reference to make it a holiday. Through this option, you can repeat this rule for every year. For example, selecting August 1 will make August 1 a holiday every year.</div> >+ <div class="hint">[% t('This will take this day and month as a reference to make it a holiday. Through this option, you can repeat this rule for every year. For example, selecting August 1 will make August 1 a holiday every year.') %]</div> > </li> > <li class="radio"><input type="radio" name="newOperation" id="newOperationField" value="holidayrange" /> >- <label for="newOperationField">Holidays on a range</label>. >+ <label for="newOperationField">[% t('Holidays on a range') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">Make a single holiday on a range. For example, selecting August 1, 2012 and August 10, 2012 will make all days between August 1 and 10 a holiday, but will not affect August 1-10 in other years.</div> >+ <div class="hint">[% t('Make a single holiday on a range. For example, selecting August 1, 2012') %] [% t('and August 10, 2012 will make all days between August 1 and 10 a holiday, but will not affect August 1-10 in other years.') %]</div> > </li> > <li class="radio"><input type="radio" name="newOperation" id="newOperationFieldyear" value="holidayrangerepeat" /> >- <label for="newOperationFieldyear">Holidays repeated yearly on a range</label>. >+ <label for="newOperationFieldyear">[% t('Holidays repeated yearly on a range') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">Make a single holiday on a range repeated yearly. For example, selecting August 1, 2012 and August 10, 2012 will make all days between August 1 and 10 a holiday, and will affect August 1-10 in other years.</div> >+ <div class="hint">[% t('Make a single holiday on a range repeated yearly. For example, selecting August 1, 2012') %] [% t('and August 10, 2012 will make all days between August 1 and 10 a holiday, and will affect August 1-10 in other years.') %]</div> > </li> > <li class="checkbox"> > <input type="checkbox" name="allBranches" id="allBranches" /> >- <label for="allBranches">Copy to all libraries</label>. >+ <label for="allBranches">[% t('Copy to all libraries') %]</label>. > <a href="#" class="helptext">[?]</a> >- <div class="hint">If checked, this holiday will be copied to all libraries. If the holiday already exists for a library, no change is made.</div> >+ <div class="hint">[% t('If checked, this holiday will be copied to all libraries. If the holiday already exists for a library, no change is made.') %]</div> > </li></ol> > <fieldset class="action"> > <input type="submit" name="submit" value="Save" /> >- <a href="#" class="cancel hidePanel newHoliday">Cancel</a> >+ <a href="#" class="cancel hidePanel newHoliday">[% t('Cancel') %]</a> > </fieldset> > </fieldset> > </form> >@@ -196,13 +197,13 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > <!-- ************************************************************************************** --> > <!-- ****** MAIN SCREEN CODE ****** --> > <!-- ************************************************************************************** --> >-<h3>Calendar information</h3> >+<h3>[% t('Calendar information') %]</h3> > <div id="jcalendar-container"></div> > > <div style="margin-top: 2em;"> > <form action="copy-holidays.pl" method="post"> > <input type="hidden" name="from_branchcode" value="[% branch %]" /> >- <label for="branchcode">Copy holidays to:</label> >+ <label for="branchcode">[% t('Copy holidays to:') %]</label> > <select id="branchcode" name="branchcode"> > <option value=""></option> > [% FOREACH l IN Branches.all() %] >@@ -216,39 +217,39 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > </div> > <div class="yui-u"> > <div class="help"> >-<h4>Hints</h4> >+<h4>[% t('Hints') %]</h4> > <ul> >- <li>Search in the calendar the day you want to set as holiday.</li> >- <li>Click the date to add or edit a holiday.</li> >- <li>Enter a title and description for the holiday.</li> >- <li>Specify how the holiday should repeat.</li> >- <li>Click Save to finish.</li> >+ <li>[% t('Search in the calendar the day you want to set as holiday.') %]</li> >+ <li>[% t('Click the date to add or edit a holiday.') %]</li> >+ <li>[% t('Enter a title and description for the holiday.') %]</li> >+ <li>[% t('Specify how the holiday should repeat.') %]</li> >+ <li>[% t('Click Save to finish.') %]</li> > </ul> >-<h4>Key</h4> >+<h4>[% t('Key') %]</h4> > <p> >- <span class="key normalday">Working day</span> >- <span class="key holiday">Unique holiday</span> >- <span class="key repeatableweekly">Holiday repeating weekly</span> >- <span class="key repeatableyearly">Holiday repeating yearly</span> >- <span class="key exception">Holiday exception</span> >+ <span class="key normalday">[% t('Working day') %]</span> >+ <span class="key holiday">[% t('Unique holiday') %]</span> >+ <span class="key repeatableweekly">[% t('Holiday repeating weekly') %]</span> >+ <span class="key repeatableyearly">[% t('Holiday repeating yearly') %]</span> >+ <span class="key exception">[% t('Holiday exception') %]</span> > </p> > </div> > <div id="holiday-list"> > <!-- Exceptions First --> > <!-- this will probably always have the least amount of data --> > [% IF ( EXCEPTION_HOLIDAYS_LOOP ) %] >-<h3>Exceptions</h3> >+<h3>[% t('Exceptions') %]</h3> > <table id="holidayexceptions"> > <thead><tr> >- <th class="exception">Date</th> >- <th class="exception">Title</th> >- <th class="exception">Description</th> >+ <th class="exception">[% t('Date') %]</th> >+ <th class="exception">[% t('Title') %]</th> >+ <th class="exception">[% t('Description') %]</th> > </tr> > </thead> > <tbody> > [% FOREACH EXCEPTION_HOLIDAYS_LOO IN EXCEPTION_HOLIDAYS_LOOP %] > <tr> >- <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&calendardate=[% EXCEPTION_HOLIDAYS_LOO.DATE %]"><span title="[% EXCEPTION_HOLIDAYS_LOO.DATE_SORT %]">[% EXCEPTION_HOLIDAYS_LOO.DATE %]</span></a></td> >+ <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&calendardate=[% EXCEPTION_HOLIDAYS_LOO.DATE %]"><span title="[% EXCEPTION_HOLIDAYS_LOO.DATE_SORT %]">[% EXCEPTION_HOLIDAYS_LOO.DATE %]</span></a></td> > <td>[% EXCEPTION_HOLIDAYS_LOO.TITLE |html %]</td> > <td>[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION |html %]</td> > </tr> >@@ -258,13 +259,13 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > [% END %] > > [% IF ( WEEK_DAYS_LOOP ) %] >-<h3>Weekly - Repeatable holidays</h3> >+<h3>[% t('Weekly - Repeatable holidays') %]</h3> > <table id="holidayweeklyrepeatable"> > <thead> > <tr> >- <th class="repeatableweekly">Day of week</th> >- <th class="repeatableweekly">Title</th> >- <th class="repeatableweekly">Description</th> >+ <th class="repeatableweekly">[% t('Day of week') %]</th> >+ <th class="repeatableweekly">[% t('Title') %]</th> >+ <th class="repeatableweekly">[% t('Description') %]</th> > </tr> > </thead> > <tbody> >@@ -281,17 +282,17 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > [% END %] > > [% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %] >-<h3>Yearly - Repeatable holidays</h3> >+<h3>[% t('Yearly - Repeatable holidays') %]</h3> > <table id="holidaysyearlyrepeatable"> > <thead> > <tr> > [% IF ( dateformat == "metric" ) %] >- <th class="repeatableyearly">Day/month</th> >+ <th class="repeatableyearly">[% t('Day/month') %]</th> > [% ELSE %] >- <th class="repeatableyearly">Month/day</th> >+ <th class="repeatableyearly">[% t('Month/day') %]</th> > [% END %] >- <th class="repeatableyearly">Title</th> >- <th class="repeatableyearly">Description</th> >+ <th class="repeatableyearly">[% t('Title') %]</th> >+ <th class="repeatableyearly">[% t('Description') %]</th> > </tr> > </thead> > <tbody> >@@ -307,21 +308,21 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl > [% END %] > > [% IF ( HOLIDAYS_LOOP ) %] >-<h3>Unique holidays</h3> >+<h3>[% t('Unique holidays') %]</h3> > <table id="holidaysunique"> > <thead> > <tr> >- <th class="holiday">Date</th> >- <th class="holiday">Title</th> >- <th class="holiday">Description</th> >+ <th class="holiday">[% t('Date') %]</th> >+ <th class="holiday">[% t('Title') %]</th> >+ <th class="holiday">[% t('Description') %]</th> > </tr> > </thead> > <tbody> > [% FOREACH HOLIDAYS_LOO IN HOLIDAYS_LOOP %] > <tr> >- <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&calendardate=[% HOLIDAYS_LOO.DATE %]"><span title="[% HOLIDAYS_LOO.DATE_SORT %]">[% HOLIDAYS_LOO.DATE %]</span></a></td> >+ <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% branch %]&calendardate=[% HOLIDAYS_LOO.DATE %]"><span title="[% HOLIDAYS_LOO.DATE_SORT %]">[% HOLIDAYS_LOO.DATE %]</span></a></td> > <td>[% HOLIDAYS_LOO.TITLE |html %]</td> >- [% br = BLOCK %]<br/>[% END %] >+ [% br = BLOCK %]<br />[% END %] > <td>[% HOLIDAYS_LOO.DESCRIPTION.replace('\\\r\\\n', br) |html %]</td> > </tr> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >index f2b5c3c588..4541127450 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Import patrons [% IF ( uploadborrowers ) %]› Results[% END %]</title> >+<title>[% t('Koha ⺠Tools ⺠Import patrons') %] [% IF ( uploadborrowers ) %][% t('⺠Results') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > .yui-u fieldset.rows .widelabel { width: 12em; } >@@ -17,7 +18,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'patron-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/tools/import_borrowers.pl">Import patrons</a>[% IF ( uploadborrowers ) %] › Results[% END %]</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> ⺠<a href="/cgi-bin/koha/tools/import_borrowers.pl">[% t('Import patrons') %]</a>[% IF ( uploadborrowers ) %] [% t('⺠Results') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -25,37 +26,37 @@ > <div class="yui-b"> > <div class="yui-g"> > <div class="yui-u first"> >-<h1>Import patrons</h1> >+<h1>[% t('Import patrons') %]</h1> > [% IF ( uploadborrowers ) %] >- <h5>Import results :</h5> >+ <h5>[% t('Import results :') %]</h5> > <ul> >- <li>[% imported %] imported records [% IF ( lastimported ) %](last was [% lastimported %])[% END %]</li> >+ <li>[% imported %] [% t('imported records') %] [% IF ( lastimported ) %][% t('(last was') %] [% lastimported %])[% END %]</li> > [% IF imported and patronlistname %] >- <li>Patronlist with imported patrons: [% patronlistname %]</li> >+ <li>[% t('Patronlist with imported patrons:') %] [% patronlistname %]</li> > [% END %] >- <li>[% overwritten %] overwritten [% IF ( lastoverwritten ) %](last was [% lastoverwritten %])[% END %]</li> >- <li>[% alreadyindb %] not imported because already in borrowers table and overwrite disabled [% IF ( lastalreadyindb ) %](last was [% lastalreadyindb %])[% END %]</li> >- <li>[% invalid %] not imported because they are not in the expected format [% IF ( lastinvalid ) %](last was [% lastinvalid %])[% END %]</li> >- <li>[% total %] records parsed</li> >- <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back to Tools</a></li> >+ <li>[% overwritten %] [% t('overwritten') %] [% IF ( lastoverwritten ) %][% t('(last was') %] [% lastoverwritten %])[% END %]</li> >+ <li>[% alreadyindb %] [% t('not imported because already in borrowers table and overwrite disabled') %] [% IF ( lastalreadyindb ) %][% t('(last was') %] [% lastalreadyindb %])[% END %]</li> >+ <li>[% invalid %] [% t('not imported because they are not in the expected format') %] [% IF ( lastinvalid ) %][% t('(last was') %] [% lastinvalid %])[% END %]</li> >+ <li>[% total %] [% t('records parsed') %]</li> >+ <li><a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Back to Tools') %]</a></li> > </ul> > > [% IF ( feedback ) %] > <br /><br /> > > <div> >- <h5>Feedback:</h5> >+ <h5>[% t('Feedback:') %]</h5> > <ul class="feedback"> > [% FOREACH f IN feedback %] > <li> > [% IF ( f.filename ) %] >- Parsing upload file <span class="filename">[% f.filename %]</span> >+ [% t('Parsing upload file') %] <span class="filename">[% f.filename %]</span> > [% ELSIF ( f.backend ) %] >- Upload parsed using [% f.backend %] >+ [% t('Upload parsed using') %] [% f.backend %] > [% ELSIF ( f.headerrow ) %] >- These fields found: [% f.value %] >+ [% t('These fields found:') %] [% f.value %] > [% ELSIF ( f.already_in_db ) %] >- Patron already in database: [% f.value %] >+ [% t('Patron already in database:') %] [% f.value %] > [% ELSE %] > [% f.name %] : [% f.value %] > [% END %] >@@ -69,47 +70,47 @@ > <br /><br /> > > <div> >- <h5>Error analysis:</h5> >+ <h5>[% t('Error analysis:') %]</h5> > <ul> > [% FOREACH e IN errors %] >- [% IF ( e.badheader ) %]<li>Header row could not be parsed</li>[% END %] >+ [% IF ( e.badheader ) %]<li>[% t('Header row could not be parsed') %]</li>[% END %] > > [% FOREACH missing_critical IN e.missing_criticals %] > <li class="line_error"> >- Line <span class="linenumber">[% missing_critical.line %]</span> >+ [% t('Line') %] <span class="linenumber">[% missing_critical.line %]</span> > > [% IF ( missing_critical.badparse ) %] >- could not be parsed! >+ [% t('could not be parsed!') %] > [% ELSIF ( missing_critical.bad_date ) %] >- has "[% missing_critical.key %]" in unrecognized format: "[% missing_critical.value %]" >+ [% t('has "') %][% missing_critical.key %][% t('" in unrecognized format: "') %][% missing_critical.value %]" > [% ELSE %] >- Critical field "[% missing_critical.key %]" >+ [% t('Critical field "') %][% missing_critical.key %]" > > [% IF ( missing_critical.branch_map ) %] >- has unrecognized value "[% missing_critical.value %]" >+ [% t('has unrecognized value "') %][% missing_critical.value %]" > [% ELSIF ( missing_critical.category_map ) %] >- has unrecognized value "[% missing_critical.value %]" >+ [% t('has unrecognized value "') %][% missing_critical.value %]" > [% ELSE %] >- missing >+ [% t('missing') %] > [% END %] > >- (borrowernumber: [% missing_critical.borrowernumber %]; surname: [% missing_critical.surname %]). >+ [% t('(borrowernumber:') %] [% missing_critical.borrowernumber %][% t('; surname:') %] [% missing_critical.surname %]). > [% END %] > >- <br/> >+ <br /> > <code>[% missing_critical.lineraw %]</code> > </li> > [% END %] > > [% IF e.invalid_cardnumber %] > <li class="line_error"> >- Cardnumber [% e.cardnumber %] is not a valid cardnumber >- [% IF e.borrowernumber %] (for patron with borrowernumber [% e.borrowernumber %])[% END %] >+ [% t('Cardnumber') %] [% e.cardnumber %] [% t('is not a valid cardnumber') %] >+ [% IF e.borrowernumber %] [% t('(for patron with borrowernumber') %] [% e.borrowernumber %])[% END %] > </li> > [% END %] > [% IF e.duplicate_userid %] > <li class="line_error"> >- Userid [% e.userid %] is already used by another patron. >+ [% t('Userid') %] [% e.userid %] [% t('is already used by another patron.') %] > </li> > [% END %] > [% END %] >@@ -118,35 +119,35 @@ > [% END %] > [% ELSE %] > <ul> >- <li>Select a file to import into the borrowers table</li> >- <li>If a cardnumber exists in the table, you can choose whether to ignore the new one or overwrite the old one.</li> >+ <li>[% t('Select a file to import into the borrowers table') %]</li> >+ <li>[% t('If a cardnumber exists in the table, you can choose whether to ignore the new one or overwrite the old one.') %]</li> > </ul> > > <form method="post" action="[% SCRIPT_NAME %]" enctype="multipart/form-data"> > <fieldset class="rows"> >- <legend>Import into the borrowers table</legend> >+ <legend>[% t('Import into the borrowers table') %]</legend> > > <ol> > <li> >- <label for="uploadborrowers">Select the file to import: </label> >+ <label for="uploadborrowers">[% t('Select the file to import:') %] </label> > <input type="file" id="uploadborrowers" name="uploadborrowers" /> > </li> > > <li> >- <label for "createpatronlist">Create patron list: </label> >+ <label for="" "createpatronlist"="">[% t('Create patron list:') %] </label> > <input name="createpatronlist" id="createpatronlist" value="1" type="checkbox"> >- <span class="hint">List name will be file name with timestamp</span> >+ <span class="hint">[% t('List name will be file name with timestamp') %]</span> > </li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Field to use for record matching</legend> >+ <legend>[% t('Field to use for record matching') %]</legend> > <ol> > <li class="radio"> > <select name="matchpoint" id="matchpoint"> >- <option value="cardnumber">Cardnumber</option> >- <option value="userid">Username</option> >+ <option value="cardnumber">[% t('Cardnumber') %]</option> >+ <option value="userid">[% t('Username') %]</option> > [% FOREACH matchpoint IN matchpoints %] > <option value="[% matchpoint.code %]">[% matchpoint.description %]</option> > [% END %] >@@ -156,7 +157,7 @@ > </fieldset> > > <fieldset class="rows"> >- <legend>Default values</legend> >+ <legend>[% t('Default values') %]</legend> > > <ol> > [% FOREACH borrower_field IN borrower_fields %] >@@ -195,9 +196,9 @@ > > [% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %] > <li> >- <label class="description" for="patron_attributes">Patron attributes: </label> >+ <label class="description" for="patron_attributes">[% t('Patron attributes:') %] </label> > <input id="patron_attributes" name="patron_attributes" /> >- <span class="field_hint">patron_attributes</span> >+ <span class="field_hint">[% t('patron_attributes') %]</span> > </li> > [% END %] > >@@ -205,30 +206,30 @@ > </fieldset> > > <fieldset class="rows"> >- <legend>If matching record is already in the borrowers table:</legend> >+ <legend>[% t('If matching record is already in the borrowers table:') %]</legend> > > <ol> > <li class="radio"> >- <input type="radio" id="overwrite_cardnumberno" name="overwrite_cardnumber" value="0" checked="checked" /><label for="overwrite_cardnumberno">Ignore this one, keep the existing one</label> >+ <input type="radio" id="overwrite_cardnumberno" name="overwrite_cardnumber" value="0" checked="checked" /><label for="overwrite_cardnumberno">[% t('Ignore this one, keep the existing one') %]</label> > </li> > > <li class="radio"> >- <input type="radio" id="overwrite_cardnumberyes" name="overwrite_cardnumber" value="1" /><label for="overwrite_cardnumberyes">Overwrite the existing one with this</label> >+ <input type="radio" id="overwrite_cardnumberyes" name="overwrite_cardnumber" value="1" /><label for="overwrite_cardnumberyes">[% t('Overwrite the existing one with this') %]</label> > </li> > </ol> > </fieldset> > > [% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %] > <fieldset class="rows"> >- <legend>Patron attributes</legend> >+ <legend>[% t('Patron attributes') %]</legend> > > <ol> > <li class="radio"> >- <input type="radio" id="ext_preserve_0" name="ext_preserve" value="0" checked="checked" /><label for="ext_preserve_0">Replace all patron attributes</label> >+ <input type="radio" id="ext_preserve_0" name="ext_preserve" value="0" checked="checked" /><label for="ext_preserve_0">[% t('Replace all patron attributes') %]</label> > </li> > > <li class="radio"> >- <input type="radio" id="ext_preserve_1" name="ext_preserve" value="1" /><label for="ext_preserve_1">Replace only included patron attributes</label> >+ <input type="radio" id="ext_preserve_1" name="ext_preserve" value="1" /><label for="ext_preserve_1">[% t('Replace only included patron attributes') %]</label> > </li> > </ol> > </fieldset> >@@ -244,14 +245,14 @@ > </div> > > <div class="yui-u"> >- <h2>Notes:</h2> >+ <h2>[% t('Notes:') %]</h2> > <ul> >- <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li> >+ <li>[% t('The first line in the file must be a header row defining which columns you are supplying in the import file.') %]</li> > >- <li><b>Download a starter CSV file with all the columns <a href="?sample=1">here</a>.</b> Values are comma-separated.</li> >+ <li><b>[% t('Download a starter CSV file with all the columns') %] <a href="?sample=1">[% t('here') %]</a>.</b> [% t('Values are comma-separated.') %]</li> > > <li> >- OR choose which fields you want to supply from the following list: >+ [% t('OR choose which fields you want to supply from the following list:') %] > <ul> > <li> > [% FOREACH columnkey IN borrower_fields %]'[% columnkey.field %]', [% END %] >@@ -261,21 +262,21 @@ > > [% IF ( ExtendedPatronAttributes ) %] > <li> >- If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value. For example: <b>INSTID:12345,LANG:fr</b> or <b>STARTDATE:January 1 2010,TRACK:Day</b>. If an input record has more than one attribute, the fields should either be entered as an unquoted string (previous examples), or with each field wrapped in separate double quotes and delimited by a comma: <b>"STARTDATE:January 1, 2010","TRACK:Day"</b>. The second syntax would be required if the data might have a comma in it, like a date string. >+ [% t('If loading patron attributes, the \'patron_attributes\' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value. For example:') %] <b>[% t('INSTID:12345,LANG:fr') %]</b> [% t('or') %] <b>[% t('STARTDATE:January 1 2010,TRACK:Day') %]</b>[% t('. If an input record has more than one attribute, the fields should either be entered as an unquoted string (previous examples), or with each field wrapped in separate double quotes and delimited by a comma:') %] <b>[% t('"STARTDATE:January 1, 2010","TRACK:Day"') %]</b>. [% t('The second syntax would be required if the data might have a comma in it, like a date string.') %] > </li> > [% END %] > > <li> >- The fields 'branchcode' and 'categorycode' are <b>required</b> and <b>must match</b> valid entries in your database. >+ [% t('The fields \'branchcode\' and \'categorycode\' are') %] <b>[% t('required') %]</b> [% t('and') %] <b>[% t('must match') %]</b> [% t('valid entries in your database.') %] > </li> > > <li> >- 'password' should be stored in plaintext, and will be converted to a Bcrypt hash (if your passwords are already encrypted, talk to your system administrator about options). >+ [% t('\'password\' should be stored in plaintext, and will be converted to a Bcrypt hash (if your passwords are already encrypted, talk to your system administrator about options).') %] > </li> > > <li> >- Date formats should match your system preference, and <b>must</b> be zero-padded, e.g. '01/02/2008'. Alternatively, >-you can supply dates in ISO format (e.g., '2010-10-28'). >+ [% t('Date formats should match your system preference, and') %] <b>[% t('must') %]</b> [% t('be zero-padded, e.g. \'01/02/2008\'.') %] [% t('Alternatively,') %] >+[% t('you can supply dates in ISO format (e.g., \'2010-10-28\').') %] > </li> > </ul> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index be5aee522a..32f958edce 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Inventory</title> >+<title>[% t('Koha ⺠Tools ⺠Inventory') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -12,60 +13,60 @@ > [% 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> › [% IF (loop) %]<a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a> › Results[% ELSE %]Inventory[% END %]</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> ⺠[% IF (loop) %]<a href="/cgi-bin/koha/tools/inventory.pl">[% t('Inventory') %]</a> [% t('⺠Results') %][% ELSE %][% t('Inventory') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- <h1>Inventory</h1> >- [% IF (moddatecount) %]<div class="dialog message">[% moddatecount %] items modified : datelastseen set to [% date | $KohaDates %]</div> >- <div class="dialog alert">Number of potential barcodes read: [% LinesRead %]</div>[% END %] >- [% IF (errorfile) %]<div class="dialog alert">[% errorfile %] can't be opened</div>[% END %] >- [% IF (err_length && err_length==1) %]<div class="dialog alert">There was 1 barcode that was too long.</div>[% END %] >- [% IF (err_length && err_length>1) %]<div class="dialog alert">There were [% err_length %] barcodes that were too long.</div>[% END %] >- [% IF (err_data && err_data==1) %]<div class="dialog alert">There was 1 barcode that contained at least one unprintable character.</div>[% END %] >- [% IF (err_data && err_data>1) %]<div class="dialog alert">There were [% err_data %] barcodes that contained at least one unprintable character.</div>[% END %] >+ <h1>[% t('Inventory') %]</h1> >+ [% IF (moddatecount) %]<div class="dialog message">[% moddatecount %] [% t('items modified : datelastseen set to') %] [% date | $KohaDates %]</div> >+ <div class="dialog alert">[% t('Number of potential barcodes read:') %] [% LinesRead %]</div>[% END %] >+ [% IF (errorfile) %]<div class="dialog alert">[% errorfile %] [% t('can\'t be opened') %]</div>[% END %] >+ [% IF (err_length && err_length==1) %]<div class="dialog alert">[% t('There was 1 barcode that was too long.') %]</div>[% END %] >+ [% IF (err_length && err_length>1) %]<div class="dialog alert">[% t('There were') %] [% err_length %] [% t('barcodes that were too long.') %]</div>[% END %] >+ [% IF (err_data && err_data==1) %]<div class="dialog alert">[% t('There was 1 barcode that contained at least one unprintable character.') %]</div>[% END %] >+ [% IF (err_data && err_data>1) %]<div class="dialog alert">[% t('There were') %] [% err_data %] [% t('barcodes that contained at least one unprintable character.') %]</div>[% END %] > [% FOREACH error IN errorloop %] > <div class="dialog alert"> > [% error.barcode %] >- [% IF (error.ERR_BARCODE) %]: barcode not found[% END %] >- [% IF (error.ERR_WTHDRAWN) %]: item withdrawn[% END %] >- [% IF (error.ERR_ONLOAN_RET) %]: item was on loan. It was returned before marked as seen[% END %] >- [% IF (error.ERR_ONLOAN_NOT_RET) %]: item was on loan. couldn't be returned.[% END %] >+ [% IF (error.ERR_BARCODE) %][% t(': barcode not found') %][% END %] >+ [% IF (error.ERR_WTHDRAWN) %][% t(': item withdrawn') %][% END %] >+ [% IF (error.ERR_ONLOAN_RET) %][% t(': item was on loan. It was returned before marked as seen') %][% END %] >+ [% IF (error.ERR_ONLOAN_NOT_RET) %][% t(': item was on loan. couldn\'t be returned.') %][% END %] > </div> > [% END %] > [% UNLESS op %] > <div class="yui-g"> > <form method="post" id="inventory_form" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data"> > <fieldset class="rows"> >- <legend>Use a barcode file</legend> >+ <legend>[% t('Use a barcode file') %]</legend> > <ol> >- <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li> >- <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today | $KohaDates %]" class="datepicker" disabled /></li> >- <li><label for="compareinv2barcd">Compare barcodes list to results: </label><input type="checkbox" name="compareinv2barcd" id="compareinv2barcd" disabled /></li> >- <li><label for="dont_checkin">Do not check in items scanned during inventory: </label><input type="checkbox" name="dont_checkin" id="dont_checkin" disabled /></li> >+ <li><label for="uploadbarcodes">[% t('Barcode file:') %] </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li> >+ <li><label for="setdate">[% t('Set inventory date to:') %]</label> <input type="text" id="setdate" name="setdate" value="[% today | $KohaDates %]" class="datepicker" disabled="" /></li> >+ <li><label for="compareinv2barcd">[% t('Compare barcodes list to results:') %] </label><input type="checkbox" name="compareinv2barcd" id="compareinv2barcd" disabled="" /></li> >+ <li><label for="dont_checkin">[% t('Do not check in items scanned during inventory:') %] </label><input type="checkbox" name="dont_checkin" id="dont_checkin" disabled="" /></li> > </ol> > </fieldset> > > <fieldset class="rows"> >- <legend>Item location filters</legend> >+ <legend>[% t('Item location filters') %]</legend> > <ol><li> >- <label for="branch">Library: </label> >- <input type="radio" name="branch" value="homebranch"> Home library</input> >- <input type="radio" name="branch" value="holdingbranch"> Current library</input> >+ <label for="branch">[% t('Library:') %] </label> >+ <input type="radio" name="branch" value="homebranch"> [% t('Home library') %]</input> >+ <input type="radio" name="branch" value="holdingbranch"> [% t('Current library') %]</input> > </li><li> >- <label for="branchloop">Library: </label><select id="branchloop" name="branchcode" style="width:12em;"> >- <option value="">All libraries</option> >+ <label for="branchloop">[% t('Library:') %] </label><select id="branchloop" name="branchcode" style="width:12em;"> >+ <option value="">[% t('All libraries') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %] > </select> > </li> > [% IF (authorised_values) %] > <li> >- <label for="locationloop">Shelving location (items.location) is: </label> >+ <label for="locationloop">[% t('Shelving location (items.location) is:') %] </label> > <select id="locationloop" name="location"> >- <option value="">Filter location</option> >+ <option value="">[% t('Filter location') %]</option> > [% FOREACH value IN authorised_values %] > [% IF (value.selected) %] > <option value="[% value.authorised_value %]" selected="selected">[% value.lib %]</option> >@@ -76,17 +77,17 @@ > </select> </li> > [% END %] > <li> >- <label for="minlocation">Item callnumber between: </label> >- <input type="text" name="minlocation" id="minlocation" value="[% minlocation %]" /> (items.itemcallnumber) </li> >- <li><label for="maxlocation">...and: </label> >+ <label for="minlocation">[% t('Item callnumber between:') %] </label> >+ <input type="text" name="minlocation" id="minlocation" value="[% minlocation %]" /> [% t('(items.itemcallnumber)') %] </li> >+ <li><label for="maxlocation">[% t('...and:') %] </label> > <input type="text" name="maxlocation" id="maxlocation" value="[% maxlocation %]" /> > </li> > </ol> > </fieldset> > > <fieldset class="rows" id="optionalfilters"> >- <legend>Optional filters for inventory list or comparing barcodes</legend> >- <br/> >+ <legend>[% t('Optional filters for inventory list or comparing barcodes') %]</legend> >+ <br /> > <div id="statuses" style="display: block;"> > [% FOREACH status IN statuses %] > [% IF (status.values) %] >@@ -98,7 +99,7 @@ > <li> > <label for="[% value.id %]"> > [% IF value.authorised_value==0 %] >- For loan >+ [% t('For loan') %] > [% ELSE %] > [% value.lib %] > [% END %] >@@ -114,13 +115,13 @@ > </div> > <ol> > <li> >- <br/> >- <label for="datelastseen">Last inventory date:</label> >+ <br /> >+ <label for="datelastseen">[% t('Last inventory date:') %]</label> > <input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen | $KohaDates %]" class="datepicker" /> >- (Skip records marked as seen on or after this date.) >+ [% t('(Skip records marked as seen on or after this date.)') %] > </li> > <li> >- <label for="ignoreissued">Skip items on loan: </label> >+ <label for="ignoreissued">[% t('Skip items on loan:') %] </label> > [% IF (ignoreissued) %] > <input type="checkbox" id="ignoreissued" name="ignoreissued" checked="checked" /> > [% ELSE %] >@@ -131,11 +132,11 @@ > </fieldset> > > <fieldset class="rows"> >- <legend>Additional options</legend> >+ <legend>[% t('Additional options') %]</legend> > <ol> > > <li> >- <label for="CSVexport">Export to CSV file: </label> >+ <label for="CSVexport">[% t('Export to CSV file:') %] </label> > <input type="checkbox" name="CSVexport" id="CSVexport" /> > </li> > </ol> >@@ -156,23 +157,23 @@ > <input type="hidden" name="datelastseen" value="[% datelastseen %]" /> > > [% UNLESS uploadedbarcodesflag %] >- <div><a href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div> >+ <div><a href="#" class="checkall"><i class="fa fa-check"></i> [% t('Select all') %]</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></div> > [% END %] > > <table id="inventoryt"> > <thead> > <tr> >- [% UNLESS uploadedbarcodesflag %]<th>Seen</th>[% END %] >- <th>Barcode</th> >- <th>Call number</th> >- <th>Library</th> >- <th>Title</th> >- <th>Not for loan</th> >- <th>Lost</th> >- <th>Damaged</th> >- <th>Withdrawn</th> >- <th>Last seen</th> >- <th>Problems</th> >+ [% UNLESS uploadedbarcodesflag %]<th>[% t('Seen') %]</th>[% END %] >+ <th>[% t('Barcode') %]</th> >+ <th>[% t('Call number') %]</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Not for loan') %]</th> >+ <th>[% t('Lost') %]</th> >+ <th>[% t('Damaged') %]</th> >+ <th>[% t('Withdrawn') %]</th> >+ <th>[% t('Last seen') %]</th> >+ <th>[% t('Problems') %]</th> > </tr> > </thead> > <tbody> >@@ -194,7 +195,7 @@ > <td> > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% result.biblionumber %]" class="openWin">[% result.title | html %]</a> > [% IF ( result.author ) %] >- by <span class="author">[% result.author | html %]</span> >+ [% t('by') %] <span class="author">[% result.author | html %]</span> > [% END %] > </td> > <td> >@@ -215,15 +216,15 @@ > <td> > [% FOREACH problem IN result.problems %] > [% IF problem.key == 'wrongplace' %] >- Found in wrong place<br/> >+ [% t('Found in wrong place') %]<br /> > [% ELSIF problem.key == 'changestatus' %] >- Unknown not-for-loan status<br/> >+ [% t('Unknown not-for-loan status') %]<br /> > [% ELSIF problem.key == 'not_scanned' %] >- Missing (not scanned)<br/> >+ [% t('Missing (not scanned)') %]<br /> > [% ELSIF problem.key == 'checkedout' %] >- Still checked out<br/> >+ [% t('Still checked out') %]<br /> > [% ELSIF problem.key == 'no_barcode' %] >- No barcode<br/> >+ [% t('No barcode') %]<br /> > [% END %] > [% END %] > </td> >@@ -233,10 +234,10 @@ > </table> > <div class="spacer"></div> > [% UNLESS uploadedbarcodesflag %] >- <div style="padding : .3em 0"><a href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div> >+ <div style="padding : .3em 0"><a href="#" class="checkall"><i class="fa fa-check"></i> [% t('Select all') %]</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></div> > <input type="submit" id="markseenandquit" value="Mark seen and quit" /> >- <input type="submit" value="Mark seen and continue >>" id="markseenandcontinuebutton" /> >- <input type="submit" value="Continue without marking >>" id="continuewithoutmarkingbutton" class="submit" /> >+ <input type="submit" value="Mark seen and continue >>" id="markseenandcontinuebutton" /> >+ <input type="submit" value="Continue without marking >>" id="continuewithoutmarkingbutton" class="submit" /> > [% END %] > </form> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index f50b80681c..fd9bbe2b60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE KohaDates %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › News</title> >+<title>[% t('Koha ⺠Tools ⺠News') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% IF ( opac_news_count ) %] > [% Asset.css("css/datatables.css") %] >@@ -14,8 +15,8 @@ > [% 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> › [% IF ( add_form ) %]<a href="/cgi-bin/koha/tools/koha-news.pl">News</a> › [% IF ( id ) %] >-Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</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> ⺠[% IF ( add_form ) %]<a href="/cgi-bin/koha/tools/koha-news.pl">[% t('News') %]</a> ⺠[% IF ( id ) %] >+[% t('Edit news item') %][% ELSE %][% t('Add news item') %][% END %][% ELSE %][% t('News') %][% END %]</div> > > [% IF ( add_form ) %] > <div class="main container-fluid"> >@@ -30,10 +31,10 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > > [% UNLESS ( add_form ) %] > [% IF error_message == 'title_missing' %] >- <div class="dialog alert">Error: Required news title missing!</div> >+ <div class="dialog alert">[% t('Error: Required news title missing!') %]</div> > [% END %] > <div id="toolbar" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&lang=[% lang %]"><i class="fa fa-plus"></i> New entry</a> >+ <a class="btn btn-default btn-sm" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&lang=[% lang %]"><i class="fa fa-plus"></i> [% t('New entry') %]</a> > </div> > [% END %] > >@@ -41,113 +42,113 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > [% IF ( op == 'add' ) %][% default_lang = lang %] > [% ELSE %][% default_lang = new_detail.lang %] > [% END %] >- <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" > >+ <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl"> > <input type="hidden" name="op" value="[% op %]" /> > <input type="hidden" name="id" value="[% id %]" /> > <fieldset class="rows"> >- <legend>OPAC and Koha news</legend> >+ <legend>[% t('OPAC and Koha news') %]</legend> > <ol> <li> >- <label for="lang">Display location:</label> >+ <label for="lang">[% t('Display location:') %]</label> > <select id="lang" name="lang"> > [% IF ( default_lang == "" ) %] >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% ELSE %] >- <option value="" >All</option> >+ <option value="">[% t('All') %]</option> > [% END %] > [% IF ( default_lang == "koha" ) %] >- <option value="koha" selected="selected">Librarian interface</option> >+ <option value="koha" selected="selected">[% t('Librarian interface') %]</option> > [% ELSE %] >- <option value="koha" >Librarian interface</option> >+ <option value="koha">[% t('Librarian interface') %]</option> > [% END %] > [% IF ( default_lang == "slip" ) %] >- <option value="slip" selected="selected">Slip</option> >+ <option value="slip" selected="selected">[% t('Slip') %]</option> > [% ELSE %] >- <option value="slip" >Slip</option> >+ <option value="slip">[% t('Slip') %]</option> > [% END %] > [% FOREACH lang_lis IN lang_list %] > [% IF ( lang_lis.language == default_lang ) %] >- <option value="[% lang_lis.language %]" selected="selected">OPAC ([% lang_lis.language %])</option> >+ <option value="[% lang_lis.language %]" selected="selected">[% t('OPAC (') %][% lang_lis.language %])</option> > [% ELSE %] >- <option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> >+ <option value="[% lang_lis.language %]">[% t('OPAC (') %][% lang_lis.language %])</option> > [% END %] > [% END %] > </select> > </li> > <li> >- <label for="branch">Library: </label> >+ <label for="branch">[% t('Library:') %] </label> > <select id="branch" name="branch"> > [% IF ( new_detail.branchcode == '' ) %] >- <option value="" selected="selected">All libraries</option> >+ <option value="" selected="selected">[% t('All libraries') %]</option> > [% ELSE %] >- <option value="" >All libraries</option> >+ <option value="">[% t('All libraries') %]</option> > [% END %] > [% PROCESS options_for_libraries libraries => Branches.all( selected => new_detail.branchcode, unfiltered => 1, ) %] > </select> > </li> > <li> >- <label for="title" class="required">Title: </label> >- <input id="title" size="30" type="text" name="title" value="[% new_detail.title %]" required="required" class="required" /> <span class="required">Required</span> >+ <label for="title" class="required">[% t('Title:') %] </label> >+ <input id="title" size="30" type="text" name="title" value="[% new_detail.title %]" required="required" class="required" /> <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="from">Publication date: </label> >+ <label for="from">[% t('Publication date:') %] </label> > <input id="from" type="text" name="timestamp" size="15" value="[% new_detail.timestamp %]" class="datepickerfrom" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >- <label for="to">Expiration date: </label> >+ <label for="to">[% t('Expiration date:') %] </label> > <input id="to" type="text" name="expirationdate" size="15" value="[% new_detail.expirationdate %]" class="datepickerto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >- <label for="number">Appear in position: </label> >+ <label for="number">[% t('Appear in position:') %] </label> > [% IF ( new_detail.number ) %] > <input id="number" size="3" name="number" type="text" value="[% new_detail.number %]" /> > [% ELSE %] > <input id="number" size="3" name="number" type="text" /> > [% END %] > </li> >- <li><label for="content">News: </label> >- <textarea name="content" id="content" cols="75" rows="10">[% new_detail.content %]</textarea> >+ <li><label for="content">[% t('News:') %] </label> >+ <textarea name="content" id="content" cols="75" rows="10">[% new_detail.content %]</textarea> > </li> > </ol> > </fieldset> > >- <fieldset class="action"><input class="button" type="submit" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/tools/koha-news.pl">Cancel</a></fieldset> >+ <fieldset class="action"><input class="button" type="submit" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/tools/koha-news.pl">[% t('Cancel') %]</a></fieldset> > </form> > [% ELSE %] > <div style="margin-bottom:5px;"> >- <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" > >- <label for="lang">Display location:</label> >+ <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl"> >+ <label for="lang">[% t('Display location:') %]</label> > <select name="lang" id="lang"> > [% IF ( lang == "" ) %] >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% ELSE %] >- <option value="" >All</option> >+ <option value="">[% t('All') %]</option> > [% END %] > [% IF ( lang == "koha" ) %] >- <option value="koha" selected="selected">Librarian interface</option> >+ <option value="koha" selected="selected">[% t('Librarian interface') %]</option> > [% ELSE %] >- <option value="koha" >Librarian interface</option> >+ <option value="koha">[% t('Librarian interface') %]</option> > [% END %] > [% IF ( lang == "slip" ) %] >- <option value="slip" selected="selected">Slip</option> >+ <option value="slip" selected="selected">[% t('Slip') %]</option> > [% ELSE %] >- <option value="slip" >Slip</option> >+ <option value="slip">[% t('Slip') %]</option> > [% END %] > [% FOREACH lang_lis IN lang_list %] > [% IF ( lang_lis.language == lang ) %] >- <option value="[% lang_lis.language %]" selected="selected">OPAC ([% lang_lis.language %])</option> >+ <option value="[% lang_lis.language %]" selected="selected">[% t('OPAC (') %][% lang_lis.language %])</option> > [% ELSE %] >- <option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> >+ <option value="[% lang_lis.language %]">[% t('OPAC (') %][% lang_lis.language %])</option> > [% END %] > [% END %] > </select> >- <label for="branch">Library: </label> >+ <label for="branch">[% t('Library:') %] </label> > <select id="branch" name="branch"> > [% IF ( branchcode == "" ) %] >- <option value="" selected="selected">All libraries</option> >+ <option value="" selected="selected">[% t('All libraries') %]</option> > [% ELSE %] >- <option value="" >All libraries</option> >+ <option value="">[% t('All libraries') %]</option> > [% END %] > [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %] > </select> >@@ -158,16 +159,16 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > <form id="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl"> > <table id="newst"> > <thead> <tr> >- <th> </th> >- <th>Location</th> >- <th>Library</th> >- <th>Number</th> >- <th class="title-string">Publication date</th> >- <th class="title-string">Expiration date</th> >- <th>Title</th> >- <th>Author</th> >- <th>News</th> >- <th>Actions</th> >+ <th> </th> >+ <th>[% t('Location') %]</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Number') %]</th> >+ <th class="title-string">[% t('Publication date') %]</th> >+ <th class="title-string">[% t('Expiration date') %]</th> >+ <th>[% t('Title') %]</th> >+ <th>[% t('Author') %]</th> >+ <th>[% t('News') %]</th> >+ <th>[% t('Actions') %]</th> > </tr></thead> > <tbody>[% FOREACH opac_new IN opac_news %] > [% IF ( opac_new.expired ) %] >@@ -180,30 +181,30 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > </td> > <td>[% SWITCH opac_new.lang %] > [% CASE "koha" %] >- Librarian interface >+ [% t('Librarian interface') %] > [% CASE "slip" %] >- Slip >+ [% t('Slip') %] > [% CASE "" %] >- All >+ [% t('All') %] > [% CASE %] >- OPAC ([% opac_new.lang %]) >+ [% t('OPAC (') %][% opac_new.lang %]) > [% END %] > </td> > <td>[% IF ( opac_new.branchcode == "" ) -%] >- All libraries >+ [% t('All libraries') %] > [% ELSE %][% opac_new.branchname %] > [% END %]</td> > <td>[% opac_new.number %]</td> > <td><span title="[% opac_new.newdate %]">[% opac_new.newdate | $KohaDates %]</span></td> >- <td><span title="[% opac_new.expirationdate %]">[% opac_new.expirationdate | $KohaDates %] [% IF ( opac_new.expired ) %](<span class="expired">expired</span>)[% END %]</span></td> >+ <td><span title="[% opac_new.expirationdate %]">[% opac_new.expirationdate | $KohaDates %] [% IF ( opac_new.expired ) %](<span class="expired">[% t('expired') %]</span>)[% END %]</span></td> > <td>[% opac_new.title %]</td> > <td>[% opac_new.author_title %] [% opac_new.author_firstname %] [% opac_new.author_surname %]</td> > <td> > [% opac_new.content %] > </td> > <td class="actions"> >- <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% opac_new.idnew %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> >- <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% opac_new.idnew %]" class="delete_news btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a> >+ <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% opac_new.idnew %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> >+ <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% opac_new.idnew %]" class="delete_news btn btn-default btn-xs"><i class="fa fa-trash"></i> [% t('Delete') %]</a> > </td> > </tr> > [% END %]</tbody> >@@ -212,7 +213,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > <fieldset class="action"><input type="submit" class="button" value="Delete selected" /></fieldset> > </form> > [% ELSE %] >- <div class="dialog message">There are no news items.</div> >+ <div class="dialog message">[% t('There are no news items.') %]</div> > [% END %] > [% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >index 0e12c41ed0..6fd513009e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Notices[% IF ( add_form or copy_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate or copy_validate) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> >+<title>[% t('Koha ⺠Tools ⺠Notices') %][% IF ( add_form or copy_form ) %][% IF ( modify ) %] [% t('⺠Modify notice') %][% ELSE %] [% t('⺠Add notice') %][% END %][% END %][% IF ( add_validate or copy_validate) %] [% t('⺠Notice added') %][% END %][% IF ( delete_confirm ) %] [% t('⺠Confirm deletion') %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > <style type="text/css">#preview_template .modal-dialog { width : 80%; } .spinner { display: none; } @media (max-width: 767px) { #preview_template { margin: 0; width : auto; } }</style> >@@ -13,21 +14,21 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'letters-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> › [% IF ( add_form or copy_form) %][% IF ( modify ) %]<a href="/cgi-bin/koha/tools/letter.pl">Notices & slips</a> › Modify notice[% ELSE %] <a href="/cgi-bin/koha/tools/letter.pl">Notices & slips</a> › Add notice[% END %][% ELSE %][% IF ( add_validate or copy_validate) %] <a href="/cgi-bin/koha/tools/letter.pl">Notices & slips</a> › Notice added[% ELSE %][% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/tools/letter.pl">Notices & slips</a> › Confirm deletion[% ELSE %]Notices & slips[% END %][% END %][% END %]</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> ⺠[% IF ( add_form or copy_form) %][% IF ( modify ) %]<a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices & slips') %]</a> [% t('⺠Modify notice') %][% ELSE %] <a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices & slips') %]</a> [% t('⺠Add notice') %][% END %][% ELSE %][% IF ( add_validate or copy_validate) %] <a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices & slips') %]</a> [% t('⺠Notice added') %][% ELSE %][% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices & slips') %]</a> [% t('⺠Confirm deletion') %][% ELSE %][% t('Notices & slips') %][% END %][% END %][% END %]</div> > > <div id="preview_template" class="modal in" tabindex="-1" role="dialog" aria-labelledby="preview_template_label" aria-hidden="true"> > <div class="modal-dialog modal-lg"> > <div class="modal-content"> > <div class="modal-header"> > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="preview_template_label">Preview notice template</h3> >+ <h3 id="preview_template_label">[% t('Preview notice template') %]</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"> > <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>--> >- <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> >@@ -45,32 +46,32 @@ > [% END %] > > [% IF ( no_op_set ) %] >- <h1>Notices & slips</h1> >+ <h1>[% t('Notices & slips') %]</h1> > <form method="get" action="/cgi-bin/koha/tools/letter.pl" id="selectlibrary"> > <input type="hidden" name="searchfield" value="[% searchfield | html %]" /> > [% UNLESS independant_branch %] > <p> >- Select a library : >+ [% t('Select a library :') %] > <select name="branchcode" id="branch" style="width:20em;"> >- <option value="*">All libraries</option> >+ <option value="*">[% t('All libraries') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] > </select> > </p> > [% END %] > <div id="toolbar" class="btn-toolbar"> >- <button type="submit" class="btn btn-default btn-sm" id="newnotice"><i class="fa fa-plus"></i> New notice</button> >+ <button type="submit" class="btn btn-default btn-sm" id="newnotice"><i class="fa fa-plus"></i> [% t('New notice') %]</button> > <input type="hidden" id="op" name="op" /> > </div> > </form> > > [% IF ( search ) %] >- <p>You searched for <b>[% searchfield | html %]</b></p> >+ <p>[% t('You searched for') %] <b>[% searchfield | html %]</b></p> > [% END %] > [% IF ( letter && !independant_branch) %] > [% select_for_copy = BLOCK %] > <select name="branchcode"> > [% FOREACH l IN Branches.all() %] >- <option value="[% l.branchcode %]">Copy to [% l.branchname %]</option> >+ <option value="[% l.branchcode %]">[% t('Copy to') %] [% l.branchname %]</option> > [% END %] > </select> > [% END %] >@@ -79,19 +80,19 @@ > <table id="lettert"> > <thead> > <tr> >- <th>Library</th> >- <th>Module</th> >- <th>Code</th> >- <th>Name</th> >- <th class="nosort">Copy notice</th> >- <th class="nosort">Actions</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Module') %]</th> >+ <th>[% t('Code') %]</th> >+ <th>[% t('Name') %]</th> >+ <th class="nosort">[% t('Copy notice') %]</th> >+ <th class="nosort">[% t('Actions') %]</th> > </tr> > </thead> > <tbody> > [% FOREACH lette IN letter %] > [% can_edit = lette.branchcode || !independant_branch %] > <tr> >- <td>[% IF lette.branchname %][% lette.branchname %][% ELSE %](All libraries)[% END %]</td> >+ <td>[% IF lette.branchname %][% lette.branchname %][% ELSE %][% t('(All libraries)') %][% END %]</td> > <td>[% lette.module %]</td> > <td>[% lette.code %]</td> > <td>[% lette.name %]</td> >@@ -107,16 +108,16 @@ > [% ELSE %] > [% select_for_copy %] > [% END %] >- <button class="btn btn-default btn-xs"><i class="fa fa-clone"></i> Copy</button> >+ <button class="btn btn-default btn-xs"><i class="fa fa-clone"></i> [% t('Copy') %]</button> > </form> > [% END %] > </td> > <td class="actions"> > [% IF can_edit %] >- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> > [% END %] > [% IF !lette.protected && can_edit %] >- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&branchcode=[%lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-trash"></i> Delete</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&branchcode=[%lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-trash"></i> [% t('Delete') %]</a> > [% END %] > </td> > </tr> >@@ -126,9 +127,9 @@ > [% ELSE %] > <div class="dialog message"> > [% IF ( branchcode ) %] >- <p>There are no notices for this library.</p> >+ <p>[% t('There are no notices for this library.') %]</p> > [% ELSE %] >- <p>There are no notices.</p> >+ <p>[% t('There are no notices.') %]</p> > [% END %] > </div> > [% END %] >@@ -136,19 +137,19 @@ > > > [% IF add_form or copy_form %] >-<h1>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h1> >+<h1>[% IF ( modify ) %][% t('Modify notice') %][% ELSE %][% t('Add notice') %][% END %]</h1> > > <div id="toolbar" class="btn-toolbar"> > <div class="btn-group"> >- <button class="btn btn-default btn-sm" id="submit_form"><i class="fa fa-save"></i> Save</button> >+ <button class="btn btn-default btn-sm" id="submit_form"><i class="fa fa-save"></i> [% t('Save') %]</button> > <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> > <span class="caret"></span> > </button> > <ul class="dropdown-menu"> >- <li><a id="saveandcontinue" href="#">Save and continue editing</a></li> >+ <li><a id="saveandcontinue" href="#">[% t('Save and continue editing') %]</a></li> > </ul> > </div> >- <a class="btn btn-default btn-sm cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a> >+ <a class="btn btn-default btn-sm cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> [% t('Cancel') %]</a> > </div> > > <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate"> >@@ -173,24 +174,24 @@ > <li> > > [% IF adding %] >- <label for="branch">Library:</label> >+ <label for="branch">[% t('Library:') %]</label> > <select name="branchcode" id="branch" style="width:20em;"> >- <option value="">All libraries</option> >+ <option value="">[% t('All libraries') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] > </select> > [% ELSE %] >- <span class="label">Library:</span> >+ <span class="label">[% t('Library:') %]</span> > <input type="hidden" id="branch" name="branchcode" value="[% branchcode %]" /> > [% IF ( branchcode ) %] > [% Branches.GetName( branchcode ) %] > [% ELSE %] >- All libraries >+ [% t('All libraries') %] > [% END %] > [% END %] > </li> > [% END %] > <li> >- <label for="module">Koha module:</label> >+ <label for="module">[% t('Koha module:') %]</label> > <input type="hidden" name="oldmodule" value="[% module %]" /> > [% IF adding %] > <select name="module" id="newmodule"> >@@ -198,85 +199,85 @@ > <select name="module" id="module"> > [% END %] > [% IF ( module == "acquisition" ) %] >- <option value="acquisition" selected="selected">Acquisition</option> >+ <option value="acquisition" selected="selected">[% t('Acquisition') %]</option> > [% ELSE %] >- <option value="acquisition" >Acquisition</option> >+ <option value="acquisition">[% t('Acquisition') %]</option> > [% END %] > [% IF ( module == "catalogue" ) %] >- <option value="catalogue" selected="selected">Catalog</option> >+ <option value="catalogue" selected="selected">[% t('Catalog') %]</option> > [% ELSE %] >- <option value="catalogue" >Catalog</option> >+ <option value="catalogue">[% t('Catalog') %]</option> > [% END %] > [% IF ( module == "circulation" ) %] >- <option value="circulation" selected="selected">Circulation</option> >+ <option value="circulation" selected="selected">[% t('Circulation') %]</option> > [% ELSE %] >- <option value="circulation">Circulation</option> >+ <option value="circulation">[% t('Circulation') %]</option> > [% END %] > [% IF ( module == "orderacquisition" ) %] >- <option value="orderacquisition" selected="selected">Order acquisition</option> >+ <option value="orderacquisition" selected="selected">[% t('Order acquisition') %]</option> > [% ELSE %] >- <option value="orderacquisition">Order acquisition</option> >+ <option value="orderacquisition">[% t('Order acquisition') %]</option> > [% END %] > [% IF ( module == "claimacquisition" ) %] >- <option value="claimacquisition" selected="selected">Claim acquisition</option> >+ <option value="claimacquisition" selected="selected">[% t('Claim acquisition') %]</option> > [% ELSE %] >- <option value="claimacquisition">Claim acquisition</option> >+ <option value="claimacquisition">[% t('Claim acquisition') %]</option> > [% END %] > [% IF ( module == "claimissues" ) %] >- <option value="claimissues" selected="selected">Claim serial issue</option> >+ <option value="claimissues" selected="selected">[% t('Claim serial issue') %]</option> > [% ELSE %] >- <option value="claimissues">Claim serial issue</option> >+ <option value="claimissues">[% t('Claim serial issue') %]</option> > [% END %] > [% IF ( module == "reserves" ) %] >- <option value="reserves" selected="selected">Holds</option> >+ <option value="reserves" selected="selected">[% t('Holds') %]</option> > [% ELSE %] >- <option value="reserves">Holds</option> >+ <option value="reserves">[% t('Holds') %]</option> > [% END %] > [% IF ( module == "members" ) %] >- <option value="members" selected="selected">Members</option> >+ <option value="members" selected="selected">[% t('Members') %]</option> > [% ELSE %] >- <option value="members">Members</option> >+ <option value="members">[% t('Members') %]</option> > [% END %] > [% IF ( module == "serial" ) %] >- <option value="serial" selected="selected">Serials (new issue)</option> >+ <option value="serial" selected="selected">[% t('Serials (new issue)') %]</option> > [% ELSE %] >- <option value="serial">Serials (new issue)</option> >+ <option value="serial">[% t('Serials (new issue)') %]</option> > [% END %] > [% IF ( module == "suggestions" ) %] >- <option value="suggestions" selected="selected">Suggestions</option> >+ <option value="suggestions" selected="selected">[% t('Suggestions') %]</option> > [% ELSE %] >- <option value="suggestions">Suggestions</option> >+ <option value="suggestions">[% t('Suggestions') %]</option> > [% END %] > </select> > </li> > <li> > [% IF adding %] >- <label for="code" class="required">Code:</label> >- <input type="text" id="code" name="code" size="20" maxlength="20" value="" required="required"/> >- <span class="required">Required</span> >+ <label for="code" class="required">[% t('Code:') %]</label> >+ <input type="text" id="code" name="code" size="20" maxlength="20" value="" required="required" /> >+ <span class="required">[% t('Required') %]</span> > [% ELSE %] >- <span class="label">Code:</span> >+ <span class="label">[% t('Code:') %]</span> > <input type="hidden" id="code" name="code" value="[% code %]" /> > [% code %] > [% END %] > </li> > <li> >- <label for="name" class="required">Name:</label> >+ <label for="name" class="required">[% t('Name:') %]</label> > <input type="text" id="name" name="name" size="60" value="[% letter_name %]" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > [% IF code and preview_is_available%] > <li> >- <label for="name">Data for preview:</label> >+ <label for="name">[% t('Data for preview:') %]</label> > [% SWITCH code %] > [% CASE 'CHECKIN' %] >- <input type="text" id="data_preview" name="data_preview" value="" placeholder="barcode" /> >+ <input type="text" id="data_preview" name="data_preview" value="" placeholder="[% t('barcode') %]" /> > [% CASE 'CHECKOUT' %] >- <input type="text" id="data_preview" name="data_preview" value="" placeholder="barcode|borrowernumber" /> >+ <input type="text" id="data_preview" name="data_preview" value="" placeholder="[% t('barcode|borrowernumber') %]" /> > [% CASE 'HOLD_SLIP' %] >- <input type="text" id="data_preview" name="data_preview" value="" placeholder="biblionumber|borrowernumber" /> >+ <input type="text" id="data_preview" name="data_preview" value="" placeholder="[% t('biblionumber|borrowernumber') %]" /> > [% CASE %] >- Not supported yet. >+ [% t('Not supported yet.') %] > [% END %] > </li> > [% END %] >@@ -286,7 +287,7 @@ > <div style="clear:both"></div> > <div id="tabs"> > <ul> >- <li><a href="#lang_default">Default</a></li> >+ <li><a href="#lang_default">[% t('Default') %]</a></li> > [% FOR language IN languages %] > [% FOR sublanguage IN language.sublanguages_loop %] > [% IF language.plural %] >@@ -307,25 +308,25 @@ > <h3> > [% SWITCH letter.message_transport_type %] > [% CASE 'email' %] >- Email >+ [% t('Email') %] > [% CASE 'print' %] >- Print >+ [% t('Print') %] > [% CASE 'sms' %] >- SMS >+ [% t('SMS') %] > [% CASE 'feed' %] >- Feed >+ [% t('Feed') %] > [% CASE 'phone' %] >- Phone >+ [% t('Phone') %] > [% CASE %] > [% letter.message_transport_type %] > [% END %] > </h3> > [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %] > <fieldset class="rows mtt" id="[% letter.message_transport_type %]_[% lang %]" disabled="disabled"> >- <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div> >+ <div class="dialog message">[% t('You should enable the SMSSendDriver preference to use the SMS templates.') %]</div> > [% ELSIF letter.message_transport_type == "phone" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] > <fieldset class="rows mtt" id="[% letter.message_transport_type %]_[% lang %]" disabled="disabled"> >- <div class="dialog message">You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.</div> >+ <div class="dialog message">[% t('You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.') %]</div> > [% ELSE %] > <fieldset class="rows mtt" id="[% letter.message_transport_type %]_[% lang %]"> > [% END %] >@@ -333,7 +334,7 @@ > <li> > <input type="hidden" name="message_transport_type" value="[% letter.message_transport_type %]" /> > <input type="hidden" name="lang" value="[% lang %]" /> >- <label for="is_html_[% letter.message_transport_type %]_[% lang %]">HTML message:</label> >+ <label for="is_html_[% letter.message_transport_type %]_[% lang %]">[% t('HTML message:') %]</label> > [% IF letter.is_html %] > <input type="checkbox" name="is_html_[% letter.message_transport_type %]" id="is_html_[% letter.message_transport_type %]_[% lang %]" value="1" checked="checked" /> > [% ELSE %] >@@ -341,12 +342,12 @@ > [% END %] > </li> > <li> >- <label for="title_[% letter.message_transport_type %]_[% lang %]">Message subject:</label><input type="text" id="title_[% letter.message_transport_type %]_[% lang %]" name="title" size="60" value="[% letter.title %]" /> >+ <label for="title_[% letter.message_transport_type %]_[% lang %]">[% t('Message subject:') %]</label><input type="text" id="title_[% letter.message_transport_type %]_[% lang %]" name="title" size="60" value="[% letter.title %]" /> > </li> > <li> >- <label for="SQLfieldname_[% letter.message_transport_type %]_[% lang %]">Message body:</label> >+ <label for="SQLfieldname_[% letter.message_transport_type %]_[% lang %]">[% t('Message body:') %]</label> > [% IF letter.message_transport_type == 'sms' %] >- <span class="sms_counter" id="sms_counter_[% lang %]">[% IF letter.content && letter.content.length > 0 %][% letter.content.length %][% ELSE %]0[% END %]/160 characters</span> >+ <span class="sms_counter" id="sms_counter_[% lang %]">[% IF letter.content && letter.content.length > 0 %][% letter.content.length %][% ELSE %][% t('0') %][% END %][% t('/160 characters') %]</span> > [% END %] > <table> > <tr> >@@ -358,7 +359,7 @@ > </select> > </td> > <td class="actions"> >- <button type="button" data-containerid="[% letter.message_transport_type %]_[% lang %]" class="btn btn-default btn-sm insert">Insert <i class="fa fa-long-arrow-right"></i></button> >+ <button type="button" data-containerid="[% letter.message_transport_type %]_[% lang %]" class="btn btn-default btn-sm insert">[% t('Insert') %] <i class="fa fa-long-arrow-right"></i></button> > </td> > <td><textarea name="content" data-lang="[% lang %]" class="content_[% letter.message_transport_type %]" id="content_[% letter.message_transport_type %]_[% lang %]" cols="80" rows="15">[% letter.content | html %]</textarea></td> > </tr> >@@ -366,7 +367,7 @@ > </li> > [% IF preview_is_available %] > <li> >- <a href="/cgi-bin/koha/svc/letters/preview" class="preview_template btn btn-default btn-xs" title="Preview this notice template" data-mtt="[% letter.message_transport_type %]" data-lang="[% lang %]"><i class="fa fa-eye"></i> Preview</a> >+ <a href="/cgi-bin/koha/svc/letters/preview" class="preview_template btn btn-default btn-xs" title="[% t('Preview this notice template') %]" data-mtt="[% letter.message_transport_type %]" data-lang="[% lang %]"><i class="fa fa-eye"></i> [% t('Preview') %]</a> > </li> > [% END %] > </ol> >@@ -379,7 +380,7 @@ > </div> > [% END %] > >- [% IF code.search('DGST') %] <span class="overdue">Warning, this is a template for a Digest, as such, any references to branch data ( e.g. branches.branchname ) will refer to the borrower's home branch.</span> [% END %] >+ [% IF code.search('DGST') %] <span class="overdue">[% t('Warning, this is a template for a Digest, as such, any references to branch data ( e.g. branches.branchname ) will refer to the borrower\'s home branch.') %]</span> [% END %] > > <input type="hidden" id="redirect" name="redirect" value="" /> > <input type="hidden" name="searchfield" value="[% searchfield %]" /> >@@ -387,7 +388,7 @@ > [% END %] > > [% IF ( add_validate or copy_validate) %] >- Data recorded >+ [% t('Data recorded') %] > <form action="[% action %]" method="post"> > <input type="submit" value="OK" /> > </form> >@@ -395,18 +396,18 @@ > > [% IF ( delete_confirm ) %] > <div class="dialog alert"> >- <h3>Delete notice?</h3> >+ <h3>[% t('Delete notice?') %]</h3> > <table> > <thead> > <tr> >- <th>Library</th> >- <th>Module</th> >- <th>Code</th> >- <th>Name</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Module') %]</th> >+ <th>[% t('Code') %]</th> >+ <th>[% t('Name') %]</th> > </tr> > </thead> > <tr> >- <td>[% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) %][% ELSE %](All libraries)[% END %]</td> >+ <td>[% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) %][% ELSE %][% t('(All libraries)') %][% END %]</td> > <td>[% letter.module %]</td> > <td>[% letter.code %]</td> > <td>[% letter.name %]</td> >@@ -417,17 +418,17 @@ > <input type="hidden" name="branchcode" value="[% letter.branchcode %]" /> > <input type="hidden" name="code" value="[% letter.code %]" /> > <input type="hidden" name="module" value="[% letter.module %]" /> >- <button type="submit" class="approve"><i class="fa fa-check"></i> Yes, delete</button> >+ <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Yes, delete') %]</button> > </form> > > <form action="[% action %]" method="get"> >- <button type="submit" class="deny"><i class="fa fa-times"></i> No, do not delete</button> >+ <button type="submit" class="deny"><i class="fa fa-times"></i> [% t('No, do not delete') %]</button> > </form> > </div> > [% END %] > > [% IF ( delete_confirmed ) %] >- Data deleted >+ [% t('Data deleted') %] > <form action="[% action %]" method="post"> > <input type="submit" value="OK" /> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index cff595afcf..56f1f38fa8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Manage staged MARC records >+<title>[% t('Koha ⺠Tools ⺠Manage staged MARC records') %] > [% IF ( import_batch_id ) %] >- › Batch [% import_batch_id %] >+ [% t('⺠Batch') %] [% import_batch_id %] > [% END %] > </title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -17,13 +18,13 @@ > [% 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> >+<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> > [% IF ( import_batch_id ) %] >- › >- <a href="[% script_name %]">Manage staged MARC records</a> >- › Batch [% import_batch_id %] >+ ⺠>+ <a href="[% script_name %]">[% t('Manage staged MARC records') %]</a> >+ [% t('⺠Batch') %] [% import_batch_id %] > [% ELSE %] >- › Manage staged MARC records >+ [% t('⺠Manage staged MARC records') %] > [% END %] > </div> > >@@ -33,9 +34,9 @@ > <div id="yui-main"> > <div class="yui-b"> > >-<h1>Manage staged MARC records >+<h1>[% t('Manage staged MARC records') %] > [% IF ( import_batch_id ) %] >- › Batch [% import_batch_id %] >+ [% t('⺠Batch') %] [% import_batch_id %] > [% END %] > </h1> > [% IF ( label_batch_msg ) %] >@@ -49,18 +50,18 @@ > [% END %] > > [% IF ( did_clean ) %] >- <div class="dialog message">Cleaned import batch #[% import_batch_id %]</div> >+ <div class="dialog message">[% t('Cleaned import batch #') %][% import_batch_id %]</div> > [% END %] > > [% IF ( did_delete ) %] >- <div class="dialog message">Import batch deleted successfully</div> >+ <div class="dialog message">[% t('Import batch deleted successfully') %]</div> > [% END %] > > [% UNLESS ( batch_list ) %] > [% UNLESS ( batch_info ) %] > <div class="dialog message"> >- <p>No records have been staged.</p> >- <p><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.</p> >+ <p>[% t('No records have been staged.') %]</p> >+ <p><a href="/cgi-bin/koha/tools/stage-marc-import.pl">[% t('Stage MARC records for import') %]</a>.</p> > </div> > [% END %] > [% END %] >@@ -76,49 +77,49 @@ > > [% IF ( rematch_attempted ) %] > [% IF ( rematch_failed ) %] >- <div class="dialog alert">Failed to apply different matching rule</div> >+ <div class="dialog alert">[% t('Failed to apply different matching rule') %]</div> > [% ELSE %] >- <div class="dialog message">Applied different matching rule. Number of records matched now >+ <div class="dialog message">[% t('Applied different matching rule.') %] [% t('Number of records matched now') %] > [% num_with_matches %] > </div> > [% END %] > [% END %] > [% IF ( changed_overlay_action ) %] >- <div class="dialog message">Changed action if matching record found</div> >+ <div class="dialog message">[% t('Changed action if matching record found') %]</div> > [% END %] > [% IF ( changed_nomatch_action ) %] >- <div class="dialog message">Changed action if no match found</div> >+ <div class="dialog message">[% t('Changed action if no match found') %]</div> > [% END %] > [% IF ( changed_item_action ) %] >- <div class="dialog message">Changed item processing option</div> >+ <div class="dialog message">[% t('Changed item processing option') %]</div> > [% END %] > > <fieldset class="rows" id="staged-record-matching-rules"> > <ol> >- <li><span class="label">File name:</span> [% file_name %]</li> >- <li><span class="label">Comments:</span> [% IF ( comments ) %][% comments %][% ELSE %](none)[% END %]</li> >- <li><span class="label">Type:</span> [% IF ( record_type == 'auth' ) %]Authority records[% ELSE %]Bibliographic records[% END %]</li> >- <li><span class="label">Staged:</span> [% upload_timestamp %]</li> >- <li><span class="label">Status:</span> >+ <li><span class="label">[% t('File name:') %]</span> [% file_name %]</li> >+ <li><span class="label">[% t('Comments:') %]</span> [% IF ( comments ) %][% comments %][% ELSE %][% t('(none)') %][% END %]</li> >+ <li><span class="label">[% t('Type:') %]</span> [% IF ( record_type == 'auth' ) %][% t('Authority records') %][% ELSE %][% t('Bibliographic records') %][% END %]</li> >+ <li><span class="label">[% t('Staged:') %]</span> [% upload_timestamp %]</li> >+ <li><span class="label">[% t('Status:') %]</span> > [% IF ( import_status == 'cleaned' ) %] >- Cleaned >+ [% t('Cleaned') %] > [% ELSIF ( import_status == 'imported' ) %] >- Imported >+ [% t('Imported') %] > [% ELSIF ( import_status == 'importing' ) %] >- Importing >+ [% t('Importing') %] > [% ELSIF ( import_status == 'reverted' ) %] >- Reverted >+ [% t('Reverted') %] > [% ELSIF ( import_status == 'reverting' ) %] >- Reverting >+ [% t('Reverting') %] > [% ELSIF ( import_status == 'staged' ) %] >- Staged >+ [% t('Staged') %] > [% ELSE %] > [% import_status %] > [% END %] > </li> > <li> >-[% IF ( can_commit ) %]<label for="new_matcher_id">Matching rule applied:</label><select name="new_matcher_id" id="new_matcher_id"> >- <option value="">Do not look for matching records</option> >+[% IF ( can_commit ) %]<label for="new_matcher_id">[% t('Matching rule applied:') %]</label><select name="new_matcher_id" id="new_matcher_id"> >+ <option value="">[% t('Do not look for matching records') %]</option> > [% FOREACH available_matcher IN available_matchers %] > [% IF ( available_matcher.selected ) %] > <option value="[% available_matcher.matcher_id %]" selected="selected"> >@@ -130,24 +131,24 @@ > </option> > [% END %] > [% END %] >- </select> <span class="change-status">Changed. <a href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>[% ELSE %]<span class="label">Matching rule applied</span>[% IF ( current_matcher_id ) %] >+ </select> <span class="change-status">[% t('Changed.') %] <a href="#" class="reset" id="reset_new_matcher_id">[% t('Reset') %]</a></span>[% ELSE %]<span class="label">[% t('Matching rule applied') %]</span>[% IF ( current_matcher_id ) %] > [% current_matcher_code %] ([% current_matcher_description %]) > [% ELSE %] >- No matching rule in effect >+ [% t('No matching rule in effect') %] > [% END %][% END %] > </li> > <li> > [% IF ( can_commit ) %] >- <label for="overlay_action">Action if matching record found:</label> >- [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span> >+ <label for="overlay_action">[% t('Action if matching record found:') %]</label> >+ [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">[% t('Changed.') %] <a href="#" class="reset" id="reset_overlay_action">[% t('Reset') %]</a></span> > [% ELSE %] >- <span class="label">Action if matching record found:</span> >+ <span class="label">[% t('Action if matching record found:') %]</span> > [% IF ( overlay_action == 'replace' ) %] >- Replace existing record with incoming record >+ [% t('Replace existing record with incoming record') %] > [% ELSIF ( overlay_action == 'create_new' ) %] >- Add incoming record >+ [% t('Add incoming record') %] > [% ELSIF ( overlay_action == 'ignore' ) %] >- Ignore incoming record (its items may still be processed) >+ [% t('Ignore incoming record (its items may still be processed)') %] > [% ELSE %] > [% overlay_action %] > [% END %] >@@ -155,14 +156,14 @@ > > <li> > [% IF ( can_commit ) %] >- <label for="nomatch_action">Action if no match found:</label> >- [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span> >+ <label for="nomatch_action">[% t('Action if no match found:') %]</label> >+ [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">[% t('Changed.') %] <a href="#" class="reset" id="reset_nomatch_action">[% t('Reset') %]</a></span> > [% ELSE %] >- <span class="label">Action if no match found:</span> >+ <span class="label">[% t('Action if no match found:') %]</span> > [% IF ( nomatch_action == 'create_new' ) %] >- Add incoming record >+ [% t('Add incoming record') %] > [% ELSIF ( nomatch_action == 'ignore' ) %] >- Ignore incoming record (its items may still be processed) >+ [% t('Ignore incoming record (its items may still be processed)') %] > [% ELSE %] > [% nomatch_action %] > [% END %] >@@ -172,18 +173,18 @@ > [% IF ( record_type == 'biblio' ) %] > <li> > [% IF ( can_commit ) %] >- <label for="item_action">Item processing:</label> >- [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span> >+ <label for="item_action">[% t('Item processing:') %]</label> >+ [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">[% t('Changed.') %] <a href="#" class="reset" id="reset_item_action">[% t('Reset') %]</a></span> > [% ELSE %] >- <span class="label">Item processing:</span> >+ <span class="label">[% t('Item processing:') %]</span> > [% IF ( item_action == 'always_add' ) %] >- Always add items >+ [% t('Always add items') %] > [% ELSIF ( item_action == 'add_only_for_matches' ) %] >- Add items only if matching bib was found >+ [% t('Add items only if matching bib was found') %] > [% ELSIF ( item_action == 'add_only_for_new' ) %] >- Add items only if no matching bib was found >+ [% t('Add items only if no matching bib was found') %] > [% ELSIF ( item_action == 'ignore' ) %] >- Ignore items >+ [% t('Ignore items') %] > [% ELSE %] > [% item_action %] > [% END %] >@@ -204,19 +205,19 @@ > <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" /> > <fieldset class="action"> > [% IF ( record_type != 'auth' ) %] >- Add new bibliographic records into this framework: >+ [% t('Add new bibliographic records into this framework:') %] > <select name="framework" id="frameworks"> >- <option value="">Default</option> >+ <option value="">[% t('Default') %]</option> > [% FOREACH framework IN frameworks %] > <option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option> > [% END %] > </select> > [% END %] >- <br/> >+ <br /> > <input type="submit" class="button" name="mainformsubmit" value="Import this batch into the catalog" /> > </fieldset> > </form> >- <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >+ <div id="jobpanel"><div id="jobstatus" class="progress_panel">[% t('Job progress:') %] <div id="jobprogress"></div> <span id="jobprogresspercent">[% t('0') %]</span>%</div> > <div id="jobfailed"></div></div> > [% END %] > [% IF ( can_revert ) %] >@@ -227,33 +228,33 @@ > <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" /> > <fieldset class="action"><input type="submit" class="button" name="mainformsubmit" value="Undo import into catalog" /></fieldset> > </form> >- <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >+ <div id="jobpanel"><div id="jobstatus">[% t('Job progress:') %] <div id="jobprogress"></div> <span id="jobprogresspercent">[% t('0') %]</span>%</div> > <div id="jobfailed"></div></div> > [% END %] > </div> > [% IF ( did_commit ) %] >- <div class="dialog message">Completed import of records</div> >+ <div class="dialog message">[% t('Completed import of records') %]</div> > <table> >- <tr><td>Number of records added</td><td>[% num_added %]</td></tr> >- <tr><td>Number of records updated</td><td>[% num_updated %]</td></tr> >- <tr><td>Number of records ignored</td><td>[% num_ignored %]</td></tr> >+ <tr><td>[% t('Number of records added') %]</td><td>[% num_added %]</td></tr> >+ <tr><td>[% t('Number of records updated') %]</td><td>[% num_updated %]</td></tr> >+ <tr><td>[% t('Number of records ignored') %]</td><td>[% num_ignored %]</td></tr> > [% IF ( record_type == 'biblio' ) %] >- <tr><td>Number of items added</td><td>[% num_items_added %]</td></tr> >- <tr><td>Number of items replaced</td><td>[% num_items_replaced %]</td></tr> >- <tr><td>Number of items ignored because of duplicate barcode</td><td>[% num_items_errored %]</td></tr> >+ <tr><td>[% t('Number of items added') %]</td><td>[% num_items_added %]</td></tr> >+ <tr><td>[% t('Number of items replaced') %]</td><td>[% num_items_replaced %]</td></tr> >+ <tr><td>[% t('Number of items ignored because of duplicate barcode') %]</td><td>[% num_items_errored %]</td></tr> > [% END %] > </table> > [% END %] > [% IF ( did_revert ) %] >- <div class="dialog message">Success: Import reversed</div> >+ <div class="dialog message">[% t('Success: Import reversed') %]</div> > <table> >- <tr><td>Number of records deleted</td><td>[% num_deleted %]</td></tr> >+ <tr><td>[% t('Number of records deleted') %]</td><td>[% num_deleted %]</td></tr> > [% IF ( record_type == 'biblio' ) %] >- <tr><td>Number of items deleted</td><td>[% num_items_deleted %]</td></tr> >- <tr><td>Number of records not deleted due to items on loan</td><td>[% num_errors %]</td></tr> >+ <tr><td>[% t('Number of items deleted') %]</td><td>[% num_items_deleted %]</td></tr> >+ <tr><td>[% t('Number of records not deleted due to items on loan') %]</td><td>[% num_errors %]</td></tr> > [% END %] >- <tr><td>Number of records changed back</td><td>[% num_reverted %]</td></tr> >- <tr><td>Number of records ignored</td><td>[% num_ignored %]</td></tr> >+ <tr><td>[% t('Number of records changed back') %]</td><td>[% num_reverted %]</td></tr> >+ <tr><td>[% t('Number of records ignored') %]</td><td>[% num_ignored %]</td></tr> > </table> > [% END %] > [% END %] >@@ -274,53 +275,53 @@ > <table> > <tr> > <th>#</th> >- <th>File name</th> >- <th>Comments</th> >- <th>Type</th> >- <th>Status</th> >- <th>Staged</th> >- <th># Records</th> >- <th># Items</th> >- <th>Action</th> >+ <th>[% t('File name') %]</th> >+ <th>[% t('Comments') %]</th> >+ <th>[% t('Type') %]</th> >+ <th>[% t('Status') %]</th> >+ <th>[% t('Staged') %]</th> >+ <th>[% t('# Records') %]</th> >+ <th>[% t('# Items') %]</th> >+ <th>[% t('Action') %]</th> > </tr> > [% FOREACH batch_lis IN batch_list %] > <tr> > <td>[% batch_lis.import_batch_id %]</td> > <td><a href="[% batch_lis.script_name %]?import_batch_id=[% batch_lis.import_batch_id %]">[% batch_lis.file_name %]</a></td> > <td>[% batch_lis.comments %]</td> >- <td>[% IF ( batch_lis.record_type == 'auth' ) %]Authority[% ELSE %]Bibliographic[% END %]</td> >+ <td>[% IF ( batch_lis.record_type == 'auth' ) %][% t('Authority') %][% ELSE %][% t('Bibliographic') %][% END %]</td> > <td> > [% IF ( batch_lis.import_status == 'cleaned' ) %] >- Cleaned >+ [% t('Cleaned') %] > [% ELSIF ( batch_lis.import_status == 'imported' ) %] >- Imported >+ [% t('Imported') %] > [% ELSIF ( batch_lis.import_status == 'importing' ) %] >- Importing >+ [% t('Importing') %] > [% ELSIF ( batch_lis.import_status == 'reverted' ) %] >- Reverted >+ [% t('Reverted') %] > [% ELSIF ( batch_lis.import_status == 'reverting' ) %] >- Reverting >+ [% t('Reverting') %] > [% ELSIF ( batch_lis.import_status == 'staged' ) %] >- Staged >+ [% t('Staged') %] > [% ELSE %] > [% batch_lis.import_status %] > [% END %] > </td> > <td>[% batch_lis.upload_timestamp %]</td> > <td>[% batch_lis.num_records %]</td> >- <td>[% batch_lis.num_items %][% IF ( batch_lis.num_items ) %] <a href="[% batch_lis.script_name %]?import_batch_id=[% batch_lis.import_batch_id %]&op=create_labels">(Create label batch)</a>[% END %]</td> >+ <td>[% batch_lis.num_items %][% IF ( batch_lis.num_items ) %] <a href="[% batch_lis.script_name %]?import_batch_id=[% batch_lis.import_batch_id %]&op=create_labels">[% t('(Create label batch)') %]</a>[% END %]</td> > <td class="actions"> > [% IF ( batch_lis.can_clean ) %] >- <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" class="batch_form batch_clean" > >+ <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" class="batch_form batch_clean"> > <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" /> > <input type="hidden" name="op" value="clean-batch" /> >- <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-eraser"></i> Clean</button> >+ <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-eraser"></i> [% t('Clean') %]</button> > </form> > [% ELSIF ( batch_lis.import_status == 'cleaned' ) %] > <form method="post" action="/cgi-bin/koha/tools/manage-marc-import.pl" name="delete_batch_[% batch_lis.import_batch_id %]" id="delete_batch_[% batch_lis.import_batch_id %]" class="batch_form batch_delete"> > <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" /> > <input type="hidden" name="op" value="delete-batch" /> >- <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button> >+ <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> [% t('Delete') %]</button> > </form> > [% END %] > </td> >@@ -345,12 +346,12 @@ > <thead> > <tr> > <th>#</th> >- <th>Citation</th> >- <th>Status</th> >- <th>Match type</th> >- <th>Match details</th> >- <th><abbr title="Differences between the original biblio and the imported">Diff</abbr></th> >- <th>Record</th> >+ <th>[% t('Citation') %]</th> >+ <th>[% t('Status') %]</th> >+ <th>[% t('Match type') %]</th> >+ <th>[% t('Match details') %]</th> >+ <th><abbr title="[% t('Differences between the original biblio and the imported') %]">[% t('Diff') %]</abbr></th> >+ <th>[% t('Record') %]</th> > </tr> > </thead> > </table> >@@ -360,13 +361,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/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt >index deea161cb5..8b15e6eda6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › MARC modification templates</title> >+<title>[% t('Koha ⺠Tools ⺠MARC modification templates') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > #add_action { display: none; } >@@ -21,13 +22,13 @@ > [% END %] > > <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/mainpage.pl">[% t('Home') %]</a> ⺠>+ <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠> [% IF ( template_name ) %] >- <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a> >- › [% template_name %] >+ <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">[% t('MARC modification templates') %]</a> >+ ⺠[% template_name %] > [% ELSE %] >- MARC modification templates >+ [% t('MARC modification templates') %] > [% END %] > </div> > >@@ -37,15 +38,15 @@ > <div class="yui-b"> > > <div id="toolbar" class="btn-toolbar"> >- <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default btn-sm duplicate_template"><i class="fa fa-plus"></i> New template</a> >+ <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default btn-sm duplicate_template"><i class="fa fa-plus"></i> [% t('New template') %]</a> > [% IF ( template_id != '' ) %] >- <a href="#" id="new_action" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> New action</a> >+ <a href="#" id="new_action" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> [% t('New action') %]</a> > [% END %] > </div> > > [% IF error %] > [% IF error == 'no_from_field' %] >- <div class="dialog message">Error: no field value specified.</div> >+ <div class="dialog message">[% t('Error: no field value specified.') %]</div> > [% END %] > [% END %] > >@@ -53,13 +54,13 @@ > > [% IF ( template_id == '' ) %] > >- <h2>MARC modification templates [% template_id %]</h2> >+ <h2>[% t('MARC modification templates') %] [% template_id %]</h2> > > <table id="templatest"> > <thead> > <tr> >- <th>Template</th> >- <th>Actions</th> >+ <th>[% t('Template') %]</th> >+ <th>[% t('Actions') %]</th> > </tr> > </thead> > <tbody> >@@ -67,9 +68,9 @@ > <tr> > <td>[% TemplatesLoo.name %]</td> > <td class="actions"> >- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a> >- <a class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> Duplicate</a> >- <a class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&op=select_template"><i class="fa fa-fw fa-pencil"></i> [% t('Edit actions') %]</a> >+ <a class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> [% t('Duplicate') %]</a> >+ <a class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&op=delete_template"><i class="fa fa-fw fa-trash"></i> [% t('Delete') %]</a> > </td> > </tr> > [% END %] >@@ -78,84 +79,84 @@ > > [% ELSE %] > >- <h2>Actions for <i>[% template_name %]</i></h2> >+ <h2>[% t('Actions for') %] <i>[% template_name %]</i></h2> > > [% IF ( ActionsLoop ) %] > > <table id="template_actions" class="template_actions"> > <thead> > <tr> >- <th>Change order</th> >- <th>Order</th> >- <th>Action</th> >- <th>Description</th> >- <th> </th> >- <th> </th> >+ <th>[% t('Change order') %]</th> >+ <th>[% t('Order') %]</th> >+ <th>[% t('Action') %]</th> >+ <th>[% t('Description') %]</th> >+ <th> </th> >+ <th> </th> > </tr> > </thead> > <tbody> > [% FOREACH ActionsLoo IN ActionsLoop %] > <tr> > <td class="actions"> >- <a title="Move action up" href="marc_modification_templates.pl?op=move_action&where=up&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> >+ <a title="[% t('Move action up') %]" href="marc_modification_templates.pl?op=move_action&where=up&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> > <i class="fa fa-arrow-up fa-lg order-control"></i> > </a> > >- <a title="Move action to top" href="marc_modification_templates.pl?op=move_action&where=top&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> >+ <a title="[% t('Move action to top') %]" href="marc_modification_templates.pl?op=move_action&where=top&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> > <i class="fa fa-arrow-up fa-lg overline order-control"></i> > </a> > >- <a title="Move action to bottom" href="marc_modification_templates.pl?op=move_action&where=bottom&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> >+ <a title="[% t('Move action to bottom') %]" href="marc_modification_templates.pl?op=move_action&where=bottom&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> > <i class="fa fa-arrow-down fa-lg underline order-control"></i> > </a> > >- <a title="Move action down" href="marc_modification_templates.pl?op=move_action&where=down&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> >+ <a title="[% t('Move action down') %]" href="marc_modification_templates.pl?op=move_action&where=down&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]"> > <i class="fa fa-arrow-down fa-lg order-control"></i> > </a> > </td> > > <td>[% ActionsLoo.ordering %]</td> > <td> >- [% IF ( ActionsLoo.action_delete_field ) %] Delete [% END %] >- [% IF ( ActionsLoo.action_update_field ) %] Update [% END %] >- [% IF ( ActionsLoo.action_move_field ) %] Move [% END %] >- [% IF ( ActionsLoo.action_copy_field ) %] Copy [% END %] >- [% IF ( ActionsLoo.action_copy_and_replace_field ) %] Copy and replace [% END %] >+ [% IF ( ActionsLoo.action_delete_field ) %] [% t('Delete') %] [% END %] >+ [% IF ( ActionsLoo.action_update_field ) %] [% t('Update') %] [% END %] >+ [% IF ( ActionsLoo.action_move_field ) %] [% t('Move') %] [% END %] >+ [% IF ( ActionsLoo.action_copy_field ) %] [% t('Copy') %] [% END %] >+ [% IF ( ActionsLoo.action_copy_and_replace_field ) %] [% t('Copy and replace') %] [% END %] > > [% UNLESS ( ActionsLoo.action_update_field ) %] > [% IF ( ActionsLoo.field_number ) %] >- 1st >+ [% t('1st') %] > [% END %] > [% END %] > >- field >+ [% t('field') %] > > [% ActionsLoo.from_field %][% IF ( ActionsLoo.from_subfield ) %]$[% ActionsLoo.from_subfield %][% END %] > > [% IF ( ActionsLoo.field_value ) %] >- with value <i>[% ActionsLoo.field_value %]</i> >+ [% t('with value') %] <i>[% ActionsLoo.field_value %]</i> > [% END %] > > [% IF ( ActionsLoo.to_field ) %] >- to [% ActionsLoo.to_field %][% IF ( ActionsLoo.to_subfield ) %]$[% ActionsLoo.to_subfield %][% END %] >+ [% t('to') %] [% ActionsLoo.to_field %][% IF ( ActionsLoo.to_subfield ) %]$[% ActionsLoo.to_subfield %][% END %] > > [% IF ( ActionsLoo.to_regex_search ) %] >- using RegEx s<strong>/[% ActionsLoo.to_regex_search %]/[% ActionsLoo.to_regex_replace %]/[% ActionsLoo.to_regex_modifiers %]</strong> >+ [% t('using RegEx s') %]<strong>/[% ActionsLoo.to_regex_search %]/[% ActionsLoo.to_regex_replace %]/[% ActionsLoo.to_regex_modifiers %]</strong> > [% END %] > [% END %] > > [% IF ( ActionsLoo.conditional ) %] >- [% IF ( ActionsLoo.conditional_if ) %] if [% END %] >- [% IF ( ActionsLoo.conditional_unless ) %] unless [% END %] >+ [% IF ( ActionsLoo.conditional_if ) %] [% t('if') %] [% END %] >+ [% IF ( ActionsLoo.conditional_unless ) %] [% t('unless') %] [% END %] > > [% ActionsLoo.conditional_field %][% IF ( ActionsLoo.conditional_subfield ) %]$[% ActionsLoo.conditional_subfield %][% END %] > >- [% IF ( ActionsLoo.conditional_comparison_exists ) %] exists [% END %] >- [% IF ( ActionsLoo.conditional_comparison_not_exists ) %] does not exist [% END %] >- [% IF ( ActionsLoo.conditional_comparison_equals ) %] matches [% END %] >- [% IF ( ActionsLoo.conditional_comparison_not_equals ) %] does not match [% END %] >+ [% IF ( ActionsLoo.conditional_comparison_exists ) %] [% t('exists') %] [% END %] >+ [% IF ( ActionsLoo.conditional_comparison_not_exists ) %] [% t('does not exist') %] [% END %] >+ [% IF ( ActionsLoo.conditional_comparison_equals ) %] [% t('matches') %] [% END %] >+ [% IF ( ActionsLoo.conditional_comparison_not_equals ) %] [% t('does not match') %] [% END %] > >- [% IF ( ActionsLoo.conditional_regex ) %] RegEx m/[% END %] >+ [% IF ( ActionsLoo.conditional_regex ) %] [% t('RegEx m/') %][% END %] > <strong>[% ActionsLoo.conditional_value %]</strong> > [% IF ( ActionsLoo.conditional_regex ) %]/[% END %] > [% END %] >@@ -181,7 +182,7 @@ > [% conditional_value = BLOCK %][% ActionsLoo.conditional_value |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %] > [% conditional_regex = BLOCK %][% ActionsLoo.conditional_regex |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %] > [% description = BLOCK %][% ActionsLoo.description |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %][% END %] >- <a class="btn btn-default btn-xs" href="#modaction" onclick='editAction( >+ <a class="btn btn-default btn-xs" href="#modaction" onclick="editAction( > "[% mmta_id %]", > "[% ordering %]", > "[% action %]", >@@ -201,86 +202,86 @@ > "[% conditional_value %]", > "[% conditional_regex %]", > "[% description %]" >- );updateAllEvery();'><i class="fa fa-pencil"></i> Edit</a> >+ );updateAllEvery();"><i class="fa fa-pencil"></i> [% t('Edit') %]</a> > </td> > <td> >- <a class="btn btn-default btn-xs" href="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id %]" onclick="return confirmDeleteAction();"><i class="fa fa-trash"></i> Delete</a> >+ <a class="btn btn-default btn-xs" href="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id %]" onclick="return confirmDeleteAction();"><i class="fa fa-trash"></i> [% t('Delete') %]</a> > </td> > </tr> > [% END # /FOREACH ActionsLoo %] > </tbody> > </table> > [% ELSE %] >- <div class="dialog message template_actions"><p>There are no defined actions for this template.</p></div> >+ <div class="dialog message template_actions"><p>[% t('There are no defined actions for this template.') %]</p></div> > [% END # /IF ActionsLoop %] > >- <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" > >+ <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action"> > <a name="modaction"></a> > <fieldset> >- <legend id="modaction_legend">Add a new action</legend> >- <div id="warning_multivalued" style="color:red; display:none;">You have chosen a condition on the same field as the original field. If your records contain multivalued fields it is highly recommended not to do that.</div> >+ <legend id="modaction_legend">[% t('Add a new action') %]</legend> >+ <div id="warning_multivalued" style="color:red; display:none;">[% t('You have chosen a condition on the same field as the original field. If your records contain multivalued fields it is highly recommended not to do that.') %]</div> > > <select name="action" id="action" onchange="onActionChange(this);"> >- <option value="delete_field">Delete</option> >- <option value="update_field">Add/Update</option> >- <option value="move_field">Move</option> >- <option value="copy_field">Copy</option> >- <option value="copy_and_replace_field">Copy and replace</option> >+ <option value="delete_field">[% t('Delete') %]</option> >+ <option value="update_field">[% t('Add/Update') %]</option> >+ <option value="move_field">[% t('Move') %]</option> >+ <option value="copy_field">[% t('Copy') %]</option> >+ <option value="copy_and_replace_field">[% t('Copy and replace') %]</option> > </select> > > <span id="field_number_block"> > <select name="field_number" id="field_number"> >- <option value="0">All</option> >- <option value="1">1st</option> >+ <option value="0">[% t('All') %]</option> >+ <option value="1">[% t('1st') %]</option> > </select> > </span> > >- field(s) <input type="text" name="from_field" id="from_field" size="3" maxlength="3" /> <input type="text" name="from_subfield" id="from_subfield" size="1" maxlength="1" title="let blank for the entire field" /> >+ [% t('field(s)') %] <input type="text" name="from_field" id="from_field" size="3" maxlength="3" /> <input type="text" name="from_subfield" id="from_subfield" size="1" maxlength="1" title="[% t('let blank for the entire field') %]" /> > > <span name="with_value_block" id="with_value_block" style="display:none;"> >- with value <input type="text" name="field_value" id="field_value" /> >+ [% t('with value') %] <input type="text" name="field_value" id="field_value" /> > </span> > > <span name="to_field_block" id="to_field_block" style="display:none;"> >- to field <input type="text" name="to_field" id="to_field" size="3" maxlength="3" /> <input type="text" name="to_subfield" id="to_subfield" size="1" maxlength="1" title="let blank for the entire field" /> >+ [% t('to field') %] <input type="text" name="to_field" id="to_field" size="3" maxlength="3" /> <input type="text" name="to_subfield" id="to_subfield" size="1" maxlength="1" title="[% t('let blank for the entire field') %]" /> > > <span name="to_field_regex_block" id="to_field_regex_block"> > <sup> >- <label for="to_field_regex">RegEx</label> >+ <label for="to_field_regex">[% t('RegEx') %]</label> > <input type="checkbox" name="to_field_regex" id="to_field_regex" onchange="onToFieldRegexChange(this);" /> > > <span name="to_field_regex_value_block" id="to_field_regex_value_block" style="display:none;"> >- s/<input type="text" name="to_regex_search" id="to_regex_search" placeholder="regex pattern" />/<input type="text" name="to_regex_replace" id="to_regex_replace" placeholder="regex replacement" />/<input type="text" name="to_regex_modifiers" id="to_regex_modifiers" placeholder="ig" size="3" /> >+ [% t('s/') %]<input type="text" name="to_regex_search" id="to_regex_search" placeholder="[% t('regex pattern') %]" />/<input type="text" name="to_regex_replace" id="to_regex_replace" placeholder="[% t('regex replacement') %]" />/<input type="text" name="to_regex_modifiers" id="to_regex_modifiers" placeholder="[% t('ig') %]" size="3" /> > </span> > </sup> > </span> > </span> > >- <p/> >+ <p /> > > <select name="conditional" id="conditional" onchange="onConditionalChange(this);"> > <option value="" selected="selected" /> >- <option value="if">if</option> >- <option value="unless">unless</option> >+ <option value="if">[% t('if') %]</option> >+ <option value="unless">[% t('unless') %]</option> > </select> > > <span name="conditional_block" id="conditional_block" style="display:none;"> >- field <input type="text" name="conditional_field" id="conditional_field" size="3" maxlength="3" /> <input type="text" name="conditional_subfield" id="conditional_subfield" size="1" maxlength="1" /> >+ [% t('field') %] <input type="text" name="conditional_field" id="conditional_field" size="3" maxlength="3" /> <input type="text" name="conditional_subfield" id="conditional_subfield" size="1" maxlength="1" /> > > <select name="conditional_comparison" id="conditional_comparison" onchange="onConditionalComparisonChange(this);"> > <option value="" /> >- <option value="exists">exists</option> >- <option value="not_exists">doesn't exist</option> >- <option value="equals">matches</option> >- <option value="not_equals">doesn't match</option> >+ <option value="exists">[% t('exists') %]</option> >+ <option value="not_exists">[% t('doesn\'t exist') %]</option> >+ <option value="equals">[% t('matches') %]</option> >+ <option value="not_equals">[% t('doesn\'t match') %]</option> > </select> > > <span name="conditional_comparison_block" id="conditional_comparison_block" style="display:none;"> > >- <span class="match_regex_prefix">m/</span><input type="text" id="conditional_value" name="conditional_value" /><span class="match_regex_suffix">/</span> >+ <span class="match_regex_prefix">[% t('m/') %]</span><input type="text" id="conditional_value" name="conditional_value" /><span class="match_regex_suffix">/</span> > > <sup> >- <label for="conditional_regex">RegEx</label> >+ <label for="conditional_regex">[% t('RegEx') %]</label> > <input type="checkbox" name="conditional_regex" id="conditional_regex" onchange="onConditionalRegexChange(this);" /> > </sup> > >@@ -291,12 +292,12 @@ > <input type="hidden" name="mmta_id" id="mmta_id" /> > <input type="hidden" name="op" value="add_action" /> > >- <br/><br/> >- <label for="description">Description:</label> >+ <br /><br /> >+ <label for="description">[% t('Description:') %]</label> > <input type="text" name="description" id="description" size="60" /> > >- <br/><br/> >- <input id="action_submit" type="submit" value="Add action" /> <a href="#modaction" id="cancel_edit" onclick="cancelEditAction();">Cancel</a> >+ <br /><br /> >+ <input id="action_submit" type="submit" value="Add action" /> <a href="#modaction" id="cancel_edit" onclick="cancelEditAction();">[% t('Cancel') %]</a> > > </fieldset> > </form> >@@ -304,7 +305,7 @@ > [% END %] > > [% ELSE %] >- <div class="dialog message"><p>There are no defined templates. Please create a template first.</p></div> >+ <div class="dialog message"><p>[% t('There are no defined templates. Please create a template first.') %]</p></div> > [% END # /IF TemplatesLoop %] > > <!-- Modal to create new template --> >@@ -313,23 +314,23 @@ > <div class="modal-content"> > <div class="modal-header"> > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="LabelcreateTemplate">Create a new template</h3> >+ <h3 id="LabelcreateTemplate">[% t('Create a new template') %]</h3> > </div> > <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" class="validated"> > <div class="modal-body"> > <fieldset> > <p> >- <label for="template_name" class="required">Name: </label> >+ <label for="template_name" class="required">[% t('Name:') %] </label> > <input name="template_name" id="template_name" type="text" size="30" required="required" class="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </p> > > <input type="hidden" name="op" value="create_template" /> > > <p> >- <label for="duplicate_a_template">Duplicate a template:</label> >+ <label for="duplicate_a_template">[% t('Duplicate a template:') %]</label> > <select name="template_id" id="duplicate_a_template"> >- <option value=""> -- None --</option> >+ <option value=""> [% t('-- None --') %]</option> > [% FOREACH TemplatesLoo IN TemplatesLoop %] > <option value="[% TemplatesLoo.template_id %]"> [% TemplatesLoo.name %]</option> > [% END %] >@@ -339,8 +340,8 @@ > </fieldset> > </div> > <div class="modal-footer"> >- <button type="submit" class="btn btn-default">Submit</button> >- <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> >+ <button type="submit" class="btn btn-default">[% t('Submit') %]</button> >+ <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</button> > </div> > </form> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >index c00a1a5598..4abe601acd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.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 › Tools › Batch patron modification</title> >+<title>[% t('Koha ⺠Tools ⺠Batch patron modification') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] > </head> >@@ -14,9 +15,9 @@ > [% 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/tools/modborrowers.pl">Batch patron modification</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/tools/modborrowers.pl">[% t('Batch patron modification') %]</a> > </div> > > <div id="doc3" class="yui-t2"> >@@ -24,21 +25,21 @@ > <div id="yui-main"> > <div class="yui-b"> > [% IF ( op == 'show_form' ) %] >- <h1>Batch patron modification</h1> >+ <h1>[% t('Batch patron modification') %]</h1> > <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl"> > <fieldset class="rows"> >- <legend>Use a file</legend> >+ <legend>[% t('Use a file') %]</legend> > <ol> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ <li><label for="uploadfile">[% t('File:') %] </label> <input type="file" id="uploadfile" name="uploadfile" /></li> > </ol> > </fieldset> > > [% IF patron_lists %] > <fieldset class="rows"> >- <legend>Or use a patron list</legend> >+ <legend>[% t('Or use a patron list') %]</legend> > <ol> > <li> >- <label for="patron_list_id">Patron list: </label> >+ <label for="patron_list_id">[% t('Patron list:') %] </label> > <select id="patron_list_id" name="patron_list_id"> > <option value=""></option> > [% FOREACH pl IN patron_lists %] >@@ -51,10 +52,10 @@ > [% END %] > > <fieldset class="rows"> >- <legend>Or list cardnumbers one by one</legend> >+ <legend>[% t('Or list cardnumbers one by one') %]</legend> > <ol> > <li> >- <label for="cardnumberlist">Card number list (one cardnumber per line): </label> >+ <label for="cardnumberlist">[% t('Card number list (one cardnumber per line):') %] </label> > <textarea rows="10" cols="30" id="cardnumberlist" name="cardnumberlist">[% cardnumberlist %]</textarea> > </li> > </ol> >@@ -62,33 +63,33 @@ > <input type="hidden" name="op" value="show" /> > <fieldset class="action"> > <input type="submit" value="Continue" class="button" /> >- <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> >+ <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">[% t('Cancel') %]</a> > </fieldset> > </form> > [% END %] > > [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%] > [% op = 'noshow' # Change op to prevent display in code below %] >- <h1>Batch patrons modification</h1> >+ <h1>[% t('Batch patrons modification') %]</h1> > <div class="dialog alert"> >- <p>No patron card numbers given.</p> >+ <p>[% t('No patron card numbers given.') %]</p> > <form action="/cgi-bin/koha/tools/modborrowers.pl" method="get"> >- <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> [% t('OK') %]</button> > </form> > </div> > [% END #Alert if no patrons %] > > [% IF ( op == 'show' or op == 'show_results' ) %] > [% IF ( op == 'show' ) %] >- <h1>Batch patrons modification</h1> >+ <h1>[% t('Batch patrons modification') %]</h1> > [% ELSE %] >- <h1>Batch patrons results</h1> >+ <h1>[% t('Batch patrons results') %]</h1> > [% END %] > [% IF ( notfoundcardnumbers ) %] >- <div class="dialog alert"><p>Warning, the following cardnumbers were not found:</p></div> >+ <div class="dialog alert"><p>[% t('Warning, the following cardnumbers were not found:') %]</p></div> > <table style="margin:auto;"> > <thead> >- <tr><th>Cardnumbers not found</th></tr> >+ <tr><th>[% t('Cardnumbers not found') %]</th></tr> > </thead> > <tbody> > [% FOREACH notfoundcardnumber IN notfoundcardnumbers %] >@@ -101,13 +102,13 @@ > [% IF ( op == 'show_results' ) %] > [% IF ( errors ) %] > <div class="dialog alert"> >- <h4>Errors occurred:</h4> >+ <h4>[% t('Errors occurred:') %]</h4> > <ul class="warnings"> > [% FOREACH error IN errors %] > [% IF ( error.error == 'can_not_update' ) %] >- <li>Can not update patron. >- [% IF ( error.cardnumber ) %] Cardnumber: [% error.cardnumber %] [% END %] >- (Borrowernumber: [% error.borrowernumber %]) >+ <li>[% t('Can not update patron.') %] >+ [% IF ( error.cardnumber ) %] [% t('Cardnumber:') %] [% error.cardnumber %] [% END %] >+ [% t('(Borrowernumber:') %] [% error.borrowernumber %]) > </li> > [% ELSE %] > <li>[% error.error %]</li> >@@ -122,7 +123,7 @@ > <form name="f" action="modborrowers.pl" method="post"> > <input type="hidden" name="op" value="do" /> > [% IF ( borrowers ) %] >- <div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a></div> >+ <div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></div> > [% END %] > [% END %] > [% IF borrowers %] >@@ -132,21 +133,21 @@ > <thead> > <tr> > [% IF ( op == 'show' ) %] >- <th> </th> >+ <th> </th> > [% END %] >- <th>Card number</th> >- <th>Surname</th> >- <th>First name</th> >- <th>Library</th> >- <th>Category</th> >- <th>City</th> >- <th>State</th> >- <th>ZIP/Postal code</th> >- <th>Country</th> >- <th class="title-string">Registration date</th> >- <th class="title-string">Expiry date</th> >- <th>Circulation note</th> >- <th>Opac Note</th> >+ <th>[% t('Card number') %]</th> >+ <th>[% t('Surname') %]</th> >+ <th>[% t('First name') %]</th> >+ <th>[% t('Library') %]</th> >+ <th>[% t('Category') %]</th> >+ <th>[% t('City') %]</th> >+ <th>[% t('State') %]</th> >+ <th>[% t('ZIP/Postal code') %]</th> >+ <th>[% t('Country') %]</th> >+ <th class="title-string">[% t('Registration date') %]</th> >+ <th class="title-string">[% t('Expiry date') %]</th> >+ <th>[% t('Circulation note') %]</th> >+ <th>[% t('Opac Note') %]</th> > [% FOREACH attrh IN attributes_header %] > <th>[% attrh.attribute %]</th> > [% END %] >@@ -187,8 +188,8 @@ > > [% IF ( op == 'show' ) %] > <div id="cataloguing_additem_newitem"> >- <h2>Edit patrons</h2> >- <div class="hint">Checking the box right next to the label will disable the entry and delete the values of that field on all selected patrons</div> >+ <h2>[% t('Edit patrons') %]</h2> >+ <div class="hint">[% t('Checking the box right next to the label will disable the entry and delete the values of that field on all selected patrons') %]</div> > <fieldset class="rows" id="fields_list"> > <ol> > [% FOREACH field IN fields %] >@@ -200,33 +201,33 @@ > [% END %] > [% SWITCH ( field.name ) %] > [% CASE 'surname' %] >- Surname: >+ [% t('Surname:') %] > [% CASE 'firstname' %] >- First name: >+ [% t('First name:') %] > [% CASE 'branchcode' %] >- Library: >+ [% t('Library:') %] > [% CASE 'categorycode' %] >- Category >+ [% t('Category') %] > [% CASE 'city' %] >- City >+ [% t('City') %] > [% CASE 'state' %] >- State >+ [% t('State') %] > [% CASE 'zipcode' %] >- ZIP/Postal code >+ [% t('ZIP/Postal code') %] > [% CASE 'country' %] >- Country >+ [% t('Country') %] > [% CASE 'sort1' %] >- Sort 1: >+ [% t('Sort 1:') %] > [% CASE 'sort2' %] >- Sort 2: >+ [% t('Sort 2:') %] > [% CASE 'dateenrolled' %] >- Registration date: >+ [% t('Registration date:') %] > [% CASE 'dateexpiry' %] >- Expiry date: >+ [% t('Expiry date:') %] > [% CASE 'borrowernotes' %] >- Circulation note: >+ [% t('Circulation note:') %] > [% CASE 'opacnote' %] >- OPAC note: >+ [% t('OPAC note:') %] > [% END %] > </label> > [% IF ( field.type == 'text' ) %] >@@ -234,30 +235,30 @@ > [% END %] > [% IF ( field.type == 'select' ) %] > [% IF field.option.size %] >- <select name="[% field.name %]" > >+ <select name="[% field.name %]"> > [% FOREACH opt IN field.option %] > <option value="[% opt.value %]">[% opt.lib %]</option> > [% END %] > </select> > [% ELSE %] >- There is no value defined for [% field.name %] >+ [% t('There is no value defined for') %] [% field.name %] > [% END %] > [% END %] > [% IF ( field.type == 'date' ) %] > <input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" class="datepicker" /> >- <a href="#" class="clear-date" id="clear-date-[% field.name %]" ><i class="fa fa-fw fa-trash"></i> Clear</a> >+ <a href="#" class="clear-date" id="clear-date-[% field.name %]"><i class="fa fa-fw fa-trash"></i> [% t('Clear') %]</a> > [% END %] > [% IF field.mandatory %] >- <input type="checkbox" title="This field is mandatory" name="disable_input" value="[% field.name %]" disabled="disabled" readonly="readonly" /> >- <span class="required">Required fields cannot be cleared</span> >+ <input type="checkbox" title="[% t('This field is mandatory') %]" name="disable_input" value="[% field.name %]" disabled="disabled" readonly="readonly" /> >+ <span class="required">[% t('Required fields cannot be cleared') %]</span> > [% ELSE %] >- <input type="checkbox" title="Check to delete this field" name="disable_input" value="[% field.name %]" /> >+ <input type="checkbox" title="[% t('Check to delete this field') %]" name="disable_input" value="[% field.name %]" /> > [% END %] > </li> > [% END %] > [% IF ( patron_attributes_codes ) %] > <li class="attributes"> >- <label style="width:auto;">Attribute: >+ <label style="width:auto;">[% t('Attribute:') %] > <select name="patron_attributes"> > <option value=""></option> > [% FOREACH pac IN patron_attributes_codes %] >@@ -265,9 +266,9 @@ > [% END %] > </select> > </label> >- <input type="checkbox" title="check to delete this field" name="disable_input" value="attr0_value" /> >+ <input type="checkbox" title="[% t('check to delete this field') %]" name="disable_input" value="attr0_value" /> > <span class="patron_attributes_value"></span> >- <a href="#" class="add_attributes" title="Add an attribute"><i class="fa fa-fw fa-plus"></i> New</a> >+ <a href="#" class="add_attributes" title="[% t('Add an attribute') %]"><i class="fa fa-fw fa-plus"></i> [% t('New') %]</a> > <span class="information_category hint" style="width:25%;float:right;"></span> > </li> > [% END %] >@@ -275,7 +276,7 @@ > </fieldset> > <fieldset class="action"> > <input type="submit" name="mainformsubmit" value="Save" /> >- <a href="/cgi-bin/koha/tools/modborrowers.pl" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/tools/modborrowers.pl" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </div> > </form> >@@ -284,7 +285,7 @@ > [% END %] > [% IF ( op == 'show_results' ) %] > <p> >- <a href="/cgi-bin/koha/tools/modborrowers.pl" title="New batch patrons modification">New batch patron modification</a> >+ <a href="/cgi-bin/koha/tools/modborrowers.pl" title="[% t('New batch patrons modification') %]">[% t('New batch patron modification') %]</a> > </p> > [% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >index 8dc1df06a4..bafd283a59 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Overdue notice/status triggers</title> >+<title>[% t('Koha ⺠Tools ⺠Overdue notice/status triggers') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -11,7 +12,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/tools/tools-home.pl">Tools</a> › Overdue notice/status triggers</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('⺠Overdue notice/status triggers') %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -19,33 +20,33 @@ > <div id="yui-main"> > <div class="yui-b"> > >- <h1>Defining [% IF ( branch ) %]overdue actions for [% Branches.GetName( branch ) %][% ELSE %]default overdue actions[% END %]</h1> >+ <h1>[% t('Defining') %] [% IF ( branch ) %][% t('overdue actions for') %] [% Branches.GetName( branch ) %][% ELSE %][% t('default overdue actions') %][% END %]</h1> > <div class="help"> >- <p>Delay is the number of days after a checkout is due before an action is triggered. </p> >- <p>If you want Koha to trigger an action (send a letter or restrict a member), a delay value is required.</p> >- <p>Columns must be filled left to right: if the first column is blank, other columns will be ignored. </p> >+ <p>[% t('Delay is the number of days after a checkout is due before an action is triggered.') %] </p> >+ <p>[% t('If you want Koha to trigger an action (send a letter or restrict a member), a delay value is required.') %]</p> >+ <p>[% t('Columns must be filled left to right: if the first column is blank, other columns will be ignored.') %] </p> > </div> > <form method="post" action="/cgi-bin/koha/tools/overduerules.pl" id="selectlibrary"> >- <label for="branch">Select a library:</label> >+ <label for="branch">[% t('Select a library:') %]</label> > <select id="branch" name="branch"> >- <option value="">Default</option> >+ <option value="">[% t('Default') %]</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] > </select> > <input type="submit" value="Select" /> > </form> > [% IF ( ERROR ) %] > <div class="dialog alert"> >- <h3>Data error</h3> >- <p>The following errors were found. Please correct them and submit again:</p> >+ <h3>[% t('Data error') %]</h3> >+ <p>[% t('The following errors were found. Please correct them and submit again:') %]</p> > <ul> > [% IF ( ERRORDELAY ) %] >- <li>Delay [% ERRORDELAY %] for [% BORERR %] patron category has some unexpected characters. There should be only numerical characters. </li> >+ <li>[% t('Delay') %] [% ERRORDELAY %] [% t('for') %] [% BORERR %] [% t('patron category has some unexpected characters. There should be only numerical characters.') %] </li> > [% END %] > [% IF ( ERRORUSELESSDELAY ) %] >- <li>No letter or restriction action specified for delay [% ERRORUSELESSDELAY %] for [% BORERR %] patron category. If a delay is supplied, either a letter, restrict action, or both should be specified.</li> >+ <li>[% t('No letter or restriction action specified for delay') %] [% ERRORUSELESSDELAY %] [% t('for') %] [% BORERR %] [% t('patron category.') %] [% t('If a delay is supplied, either a letter, restrict action, or both should be specified.') %]</li> > [% END %] > [% IF ( ERRORORDER ) %] >- <li>The first notice's delay should be less than the second, which should be less than the third for the <strong>[% BORERR %]</strong> patron category </li> >+ <li>[% t('The first notice\'s delay should be less than the second, which should be less than the third for the') %] <strong>[% BORERR %]</strong> [% t('patron category') %] </li> > [% END %] > </ul> > </div> >@@ -54,8 +55,8 @@ > <form method="post" action="/cgi-bin/koha/tools/overduerules.pl"> > <input type="hidden" name="op" value="save" /> > <input type="hidden" name="branch" value="[% branch %]" /> >- <h3>Rules for overdue actions: [% IF ( branch ) %][% Branches.GetName( branch ) %][% ELSE %] default library [% END %]</h3> >- [% IF ( datasaved ) %]<div class="dialog message">Changes saved.</div> [% END %] >+ <h3>[% t('Rules for overdue actions:') %] [% IF ( branch ) %][% Branches.GetName( branch ) %][% ELSE %] [% t('default library') %] [% END %]</h3> >+ [% IF ( datasaved ) %]<div class="dialog message">[% t('Changes saved.') %]</div> [% END %] > > <div id="rulestabs" class="toptabs"> > <ul class="ui-tabs-nav"> >@@ -68,23 +69,23 @@ > <table> > <thead> > <tr> >- <th> </th> >- <th scope="col">Delay</th> >- <th scope="col">Letter</th> >- <th scope="col">Restrict</th> >+ <th> </th> >+ <th scope="col">[% t('Delay') %]</th> >+ <th scope="col">[% t('Letter') %]</th> >+ <th scope="col">[% t('Restrict') %]</th> > [% FOREACH mtt IN message_transport_types %] > <th scpre="col"> > [% SWITCH mtt %] > [% CASE 'email' %] >- Email >+ [% t('Email') %] > [% CASE 'print' %] >- Print >+ [% t('Print') %] > [% CASE 'sms' %] >- SMS >+ [% t('SMS') %] > [% CASE 'feed' %] >- Feed >+ [% t('Feed') %] > [% CASE 'phone' %] >- Phone >+ [% t('Phone') %] > [% CASE %] > [% mtt %] > [% END %] >@@ -101,7 +102,7 @@ > </td> > <td> > <select name="letter[% tab.number %]-[% value.overduename %]"> >- <option value="">No notice</option> >+ <option value="">[% t('No notice') %]</option> > [% FOREACH letter IN letters %] > [% IF letter.code == value.selected_lettercode %] > <option value="[% letter.code %]" selected="selected">[% letter.name %]</option> >@@ -146,8 +147,8 @@ > <fieldset class="action"><input type="submit" value="Save changes" /></fieldset> > </form> > [% ELSE %] >- <div class="warning">You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</div> >- <div class="warning">If this is not what you were expecting, go to <a href="../admin/categories.pl">patron categories</p></div> >+ <div class="warning">[% t('You don\'t have patron categories defined, or the patron categories are not set to receive overdue notices.') %]</div> >+ <div class="warning">[% t('If this is not what you were expecting, go to') %] <a href="../admin/categories.pl">[% t('patron categories') %]</p></div> > [% END %] > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt >index 87151c7f39..51fe3c0f4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Upload patron images</title> >+<title>[% t('Koha ⺠Tools ⺠Upload patron images') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -10,7 +11,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'patron-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> › [% IF ( TOTAL ) %]<a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a> › Results[% ELSE %]Upload patron images[% END %] </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> ⺠[% IF ( TOTAL ) %]<a href="/cgi-bin/koha/tools/picture-upload.pl">[% t('Upload patron images') %]</a> [% t('⺠Results') %][% ELSE %][% t('Upload patron images') %][% END %] </div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> >@@ -20,33 +21,33 @@ > [% IF ( ERRORS ) %] > [% IF ( TCOUNTS ) %] > <div class="dialog alert"> >- <h3>Patron image(s) uploaded with some errors</h3> >+ <h3>[% t('Patron image(s) uploaded with some errors') %]</h3> > </div> > [% ELSE %] > <div class="dialog alert"> >- <h3>Patron image failed to upload</h3> >+ <h3>[% t('Patron image failed to upload') %]</h3> > </div> > [% END %] > [% ELSE %] > <div class="dialog message"> >- <h3>Patron image(s) successfully uploaded</h3> >+ <h3>[% t('Patron image(s) successfully uploaded') %]</h3> > </div> > [% END %] > <ul class="data"> >- <li>Unpacking completed</li> >- <li>[% TOTAL %] directories scanned.</li> >- <li>[% HANDLED %] directories processed.</li> >+ <li>[% t('Unpacking completed') %]</li> >+ <li>[% TOTAL %] [% t('directories scanned.') %]</li> >+ <li>[% HANDLED %] [% t('directories processed.') %]</li> > </ul> > > [% FOREACH COUNT IN COUNTS %] > <div class="container"> > <table> >- <caption>Results</caption> >+ <caption>[% t('Results') %]</caption> > <thead> >- <tr><th>File name</th><th>Card number</th><th>Result</th></tr> >+ <tr><th>[% t('File name') %]</th><th>[% t('Card number') %]</th><th>[% t('Result') %]</th></tr> > </thead> > <tbody> >- [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] image(s) moved into the database:</li>[% END %] >+ [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] [% t('image(s) moved into the database:') %]</li>[% END %] > [% FOREACH filename IN COUNT.filenames %] > <tr> > <td>[% filename.source | html %]</td> >@@ -54,18 +55,18 @@ > <td> > [% IF ( filename.filerrors ) %] > [% FOREACH filerror IN filename.filerrors %] >- [% IF ( filerror.DBERR ) %]<b>ERROR:</b> Image not imported because the database returned an error. Please refer to the error log for more details. >- [% ELSIF ( filerror.IMGEXISTS ) %]<b>ERROR:</b> Image not imported because this patron does not exist in the database. >- [% ELSIF ( filerror.MIMERR ) %]<b>ERROR:</b> Image not imported because the image format is unrecognized. >- [% ELSIF ( filerror.CORERR ) %]<b>ERROR:</b> Image not imported because the image file is corrupted. >- [% ELSIF ( filerror.OPNERR ) %]<b>ERROR:</b> Image not imported because Koha was unable to open the image for reading. >- [% ELSIF ( filerror.OVRSIZ ) %]<b>ERROR:</b> Image not imported because the image file is too big (see online help for maximum size). >- [% ELSIF ( filerror.CRDFIL ) %]<b>ERROR:</b> Image not imported ([% filerror.CRDFIL %] missing). >- [% ELSIF ( filerror.CARDNUMBER_DOES_NOT_EXIST ) %]<b>ERROR:</b> Image not imported because this patron does not exist in the database. >- [% ELSE %]<b>ERROR:</b> Image not imported because of an unknown error. Please refer to the error log for more details. >+ [% IF ( filerror.DBERR ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because the database returned an error. Please refer to the error log for more details.') %] >+ [% ELSIF ( filerror.IMGEXISTS ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because this patron does not exist in the database.') %] >+ [% ELSIF ( filerror.MIMERR ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because the image format is unrecognized.') %] >+ [% ELSIF ( filerror.CORERR ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because the image file is corrupted.') %] >+ [% ELSIF ( filerror.OPNERR ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because Koha was unable to open the image for reading.') %] >+ [% ELSIF ( filerror.OVRSIZ ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because the image file is too big (see online help for maximum size).') %] >+ [% ELSIF ( filerror.CRDFIL ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported (') %][% filerror.CRDFIL %] [% t('missing).') %] >+ [% ELSIF ( filerror.CARDNUMBER_DOES_NOT_EXIST ) %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because this patron does not exist in the database.') %] >+ [% ELSE %]<b>[% t('ERROR:') %]</b> [% t('Image not imported because of an unknown error. Please refer to the error log for more details.') %] > [% END %] > [% END %] >- [% ELSE %] imported successfully. >+ [% ELSE %] [% t('imported successfully.') %] > [% END %]</td> > </tr> > [% END %] >@@ -75,52 +76,52 @@ > [% END %] > <ul> > [% IF ( borrowernumber ) %] >- <li><a id="member" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Return to patron detail</a></li> >+ <li><a id="member" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% t('Return to patron detail') %]</a></li> > [% ELSE %] >- <li><a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload more images</a></li> >- <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li> >+ <li><a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">[% t('Upload more images') %]</a></li> >+ <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">[% t('Return to tools') %]</a></li> > [% END %]</ul> > </div> > [% ELSE %] > <div class="yui-b"> >- <h1>Upload patron images</h1> >+ <h1>[% t('Upload patron images') %]</h1> > [% IF ( ERRORS ) %] > <div class="dialog alert"> > [% FOREACH ERROR IN ERRORS %] >- [% IF ( ERROR.NOTZIP ) %]<li><b>The upload file does not appear to be a zip file. The extension is not '.zip'.</b></li> >- [% ELSIF ( ERROR.NOWRITETEMP ) %]<li><b>This script is not able to create/write to the necessary temporary directory.</b></li> >- [% ELSIF ( ERROR.EMPTYUPLOAD ) %]<li><b>The upload file appears to be empty.</b></li> >- [% ELSIF ( ERROR.OPNLINK ) %]<li><b>Cannot open [% ERROR.OPNLINK %] to read.<br />Please verify that it exists.</b></li> >- [% ELSIF ( ERROR.OPNIMG ) %]<li><b>Cannot open [% ERROR.OPNIMG %] to read.<br />Please verify that it exists.</b></li> >- [% ELSIF ( ERROR.DELERR ) %]<li><b>Unrecognized or missing field delimiter.<br />Please verify that you are using either a single quote or a tab.</b></li> >- [% ELSIF ( ERROR.UZIPFAIL ) %]<li><b>[% ERROR.UZIPFAIL %] failed to unpack.<br />Please verify the integrity of the ZIP file and retry.</b></li> >- [% ELSE %]<li><b>[% ERROR.CORERR %] An unknown error has occurred.<br />Please review the error log for more details.</b></li>[% END %] >+ [% IF ( ERROR.NOTZIP ) %]<li><b>[% t('The upload file does not appear to be a zip file.') %] [% t('The extension is not \'.zip\'.') %]</b></li> >+ [% ELSIF ( ERROR.NOWRITETEMP ) %]<li><b>[% t('This script is not able to create/write to the necessary temporary directory.') %]</b></li> >+ [% ELSIF ( ERROR.EMPTYUPLOAD ) %]<li><b>[% t('The upload file appears to be empty.') %]</b></li> >+ [% ELSIF ( ERROR.OPNLINK ) %]<li><b>[% t('Cannot open') %] [% ERROR.OPNLINK %] [% t('to read.') %]<br />[% t('Please verify that it exists.') %]</b></li> >+ [% ELSIF ( ERROR.OPNIMG ) %]<li><b>[% t('Cannot open') %] [% ERROR.OPNIMG %] [% t('to read.') %]<br />[% t('Please verify that it exists.') %]</b></li> >+ [% ELSIF ( ERROR.DELERR ) %]<li><b>[% t('Unrecognized or missing field delimiter.') %]<br />[% t('Please verify that you are using either a single quote or a tab.') %]</b></li> >+ [% ELSIF ( ERROR.UZIPFAIL ) %]<li><b>[% ERROR.UZIPFAIL %] [% t('failed to unpack.') %]<br />[% t('Please verify the integrity of the ZIP file and retry.') %]</b></li> >+ [% ELSE %]<li><b>[% ERROR.CORERR %] [% t('An unknown error has occurred.') %]<br />[% t('Please review the error log for more details.') %]</b></li>[% END %] > [% END %] > </div> > [% END %] > <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data" id="upload_form"> > <fieldset class="rows"> >- <p><b>NOTE:</b> Only PNG, GIF, JPEG, XPM formats are supported.</p> >+ <p><b>[% t('NOTE:') %]</b> [% t('Only PNG, GIF, JPEG, XPM formats are supported.') %]</p> > <ol class="radio"> > <li> >- <label for="zipfile"><input type="radio" id="zipfile" name="filetype" value="zip" checked="checked" /> Zip file</label></li> >+ <label for="zipfile"><input type="radio" id="zipfile" name="filetype" value="zip" checked="checked" /> [% t('Zip file') %]</label></li> > <li> > <label for="image"> >- [% IF ( filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] Image file</label> >+ [% IF ( filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] [% t('Image file') %]</label> > </li> > [% IF ( filetype == 'image' ) %] > <li id="cardnum"> > [% ELSE %] > <li id="cardnum" style="display: none"> > [% END %] >- <label for="cardnumber">Enter patron cardnumber: </label> >+ <label for="cardnumber">[% t('Enter patron cardnumber:') %] </label> > <input type="text" id="cardnumber" name="cardnumber" value="[% cardnumber %]" size="15" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li class="required"> >- <label for="uploadfile">Select the file to upload: </label> >+ <label for="uploadfile">[% t('Select the file to upload:') %] </label> > <input type="file" id="uploadfile" name="uploadfile" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > </ol> > </fieldset> >@@ -128,7 +129,7 @@ > <input type="hidden" name="csrf_token" value="[% csrf_token %]" /> > <input type="hidden" name="op" value="Upload" /> > <input type="submit" value="Upload" class="submit" /> >- <a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a> >+ <a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">[% t('Cancel') %]</a> > </fieldset> > </form> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt >index 199a958a8e..68a692dbed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Preview notice template</title> >+<title>[% t('Koha ⺠Tools ⺠Preview notice template') %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > </head> > <body id="preview_letter" class="catalog"> >@@ -8,13 +9,13 @@ > [%# FIXME The message block does not appear at the top of the modal! %] > <div class="dialog [% m.type %]"> > [% SWITCH m.code %] >- [% CASE 'no_data_for_preview' %]You did not specify data for preview. >- [% CASE 'preview_not_available' %]Preview is not available for letters '[% m.letter_code %]'. >- [% CASE 'not_checked_in_yet' %]Do not forget that the issue has not been checked in yet. >- [% CASE 'not_checked_out_yet' %]Do not forget that the issue has not been checked out yet. >- [% CASE 'no_checkout' %]This item is not checked out. >- [% CASE 'no_item_or_no_patron' %]The item or the patron does not exist. >- [% CASE 'no_hold' %]No hold is placed by this patron on this bibliographic record. >+ [% CASE 'no_data_for_preview' %][% t('You did not specify data for preview.') %] >+ [% CASE 'preview_not_available' %][% t('Preview is not available for letters \'') %][% m.letter_code %]'. >+ [% CASE 'not_checked_in_yet' %][% t('Do not forget that the issue has not been checked in yet.') %] >+ [% CASE 'not_checked_out_yet' %][% t('Do not forget that the issue has not been checked out yet.') %] >+ [% CASE 'no_checkout' %][% t('This item is not checked out.') %] >+ [% CASE 'no_item_or_no_patron' %][% t('The item or the patron does not exist.') %] >+ [% CASE 'no_hold' %][% t('No hold is placed by this patron on this bibliographic record.') %] > [% CASE %][% m.code %] > [% END %] > </div> >@@ -22,16 +23,16 @@ > > [% IF rendered_tt_message %] > [% IF messages_are_similar %] >- <div class="dialog message">The generated notices are exactly the same!</div> >+ <div class="dialog message">[% t('The generated notices are exactly the same!') %]</div> > [% ELSE %] >- <div class="dialog alert">The generated notices are different!</div> >+ <div class="dialog alert">[% t('The generated notices are different!') %]</div> > [% END %] > [% END %] > > [% IF rendered_message %] > <div class="yui-g"> > <div class="yui-u first"> >- <h3>Original version</h3> >+ <h3>[% t('Original version') %]</h3> > <span style="font-family:monospace"> > [% FILTER html_line_break %] > [% original_content | html %] >@@ -39,7 +40,7 @@ > </span> > </div> > <div class="yui-u"> >- <h3>Original message, rendered:</h3> >+ <h3>[% t('Original message, rendered:') %]</h3> > <span style="font-family:monospace"> > [% FILTER html_line_break %] > [% rendered_message.content | html %] >@@ -54,7 +55,7 @@ > <hr /> > <div class="yui-g"> > <div class="yui-u first"> >- <h3>Converted version</h3> >+ <h3>[% t('Converted version') %]</h3> > <span style="font-family:monospace"> > [% FILTER html_line_break %] > [% tt_content | html %] >@@ -62,7 +63,7 @@ > </span> > </div> > <div class="yui-u"> >- <h3>Converted message, rendered:</h3> >+ <h3>[% t('Converted message, rendered:') %]</h3> > <span style="font-family:monospace"> > [% FILTER html_line_break %] > [% rendered_tt_message.content | html %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >index 5cf4ade49d..eb8cbf99ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Quote uploader</title> >+ <title>[% t('Koha ⺠Tools ⺠Quote uploader') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/uploader.css") %] > [% Asset.css("css/quotes.css") %] >@@ -12,54 +13,54 @@ > [% 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/tools/quotes.pl">Quote editor</a> › Quote uploader</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> ⺠<a href="/cgi-bin/koha/tools/quotes.pl">[% t('Quote editor') %]</a> [% t('⺠Quote uploader') %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> > [% INCLUDE 'quotes-upload-toolbar.inc' %] >- <h2>Quote uploader</h2> >+ <h2>[% t('Quote uploader') %]</h2> > <div id="instructions"> > <fieldset id="file_uploader_help" class="rows"> >- <legend>Instructions</legend> >+ <legend>[% t('Instructions') %]</legend> > <div id="file_uploader_inst"> > <ul> >- <li>The quote uploader accepts standard csv files with two columns: "source","text"</li> >- <li>Click the "Choose File" button and select the csv file to be uploaded.</li> >- <li>The file will be imported into an editable table for review prior to saving.</li> >+ <li>[% t('The quote uploader accepts standard csv files with two columns: "source","text"') %]</li> >+ <li>[% t('Click the "Choose File" button and select the csv file to be uploaded.') %]</li> >+ <li>[% t('The file will be imported into an editable table for review prior to saving.') %]</li> > </ul> > </div> > <div id="file_editor_inst"> > <ul> >- <li>Click on any field to edit the contents; Press the <Enter> key to save edit.</li> >- <li>Click on one or more quote numbers to select entire quotes for deletion; Click the 'Delete Quote(s)' button to delete selected quotes.</li> >- <li>Click the 'Save Quotes' button in the toolbar to save the entire batch of quotes.</li> >+ <li>[% t('Click on any field to edit the contents; Press the <Enter> key to save edit.') %]</li> >+ <li>[% t('Click on one or more quote numbers to select entire quotes for deletion; Click the \'Delete Quote(s)\' button to delete selected quotes.') %]</li> >+ <li>[% t('Click the \'Save Quotes\' button in the toolbar to save the entire batch of quotes.') %]</li> > </ul> > </div> > </fieldset> > </div> > <fieldset id="file_uploader" class="rows"> >- <legend>Upload quotes</legend> >+ <legend>[% t('Upload quotes') %]</legend> > <div id="file_upload"> > <input type="file" name="file" /> >- <button id="cancel_upload" style="display:none">Cancel upload</button> >- <div id="progress_bar"><div class="percent">0%</div></div> >+ <button id="cancel_upload" style="display:none">[% t('Cancel upload') %]</button> >+ <div id="progress_bar"><div class="percent">[% t('0%') %]</div></div> > </div> > </fieldset> > <table id="quotes_editor" style="visibility: hidden;"> > <thead> > <tr> >- <th>Source</th> >- <th>Text</th> >- <th>Actions</th> >+ <th>[% t('Source') %]</th> >+ <th>[% t('Text') %]</th> >+ <th>[% t('Actions') %]</th> > </tr> > </thead> > <tbody> > <!-- tbody content is generated by DataTables --> > <tr> > <td></td> >- <td>Loading data...</td> >+ <td>[% t('Loading data...') %]</td> > <td></td> > </tr> > </tbody> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >index 4013b3ddcd..c115d81449 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Koha › Tools › Quote editor</title> >+ <title>[% t('Koha ⺠Tools ⺠Quote editor') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/quotes.css") %] > [% Asset.css("css/datatables.css") %] >@@ -11,24 +12,24 @@ > [% 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> › Quote editor</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('⺠Quote editor') %]</div> > > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> > [% INCLUDE 'quotes-toolbar.inc' %] >- <h2>Quote editor</h2> >+ <h2>[% t('Quote editor') %]</h2> > <div id="instructions"> > <fieldset id="quote_editor_help" class="rows"> >- <legend>Instructions</legend> >+ <legend>[% t('Instructions') %]</legend> > <div id="quote_editor_inst"> > <ul> >- <li>Click on the 'Add quote' button to add a single quote; Press the <Enter> key to save the quote.<br /> >- <b>Note: </b>Both the 'source' and 'text' fields must have content in order for the quote to be saved.</li> >- <li>Click on any field to edit the contents; Press the <Enter> key to save edit.</li> >- <li>Click on one or more quote numbers to select entire quotes for deletion; Click the 'Delete quote(s)' button to delete selected quotes.</li> >- <li>Click the 'Import quotes' button in the toolbar to import a CSV file of quotes.</li> >+ <li>[% t('Click on the \'Add quote\' button to add a single quote; Press the <Enter> key to save the quote.') %]<br /> >+ <b>[% t('Note:') %] </b>[% t('Both the \'source\' and \'text\' fields must have content in order for the quote to be saved.') %]</li> >+ <li>[% t('Click on any field to edit the contents; Press the <Enter> key to save edit.') %]</li> >+ <li>[% t('Click on one or more quote numbers to select entire quotes for deletion; Click the \'Delete quote(s)\' button to delete selected quotes.') %]</li> >+ <li>[% t('Click the \'Import quotes\' button in the toolbar to import a CSV file of quotes.') %]</li> > </ul> > </div> > </fieldset> >@@ -36,10 +37,10 @@ > <table id="quotes_editor"> > <thead> > <tr> >- <th><span style="cursor: help" id="id_help">ID</span></th> >- <th>Source</th> >- <th>Text</th> >- <th>Last displayed</th> >+ <th><span style="cursor: help" id="id_help">[% t('ID') %]</span></th> >+ <th>[% t('Source') %]</th> >+ <th>[% t('Text') %]</th> >+ <th>[% t('Last displayed') %]</th> > </tr> > </thead> > <tbody> >@@ -47,7 +48,7 @@ > <tr> > <td></td> > <td></td> >- <td>Loading data...</td> >+ <td>[% t('Loading data...') %]</td> > <td></td> > </tr> > </tbody> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >index de39e418ce..67435a1e7e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Task scheduler</title> >+<title>[% t('Koha ⺠Tools ⺠Task scheduler') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,7 +10,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'circ-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> › <strong>Task scheduler</strong></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> ⺠<strong>[% t('Task scheduler') %]</strong></div> > > <div id="doc3" class="yui-t2"> > >@@ -20,22 +21,22 @@ > <div id="main"> > > [% IF ( job_add_failed ) %] >-<div class="dialog message">Failed to add scheduled task</div> >+<div class="dialog message">[% t('Failed to add scheduled task') %]</div> > [% END %] > > <form name="form1" action="scheduler.pl" method="post"> > <input type="hidden" name="mode" value="job_add" /> > > <fieldset class="rows"> >-<legend>Task scheduler</legend><ol> >-<li><span class="label">Current server time is:</span> >+<legend>[% t('Task scheduler') %]</legend><ol> >+<li><span class="label">[% t('Current server time is:') %]</span> > [% time %]</li> >-<li><label for="starttime">Time:</label> >+<li><label for="starttime">[% t('Time:') %]</label> > <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li> >-<li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" /> >+<li><label for="startdate">[% t('Date:') %] </label> <input type="text" size="10" id="startdate" name="startdate" value="" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> >-<li><label for="report">Report:</label> >+<li><label for="report">[% t('Report:') %]</label> > <select name="report" id="report"> > [% FOREACH savedreport IN savedreports %] > [% IF ( savedreport.selected ) %] >@@ -47,14 +48,14 @@ > </select> > </li> > <li> >- <label for="format">Output format:</label> >+ <label for="format">[% t('Output format:') %]</label> > <select name="format" id="format"> >- <option value="text">Text (TSV)</option> >- <option value="csv">CSV</option> >- <option value="html">HTML</option> >+ <option value="text">[% t('Text (TSV)') %]</option> >+ <option value="csv">[% t('CSV') %]</option> >+ <option value="html">[% t('HTML') %]</option> > </select> > </li> >-<li><label for="email">Email:</label> >+<li><label for="email">[% t('Email:') %]</label> > > <input type="text" name="email" id="email" size="50" /> > </li> >@@ -62,12 +63,12 @@ > <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset> > </form> > >-[% IF ( JOBS ) %]<h2>Jobs already entered</h2> >+[% IF ( JOBS ) %]<h2>[% t('Jobs already entered') %]</h2> > <table> > <tr> >-<th>Date/Time</th> >-<th>Action</th> >-<th> </th> >+<th>[% t('Date/Time') %]</th> >+<th>[% t('Action') %]</th> >+<th> </th> > </tr> > [% FOREACH JOB IN JOBS %] > <form action="scheduler.pl" method="post"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >index 89b71d3ec2..0a12149089 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Manage staged MARC records › Compare matched records</title> >+<title>[% t('Koha ⺠Tools ⺠Manage staged MARC records ⺠Compare matched records') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > ins { background-color: #e6ffe6; } >@@ -16,16 +17,16 @@ > [% INCLUDE 'header.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/tools/manage-marc-import.pl">Manage staged MARC records</a> › <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Batch [% batchid %]</a> › Compare matched records >+ <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/tools/manage-marc-import.pl">[% t('Manage staged MARC records') %]</a> ⺠<a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">[% t('Batch') %] [% batchid %]</a> [% t('⺠Compare matched records') %] > </div> > > <div id="doc3"> > <div class="yui-g"> > <div id="col1" class="yui-u first"> >- <h1>Original</h1> >+ <h1>[% t('Original') %]</h1> > [% IF ( ERROR_FORMATTED1 ) %] > <div class="dialog alert"> >- <p>The biblionumber <em>[% BIBLIONUMBER %]</em> doesn't match any existing record.</p> >+ <p>[% t('The biblionumber') %] <em>[% BIBLIONUMBER %]</em> [% t('doesn\'t match any existing record.') %]</p> > </div> > [% ELSE %] > <h2>[% BIBLIOTITLE %]</h2> >@@ -33,10 +34,10 @@ > [% END %] > </div> > <div id="col2" class="yui-u"> >- <h1>Imported</h1> >+ <h1>[% t('Imported') %]</h1> > [% IF ( ERROR_FORMATTED2 ) %] > <div class="dialog alert"> >- <p>The import id number <em>[% IMPORTID %]</em> doesn't match any existing record.</p> >+ <p>[% t('The import id number') %] <em>[% IMPORTID %]</em> [% t('doesn\'t match any existing record.') %]</p> > </div> > [% ELSE %] > <h2>[% IMPORTTITLE %]</h2> >@@ -45,7 +46,7 @@ > </div> > </div> > >-<p><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">Return to staged MARC batch [% batchid %]</a></p> >+<p><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid %]">[% t('Return to staged MARC batch') %] [% batchid %]</a></p> > > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/tools-menu.js") %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >index 29a49a8c3a..d2ef8385c7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Stage MARC records for import</title> >+<title>[% t('Koha ⺠Tools ⺠Stage MARC records for import') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > #fileuploadstatus,#fileuploadfailed,#fileuploadcancel,#jobpanel,#jobstatus,#jobfailed { display : none; } >@@ -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/tools/tools-home.pl">Tools</a> › [% IF ( uploadmarc ) %]<a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a> › Upload Results[% ELSE %]Stage MARC records for import[% END %]</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> ⺠[% IF ( uploadmarc ) %]<a href="/cgi-bin/koha/tools/stage-marc-import.pl">[% t('Stage MARC records for import') %]</a> [% t('⺠Upload Results') %][% ELSE %][% t('Stage MARC records for import') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -22,67 +23,67 @@ > > [% IF ( uploadmarc ) %] > <div id="toolbar" class="btn-toolbar"> >- <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/stage-marc-import.pl"><i class="fa fa-plus"></i> Stage MARC records</a> >- <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% import_batch_id %]"><i class="fa fa-list-ul"></i> Manage staged records</a> >+ <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/stage-marc-import.pl"><i class="fa fa-plus"></i> [% t('Stage MARC records') %]</a> >+ <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% import_batch_id %]"><i class="fa fa-list-ul"></i> [% t('Manage staged records') %]</a> > </div> > [% END %] > >-<h1>Stage MARC records for import</h1> >+<h1>[% t('Stage MARC records for import') %]</h1> > [% IF ( uploadmarc ) %] >-<p>MARC staging results :</p> >+<p>[% t('MARC staging results :') %]</p> > <ul> > [% SWITCH (record_type) %] > [% CASE 'biblio' %] >- <li>Processing bibliographic records</li> >+ <li>[% t('Processing bibliographic records') %]</li> > [% CASE 'auth' %] >- <li>Processing authority records</li> >+ <li>[% t('Processing authority records') %]</li> > [% END %] >- <li>[% total %] records in file</li> >- <li>[% import_errors %] records not staged because of MARC error</li> >- <li>[% staged %] records staged</li> >+ <li>[% total %] [% t('records in file') %]</li> >+ <li>[% import_errors %] [% t('records not staged because of MARC error') %]</li> >+ <li>[% staged %] [% t('records staged') %]</li> > [% IF ( checked_matches ) %] >- <li>[% matched %] records with at least one match in catalog per matching rule >- "[% matcher_code %]"</li> >+ <li>[% matched %] [% t('records with at least one match in catalog per matching rule') %] >+ "[% matcher_code %]"</li> > [% ELSE %] > [% IF ( matcher_failed ) %] >- <li>Record matching failed -- unable to retrieve selected matching rule.</li> >+ <li>[% t('Record matching failed -- unable to retrieve selected matching rule.') %]</li> > [% ELSE %] >- <li>Did not check for matches with existing records in catalog</li> >+ <li>[% t('Did not check for matches with existing records in catalog') %]</li> > [% END %] > [% END %] > [% IF record_type == 'biblio' %] >- <li>[% num_items %] item records found and staged</li> >+ <li>[% num_items %] [% t('item records found and staged') %]</li> > [% END %] > [% IF ( label_batch ) %] >- <li>New label batch created: # [% label_batch %] </li> >+ <li>[% t('New label batch created: #') %] [% label_batch %] </li> > [% END %] > </ul> > [% ELSE %] > <ul> >- <li>Select a MARC file to stage in the import reservoir. It will be parsed, and each valid record staged for later import into the catalog.</li> >- <li>You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!</li> >+ <li>[% t('Select a MARC file to stage in the import reservoir.') %] [% t('It will be parsed, and each valid record staged for later import into the catalog.') %]</li> >+ <li>[% t('You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!') %]</li> > </ul> > <form method="post" action="[% SCRIPT_NAME %]" id="uploadfile" enctype="multipart/form-data"> > <fieldset class="rows" id="uploadform"> >-<legend>Stage records into the reservoir</legend> >+<legend>[% t('Stage records into the reservoir') %]</legend> > <ol> > <li> > <div id="fileuploadform"> >- <label for="fileToUpload">Select the file to stage: </label> >+ <label for="fileToUpload">[% t('Select the file to stage:') %] </label> > <input type="file" id="fileToUpload" name="fileToUpload" /> > </div> </li> > </ol> > <fieldset class="action"> >- <button id="fileuploadbutton">Upload file</button> >- <button id="fileuploadcancel">Cancel</button> >+ <button id="fileuploadbutton">[% t('Upload file') %]</button> >+ <button id="fileuploadcancel">[% t('Cancel') %]</button> > </fieldset> > </fieldset> > > <div id="fileuploadpanel"> >- <div id="fileuploadstatus" class="progress_panel">Upload progress: >+ <div id="fileuploadstatus" class="progress_panel">[% t('Upload progress:') %] > <progress id="fileuploadprogress" max="100" value="0"> > </progress> >- <span class="fileuploadpercent">0</span>% >+ <span class="fileuploadpercent">[% t('0') %]</span>% > </div> > <div id="fileuploadfailed"></div> > </div> >@@ -94,35 +95,35 @@ > <input type="hidden" name="runinbackground" id="runinbackground" value="" /> > <input type="hidden" name="completedJobID" id="completedJobID" value="" /> > <ol><li> >- <label for="comments">Comments about this file: </label> >+ <label for="comments">[% t('Comments about this file:') %] </label> > <input type="text" id="comments" name="comments" /> > > </li> > <li> >- <label for='record_type'>Record type:</label> >- <select name='record_type' id='record_type'> >- <option value='biblio' selected='selected'>Bibliographic</option> >- <option value='auth'>Authority</option> >+ <label for="record_type">[% t('Record type:') %]</label> >+ <select name="record_type" id="record_type"> >+ <option value="biblio" selected="selected">[% t('Bibliographic') %]</option> >+ <option value="auth">[% t('Authority') %]</option> > </select> > </li> > <li> >- <label for="encoding">Character encoding: </label> >+ <label for="encoding">[% t('Character encoding:') %] </label> > <select name="encoding" id="encoding"> >- <option value="UTF-8" selected="selected">UTF-8 (Default)</option> >- <option value="MARC-8">MARC 8</option> >- <option value="ISO_5426">ISO 5426</option> >- <option value="ISO_6937">ISO 6937</option> >- <option value="ISO_8859-1">ISO 8859-1</option> >- <option value="EUC-KR">EUC-KR</option> >+ <option value="UTF-8" selected="selected">[% t('UTF-8 (Default)') %]</option> >+ <option value="MARC-8">[% t('MARC 8') %]</option> >+ <option value="ISO_5426">[% t('ISO 5426') %]</option> >+ <option value="ISO_6937">[% t('ISO 6937') %]</option> >+ <option value="ISO_8859-1">[% t('ISO 8859-1') %]</option> >+ <option value="EUC-KR">[% t('EUC-KR') %]</option> > </select> > </li> > <li> >- <label for='format'>Format:</label> >- <select name='format' id='format'> >- <option value='ISO2709'>MARC</option> >- <option value='MARCXML'>MARCXML</option> >+ <label for="format">[% t('Format:') %]</label> >+ <select name="format" id="format"> >+ <option value="ISO2709">[% t('MARC') %]</option> >+ <option value="MARCXML">[% t('MARCXML') %]</option> > [% FOREACH p IN plugins %] >- <option value="[% p.metadata.class %]">[% p.metadata.name %] ( other format via plugin)</option> >+ <option value="[% p.metadata.class %]">[% p.metadata.name %] [% t('( other format via plugin)') %]</option> > [% END %] > </select> > </li> >@@ -130,12 +131,12 @@ > > [% IF MarcModificationTemplatesLoop %] > <fieldset class="rows"> >- <legend>Use MARC Modification Template:</legend> >+ <legend>[% t('Use MARC Modification Template:') %]</legend> > <ol> > <li> >- <label for="comments">Modify record using the following template: </label> >+ <label for="comments">[% t('Modify record using the following template:') %] </label> > <select name="marc_modification_template_id" id="marc_modification_template_id"> >- <option value="">Do not use.</option> >+ <option value="">[% t('Do not use.') %]</option> > [% FOREACH mmt IN MarcModificationTemplatesLoop %] > <option value="[% mmt.template_id %]">[% mmt.name %]</option> > [% END %] >@@ -146,45 +147,45 @@ > [% END %] > > <fieldset class="rows"> >- <legend>Look for existing records in catalog?</legend> >- <ol><li><label for="matcher">Record matching rule:</label> >+ <legend>[% t('Look for existing records in catalog?') %]</legend> >+ <ol><li><label for="matcher">[% t('Record matching rule:') %]</label> > <select name="matcher" id="matcher"> >- <option value="">Do not look for matching records</option> >+ <option value="">[% t('Do not look for matching records') %]</option> > [% FOREACH available_matcher IN available_matchers %] > <option value="[% available_matcher.matcher_id %]">[% available_matcher.code %] ([% available_matcher.description %]) > </option> > [% END %] > </select> > </li> >- <li><label for="overlay_action">Action if matching record found: </label> >+ <li><label for="overlay_action">[% t('Action if matching record found:') %] </label> > [% INCLUDE 'tools-overlay-action.inc' %] > </li> >- <li><label for="nomatch_action">Action if no match is found: </label> >+ <li><label for="nomatch_action">[% t('Action if no match is found:') %] </label> > [% INCLUDE 'tools-nomatch-action.inc' %] > </li> > </ol> > </fieldset> > <fieldset class="rows" id="items"> >- <legend>Check for embedded item record data?</legend> >+ <legend>[% t('Check for embedded item record data?') %]</legend> > <ol> > <li class="radio"> > <input type="radio" id="parse_itemsyes" name="parse_items" value="1" checked="checked" /> >- <label for="parse_itemsyes">Yes</label> >+ <label for="parse_itemsyes">[% t('Yes') %]</label> > </li> > <li class="radio"> > <input type="radio" id="parse_itemsno" name="parse_items" value="0" /> >- <label for="parse_itemsno">No</label> >+ <label for="parse_itemsno">[% t('No') %]</label> > </li> > </ol> > <ol> >- <li><label for="item_action">How to process items: </label> >+ <li><label for="item_action">[% t('How to process items:') %] </label> > [% INCLUDE 'tools-item-action.inc' %] > </li> > </ol> > </fieldset> > <fieldset class="action"><input type="button" id="mainformsubmit" value="Stage for import" /></fieldset> > >- <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >+ <div id="jobpanel"><div id="jobstatus" class="progress_panel">[% t('Job progress:') %] <div id="jobprogress"></div> <span id="jobprogresspercent">[% t('0') %]</span>%</div> > <div id="jobfailed"></div></div> > > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt >index 0152389a9b..75a736baa0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt >@@ -1,198 +1,199 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools</title> >+<title>[% t('Koha ⺠Tools') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="tools_tools-home" class="tools"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Tools</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('⺠Tools') %]</div> > > <div id="doc3"> > <div id="bd"> > <div class="yui-gb"> > > <div class="yui-u first"> >-<h3>Patrons and circulation</h3> >+<h3>[% t('Patrons and circulation') %]</h3> > <dl> > [% IF (CAN_user_tools_manage_patron_lists) %] >- <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a> >- <dd>Manage lists of patrons.</dd> >+ <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">[% t('Patron lists') %]</a> >+ <dd>[% t('Manage lists of patrons.') %]</dd> > [% END %] > > [% IF (CAN_user_clubs) %] >- <dt><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a> >- <dd>Manage patron clubs..</dd> >+ <dt><a href="/cgi-bin/koha/clubs/clubs.pl">[% t('Patron clubs') %]</a> >+ <dd>[% t('Manage patron clubs..') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_moderate_comments ) %] >- <dt><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a> [% IF ( pendingcomments ) %]<span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments %]</a></span>[% END %]</dt> >- <dd>Moderate patron comments. </dd> >+ <dt><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% t('Comments') %]</a> [% IF ( pendingcomments ) %]<span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments %]</a></span>[% END %]</dt> >+ <dd>[% t('Moderate patron comments.') %] </dd> > [% END %] > > [% IF ( CAN_user_tools_import_patrons ) %] >- <dt><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></dt> >- <dd>Import patron data</dd> >+ <dt><a href="/cgi-bin/koha/tools/import_borrowers.pl">[% t('Import patrons') %]</a></dt> >+ <dd>[% t('Import patron data') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_edit_notices ) %] >- <dt><a href="/cgi-bin/koha/tools/letter.pl">Notices & slips</a></dt> >- <dd>Define notices (print and email notification messages for overdues, etc.)</dd> >+ <dt><a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices & slips') %]</a></dt> >+ <dd>[% t('Define notices (print and email notification messages for overdues, etc.)') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_edit_notice_status_triggers ) %] >- <dt><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></dt> >- <dd>Set notice/status triggers for overdue items</dd> >+ <dt><a href="/cgi-bin/koha/tools/overduerules.pl">[% t('Overdue notice/status triggers') %]</a></dt> >+ <dd>[% t('Set notice/status triggers for overdue items') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_label_creator ) %] >- <dt><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></dt> >- <dd>Create printable patron cards</dd> >+ <dt><a href="/cgi-bin/koha/patroncards/home.pl">[% t('Patron card creator') %]</a></dt> >+ <dd>[% t('Create printable patron cards') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_delete_anonymize_patrons ) %] >- <dt><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion/anonymization</a></dt> >- <dd>Batch delete patrons and delete patron circulation history</dd> >+ <dt><a href="/cgi-bin/koha/tools/cleanborrowers.pl">[% t('Batch patron deletion/anonymization') %]</a></dt> >+ <dd>[% t('Batch delete patrons and delete patron circulation history') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_edit_patrons ) %] >- <dt><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></dt> >- <dd>Modify patrons in batch</dd> >+ <dt><a href="/cgi-bin/koha/tools/modborrowers.pl">[% t('Batch patron modification') %]</a></dt> >+ <dd>[% t('Modify patrons in batch') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_moderate_tags ) %] >- <dt><a href="/cgi-bin/koha/tags/review.pl">Tags</a> [% IF ( pendingtags ) %]<span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags %]</a></span>[% END %]</dt> >- <dd>Moderate patron tags</dd> >+ <dt><a href="/cgi-bin/koha/tags/review.pl">[% t('Tags') %]</a> [% IF ( pendingtags ) %]<span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags %]</a></span>[% END %]</dt> >+ <dd>[% t('Moderate patron tags') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_batch_upload_patron_images ) %] >- <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></dt> >- <dd>Upload patron images in a batch or one at a time</dd> >+ <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">[% t('Upload patron images') %]</a></dt> >+ <dd>[% t('Upload patron images in a batch or one at a time') %]</dd> > [% END %] > </dl> > </div> > <div class="yui-u"> >-<h3>Additional tools</h3> >+<h3>[% t('Additional tools') %]</h3> > <dl> > [% IF ( CAN_user_tools_edit_calendar ) %] >- <dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt> >- <dd>Define days when the library is closed</dd> >+ <dt><a href="/cgi-bin/koha/tools/holidays.pl">[% t('Calendar') %]</a></dt> >+ <dd>[% t('Define days when the library is closed') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_manage_csv_profiles ) %] >- <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></dt> >- <dd>Manage CSV export profiles</dd> >+ <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">[% t('CSV profiles') %]</a></dt> >+ <dd>[% t('Manage CSV export profiles') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_view_system_logs ) %] >- <dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt> >- <dd>Browse the system logs</dd> >+ <dt><a href="/cgi-bin/koha/tools/viewlog.pl">[% t('Log viewer') %]</a></dt> >+ <dd>[% t('Browse the system logs') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_edit_news ) %] >- <dt><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></dt> >- <dd>Write news for the OPAC and staff interfaces</dd> >+ <dt><a href="/cgi-bin/koha/tools/koha-news.pl">[% t('News') %]</a></dt> >+ <dd>[% t('Write news for the OPAC and staff interfaces') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_schedule_tasks ) %] >- <dt><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></dt> >- <dd>Schedule tasks to run</dd> >+ <dt><a href="/cgi-bin/koha/tools/scheduler.pl">[% t('Task scheduler') %]</a></dt> >+ <dd>[% t('Schedule tasks to run') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_edit_quotes ) %] >- <dt><a href="/cgi-bin/koha/tools/quotes.pl">Edit quotes for QOTD feature</a></dt> >- <dd>Quote editor for Quote-of-the-day feature in OPAC</dd> >+ <dt><a href="/cgi-bin/koha/tools/quotes.pl">[% t('Edit quotes for QOTD feature') %]</a></dt> >+ <dd>[% t('Quote editor for Quote-of-the-day feature in OPAC') %]</dd> > [% END %] > > [% IF ( UseKohaPlugins && CAN_user_plugins_tool ) %] >- <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></dt> >- <dd>Use tool plugins</dd> >+ <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">[% t('Tool plugins') %]</a></dt> >+ <dd>[% t('Use tool plugins') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_upload_general_files ) %] >- <dt><a href="/cgi-bin/koha/tools/upload.pl">Upload</a></dt> >- <dd>Upload any type of file, manage uploads</dd> >+ <dt><a href="/cgi-bin/koha/tools/upload.pl">[% t('Upload') %]</a></dt> >+ <dd>[% t('Upload any type of file, manage uploads') %]</dd> > [% END %] > > [% IF CAN_user_tools_access_files %] >- <dt><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></dt> >- <dd>Access files stored on the server, like log files or reports</dd> >+ <dt><a href="/cgi-bin/koha/tools/access_files.pl">[% t('Access files') %]</a></dt> >+ <dd>[% t('Access files stored on the server, like log files or reports') %]</dd> > [% END %] > > </dl> > </div> > > <div class="yui-u"> >-<h3>Catalog</h3> >+<h3>[% t('Catalog') %]</h3> > <dl> > [% IF ( CAN_user_tools_items_batchdel ) %] >- <dt><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></dt> >- <dd>Delete a batch of items</dd> >+ <dt><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">[% t('Batch item deletion') %]</a></dt> >+ <dd>[% t('Delete a batch of items') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_items_batchmod ) %] >- <dt><a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a></dt> >- <dd>Modify items in a batch</dd> >+ <dt><a href="/cgi-bin/koha/tools/batchMod.pl">[% t('Batch item modification') %]</a></dt> >+ <dd>[% t('Modify items in a batch') %]</dd> > [% END %] > > [% IF CAN_user_tools_records_batchdel %] >- <dt><a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a></dt> >- <dd>Delete a batch of records (bibliographic or authority)</dd> >+ <dt><a href="/cgi-bin/koha/tools/batch_delete_records.pl">[% t('Batch record deletion') %]</a></dt> >+ <dd>[% t('Delete a batch of records (bibliographic or authority)') %]</dd> > [% END %] > > [% IF CAN_user_tools_records_batchmod %] >- <dt><a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a></dt> >- <dd>Modify a batch of records (biblios or authorities)</dd> >+ <dt><a href="/cgi-bin/koha/tools/batch_record_modification.pl">[% t('Batch record modification') %]</a></dt> >+ <dd>[% t('Modify a batch of records (biblios or authorities)') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_items_batchmod ) %] >- <dt><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Automatic item modifications by age</a></dt> >- <dd>Define rules to modify items by age</dd> >+ <dt><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">[% t('Automatic item modifications by age') %]</a></dt> >+ <dd>[% t('Define rules to modify items by age') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_export_catalog ) %] >- <dt><a href="/cgi-bin/koha/tools/export.pl">Export data</a></dt> >- <dd>Export bibliographic, holdings, and authority records</dd> >+ <dt><a href="/cgi-bin/koha/tools/export.pl">[% t('Export data') %]</a></dt> >+ <dd>[% t('Export bibliographic, holdings, and authority records') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_inventory ) %] >- <dt><a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a></dt> >- <dd>Perform inventory of your catalog</dd> >+ <dt><a href="/cgi-bin/koha/tools/inventory.pl">[% t('Inventory') %]</a></dt> >+ <dd>[% t('Perform inventory of your catalog') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_label_creator ) %] >- <dt><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></dt> >- <dd>Create printable labels and barcodes from catalog data</dd> >+ <dt><a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a></dt> >+ <dd>[% t('Create printable labels and barcodes from catalog data') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_label_creator ) %] >- <dt><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></dt> >- <dd>Enter a barcode to generate a printable spine label. For use with dedicated label printers</dd> >+ <dt><a href="/cgi-bin/koha/labels/spinelabel-home.pl">[% t('Quick spine label creator') %]</a></dt> >+ <dd>[% t('Enter a barcode to generate a printable spine label. For use with dedicated label printers') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_rotating_collections ) %] >- <dt><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></dt> >- <dd>Manage rotating collections</dd> >+ <dt><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">[% t('Rotating collections') %]</a></dt> >+ <dd>[% t('Manage rotating collections') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_marc_modification_templates ) %] >- <dt><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a></dt> >- <dd>Manage templates for modifying MARC records during import.</dd> >+ <dt><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">[% t('MARC modification templates') %]</a></dt> >+ <dd>[% t('Manage templates for modifying MARC records during import.') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_stage_marc_import ) %] >- <dt><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a></dt> >- <dd>Stage MARC records into the reservoir.</dd> >+ <dt><a href="/cgi-bin/koha/tools/stage-marc-import.pl">[% t('Stage MARC records for import') %]</a></dt> >+ <dd>[% t('Stage MARC records into the reservoir.') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_manage_staged_marc ) %] >- <dt><a href="/cgi-bin/koha/tools/manage-marc-import.pl">Staged MARC record management</a></dt> >- <dd>Managed staged MARC records, including completing and reversing imports</dd> >+ <dt><a href="/cgi-bin/koha/tools/manage-marc-import.pl">[% t('Staged MARC record management') %]</a></dt> >+ <dd>[% t('Managed staged MARC records, including completing and reversing imports') %]</dd> > [% END %] > > [% IF ( CAN_user_tools_upload_local_cover_images ) %] >- <dt><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></dt> >- <dd>Utility to upload scanned cover images for display in OPAC</dd> >+ <dt><a href="/cgi-bin/koha/tools/upload-cover-image.pl">[% t('Upload local cover image') %]</a></dt> >+ <dd>[% t('Utility to upload scanned cover images for display in OPAC') %]</dd> > [% END %] > > </dl> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >index d5f79031f5..44094d93d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Upload images</title> >+<title>[% t('Koha ⺠Tools ⺠Upload images') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > #fileuploadstatus,#fileuploadfailed,#jobpanel,#jobstatus,#jobfailed { display : none; } >@@ -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/tools/tools-home.pl">Tools</a> › [% IF ( uploadimage ) %]<a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a> › Upload results[% ELSE %]Upload local cover image[% END %]</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> ⺠[% IF ( uploadimage ) %]<a href="/cgi-bin/koha/tools/upload-cover-image.pl">[% t('Upload local cover image') %]</a> [% t('⺠Upload results') %][% ELSE %][% t('Upload local cover image') %][% END %]</div> > > <div id="doc3" class="yui-t2"> > >@@ -20,49 +21,49 @@ > <div id="yui-main"> > <div class="yui-b"> > >-<h1>Upload local cover image</h1> >+<h1>[% t('Upload local cover image') %]</h1> > [% IF ( uploadimage ) %] >-<p>Image upload results :</p> >+<p>[% t('Image upload results :') %]</p> > <ul> >- <li>[% total %] images found</li> >+ <li>[% total %] [% t('images found') %]</li> > [% IF ( error ) %] > <div class="dialog alert"> >- [% IF ( error == 'UZIPFAIL' ) %]<p><b>Failed to unzip archive.<br />Please ensure you are uploading a valid zip file and try again.</b></p> >- [% ELSIF ( error == 'OPNLINK' ) %]<p><b>Cannot open folder index (idlink.txt or datalink.txt) to read.<br />Please verify that it exists.</b></p> >- [% ELSIF ( error == 'OPNIMG' ) %]<p><b>Cannot process file as an image.<br />Please ensure you only upload GIF, JPEG, PNG, or XPM images.</b></p> >- [% ELSIF ( error == 'DELERR' ) %]<p><b>Unrecognized or missing field delimiter.<br />Please verify that you are using either a single quote or a tab.</b></p> >- [% ELSIF ( error == 'DBERR' ) %]<p><b>Unable to save image to database.</b></p> >- [% ELSE %]<p><b>An unknown error has occurred.<br />Please review the error log for more details.</b></p>[% END %] >+ [% IF ( error == 'UZIPFAIL' ) %]<p><b>[% t('Failed to unzip archive.') %]<br />[% t('Please ensure you are uploading a valid zip file and try again.') %]</b></p> >+ [% ELSIF ( error == 'OPNLINK' ) %]<p><b>[% t('Cannot open folder index (idlink.txt or datalink.txt) to read.') %]<br />[% t('Please verify that it exists.') %]</b></p> >+ [% ELSIF ( error == 'OPNIMG' ) %]<p><b>[% t('Cannot process file as an image.') %]<br />[% t('Please ensure you only upload GIF, JPEG, PNG, or XPM images.') %]</b></p> >+ [% ELSIF ( error == 'DELERR' ) %]<p><b>[% t('Unrecognized or missing field delimiter.') %]<br />[% t('Please verify that you are using either a single quote or a tab.') %]</b></p> >+ [% ELSIF ( error == 'DBERR' ) %]<p><b>[% t('Unable to save image to database.') %]</b></p> >+ [% ELSE %]<p><b>[% t('An unknown error has occurred.') %]<br />[% t('Please review the error log for more details.') %]</b></p>[% END %] > </div> > </li> > [% END %] >- <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">View final record</a></li> >- <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back</a></li> >+ <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% t('View final record') %]</a></li> >+ <li><a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Back') %]</a></li> > </ul> > <hr /> > [% END %] > <ul> >- <li>Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.</li> >+ <li>[% t('Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.') %]</li> > </ul> > <form method="post" action="/cgi-bin/koha/tools/upload-cover-image.pl" id="uploadfile" enctype="multipart/form-data"> > <fieldset class="rows" id="uploadform"> >-<legend>Upload images</legend> >+<legend>[% t('Upload images') %]</legend> > <ol> > <li> > <div id="fileuploadform"> >- <label for="fileToUpload" class="required">Select the file to upload: </label> >+ <label for="fileToUpload" class="required">[% t('Select the file to upload:') %] </label> > <input type="file" id="fileToUpload" name="fileToUpload" required="required" class="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </div> </li> > </ol> >- <fieldset class="action"><button class="submit btn btn-default btn-sm">Upload file</button></fieldset> >+ <fieldset class="action"><button class="submit btn btn-default btn-sm">[% t('Upload file') %]</button></fieldset> > </fieldset> > > <div id="uploadpanel"> >- <div id="fileuploadstatus" class="progress_panel">Upload progress: >+ <div id="fileuploadstatus" class="progress_panel">[% t('Upload progress:') %] > <progress max="100" value="0" id="fileuploadprogress"> > </progress> >- <span class="fileuploadpercent">0</span>% >+ <span class="fileuploadpercent">[% t('0') %]</span>% > </div> > <div id="fileuploadfailed"></div> > </div> >@@ -75,31 +76,31 @@ > <input type="hidden" name="completedJobID" id="completedJobID" value="" /> > </fieldset> > <fieldset class="rows"> >- <legend>File type</legend> >+ <legend>[% t('File type') %]</legend> > <ol> > <li class="radio"> > [% IF (filetype != 'image' ) %]<input type="radio" id="zipfile" name="filetype" value="zip" checked="checked" />[% ELSE %]<input type="radio" id="zipfile" name="filetype" value="zip" />[% END %] >- <label for="zipfile">ZIP file</label> >+ <label for="zipfile">[% t('ZIP file') %]</label> > </li> > <li class="radio"> > [% IF (filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] >- <label for="image">Image file</label> >+ <label for="image">[% t('Image file') %]</label> > </li> > <li class="radio"> >- [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">Enter cover biblionumber: </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span> >+ [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">[% t('Enter cover biblionumber:') %] </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span> > </li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Options</legend> >+ <legend>[% t('Options') %]</legend> > <ol> > <li class="checkbox"> > [% IF AllowMultipleCovers == 0 %]<input type="checkbox" id="replace" name="replace" checked="checked" disabled="disabled" value="1" />[% ELSE %]<input type="checkbox" id="replace" name="replace" value="1" />[% END %] >- <label for="replace">Replace existing covers</label> >+ <label for="replace">[% t('Replace existing covers') %]</label> > </li> > </ol> > </fieldset> >- <fieldset class="action"><button type="submit" class="btn btn-default btn-sm">Process images</button></fieldset> >+ <fieldset class="action"><button type="submit" class="btn btn-default btn-sm">[% t('Process images') %]</button></fieldset> > </form> > > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >index a4e6147f6e..fd03f08771 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >@@ -1,11 +1,12 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > [% IF plugin %] >- <title>Upload plugin</title> >+ <title>[% t('Upload plugin') %]</title> > [% ELSE %] >- <title>Koha › Tools › Upload</title> >+ <title>[% t('Koha ⺠Tools ⺠Upload') %]</title> > [% END %] > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/datatables.css") %] >@@ -19,17 +20,17 @@ > > [% BLOCK breadcrumbs %] > <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/tools/upload.pl">Upload</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/tools/upload.pl">[% t('Upload') %]</a> >+ ⺠> <span id="lastbreadcrumb"> > [% IF mode=='new' || mode =='deleted'%] >- Add new upload or search >+ [% t('Add new upload or search') %] > [% ELSE %] >- Results >+ [% t('Results') %] > [% END %] > </span> > </div> >@@ -39,17 +40,17 @@ > <form method="post" action="/cgi-bin/koha/tools/upload.pl" id="uploadfile" enctype="multipart/form-data"> > [% PROCESS plugin_pars %] > <fieldset class="rows" id="uploadform"> >- <legend>Upload new files</legend> >+ <legend>[% t('Upload new files') %]</legend> > <ol> > <li> > <div id="fileuploadform"> >- <label for="fileToUpload">Select files: </label> >- <input type="file" id="fileToUpload" name="fileToUpload" multiple/> >+ <label for="fileToUpload">[% t('Select files:') %] </label> >+ <input type="file" id="fileToUpload" name="fileToUpload" multiple="" /> > </div> > </li> > [% IF uploadcategories %] > <li> >- <label for="uploadcategory">Category: </label> >+ <label for="uploadcategory">[% t('Category:') %] </label> > <select id="uploadcategory" name="uploadcategory"> > [% IF !plugin %] > <option value=""></option> >@@ -63,31 +64,31 @@ > [% IF !plugin %] > <li> > [% IF uploadcategories %] >- <div class="hint">Note: For temporary uploads do not select a category.</div> >+ <div class="hint">[% t('Note: For temporary uploads do not select a category.') %]</div> > [% ELSE %] >- <div class="hint">Note: No upload categories are defined. Add values to the UPLOAD authorized value category otherwise all uploads will be marked as temporary.</div> >+ <div class="hint">[% t('Note: No upload categories are defined. Add values to the UPLOAD authorized value category otherwise all uploads will be marked as temporary.') %]</div> > [% END %] > </li> > [% END %] > <li> > [% IF plugin %] >- <input type="hidden" id="public" name="public" value="1"/> >+ <input type="hidden" id="public" name="public" value="1" /> > [% ELSE %] >- <label id="public_cb">Allow public downloads:</label> >+ <label id="public_cb">[% t('Allow public downloads:') %]</label> > <input type="checkbox" id="public" name="public" /> > [% END %] > </li> > </ol> > <fieldset class="action"> >- <button id="fileuploadbutton">Upload</button> >- <button id="fileuploadcancel">Cancel</button> >+ <button id="fileuploadbutton">[% t('Upload') %]</button> >+ <button id="fileuploadcancel">[% t('Cancel') %]</button> > </fieldset> > </fieldset> > <div id="fileuploadpanel"> >- <div id="fileuploadstatus" class="progress_panel">Upload progress: >+ <div id="fileuploadstatus" class="progress_panel">[% t('Upload progress:') %] > <progress id="fileuploadprogress" max="100" value="0"> > </progress> >- <span class="fileuploadpercent">0</span>% >+ <span class="fileuploadpercent">[% t('0') %]</span>% > </div> > <div id="fileuploadfailed"></div> > </div> >@@ -97,17 +98,17 @@ > [% BLOCK form_search %] > <form method="post" id="searchfile" action="/cgi-bin/koha/tools/upload.pl" enctype="multipart/form-data"> > [% PROCESS plugin_pars %] >- <input type="hidden" name="op" value="search"/> >+ <input type="hidden" name="op" value="search" /> > <fieldset class="rows"> >- <legend>Search uploads by name or hashvalue</legend> >+ <legend>[% t('Search uploads by name or hashvalue') %]</legend> > <ol> > <li> >- <label for="term">Search term: </label> >- <input type="text" id="term" name="term" value=""/> >+ <label for="term">[% t('Search term:') %] </label> >+ <input type="text" id="term" name="term" value="" /> > </li> > </ol> > <fieldset class="action"> >- <button id="searchbutton" class="submit">Search</button> >+ <button id="searchbutton" class="submit">[% t('Search') %]</button> > </fieldset> > </fieldset> > </form> >@@ -116,7 +117,7 @@ > [% BLOCK submitter %] > <form id="submitter" style="display:none;" method="post"> > [% PROCESS plugin_pars %] >- <input type="hidden" name="op" id="op" value=""/> >+ <input type="hidden" name="op" id="op" value="" /> > <input type="hidden" name="id" id="id" value="" /> > <input type="hidden" name="msg" id="msg" value="" /> > </form> >@@ -124,7 +125,7 @@ > > [% BLOCK closer %] > [% IF plugin %] >- <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div> >+ <div id="closewindow"><a class="btn btn-default btn-default close" href="#">[% t('Close') %]</a></div> > [% END %] > [% END %] > >@@ -132,7 +133,7 @@ > [% IF !plugin %] > <form id="back"> > <fieldset class="action"> >- <button class="submit">Back</button> >+ <button class="submit">[% t('Back') %]</button> > </fieldset> > </form> > [% END %] >@@ -141,11 +142,11 @@ > [% BLOCK newsearch %] > <form id="newsearch"> > <fieldset class="action"> >- <button id="new_search">New search</button> >+ <button id="new_search">[% t('New search') %]</button> > </fieldset> > </form> > [% IF plugin %] >- <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div> >+ <div id="closewindow"><a class="btn btn-default btn-default close" href="#">[% t('Close') %]</a></div> > [% END %] > [% END %] > >@@ -153,13 +154,13 @@ > <table id="uploadresults"> > <thead> > <tr> >- <th>Filename</th> >- <th>Size</th> >- <th>Hashvalue</th> >- <th>Category</th> >- [% IF !plugin %]<th>Public</th>[% END %] >- [% IF !plugin %]<th>Temporary</th>[% END %] >- <th class="nosort">Actions</th> >+ <th>[% t('Filename') %]</th> >+ <th>[% t('Size') %]</th> >+ <th>[% t('Hashvalue') %]</th> >+ <th>[% t('Category') %]</th> >+ [% IF !plugin %]<th>[% t('Public') %]</th>[% END %] >+ [% IF !plugin %]<th>[% t('Temporary') %]</th>[% END %] >+ <th class="nosort">[% t('Actions') %]</th> > </tr> > </thead> > <tbody> >@@ -170,16 +171,16 @@ > <td>[% record.hashvalue %]</td> > <td>[% record.uploadcategorycode %]</td> > [% IF !plugin %] >- <td>[% IF record.public %]Yes[% ELSE %]No[% END %]</td> >- <td>[% IF record.permanent %]No[% ELSE %]Yes[% END %]</td> >+ <td>[% IF record.public %][% t('Yes') %][% ELSE %][% t('No') %][% END %]</td> >+ <td>[% IF record.permanent %][% t('No') %][% ELSE %][% t('Yes') %][% END %]</td> > [% END %] > <td class="actions"> > [% IF plugin %] >- <button class="btn btn-default btn-xs choose_entry" data-record-hashvalue="[% record.hashvalue %]"><i class="fa fa-plus"></i> Choose</button> >+ <button class="btn btn-default btn-xs choose_entry" data-record-hashvalue="[% record.hashvalue %]"><i class="fa fa-plus"></i> [% t('Choose') %]</button> > [% END %] >- <button class="btn btn-default btn-xs download_entry" data-record-id="[% record.id %]"><i class="fa fa-download"></i> Download</button> >+ <button class="btn btn-default btn-xs download_entry" data-record-id="[% record.id %]"><i class="fa fa-download"></i> [% t('Download') %]</button> > [% IF record.owner == owner || CAN_user_tools_upload_manage %] >- <button class="btn btn-default btn-xs delete_entry" data-record-id="[% record.id %]"><i class="fa fa-trash"></i> Delete</button> >+ <button class="btn btn-default btn-xs delete_entry" data-record-id="[% record.id %]"><i class="fa fa-trash"></i> [% t('Delete') %]</button> > [% END %] > </td> > </tr> >@@ -215,7 +216,7 @@ > > > >-<h1>Upload</h1> >+<h1>[% t('Upload') %]</h1> > <div class="dialog alert" id="myalerts" style="display:none;"></div> > > [% PROCESS submitter %] >@@ -225,12 +226,12 @@ > [% PROCESS closer %] > [% ELSIF mode == 'report' %] > [% IF uploads %] >- <h3>Your request gave the following results:</h3> >+ <h3>[% t('Your request gave the following results:') %]</h3> > [% PROCESS table_results %] > [% PROCESS closer %] > [% PROCESS back %] > [% ELSE %] >- <h4>Sorry, your request had no results.</h4> >+ <h4>[% t('Sorry, your request had no results.') %]</h4> > [% PROCESS newsearch %] > [% END %] > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index b183dcac28..bd436a9bc8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -1,3 +1,4 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% USE Koha %] > [% USE AuthorisedValues %] >@@ -5,11 +6,11 @@ > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title> >- Koha › Tools › >+ [% t('Koha ⺠Tools âº') %] > [% IF ( do_it ) %] >- Logs › Results >+ [% t('Logs ⺠Results') %] > [% ELSE %] >- Logs >+ [% t('Logs') %] > [% END %] > </title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -21,58 +22,58 @@ > > [% BLOCK translate_log_module %] > [% SWITCH module %] >-[% CASE 'CATALOGUING' %]Catalog >-[% CASE 'AUTHORITIES' %]Authorities >-[% CASE 'MEMBERS' %]Patrons >-[% CASE 'ACQUISITIONS' %]Acquisitions >-[% CASE 'SERIAL' %]Serials >-[% CASE 'HOLDS' %]Holds >-[% CASE 'CIRCULATION' %]Circulation >-[% CASE 'LETTER' %]Letter >-[% CASE 'FINES' %]Fines >-[% CASE 'SYSTEMPREFERENCE' %]System prefs >-[% CASE 'CRONJOBS' %]Cron jobs >-[% CASE 'REPORTS' %]Reports >+[% CASE 'CATALOGUING' %][% t('Catalog') %] >+[% CASE 'AUTHORITIES' %][% t('Authorities') %] >+[% CASE 'MEMBERS' %][% t('Patrons') %] >+[% CASE 'ACQUISITIONS' %][% t('Acquisitions') %] >+[% CASE 'SERIAL' %][% t('Serials') %] >+[% CASE 'HOLDS' %][% t('Holds') %] >+[% CASE 'CIRCULATION' %][% t('Circulation') %] >+[% CASE 'LETTER' %][% t('Letter') %] >+[% CASE 'FINES' %][% t('Fines') %] >+[% CASE 'SYSTEMPREFERENCE' %][% t('System prefs') %] >+[% CASE 'CRONJOBS' %][% t('Cron jobs') %] >+[% CASE 'REPORTS' %][% t('Reports') %] > [% CASE %][% module %] > [% END %] > [% END %] > > [% BLOCK translate_log_action %] > [% SWITCH action %] >-[% CASE 'ADD' %]Add >-[% CASE 'DELETE' %]Delete >-[% CASE 'MODIFY' %]Modify >-[% CASE 'ISSUE' %]Checkout >-[% CASE 'RETURN' %]Return >-[% CASE 'CREATE' %]Create >-[% CASE 'CANCEL' %]Cancel >-[% CASE 'RESUME' %]Resume >-[% CASE 'SUSPEND' %]Suspend >-[% CASE 'RENEW' %]Renew >-[% CASE 'CHANGE PASS' %]Change password >-[% CASE 'ADDCIRCMESSAGE' %]Add circulation message >-[% CASE 'DELCIRCMESSAGE' %]Delete circulation message >-[% CASE 'Run' %]Run >+[% CASE 'ADD' %][% t('Add') %] >+[% CASE 'DELETE' %][% t('Delete') %] >+[% CASE 'MODIFY' %][% t('Modify') %] >+[% CASE 'ISSUE' %][% t('Checkout') %] >+[% CASE 'RETURN' %][% t('Return') %] >+[% CASE 'CREATE' %][% t('Create') %] >+[% CASE 'CANCEL' %][% t('Cancel') %] >+[% CASE 'RESUME' %][% t('Resume') %] >+[% CASE 'SUSPEND' %][% t('Suspend') %] >+[% CASE 'RENEW' %][% t('Renew') %] >+[% CASE 'CHANGE PASS' %][% t('Change password') %] >+[% CASE 'ADDCIRCMESSAGE' %][% t('Add circulation message') %] >+[% CASE 'DELCIRCMESSAGE' %][% t('Delete circulation message') %] >+[% CASE 'Run' %][% t('Run') %] > [% CASE %][% action %] > [% END %] > [% END %] > > [% BLOCK translate_log_interface %] > [% SWITCH log_interface %] >-[% CASE 'INTRANET' %]Intranet >-[% CASE 'OPAC' %]OPAC >-[% CASE 'SIP' %]SIP >-[% CASE 'COMMANDLINE' %]Command-line >+[% CASE 'INTRANET' %][% t('Intranet') %] >+[% CASE 'OPAC' %][% t('OPAC') %] >+[% CASE 'SIP' %][% t('SIP') %] >+[% CASE 'COMMANDLINE' %][% t('Command-line') %] > [% CASE %][% log_interface %] > [% END %] > [% END %] > > <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/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> ⺠> [% IF ( do_it ) %] >- <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results >+ <a href="/cgi-bin/koha/tools/viewlog.pl">[% t('Logs') %]</a> [% t('⺠Results') %] > [% ELSE %] >- Logs >+ [% t('Logs') %] > [% END %] > </div> > >@@ -81,7 +82,7 @@ > <div id="yui-main"> > <div class="yui-b"> > [% IF ( CAN_user_reports ) %] >- <h1>Browse system logs</h1> >+ <h1>[% t('Browse system logs') %]</h1> > <form method="post" action="/cgi-bin/koha/tools/viewlog.pl"> > [% IF ( do_it ) %] > <input type="hidden" name="do_it" value="[% do_it %]" /> >@@ -90,16 +91,16 @@ > <fieldset class="rows"> > <ol> > <li> >- <label for="user">Librarian:</label> >+ <label for="user">[% t('Librarian:') %]</label> > <input type="text" name="user" id="user" value="[% user | html %]" /> > </li> > <li> >- <label for="modules">Modules:</label> >+ <label for="modules">[% t('Modules:') %]</label> > <select name="modules" id="modules" multiple="multiple"> > [% UNLESS modules %] >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% ELSE %] >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% END %] > [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %] > [% IF modules.grep(modx).size %] >@@ -111,12 +112,12 @@ > </select> > </li> > <li> >- <label for="actions">Actions:</label> >+ <label for="actions">[% t('Actions:') %]</label> > <select name="actions" id="actions" multiple="multiple"> > [% UNLESS actions %] >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% ELSE %] >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% END %] > > [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'CHANGE PASS' 'Run' ] %] >@@ -129,20 +130,20 @@ > </select> > </li> > <li> >- <label for="object">Object: </label> >+ <label for="object">[% t('Object:') %] </label> > <input type="text" id="object" name="object" value="[% object | html %]" /> > </li> > <li> >- <label for="info">Info:</label> >+ <label for="info">[% t('Info:') %]</label> > <input type="text" id="info" name="info" value="[% info | html %]" /> > </li> > <li> >- <label for="interfaces">Interface:</label> >+ <label for="interfaces">[% t('Interface:') %]</label> > <select name="interfaces" id="interfaces" multiple="multiple"> > [% UNLESS interfaces %] >- <option value="" selected="selected">All</option> >+ <option value="" selected="selected">[% t('All') %]</option> > [% ELSE %] >- <option value="">All</option> >+ <option value="">[% t('All') %]</option> > [% END %] > > [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %] >@@ -155,25 +156,25 @@ > </select> > </li> > <li> >- <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" /> >+ <label for="from"> [% t('Display from:') %] </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >- <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" /> >+ <label for="to">[% t('Display to:') %] </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > </ol> > </fieldset> > <fieldset class="rows"> >- <legend>Output</legend> >+ <legend>[% t('Output') %]</legend> > <ol> > <li> >- <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" /> >+ <label for="screen">[% t('To screen in the browser:') %]</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" /> > </li> > <li> >- <label for="file">To a file:</label> >+ <label for="file">[% t('To a file:') %]</label> > <input id="file" type="radio" name="output" value="file" /> >- <label class="inline" for="basename">Named:</label> >+ <label class="inline" for="basename">[% t('Named:') %]</label> > <input type="text" name="basename" id="basename" value="Export" /> > <!-- > <label for="MIME" class="inline">Into an application:</label> >@@ -192,17 +193,17 @@ > [% END %] > [% IF ( do_it ) %] > [% IF ( total ) %] >- <h4>[% total %] lines found.</h4> >+ <h4>[% total %] [% t('lines found.') %]</h4> > <table> > <thead> > <tr> >- <th>Date</th> >- <th>Librarian</th> >- <th>Module</th> >- <th>Action</th> >- <th>Object</th> >- <th>Info</th> >- <th>Interface</th> >+ <th>[% t('Date') %]</th> >+ <th>[% t('Librarian') %]</th> >+ <th>[% t('Module') %]</th> >+ <th>[% t('Action') %]</th> >+ <th>[% t('Object') %]</th> >+ <th>[% t('Info') %]</th> >+ <th>[% t('Interface') %]</th> > </tr> > </thead> > <tbody> >@@ -211,7 +212,7 @@ > <td>[% loopro.timestamp %]</td> > <td> > [% IF loopro.librarian %] >- <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.librarian.borrowernumber %]" title="display detail for this librarian."> [% IF ( loopro.librarian.firstname ) || ( loopro.librarian.surname ) %][% loopro.librarian.firstname %] [% loopro.librarian.surname %] ([% loopro.librarian.borrowernumber %]) [% ELSE %][% loopro.librarian.borrowernumber %][% END %]</a> >+ <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.librarian.borrowernumber %]" title="[% t('display detail for this librarian.') %]"> [% IF ( loopro.librarian.firstname ) || ( loopro.librarian.surname ) %][% loopro.librarian.firstname %] [% loopro.librarian.surname %] ([% loopro.librarian.borrowernumber %]) [% ELSE %][% loopro.librarian.borrowernumber %][% END %]</a> > [% ELSE %] > [% loopro.user %] > [% END %] >@@ -221,25 +222,25 @@ > <td> > [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %] > [% IF loopro.patron %] >- <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> [% IF ( loopro.object ) %][% IF ( loopro.patron.firstname ) || ( loopro.patron.surname ) %][% loopro.patron.firstname %] [% loopro.patron.surname %] ([% loopro.object %]) [% ELSE %]Member [% loopro.object %][% END %][% END %] </a> >+ <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="[% t('Display member details.') %]"> [% IF ( loopro.object ) %][% IF ( loopro.patron.firstname ) || ( loopro.patron.surname ) %][% loopro.patron.firstname %] [% loopro.patron.surname %] ([% loopro.object %]) [% ELSE %][% t('Member') %] [% loopro.object %][% END %][% END %] </a> > [% ELSE %] > [% loopro.object %] > [% END %] > [% ELSE %] > [% IF ( loopro.module == 'CATALOGUING' ) %] > [% IF ( loopro.info.substr(0, 4) == 'item' ) %] >- <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.object %]">Item [% loopro.object %]</a> >+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.object %]">[% t('Item') %] [% loopro.object %]</a> > [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %] >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object %]" title="Display detail for this biblio">Biblio [% loopro.object %]</a> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object %]" title="[% t('Display detail for this biblio') %]">[% t('Biblio') %] [% loopro.object %]</a> > [% ELSE %] > [% loopro.object %] > [% END %] > [% ELSE %] > [% IF ( loopro.module == 'SERIAL' ) %] >- <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object %]">Subscription [% loopro.object %] </a> >+ <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object %]">[% t('Subscription') %] [% loopro.object %] </a> > [% ELSE %] > [% IF ( loopro.module == 'AUTHORITIES' ) %] >- <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object %]" title="Display detail for this authority">Authority [% loopro.object %]</a> >+ <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object %]" title="[% t('Display detail for this authority') %]">[% t('Authority') %] [% loopro.object %]</a> > [% ELSE %] > [% loopro.object %] > [% END %] >@@ -249,7 +250,7 @@ > </td> > <td> > [% IF ( loopro.module == 'CIRCULATION' ) %] >- <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode |html %]</a> >+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="[% t('Display detail for this item') %]">[% t('Item') %] [% loopro.barcode |html %]</a> > [% ELSE %] > [% loopro.info |html %] > [% END %] >@@ -261,12 +262,12 @@ > </table> > [% ELSE %] > <div class="dialog alert"> >- No log found >+ [% t('No log found') %] > [% IF ( CATALOGUING ) %] >- for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a> >+ [% t('for') %] <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">[% t('Bibliographic record') %] [% object | html %]</a> > [% END %] > [% IF ( MEMBERS ) %] >- for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a> >+ [% t('for') %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a> > [% END %] > . > </div> >-- >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