Bugzilla – Attachment 76341 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/authorities
Bug-20988-koha-tmplintranet-tmplprogenmodulesautho.patch (text/plain), 44.30 KB, created by
Julian Maurice
on 2018-06-25 07:22:03 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/authorities
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:22:03 UTC
Size:
44.30 KB
patch
obsolete
>From 9f34c804ada24f96770ba7a6ba70c2a6686ed5d5 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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' %] >-<title>Koha › Cataloging authority plugin</title> >+<title>[% t('Koha ⺠Cataloging authority plugin') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > > <body id="auth_auth_finder" class="auth"> > <div class="container-fluid"> > >-<h1>Authority search</h1> >+<h1>[% t('Authority search') %]</h1> > [% 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' %] >-<title>Koha › Authorities</title> >+<title>[% t('Koha ⺠Authorities') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -8,7 +9,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'authorities-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Authorities</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('⺠Authorities') %]</div> > > <div class="main container-fluid"> > <div class="row"> >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' %] >-<title>Koha › Authorities › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %]</title> >+<title>[% t('Koha ⺠Authorities âº') %] [% IF ( authid ) %][% t('Modify authority #') %][% authid %] ([% authtypetext %])[% ELSE %][% t('Adding authority (') %][% authtypetext %])[% END %]</title> > [% 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){ > <body id="auth_authorities" class="auth"> > > <div id="loading"> >- <div>Loading, please wait...</div> >+ <div>[% t('Loading, please wait...') %]</div> > </div> > > [% INCLUDE 'header.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority [% authtypetext %][% END %] </div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a> ⺠[% IF ( authid ) %][% t('Modify authority #') %][% authid %] ([% authtypetext %])[% ELSE %][% t('Adding authority') %] [% authtypetext %][% END %] </div> > > <div class="main container-fluid"> > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > > [% IF ( authid ) %] >-<h1>Modify authority #[% authid %] [% authtypetext %]</h1> >+<h1>[% t('Modify authority #') %][% authid %] [% authtypetext %]</h1> > [% ELSE %] >-<h1>Adding authority [% authtypetext %]</h1> >+<h1>[% t('Adding authority') %] [% authtypetext %]</h1> > [% END %] > > [% IF ( duplicateauthid ) %] > <div class="dialog alert"> >- <h3>Duplicate record suspected</h3> >- <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a> ?</p> >+ <h3>[% t('Duplicate record suspected') %]</h3> >+ <p>[% t('Is this a duplicate of') %] <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a> ?</p> > > <form action="authorities.pl" method="get"> > <input type="hidden" name="authid" value="[% duplicateauthid %]" /> >- <button type="submit" class="new"><i class="fa fa-pencil"></i> Yes: Edit existing authority</button> >+ <button type="submit" class="new"><i class="fa fa-pencil"></i> [% t('Yes: Edit existing authority') %]</button> > </form> > <form action="authorities.pl" method="get"> >- <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button> >+ <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> [% t('No: Save as new authority') %]</button> > </form> > </div> > [% END %] >@@ -211,9 +212,9 @@ function confirmnotdup(redirect){ > <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> > > <div id="toolbar" class="btn-toolbar"> >- <div class="btn-group"><a href="#" id="addauth" class="btn btn-default btn-sm" accesskey="w"><i class="fa fa-save"></i> Save</a></div> >+ <div class="btn-group"><a href="#" id="addauth" class="btn btn-default btn-sm" accesskey="w"><i class="fa fa-save"></i> [% t('Save') %]</a></div> > <div class="btn-group"> >- <a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50 search</a> >+ <a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> [% t('Z39.50 search') %]</a> > </div> > </div> > >@@ -233,76 +234,38 @@ function confirmnotdup(redirect){ > <div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> > [% UNLESS hide_marc %] > [% IF advancedMARCEditor %] >- <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> >+ <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] [% t('- Click to Expand this Tag') %]" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> > [% ELSE %] > <span title="[% innerloo.tag_lib %]">[% innerloo.tag %]</span> > [% END %] > [% IF ( innerloo.fixedfield ) %] >- <input type="text" >- tabindex="1" >- class="indicator flat" >- style="display:none;" >- name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" >- size="1" >- maxlength="1" >- value="[% innerloo.indicator1 %]" /> >- <input type="text" >- tabindex="1" >- class="indicator flat" >- style="display:none;" >- name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" >- size="1" >- maxlength="1" >- value="[% innerloo.indicator2 %]" /> >+ <input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> >+ <input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> > [% ELSE %] >- <input type="text" >- tabindex="1" >- class="indicator flat" >- name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" >- size="1" >- maxlength="1" >- value="[% innerloo.indicator1 %]" /> >- <input type="text" >- tabindex="1" >- class="indicator flat" >- name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" >- size="1" >- maxlength="1" >- value="[% innerloo.indicator2 %]" /> >+ <input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> >+ <input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> > [% END %] - > [% ELSE %] > [% IF ( innerloo.fixedfield ) %] >- <input type="hidden" >- tabindex="1" >- name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" >- value="[% innerloo.indicator1 %]" /> >- <input type="hidden" >- tabindex="1" >- name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" >- value="[% innerloo.indicator2 %]" /> >+ <input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator1 %]" /> >+ <input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator2 %]" /> > [% ELSE %] >- <input type="hidden" >- tabindex="1" >- name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" >- value="[% innerloo.indicator1 %]" /> >- <input type="hidden" >- tabindex="1" >- name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" >- value="[% innerloo.indicator2 %]" /> >+ <input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator1 %]" /> >+ <input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator2 %]" /> > [% END %] > [% END %] > > [% UNLESS advancedMARCEditor %] >- <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib %]</a> >+ <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Click to Expand this Tag') %]">[% innerloo.tag_lib %]</a> > [% END %] > <span class="field_controls"> > [% IF ( innerloo.repeatable ) %] >- <a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','[% hide_marc %]','[% advancedMARCEditor %]'); return false;" title="Repeat this Tag"> >- <img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="Repeat this Tag" /> >+ <a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','[% hide_marc %]','[% advancedMARCEditor %]'); return false;" title="[% t('Repeat this Tag') %]"> >+ <img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="[% t('Repeat this Tag') %]" /> > </a> > [% END %] >- <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Delete this Tag"> >- <img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="Delete this Tag" /> >+ <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Delete this Tag') %]"> >+ <img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="[% t('Delete this Tag') %]" /> > </a> > </span> > >@@ -321,30 +284,20 @@ function confirmnotdup(redirect){ > [% UNLESS hide_marc %] > <span class="subfieldcode"> > [% IF ( subfield_loo.fixedfield ) %] >- <img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> >+ <img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> > [% ELSE %] >- <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> >+ <img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> > [% END %] >- <input type="text" >- title="[% subfield_loo.marc_lib %]" >- style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" >- name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" >- value="[% subfield_loo.subfield %]" >- size="1" >- maxlength="1" >- class="flat" >- tabindex="0" /> >+ <input type="text" title="[% subfield_loo.marc_lib %]" style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" value="[% subfield_loo.subfield %]" size="1" maxlength="1" class="flat" tabindex="0" /> > </span> > [% ELSE %] >- <input type="hidden" >- name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" >- value="[% subfield_loo.subfield %]" /> >+ <input type="hidden" name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" value="[% subfield_loo.subfield %]" /> > [% END %] > > [% UNLESS advancedMARCEditor %] > [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] > [% subfield_loo.marc_lib %] >- [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] >+ [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="[% t('This field is mandatory') %]">*</span>[% END %] > </span> > </label> > [% END %] >@@ -362,13 +315,13 @@ function confirmnotdup(redirect){ > </select> > [% ELSIF ( mv.type == 'text1' ) %] > <input type="text" id="[%- mv.id -%]" name="[%- mv.id -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" /> >- <a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode -%]','auth'); return false;" tabindex="1" title="Tag editor">...</a> >+ <a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode -%]','auth'); return false;" tabindex="1" title="[% t('Tag editor') %]">...</a> > [% ELSIF ( mv.type == 'text2' ) %] > <input type="text" id="[%- mv.id -%]" size="67" maxlength="[%- mv.maxlength -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" /> > [% IF mv.noclick %] >- <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a> >+ <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="[% t('No popup') %]">...</a> > [% ELSE %] >- <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="Tag editor">...</a> >+ <a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="[% t('Tag editor') %]">...</a> > [% END %] > [% mv.javascript %] > [% ELSIF ( mv.type == 'text' ) %] >@@ -384,10 +337,10 @@ function confirmnotdup(redirect){ > <span class="subfield_controls"> > [% IF ( subfield_loo.repeatable ) %] > <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]','[% advancedMARCEditor %]'); 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> > <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]'); return false;"> >- <img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> >+ <img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="[% t('Delete') %]" title="[% t('Delete this subfield') %]" /> > </a> > [% END %] > </span> >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' %] >-<title>Koha › Authority details</title> >+<title>[% t('Koha ⺠Authority details') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -10,7 +11,7 @@ > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > >- <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> >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' %] >-<title>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 %] > </title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -15,11 +16,11 @@ > <body id="auth_detail" class="auth"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'authorities-search.inc' %] >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a> ⺠> [% IF ( unknownauthid ) %] >- Unknown authority record >+ [% t('Unknown authority record') %] > [% ELSE %] >- Details for authority #[% authid %] ([% authtypetext %]) >+ [% t('Details for authority #') %][% authid %] ([% authtypetext %]) > [% END %] > </div> > >@@ -37,15 +38,15 @@ > > > [% IF ( unknownauthid ) %] >- <div class="dialog message">The authority record you requested does not exist ([% errauthid %]).</div> >+ <div class="dialog message">[% t('The authority record you requested does not exist (') %][% errauthid %]).</div> > [% ELSE %] >-<h1>Authority #[% authid %] ([% authtypetext %])</h1> >+<h1>[% t('Authority #') %][% authid %] ([% authtypetext %])</h1> > > <div id="action"> > [% IF count %] >- Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] record(s)</a> >+ [% t('Used in') %] <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] [% t('record(s)') %]</a> > [% ELSE %] >- This authority is not used in any records. >+ [% t('This authority is not used in any records.') %] > [% END %] > </div> > >@@ -71,17 +72,17 @@ > [% END %] > [% FOREACH subfiel IN innerloo.subfield %] > <p> >- <label class="labelsubfield"> >+ <label class="labelsubfield"> > [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield %]</b>[% END %] > <span title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></label> > [% subfiel.marc_value %] > [% IF ( subfiel.link ) %] >- <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=[% subfiel.link %]&operator==&type=intranet&value=[% subfiel.marc_value |url %]"> >- <img src="[% interface %]/[% theme %]/images/filefind.png" height="15" title="Search on [% subfiel.marc_value %]"> >+ <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=[% subfiel.link %]&operator==&type=intranet&value=[% subfiel.marc_value |url %]"> >+ <img src="[% interface %]/[% theme %]/images/filefind.png" height="15" title="[% t('Search on') %] [% subfiel.marc_value %]"> > </a> > [% END %] > [% IF ( subfiel.authority ) %] >- <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a> >+ <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">[% t('Auth') %]</a> > [% END %] > </p> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt >index f9412b0d8e..5489e619a7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt >@@ -1,8 +1,9 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% PROCESS 'merge-record.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Cataloging › Merging records</title> >+<title>[% t('Koha ⺠Cataloging ⺠Merging records') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > div.record ul, div.record li { float:none; display:block; } >@@ -14,28 +15,28 @@ div#result { margin-top: 1em; } > <body id="auth_merge" class="cat"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'authorities-search.inc' %] >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › Merging records</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a> [% t('⺠Merging records') %]</div> > > <div class="main container-fluid"> > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > >-<h1>Merging records</h1> >+<h1>[% t('Merging records') %]</h1> > > [% IF ( errors ) %] > > [% FOREACH error IN errors %] > <div class="dialog alert"> > [% IF error.code == 'WRONG_COUNT' %] >- Number of records provided for merging: [% error.value %]. Currently only 2 records can be merged at a time. >+ [% t('Number of records provided for merging:') %] [% error.value %][% t('. Currently only 2 records can be merged at a time.') %] > [% ELSIF error.code == 'DESTRUCTIVE_MERGE' %] >- You cannot merge a record with itself. Please select two different authorities. >+ [% t('You cannot merge a record with itself. Please select two different authorities.') %] > [% ELSIF error.code == 'WRONG_FRAMEWORK' %] >- The Default framework cannot be used, or the framework does not exist. Please select another framework for merging. >+ [% t('The Default framework cannot be used, or the framework does not exist. Please select another framework for merging.') %] > [% ELSIF error.code == 'EMPTY_MARC' %] >- Sorry, but we did not find any MARC tags in the reference record. >+ [% t('Sorry, but we did not find any MARC tags in the reference record.') %] > [% ELSIF error.code == 'MISSING_RECORD' %] >- Sorry, but we did not find a record for number: [% error.value %]. >+ [% t('Sorry, but we did not find a record for number:') %] [% error.value %]. > [% ELSE %] > [% error %] > [% END %] >@@ -45,20 +46,20 @@ div#result { margin-top: 1em; } > [% ELSIF ( result ) %] > > <script type="text/javascript">window.location.href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 %]"</script> >- <p>The merging was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 %]">Click here to see the merged record.</a></p> >+ <p>[% t('The merging was successful.') %] <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 %]">[% t('Click here to see the merged record.') %]</a></p> > > [% ELSIF ( choosereference ) %] > >-<p>Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.</p> >+<p>[% t('Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.') %]</p> > <form id="mergeform" action="/cgi-bin/koha/authorities/merge.pl" method="post"> > <fieldset class="rows"> >- <legend>Merge reference</legend> >+ <legend>[% t('Merge reference') %]</legend> > <ol> >- <li class="radio"><input type="radio" value="[% recordid1 %]" checked="checked" id="mergereference1" name="mergereference" onclick="changeFramework('[% frameworkcode1 %]')" /><label for="mergereference1">[% title1 %] [% FOREACH subtitl1 IN subtitle1 %] [% subtitl1.subfield %][% END %] (<a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 %]" title="MARC" class="preview-merge-reference" target="_blank">[% recordid1 %][% IF frameworklabel1 %] — [% frameworklabel1 %][% END %]</a>)</label></li> >- <li class="radio"><input type="radio" value="[% recordid2 %]" id="mergereference2" name="mergereference" onclick="changeFramework('[% frameworkcode2 %]')" /><label for="mergereference2">[% title2 %] [% FOREACH subtitl2 IN subtitle2 %] [% subtitl2.subfield %][% END %] (<a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid2 %]" title="MARC" class="preview-merge-reference" target="_blank">[% recordid2 %][% IF frameworklabel2 %] — [% frameworklabel2 %][% END %]</a>)</label></li> >+ <li class="radio"><input type="radio" value="[% recordid1 %]" checked="checked" id="mergereference1" name="mergereference" onclick="changeFramework('[% frameworkcode1 %]')" /><label for="mergereference1">[% title1 %] [% FOREACH subtitl1 IN subtitle1 %] [% subtitl1.subfield %][% END %] (<a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 %]" title="[% t('MARC') %]" class="preview-merge-reference" target="_blank">[% recordid1 %][% IF frameworklabel1 %] â [% frameworklabel1 %][% END %]</a>)</label></li> >+ <li class="radio"><input type="radio" value="[% recordid2 %]" id="mergereference2" name="mergereference" onclick="changeFramework('[% frameworkcode2 %]')" /><label for="mergereference2">[% title2 %] [% FOREACH subtitl2 IN subtitle2 %] [% subtitl2.subfield %][% END %] (<a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid2 %]" title="[% t('MARC') %]" class="preview-merge-reference" target="_blank">[% recordid2 %][% IF frameworklabel2 %] â [% frameworklabel2 %][% END %]</a>)</label></li> > > [% IF frameworkselect %] >- <li><label for="frameworkcode">Using framework:</label> >+ <li><label for="frameworkcode">[% t('Using framework:') %]</label> > <select name="frameworkcode" id="frameworkcode"> > [% FOREACH frameworkcodeloo IN frameworkselect %] > [% IF frameworkcodeloo.authtypecode == frameworkcode1 %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >index 39b06c164f..4fa9ea0f5a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >@@ -1,64 +1,65 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% PROCESS 'authorities-search-results.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Cataloging authority plugin</title> >+<title>[% t('Koha ⺠Cataloging authority plugin') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > > <body id="auth_searchresultlist_auth" class="auth"> > <div class="container-fluid"> > >- <h1>Authority search results</h1> >+ <h1>[% t('Authority search results') %]</h1> > [% INCLUDE 'auth-finder-search.inc' %] > [% IF ( total ) %]<div class="resultnumber"> > [% IF ( displayprev ) %] >- <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >- << >+ <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ << > </a> > [% END %] > [% FOREACH number IN numbers %] > [% IF ( number.highlight ) %] > [% number.number %] > [% ELSE %] >- <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> > [% number.number %]</a> > [% END %] > [% END %] > [% IF ( displaynext ) %] >- <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >- >></a> >+ <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ >></a> > [% END %] > <div> > >- <p><b>Results [% from %] to [% to %] of [% total %]</b></p> >+ <p><b>[% t('Results') %] [% from %] [% t('to') %] [% to %] [% t('of') %] [% total %]</b></p> > [% ELSE %] > > >- </div><p>No results found</p>[% END %] >+ </div><p>[% t('No results found') %]</p>[% END %] > </div> > [% IF ( result ) %]<div id="resultlist"> > <table> > <tr> >- <th>Summary</th> >- <th>Used</th> >- <th>Get it!</th> >- <th>Other action</th> >+ <th>[% t('Summary') %]</th> >+ <th>[% t('Used') %]</th> >+ <th>[% t('Get it!') %]</th> >+ <th>[% t('Other action') %]</th> > </tr> > [% FOREACH resul IN result %] > <tr> > <td>[% PROCESS authresult summary=resul.summary %]</td> >- <td>[% resul.used %] times</td> >+ <td>[% resul.used %] [% t('times') %]</td> > <td> > [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %] > [% FOREACH authorized IN resul.summary.authorized %] > <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a> > [% END %] > [% ELSE %] >- <a class="btn btn-xs btn-default" href="javascript:doauth('[% resul.authid %]', '[% index %]', '')"><i class="fa fa-plus"></i> Choose</a> >+ <a class="btn btn-xs btn-default" href="javascript:doauth('[% resul.authid %]', '[% index %]', '')"><i class="fa fa-plus"></i> [% t('Choose') %]</a> > [% END %] > </td> >- <td><a class="btn btn-xs btn-default" href="authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit authority</a></td> >+ <td><a class="btn btn-xs btn-default" href="authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> [% t('Edit authority') %]</a></td> > </tr> > [% END %] > </table> >@@ -66,21 +67,21 @@ > </div> > <div class="resultnumber"> > [% IF ( displayprev ) %] >- <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranetamp;&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >- << >+ <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranetamp;&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ << > </a> > [% END %] > [% FOREACH number IN numbers %] > [% IF ( number.highlight ) %] > [% number.number %] > [% ELSE %] >- <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> > [% number.number %]</a> > [% END %] > [% END %] > [% IF ( displaynext ) %] >- <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >- >></a> >+ <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> >+ >></a> > [% END %] > </div>[% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >index 37fe6de415..ecf9190582 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% PROCESS 'authorities-search-results.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Authorities › Authority search results</title> >+<title>[% t('Koha ⺠Authorities ⺠Authority search results') %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -9,44 +10,44 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'authorities-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › Authority search results</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> ⺠<a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a> [% t('⺠Authority search results') %]</div> > > <div class="main container-fluid"> > <div class="row"> > <div class="col-md-8 col-md-offset-2"> > > [% INCLUDE 'authorities-toolbar.inc' %] >-<h1>Authority search results</h1> >+<h1>[% t('Authority search results') %]</h1> > > <div id="merge_in_progress"></div> > [% IF ( total ) %] > <div class="pages">[% pagination_bar %]</div> > > <p id="authorities_searchresultlist_current_page_info"> >- Results [% from %] to [% to %] of [% total %] >+ [% t('Results') %] [% from %] [% t('to') %] [% to %] [% t('of') %] [% total %] > </p> > > <div id="authorities_searchresultlist_results"> > <table> > <tr> >- <th colspan="2">Summary</th> >+ <th colspan="2">[% t('Summary') %]</th> > [% UNLESS ( isEDITORS ) %] >- <th>Used in</th> >+ <th>[% t('Used in') %]</th> > [% END %] > [% IF ( CAN_user_editauthorities ) %] >- <th> </th> >+ <th> </th> > [% END %] > </tr> > [% FOREACH resul IN result %] > <tr data-authid="[% resul.authid %]"> > <td>[% PROCESS authresult summary=resul.summary %]</td> >- <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td> >+ <td><a href="detail.pl?authid=[% resul.authid %]">[% t('Details') %]</a></td> > [% UNLESS ( resul.isEDITORS ) %] > <td> > [% IF resul.used > 0 %] >- <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] record(s)</a> >+ <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] [% t('record(s)') %]</a> > [% ELSE %] >- 0 records >+ [% t('0 records') %] > [% END %] > </td> > [% END %] >@@ -54,12 +55,12 @@ > <td> > <div class="dropdown"> > <a class="btn btn-default btn-xs dropdown-toggle" id="authactions[% resul.authid %]" role="button" data-toggle="dropdown" href="#"> >- Actions <b class="caret"></b></a> >+ [% t('Actions') %] <b class="caret"></b></a> > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid %]"> >- <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit</a></li> >- <li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li> >+ <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> [% t('Edit') %]</a></li> >+ <li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> [% t('Merge') %]</a></li> > [% UNLESS ( resul.used ) %] >- <li><a onclick='return confirm_deletion("[% resul.authid %]")'><i class="fa fa-trash"></i> Delete</a></li> >+ <li><a onclick="return confirm_deletion("[% resul.authid %]")"><i class="fa fa-trash"></i> [% t('Delete') %]</a></li> > [% END %] > </ul> > </div> >@@ -73,7 +74,7 @@ > <div class="pages">[% pagination_bar %]</div> > > [% ELSE %] >- No results found >+ [% t('No results found') %] > [% END %] > </div> > </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