From 9f34c804ada24f96770ba7a6ba70c2a6686ed5d5 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 25 Jun 2018 08:46:11 +0200 Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/authorities --- .../en/modules/authorities/auth_finder.tt | 5 +- .../modules/authorities/authorities-home.tt | 5 +- .../en/modules/authorities/authorities.tt | 119 ++++++------------ .../authorities/blinddetail-biblio-search.tt | 5 +- .../prog/en/modules/authorities/detail.tt | 29 ++--- .../prog/en/modules/authorities/merge.tt | 29 ++--- .../authorities/searchresultlist-auth.tt | 43 +++---- .../modules/authorities/searchresultlist.tt | 31 ++--- 8 files changed, 113 insertions(+), 153 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt index 8539ab17ab..954776002d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt @@ -1,14 +1,15 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Cataloging authority plugin +[% t('Koha › Cataloging authority plugin') %] [% INCLUDE 'doc-head-close.inc' %]
-

Authority search

+

[% t('Authority search') %]

[% INCLUDE 'auth-finder-search.inc' %] [% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt index 3a9867d5df..66a5bf9637 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt @@ -1,6 +1,7 @@ +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Authorities +[% t('Koha › Authorities') %] [% INCLUDE 'doc-head-close.inc' %] @@ -8,7 +9,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'authorities-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 1fbfd130b9..60e0873bab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -1,6 +1,7 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Authorities › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %] +[% t('Koha › Authorities ›') %] [% IF ( authid ) %][% t('Modify authority #') %][% authid %] ([% authtypetext %])[% ELSE %][% t('Adding authority (') %][% authtypetext %])[% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] [% Asset.js("js/cataloging.js") %] @@ -169,34 +170,34 @@ function confirmnotdup(redirect){
-
Loading, please wait...
+
[% t('Loading, please wait...') %]
[% INCLUDE 'header.inc' %] - +
[% IF ( authid ) %] -

Modify authority #[% authid %] [% authtypetext %]

+

[% t('Modify authority #') %][% authid %] [% authtypetext %]

[% ELSE %] -

Adding authority [% authtypetext %]

+

[% t('Adding authority') %] [% authtypetext %]

[% END %] [% IF ( duplicateauthid ) %]
-

Duplicate record suspected

-

Is this a duplicate of [% duplicateauthvalue %] ?

+

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

+

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

- +
- +
[% END %] @@ -211,9 +212,9 @@ function confirmnotdup(redirect){ @@ -233,76 +234,38 @@ function confirmnotdup(redirect){
[% UNLESS hide_marc %] [% IF advancedMARCEditor %] - [% innerloo.tag %] + [% innerloo.tag %] [% ELSE %] [% innerloo.tag %] [% END %] [% IF ( innerloo.fixedfield ) %] - - + + [% ELSE %] - - + + [% END %] - [% ELSE %] [% IF ( innerloo.fixedfield ) %] - - + + [% ELSE %] - - + + [% END %] [% 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') %] @@ -321,30 +284,20 @@ function confirmnotdup(redirect){ [% UNLESS hide_marc %] [% IF ( subfield_loo.fixedfield ) %] - + [% ELSE %] - Move Up + [% t('Move Up') %] [% END %] - + [% ELSE %] - + [% END %] [% UNLESS advancedMARCEditor %] [% IF ( subfield_loo.mandatory ) %][% ELSE %][% END %] [% subfield_loo.marc_lib %] - [% IF ( subfield_loo.mandatory ) %]*[% END %] + [% IF ( subfield_loo.mandatory ) %]*[% END %] [% END %] @@ -362,13 +315,13 @@ function confirmnotdup(redirect){ [% ELSIF ( mv.type == 'text1' ) %] - ... + ... [% ELSIF ( mv.type == 'text2' ) %] [% IF mv.noclick %] - ... + ... [% ELSE %] - ... + ... [% END %] [% mv.javascript %] [% ELSIF ( mv.type == 'text' ) %] @@ -384,10 +337,10 @@ function confirmnotdup(redirect){ [% IF ( subfield_loo.repeatable ) %] - Clone + [% t('Clone') %] - Delete + [% t('Delete') %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt index f1613e8973..40127835ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt @@ -1,6 +1,7 @@ +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Authority details +[% t('Koha › Authority details') %] [% INCLUDE 'doc-head-close.inc' %] @@ -10,7 +11,7 @@
-
Loading
+
[% t('Loading') %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index 2dc44b4eda..9786210cac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -1,12 +1,13 @@ +[% PROCESS 'i18n.inc' %] [% USE Asset %] [% SET footerjs = 1 %] [% PROCESS 'authorities.inc' %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Authorities › +<title>[% t('Koha › Authorities ›') %] [% IF ( unknownauthid ) %] - Unknown authority record + [% t('Unknown authority record') %] [% ELSE %] - Details for authority #[% authid %] ([% authtypetext %]) + [% t('Details for authority #') %][% authid %] ([% authtypetext %]) [% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -15,11 +16,11 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'authorities-search.inc' %] -