Bug 33910: Improve translation of title tags: Authorities
This patch updates authorities templates so that title
tags can be more easily translated.
To test, apply the patch and confirm that the following authorities
pages have the correct title tags:
- Authorities -> Authorities home page
- Authority search results
- Authority details
- Edit authority
- Merge authorities
- Cataloging -> New or edit record
- Trigger the authority search plugin on a field which is linked to an
authority type.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
1ce37bf529
commit
f1975ff68e
|
|
@ -1,8 +1,12 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Cataloging authority plugin › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Cataloging authority plugin") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>
|
||||
#clear-form {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Authorities › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Authorities") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE To %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF ( authid ) %]Modify authority #[% authid | html %] ([% authtypetext | html %])[% ELSE %]Adding authority ([% authtypetext | html %])[% END %] › Authorities › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( authid ) %]
|
||||
[% tx("Modify authority #{authority_id} ({authtypetext})", { authority_id = authid, authtypetext = authtypetext }) | html %]
|
||||
[% ELSE %]
|
||||
[% tx("Adding authority ({authtypetext})", { authtypetext = authtypetext }) | html %]
|
||||
[% END %] ›
|
||||
[% t("Authorities") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.js("lib/hc-sticky.js") | $raw %]
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
[% USE To %]
|
||||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Authority details › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Authority details") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% PROCESS 'authorities.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( unknownauthid ) %]
|
||||
Unknown authority record
|
||||
[% t("Unknown authority record") | html %]
|
||||
[% ELSE %]
|
||||
Details for authority #[% authid | html %] ([% authtypetext | html %])
|
||||
[% END %] › Authorities › Koha
|
||||
</title>
|
||||
[% tx("Details for authority #{authid} ({authtypetext})", { authid = authid, authtypetext = authtypetext }) | html %]
|
||||
[% END %] ›
|
||||
[% t("Authorities") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("css/addbiblio.css") | $raw %]
|
||||
[% IF ( displayhierarchy ) %]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,14 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'merge-record.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Merging records › Cataloging › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Merging records") | html %] ›
|
||||
[% t("Authorities") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>
|
||||
div.record ul, div.record li { float:none; display:block; }
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% PROCESS 'authorities-search-results.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Cataloging authority plugin › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Cataloging authority plugin") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("css/addbiblio.css") | $raw %]
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,15 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% PROCESS 'authorities-search-results.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Authority search results › Authorities › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Authority search results") | html %] ›
|
||||
[% t("Authorities") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("css/addbiblio.css") | $raw %]
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue