From ee941b4ce10105f56a26451af12c5832d5d6c2a2 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:46:50 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing --- .../prog/en/modules/cataloguing/addbiblio.tt | 137 ++++++--------- .../prog/en/modules/cataloguing/addbooks.tt | 91 +++++----- .../prog/en/modules/cataloguing/additem.tt | 77 +++++---- .../prog/en/modules/cataloguing/editor.tt | 163 +++++++++--------- .../prog/en/modules/cataloguing/linkitem.tt | 19 +- .../prog/en/modules/cataloguing/merge.tt | 39 +++-- .../prog/en/modules/cataloguing/moveitem.tt | 31 ++-- .../modules/cataloguing/z3950_auth_search.tt | 87 +++++----- .../en/modules/cataloguing/z3950_search.tt | 105 +++++------ 9 files changed, 362 insertions(+), 387 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 2f31727fbd..bb2b807dc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Cataloging › [% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %] +[% t('Koha › Cataloging ›') %] [% IF ( biblionumber ) %][% t('Editing') %] [% title |html %] [% t('(Record number') %] [% biblionumber %])[% ELSE %][% t('Add MARC record') %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] [% Asset.js("js/cataloging.js") %] @@ -406,12 +407,12 @@ function Changefwk() {
-
Loading, please wait...
+
[% t('Loading, please wait...') %]
[% INCLUDE 'header.inc' %] - +
@@ -420,8 +421,8 @@ function Changefwk() {

-[% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %]) -[% ELSE %]Add MARC record [% IF (circborrowernumber) %](fast cataloging)[% END %] +[% IF ( biblionumber ) %][% t('Editing') %] [% title |html %] [% t('(Record number') %] [% biblionumber %]) +[% ELSE %][% t('Add MARC record') %] [% IF (circborrowernumber) %][% t('(fast cataloging)') %][% END %] [% END %]

@@ -429,17 +430,17 @@ function Changefwk() { [% IF ( duplicatebiblionumber ) %]
-

Duplicate record suspected

-

Is this a duplicate of [% duplicatetitle %] ?

+

[% t('Duplicate record suspected') %]

+

[% t('Is this a duplicate of') %] [% duplicatetitle %] ?

[% IF ( CAN_user_editcatalogue_edit_items ) %]
- +
[% ELSE %]
[% END %]
- [% IF ( CAN_user_editcatalogue_edit_items ) %][% ELSE %][% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %][% ELSE %][% END %]
[% END %] @@ -462,53 +463,53 @@ function Changefwk() { [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] [% IF (circborrowernumber) %][%# fast cataloging must lead to items %] - + [% ELSE %] [% END %] [% ELSE %] - + [% END %] [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] - + [% END %]
- +
[% IF bib_doesnt_exist %]
- The record you are trying to edit doesn't exist.
- Add a new record or do a catalog search. + [% t('The record you are trying to edit doesn\'t exist.') %]
+ [% t('Add a new record') %] [% t('or') %] [% t('do a catalog search') %].
[% END %] @@ -581,56 +582,30 @@ function Changefwk() {
[% IF advancedMARCEditor %] - [% innerloo.tag %] + [% innerloo.tag %] [% ELSE %] [% innerloo.tag %] - [% IF marcflavour != 'NORMARC' %] ?[% END %] + [% IF marcflavour != 'NORMARC' %] ?[% END %] [% END %] [% IF ( innerloo.fixedfield ) %] - - + + [% ELSE %] - - + + [% END %] - [% UNLESS advancedMARCEditor %] - [% innerloo.tag_lib %] + [% innerloo.tag_lib %] [% END %] [% IF ( innerloo.repeatable ) %] - - Repeat this Tag + + [% t('Repeat this Tag') %] [% END %] - - Delete this Tag + + [% t('Delete this Tag') %] @@ -648,25 +623,17 @@ function Changefwk() { [% IF ( subfield_loo.fixedfield ) %] - + [% ELSE %] - Move Up + [% t('Move Up') %] [% END %] - + [% UNLESS advancedMARCEditor %] [% IF ( subfield_loo.mandatory ) %][% ELSE %][% END %] [% subfield_loo.marc_lib %] - [% IF ( subfield_loo.mandatory ) %]*[% END %] + [% IF ( subfield_loo.mandatory ) %]*[% END %] [% END %] @@ -679,15 +646,15 @@ function Changefwk() { [% END %] [% IF ( mv.authtype ) %] - Tag editor + [% t('Tag editor') %] [% END %] [% ELSIF ( mv.type == 'text_complex' ) %] [% IF mv.noclick %] - + [% ELSE %] - Tag editor + [% t('Tag editor') %] [% END %] [% mv.javascript %] @@ -710,10 +677,10 @@ function Changefwk() { [% IF ( subfield_loo.repeatable ) %] - Clone + [% t('Clone') %] - Delete + [% t('Delete') %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 7305bd54b6..05f71eec55 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -1,7 +1,8 @@ +[% PROCESS 'i18n.inc' %] [% USE Koha %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Cataloging +[% t('Koha › Cataloging') %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,7 +10,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cataloging-search.inc' %] - +
@@ -19,12 +20,12 @@ [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
[% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %] - Advanced editor + [% t('Advanced editor') %] [% END %]
- +
[% IF servers.count > 0 %]
- +
[% END %] [% IF ( total ) %] -
+
[% END %]
[% END %] [% IF ( noitemsfound ) %] - No results found + [% t('No results found') %] [% END %] [%# display the search results %] [% IF ( total ) %]
- [% total %] result(s) found in catalog, - [% breeding_count %] result(s) found in reservoir + [% total %] [% t('result(s) found in catalog,') %] + [% breeding_count %] [% t('result(s) found in reservoir') %]
[% pagination_bar %]
- - - - + + + + [% FOREACH resultsloo IN resultsloop %] @@ -84,17 +85,17 @@ [% IF ( resultsloo.author ) %] [% resultsloo.author %] [% ELSE %] -   +   [% END %] [% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %] [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %] [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %] [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %] - [% IF ( resultsloo.edition ) %]Edition: [% resultsloo.edition %][% END %] + [% IF ( resultsloo.edition ) %][% t('Edition:') %] [% resultsloo.edition %][% END %] [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %] [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %] [% IF ( resultsloo.item('size') ) %] ; [% resultsloo.item('size') %][% END %] - [% IF ( resultsloo.timestamp ) %] (modified on [% resultsloo.timestamp %])[% END %] + [% IF ( resultsloo.timestamp ) %] [% t('(modified on') %] [% resultsloo.timestamp %])[% END %]

[% END %] @@ -117,23 +118,23 @@ [% END %] - [% IF ( resultsloo.onloancount ) %] Checked out ([% resultsloo.onloancount %]),
[% END %] - [% IF ( resultsloo.withdrawncount ) %] Withdrawn ([% resultsloo.withdrawncount %]),
[% END %] - [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount %])
[% END %] - [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount %])
[% END %] - [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %] + [% IF ( resultsloo.onloancount ) %] [% t('Checked out (') %][% resultsloo.onloancount %]),
[% END %] + [% IF ( resultsloo.withdrawncount ) %] [% t('Withdrawn (') %][% resultsloo.withdrawncount %]),
[% END %] + [% IF ( resultsloo.itemlostcount ) %] [% t('Lost (') %][% resultsloo.itemlostcount %])
[% END %] + [% IF ( resultsloo.orderedcount ) %] [% t('On order (') %][% resultsloo.orderedcount %])
[% END %] + [% IF ( resultsloo.notforloancount ) %] [% t('Not for loan (') %][% resultsloo.notforloancount %])[% END %]
@@ -143,25 +144,25 @@ [% ELSE %] [% IF ( query ) %] - [% IF ( error ) %]
[% END %]No results found + [% IF ( error ) %]
[% END %][% t('No results found') %] [% IF ( error ) %] - Error: [% error %]
+ [% t('Error:') %] [% error %]
[% END %] [% END %] [% END %] [% IF ( query ) %]
-

Biblios in reservoir

+

[% t('Biblios in reservoir') %]

[% IF ( breeding_loop ) %]
 TitleLocation  [% t('Title') %][% t('Location') %] 
- Actions + [% t('Actions') %]
- - - - - - + + + + + + [% FOREACH breeding_loo IN breeding_loop %] @@ -174,13 +175,13 @@
TitleISBNDateEditionComing from [% t('Title') %][% t('ISBN') %][% t('Date') %][% t('Edition') %][% t('Coming from') %] 
@@ -189,7 +190,7 @@ [% END %]
[% ELSE %] -

None

+

[% t('None') %]

[% END %]
[% END %] @@ -199,13 +200,13 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 6b86b21447..b6d6a128f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -1,9 +1,10 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% USE Koha %] [% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Cataloging › [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %]) › Items +[% t('Koha › Cataloging ›') %] [% title |html %] [% IF ( author ) %] [% t('by') %] [% author | html %][% END %] [% t('(Record #') %][% biblionumber %][% t(') › Items') %] [% Asset.css("css/datatables.css") %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] @@ -148,10 +149,10 @@ function confirm_deletion() { [% INCLUDE 'cataloging-search.inc' %]
@@ -159,14 +160,14 @@ function confirm_deletion() {
-

Items for [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %])

+

[% t('Items for') %] [% title |html %] [% IF ( author ) %] [% t('by') %] [% author | html %][% END %] [% t('(Record #') %][% biblionumber %])

-[% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique.
[% END %] -[% IF ( no_next_barcode ) %]
Error saving items: Unable to automatically determine values for barcodes. No item has been inserted.
[% END %] -[% IF ( book_on_loan ) %]
Cannot delete: item is checked out.
[% END %] -[% IF ( book_reserved ) %]
Cannot delete: item has a waiting hold.
[% END %] -[% IF ( not_same_branch ) %]
Cannot delete: The items do not belong to your library.
[% END %] -[% IF ( linked_analytics ) %]
Cannot delete: item has linked analytics..
[% END %] +[% IF ( barcode_not_unique ) %]
[% t('Error saving item') %][% t(': Barcode must be unique.') %]
[% END %] +[% IF ( no_next_barcode ) %]
[% t('Error saving items') %][% t(': Unable to automatically determine values for barcodes. No item has been inserted.') %]
[% END %] +[% IF ( book_on_loan ) %]
[% t('Cannot delete') %][% t(': item is checked out.') %]
[% END %] +[% IF ( book_reserved ) %]
[% t('Cannot delete') %][% t(': item has a waiting hold.') %]
[% END %] +[% IF ( not_same_branch ) %]
[% t('Cannot delete') %][% t(': The items do not belong to your library.') %]
[% END %] +[% IF ( linked_analytics ) %]
[% t('Cannot delete') %][% t(': item has linked') %] [% t('analytics.') %].
[% END %]
[% IF ( item_loop ) %] @@ -174,7 +175,7 @@ function confirm_deletion() { - + [% FOREACH item_header IN item_header_loop %] [% IF item_header.column_name %] + [% ELSE %]
   @@ -202,29 +203,29 @@ function confirm_deletion() { [% END %] [% END %] [% IF ( item_loo.nomod ) %] -    @@ -253,9 +254,9 @@ function confirm_deletion() { [% END %] [% IF ( opisadd ) %] -

Add item [% IF (circborrowernumber) %](fast cataloging)[% END %]

+

[% t('Add item') %] [% IF (circborrowernumber) %][% t('(fast cataloging)') %][% END %]

[% ELSE %] -

Edit Item #[% itemnumber %][% IF ( barcode ) %] / Barcode [% barcode %][% END %]

+

[% t('Edit Item #') %][% itemnumber %][% IF ( barcode ) %] [% t('/ Barcode') %] [% barcode %][% END %]

[% END %]
    @@ -290,7 +291,7 @@ function confirm_deletion() { [% ELSE %] [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %] - ... + ... [% END %] [% ELSIF ( mv.type == 'text_plugin' ) %] [% IF mv.readonly %] @@ -298,9 +299,9 @@ function confirm_deletion() { [% ELSE %] [% IF ( mv.nopopup ) %] - ... + ... [% ELSE %] - ... + ... [% END %] [%- mv.javascript -%] [% END %] @@ -312,21 +313,21 @@ function confirm_deletion() { [% END %] [% ELSIF ( mv.type == 'textarea' ) %] [% IF mv.readonly %] - + [% ELSE %] - + [% END %] [% END %] - - + + [% IF ( ite.repeatable ) %] - Clone + [% t('Clone') %] [% END %] - [% IF ( ite.mandatory ) %] Required[% END %] + [% IF ( ite.mandatory ) %] [% t('Required') %][% END %] [% END %]
@@ -343,16 +344,16 @@ function confirm_deletion() { --> - +
- + - Cancel -

The barcode you enter will be incremented for each additional item.

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

[% t('The barcode you enter will be incremented for each additional item.') %]

[% ELSE %] @@ -361,7 +362,7 @@ function confirm_deletion() { - Cancel + [% t('Cancel') %] [% END %]
[%# Fields for fast cataloging %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt index 8abcdc53cc..53724e98c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt @@ -1,6 +1,7 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Cataloging › Editor +[% t('Koha › Cataloging › Editor') %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/cateditor.css") %] [% Asset.css("css/datatables.css") %] @@ -15,55 +16,55 @@
-
Loading, please wait...
+
[% t('Loading, please wait...') %]
[% INCLUDE 'header.inc' %] - +
-

Cataloging editor

+

[% t('Cataloging editor') %]

- +
- +
- - + + - - + +
[%# CodeMirror instance will be inserted here %]
@@ -78,19 +79,19 @@
@@ -233,7 +234,7 @@