From d221e83551a5f547b23fd09ddaf9792b072fb355 Mon Sep 17 00:00:00 2001 From: Julian Maurice 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' %] -Access files +[% t('Access files') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] @@ -9,25 +10,25 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
-

Access files

+

[% t('Access files') %]

[% IF ( error_no_dir ) %] -
Error: 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.
+
[% t('Error:') %] [% 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.') %]
[% ELSE %] [% IF ( files_loop ) %] - - - + + + @@ -41,7 +42,7 @@
NameSize (bytes)Date last modified[% t('Name') %][% t('Size (bytes)') %][% t('Date last modified') %]
[% 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' %] -Koha › Tools › Automatic item modifications by age +[% t('Koha › Tools › Automatic item modifications by age') %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,13 +10,13 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] @@ -26,27 +27,27 @@ [% IF ( op == 'edit_form' ) %]
-

Rules for automatic item modifications by age

+

[% t('Rules for automatic item modifications by age') %]

- +
- +
[% ELSE %] -

Automatic item modifications by age

+

[% t('Automatic item modifications by age') %]

[% IF ( rules ) %] [% ELSE %] [% END %] [% END %] @@ -56,7 +57,7 @@
[% 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 %]
[% END %] @@ -67,18 +68,18 @@ [% FOR rule IN rules %] [% SET id = loop.count %]
- Rule [% loop.count %] Remove this rule + [% t('Rule') %] [% loop.count %] [% t('Remove this rule') %]
-
Age in days
+
[% t('Age in days') %]
-
Conditions
+
[% t('Conditions') %]
[% FOR condition IN rule.conditions %]
= - Add a condition - Remove condition + [% t('Add a condition') %] + [% t('Remove condition') %]
[% END %]
-
Substitutions
+
[% t('Substitutions') %]
[% FOR substitution IN rule.substitutions %]
= - Add a substitution - Remove substitution - A field name is required + [% t('Add a substitution') %] + [% t('Remove substitution') %] + [% t('A field name is required') %]
[% END %]
@@ -124,57 +125,57 @@
- There are no rules defined. + [% t('There are no rules defined.') %]
- Rule Remove this rule + [% t('Rule') %] [% t('Remove this rule') %]
-
Age in days
+
[% t('Age in days') %]
-
Conditions
+
[% t('Conditions') %]
= - Add a condition - Remove condition + [% t('Add a condition') %] + [% t('Remove condition') %]
-
Substitutions
+
[% t('Substitutions') %]
= - Add a substitution - Remove substitution - A field name is required + [% t('Add a substitution') %] + [% t('Remove substitution') %] + [% t('A field name is required') %]
[% ELSIF rules %]
-

List of rules

+

[% t('List of rules') %]

- - - + + + @@ -182,9 +183,9 @@ @@ -212,7 +213,7 @@ [% ELSE %]
- There are no rules defined. + [% t('There are no rules defined.') %]
[% 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' %] -Koha › Tools › Batch item deletion +[% t('Koha › Tools › Batch item deletion') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] @@ -122,12 +123,12 @@ $(document).ready(function(){ [% IF ( item_loop ) %] [% IF show %] [% END %]
-

Show/hide columns: +

[% t('Show/hide columns:') %] [% FOREACH item_header_loo IN item_header_loop %] [% END %] @@ -135,8 +136,8 @@ $(document).ready(function(){

AgeConditionsSubstitutions[% t('Age') %][% t('Conditions') %][% t('Substitutions') %]
[% 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 %] @@ -194,7 +195,7 @@ [% condition.field %] = [% condition.value %] [% ELSE %] - There is no condition for this rule. + [% t('There is no condition for this rule.') %] [% END %] [% END %]
- - + + [% FOREACH item_header_loo IN item_header_loop %] [% END %] @@ -147,14 +148,14 @@ $(document).ready(function(){ [% IF show %] [% IF item_loo.nomod %] - + [% ELSE %] [% END %] [% ELSE %] - + [% END %] - + [% FOREACH item_valu IN item_loo.item_value %] [% END %] [% END %] @@ -164,11 +165,11 @@ $(document).ready(function(){ [% END %] [% IF ( simple_items_display ) %] -

The following items were modified:

+

[% t('The following items were modified:') %]

    [% FOREACH simple_items_displa IN simple_items_display %]
  • - [% IF ( CAN_user_editcatalogue_edit_items ) %][% simple_items_displa.barcode %][% ELSE %][% simple_items_displa.barcode %][% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %][% simple_items_displa.barcode %][% ELSE %][% simple_items_displa.barcode %][% END %]
  • [% END %]
@@ -177,7 +178,7 @@ $(document).ready(function(){ [% IF ( show ) %] [% IF ( too_many_items ) %] -

Too many items ([% too_many_items %]): You are not allowed to edit more than [% Koha.Preference('MaxItemsToProcessForBatchMod') %] items in a batch.

+

[% t('Too many items (') %][% too_many_items %][% t('): You are not allowed to edit more than') %] [% Koha.Preference('MaxItemsToProcessForBatchMod') %] [% t('items in a batch.') %]

[% FOREACH itemnumber IN itemnumbers_array %] [% END %] @@ -185,8 +186,8 @@ $(document).ready(function(){ [% IF ( item_loop ) %]
-

Edit Items

-
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.
+

[% t('Edit Items') %]

+
[% 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.') %]
    [% FOREACH ite IN item %] @@ -213,13 +214,13 @@ $(document).ready(function(){ [% ELSIF ( mv.type == 'text1' ) %] - ... + ... [% ELSIF ( mv.type == 'text2' ) %] [% IF mv.noclick %] - ... + ... [% ELSE %] - ... + ... [% END %] [% mv.javascript %] [% ELSIF ( mv.type == 'text' ) %] @@ -231,17 +232,17 @@ $(document).ready(function(){ [%- END -%] [% UNLESS ( ite.mandatory ) %] - + [% ELSE %] - Required + [% t('Required') %] [% END %] - - - + + + [% IF ( ite.repeatable ) %] - Clone + [% t('Clone') %] [% END %] @@ -252,24 +253,24 @@ $(document).ready(function(){
-
Job progress:
0%
+
[% t('Job progress:') %]
[% t('0') %]%
- Cancel + [% t('Cancel') %]
[% ELSE %] -

Return to batch item modification

+

[% t('Return to batch item modification') %]

[% END %] [% ELSE %]
[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] - Return to the record + [% t('Return to the record') %] [% ELSIF src %] - Return to where you were + [% t('Return to where you were') %] [% ELSE %] - Return to batch item modification + [% t('Return to batch item modification') %] [% END %]
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' %] -Koha › Tools › [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] +[% t('Koha › Tools ›') %] [% IF ( del ) %][% t('Batch item deletion') %][% ELSE %][% t('Batch item modification') %][% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,12 +10,12 @@ [% INCLUDE 'cat-search.inc' %] @@ -22,24 +23,24 @@
-

Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]

+

[% t('Batch item') %] [% IF ( del ) %][% t('deletion') %][% ELSE %][% t('modification') %][% END %]

- Use a file + [% t('Use a file') %]
  1. -
  2. +
  3. - +
  4. -
  5. +
- Or scan items one by one + [% t('Or scan items one by one') %]
  1. - +
@@ -48,12 +49,12 @@ [% UNLESS del %]
- Use default values + [% t('Use default values') %]
@@ -63,7 +64,7 @@ [% IF ( del ) %][% END %]
- Cancel + [% t('Cancel') %]
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' %] -Koha › Tools › Batch record deletion +[% t('Koha › Tools › Batch record deletion') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] @@ -12,16 +13,16 @@ [% INCLUDE 'cat-search.inc' %]
-

Batch record deletion

+

[% t('Batch record deletion') %]

[% FOREACH message IN messages %] [% IF message.type == 'success' %]
@@ -31,49 +32,49 @@
[% 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 %]
[% END %] [% IF op == 'form' %]
- Record type + [% t('Record type') %]
    -
  1. -
  2. +
  3. +
- Use a file + [% t('Use a file') %]
    -
  1. +
- Or enter a list of record numbers + [% t('Or enter a list of record numbers') %]
  1. - +
@@ -81,28 +82,28 @@
- Cancel + [% t('Cancel') %]
[% ELSIF op == 'list' %] [% IF records %] [% IF recordtype == 'biblio' %]
 Title [% t('Title') %] [% item_header_loo.header_value %]
Cannot edit[% t('Cannot edit') %]  [% item_valu.field |html %]
- - - - - + + + + + @@ -118,21 +119,21 @@ [% END %]
BiblionumberTitleItemsHoldsCheckouts[% t('Biblionumber') %][% t('Title') %][% t('Items') %][% t('Holds') %][% t('Checkouts') %]
-
Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!
+
[% t('Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!') %]
[% ELSE %] - - - + + + @@ -141,34 +142,34 @@ - + [% END %]
AuthidSummaryUsed in[% t('Authid') %][% t('Summary') %][% t('Used in') %]
[% authority.authid %] [% PROCESS authresult summary=authority.summary %][% authority.count_usage %] record(s)[% authority.count_usage %] [% t('record(s)') %]
-
Reminder: this action will delete all selected authorities!
+
[% t('Reminder: this action will delete all selected authorities!') %]
[% END %]
- Cancel + [% t('Cancel') %]
[% 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 %] -

New batch record deletion

+

[% t('New batch record deletion') %]

[% ELSE %] - No action defined for the template. + [% t('No action defined for the template.') %] [% END %]
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' %] -Koha › Tools › Batch record modification +[% t('Koha › Tools › Batch record modification') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] @@ -12,16 +13,16 @@ [% INCLUDE 'cat-search.inc' %]
-

Batch record modification

+

[% t('Batch record modification') %]

[% IF ( messages ) %]
@@ -35,22 +36,22 @@
[% 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 [% message.biblionumber %] has not been modified. An error occurred on modifying it. + [% t('Bibliographic record') %] [% message.biblionumber %] [% t('has not been modified. An error occurred on modifying it.') %] [% ELSIF message.code == 'authority_not_modified' %] - Authority record [% message.authid %] has not been modified. An error occurred on modifying it. + [% t('Authority record') %] [% message.authid %] [% t('has not been modified. An error occurred on modifying it.') %] [% ELSIF message.code == 'biblio_modified' %] - Bibliographic record [% message.biblionumber %] has successfully been modified. + [% t('Bibliographic record') %] [% message.biblionumber %] [% t('has successfully been modified.') %] [% ELSIF message.code == 'authority_modified' %] - Bibliographic record [% message.authid %] has successfully been modified. + [% t('Bibliographic record') %] [% message.authid %] [% 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 %]
[% END %] @@ -61,34 +62,34 @@ [% IF view == 'form' %]
- Record type + [% t('Record type') %]
    -
  1. -
  2. +
  3. +
- Use a file + [% t('Use a file') %]
    -
  1. +
- Or enter a list of record numbers + [% t('Or enter a list of record numbers') %]
  1. - +
- Use MARC Modification Template: + [% t('Use MARC Modification Template:') %]
  1. - + - Cancel + [% t('Cancel') %]
[% ELSIF view == 'list' %] [% IF records %]
- + [% authority.authid %] [% PROCESS authresult summary=authority.summary %] - Show MARC + [% t('Show MARC') %] [% END %] -
Reminder: this action will modify all selected authorities!
+
[% t('Reminder: this action will modify all selected authorities!') %]
[% END %]
@@ -193,39 +194,39 @@ - Cancel + [% t('Cancel') %]
-
Job progress:
0%
+
[% t('Job progress:') %]
[% t('0') %]%
[% ELSE %]
- No records were modified. New batch record modification + [% t('No records were modified.') %] [% t('New batch record modification') %]
[% END %] [% ELSIF view == 'report' %] [% IF report.total_records == report.total_success %]
- All records have successfully been modified! New batch record modification + [% t('All records have successfully been modified!') %] [% t('New batch record modification') %]
[% ELSE %]
- [% report.total_success %] / [% report.total_records %] records have successfully been modified. Some errors occurred. New batch record modification + [% report.total_success %] / [% report.total_records %] [% t('records have successfully been modified. Some errors occurred.') %] [% t('New batch record modification') %]
[% END %] [% ELSIF view == 'errors' %] [% FOR error IN errors %] [% IF error == 'no_template_defined' %]
- No MARC modification template is defined. You have to create at least one template for using this tool. + [% t('No MARC modification template is defined. You have') %] [% t('to create') %] [% t('at least one template for using this tool.') %]
[% END %] [% END %] [% ELSE %]
- No action defined for the template. + [% t('No action defined for the template.') %]
[% END %]
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' %] -Koha › Tools › Batch patron deletion/anonymization [% IF step == 2 %]› Confirm[% END %][% IF step == 3 %]› Finished[% END %] +[% t('Koha › Tools › Batch patron deletion/anonymization') %] [% IF step == 2 %][% t('› Confirm') %][% END %][% IF step == 3 %][% t('› Finished') %][% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -13,15 +14,15 @@ [% INCLUDE 'cat-search.inc' %]
@@ -31,9 +32,9 @@
[% IF !OnlyMine %]
- Select a library : + [% t('Select a library :') %]
[% IF current_branch == '*' %] -

Batch patron deletion/anonymization

+

[% t('Batch patron deletion/anonymization') %]

[% ELSE %] -

Batch patron deletion/anonymization for [% Branches.GetName( current_branch ) %]

+

[% t('Batch patron deletion/anonymization for') %] [% Branches.GetName( current_branch ) %]

[% END %] [% ELSE %] -

Batch patron deletion/anonymization for [% Branches.GetName( Branches.GetLoggedInBranchcode ) %]

+

[% t('Batch patron deletion/anonymization for') %] [% Branches.GetName( Branches.GetLoggedInBranchcode ) %]

[% END %] [% IF step == 1 %]
-

This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.

+

[% t('This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.') %]

- Delete patrons -

+ [% t('Delete patrons') %] +


-
Delete patrons who meet the following criteria:
+
[% t('Delete patrons who meet the following criteria:') %]
  • - + [% INCLUDE 'date-format.inc' %]
  • - + [% INCLUDE 'date-format.inc' %]
  • [% IF Koha.Preference('TrackLastPatronActivity') %]
  • - + [% INCLUDE 'date-format.inc' %]
  • [% END %]
  • - + [% FOREACH pl IN patron_lists %] @@ -109,15 +110,15 @@
- Anonymize checkout history + [% t('Anonymize checkout history') %] [% UNLESS Koha.Preference('AnonymousPatron') %] -
The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.
+
[% t('The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.') %]
[% END %] -

+


  • - + [% INCLUDE 'date-format.inc' %]
  • @@ -127,7 +128,7 @@
-
+
@@ -138,28 +139,28 @@
- Warnings + [% t('Warnings') %]
    -
  • [% patrons_to_delete.size || 0 %] patrons will be deleted
  • -
  • [% patrons_to_anonymize.count || 0 %] patron's checkout histories will be anonymized
  • +
  • [% patrons_to_delete.size || 0 %] [% t('patrons will be deleted') %]
  • +
  • [% patrons_to_anonymize.count || 0 %] [% t('patron\'s checkout histories will be anonymized') %]

[% IF patrons_to_delete.size %] -
What do you want to do for deleted patrons? +
[% t('What do you want to do for deleted patrons?') %] - +
- +
- +
[% 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') %] [% END %] @@ -174,7 +175,7 @@
-
Cancel
+
[% t('Cancel') %]
@@ -185,23 +186,23 @@
[% IF ( testrun ) %] -

[% TotalDel %] patrons would have been removed (if it wasn't a test run)

-

No patron records have been actually removed

+

[% TotalDel %] [% t('patrons would have been removed (if it wasn\'t a test run)') %]

+

[% t('No patron records have been actually removed') %]

[% ELSE %] [% IF ( do_delete ) %] [% IF ( trash ) %] -

[% TotalDel %] patrons have been successfully moved to trash

+

[% TotalDel %] [% t('patrons have been successfully moved to trash') %]

[% ELSE %] -

[% TotalDel %] patrons have been successfully deleted

+

[% TotalDel %] [% t('patrons have been successfully deleted') %]

[% END %] [% ELSE %] -

No patron records have been removed

+

[% t('No patron records have been removed') %]

[% END %] [% END %] [% IF do_anonym %] -

All checkouts ([% do_anonym %]) older than [% last_issue_date | $KohaDates %] have been anonymized

+

[% t('All checkouts (') %][% do_anonym %][% t(') older than') %] [% last_issue_date | $KohaDates %] [% t('have been anonymized') %]

[% ELSE %] -

No patron records have been anonymized

+

[% t('No patron records have been anonymized') %]

[% END %]
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' %] -Koha › Tools › CSV export profiles +[% t('Koha › Tools › CSV export profiles') %] [% INCLUDE 'doc-head-close.inc' %] @@ -10,9 +11,9 @@ [% INCLUDE 'cat-search.inc' %]
@@ -24,19 +25,19 @@
[% 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 == ',' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == '|' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == ';' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == '#' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == ' ' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == '\t' %] - + [% ELSE %] - + [% END %] [% IF selected_separator == '\n' %] - + [% ELSE %] - + [% 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 %] -

Modify a CSV profile

+

[% t('Modify a CSV profile') %]

[% ELSE %] -

New CSV profile

+

[% t('New CSV profile') %]

[% END %]
@@ -110,15 +111,15 @@
    [% IF csv_profile %] -
  1. Profile ID: [% csv_profile.export_format_id %]
  2. +
  3. [% t('Profile ID:') %] [% csv_profile.export_format_id %]
  4. [% END %]
  5. - + - Required + [% t('Required') %]
  6. - + - Required + [% t('Required') %]
  7. - +
  8. - +
  9. - +
  10. - +
  11. - +
  12. -
  13. +
  14. -
  15. +
  16. - Required -

    You have to define which fields or subfields you want to export, separated by pipes.

    -

    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.

    -

    Example: Personal name=200|Entry element=210$a|300|009

    -

    You can use Template Toolkit tags too. See the help page for more information.

    + [% t('Required') %] +

    [% t('You have to define which fields or subfields you want to export, separated by pipes.') %]

    +

    [% 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.') %]

    +

    [% t('Example: Personal name=200|Entry element=210$a|300|009') %]

    +

    [% t('You can use Template Toolkit tags too. See the help page for more information.') %]

  17. - + -

    You have to define which fields you want to export, separated by pipes.

    -

    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.

    -

    Example: Name=subscription.name|Title=subscription.title|Issue number=serial.serialseq

    -

    For late issues claims you can use data from following tables: serial, subscription, biblio, biblioitems and aqbookseller.

    -

    For basket exports you can use data from following tables: biblio, biblioitems, aqorders, aqbudgets and aqbasket.

    +

    [% t('You have to define which fields you want to export, separated by pipes.') %]

    +

    [% 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.') %]

    +

    [% t('Example: Name=subscription.name|Title=subscription.title|Issue number=serial.serialseq') %]

    +

    [% t('For late issues claims you can use data from following tables: serial, subscription, biblio, biblioitems and aqbookseller.') %]

    +

    [% t('For basket exports you can use data from following tables: biblio, biblioitems, aqorders, aqbudgets and aqbasket.') %]

- Cancel + [% t('Cancel') %]
[% END %] @@ -221,7 +222,7 @@ [% IF op == 'delete_confirm' %]
[% IF csv_profile %] -

Delete CSV Profile "[% csv_profile.profile | html %]?"

+

[% t('Delete CSV Profile "') %][% csv_profile.profile | html %]?"

@@ -231,7 +232,7 @@
[% ELSE %] - This CSV Profile does not exist. + [% t('This CSV Profile does not exist.') %] [% END %]
[% END %] @@ -239,22 +240,22 @@ [% IF op == 'list' %] -

CSV profiles

+

[% t('CSV profiles') %]

[% IF csv_profiles %] - - - - - - - - + + + + + + + + [% FOREACH csv_profile IN csv_profiles %] @@ -267,15 +268,15 @@ [% END %]
CSV profile IDNameDescriptionContentCSV separatorCSV typeUsageActions[% t('CSV profile ID') %][% t('Name') %][% t('Description') %][% t('Content') %][% t('CSV separator') %][% t('CSV type') %][% t('Usage') %][% t('Actions') %]
[% PROCESS type_description type_code = csv_profile.type %] [% PROCESS used_for_description used_for_code = csv_profile.used_for %] - Edit - Delete + [% t('Edit') %] + [% t('Delete') %]
[% ELSE %] - There is no CSV profile defined. Create a new CSV profile. + [% t('There is no CSV profile defined.') %] [% t('Create a new CSV profile') %]. [% 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' %] -Koha › Tools › Export data +[% t('Koha › Tools › Export data') %] [% INCLUDE 'doc-head-close.inc' %] @@ -13,21 +14,21 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'letters-search.inc' %] - + 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' %] -Koha › Tools › MARC modification templates +[% t('Koha › Tools › MARC modification templates') %] [% INCLUDE 'doc-head-close.inc' %]