Bug 33911: Improve translation of title tags: Catalog, basket, and lists
This patch updates catalog, basket, and lists templates so that title
tags can be more easily translated.
To test, apply the patch and confirm that the following pages have the
correct title tags:
- Advanced search
- Search results
- Bibliographic details
- MARC preview
- Image viewer (with local cover images)
- MARC details
- Labeled MARC details
- ISBD details
- Items
- Checkout history
- Rota
- Add titles to the cart and view the cart
- Send cart
- Item search
- Lists
- View list
- New list
- Edit list
- Send list
Signed-off-by: David Nind <david@davidnind.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
26d3520ed7
commit
b2f479f51c
|
|
@ -2,6 +2,7 @@
|
|||
[% USE Asset %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE Branches %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% BLOCK controls %]
|
||||
<p class="cart-controls">
|
||||
|
|
@ -27,7 +28,11 @@
|
|||
</p>
|
||||
[% END %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your cart › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Your cart") | html %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Download cart › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Download cart") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body style="padding:1em;" id="cart_downloadcart" class="cart">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Sending your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Sending your cart") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
Unknown record
|
||||
[% ELSE %]
|
||||
ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] › Catalog › Koha
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
[% t("Unknown record") | html %]
|
||||
[% ELSE %]
|
||||
[% t("ISBD details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body id="catalog_ISBDdetail" class="catalog">
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
Unknown record
|
||||
[% ELSE %]
|
||||
MARC details for [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] › Catalog › Koha
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
[% t("Unknown record") | html %]
|
||||
[% ELSE %]
|
||||
[% t("MARC details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,14 @@
|
|||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% USE Branches %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Advanced search › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Advanced search") | html %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -35,13 +35,15 @@
|
|||
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
Unknown record
|
||||
[% ELSE %]
|
||||
Details for [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] › Catalog › Koha
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
[% t("Unknown record") | html %]
|
||||
[% ELSE %]
|
||||
[% t("Details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
|
||||
[% END %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %]
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Images › [% INCLUDE 'biblio-title-head.inc' %] › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Images") | html %] ›
|
||||
[% INCLUDE 'biblio-title-head.inc' %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>
|
||||
#largeCover {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,14 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE TablesSettings %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Checkout history for [% INCLUDE 'biblio-title-head.inc' %] › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Checkout history for") | html %] [% INCLUDE 'biblio-title-head.inc' %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
[% USE To %]
|
||||
[% USE Asset %]
|
||||
[% USE AuthorisedValues %]
|
||||
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[%- BLOCK form_label -%]
|
||||
[%- SWITCH label -%]
|
||||
[%- CASE 'barcode' %]<span>Barcode</span>
|
||||
|
|
@ -142,7 +142,11 @@
|
|||
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Item search › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Item search") | html %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("css/itemsearchform.css") | $raw %]
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
|
||||
<title>
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
Unknown record
|
||||
[% ELSE %]
|
||||
Labeled MARC details for [% bibliotitle | html %]
|
||||
[% END %] › Catalog › Koha
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( unknownbiblionumber ) %]
|
||||
[% t("Unknown record") | html %]
|
||||
[% ELSE %]
|
||||
[% t("Labeled MARC details for") | html %] [% bibliotitle | html %]
|
||||
[% END %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,14 @@
|
|||
[% USE Koha %]
|
||||
[% USE Branches %]
|
||||
[% USE Price %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Item details for [% INCLUDE 'biblio-title-head.inc' %] › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Item details for") | html %] [% INCLUDE 'biblio-title-head.inc' %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>.listgroup .rows{margin-left:1em;}</style>
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,27 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
|
||||
<title>[% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %] › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( searchdesc ) %]
|
||||
[% IF ( query_desc ) %]
|
||||
[% IF ( limit_desc ) %]
|
||||
[% tx("Results of search for {query_desc} with limit(s): '{limit_desc}'", { query_desc = query_desc, limit_desc = limit_desc }) | html %]
|
||||
[% ELSE %]
|
||||
[% tx("Results of search for {query_desc}", { query_desc = query_desc }) | html %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( limit_desc ) %]
|
||||
[% tx("Results of search for {limit_desc}", { limit_desc = limit_desc }) | html %]
|
||||
[% ELSE %]
|
||||
[% t("Results of search") | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% t("You did not specify any search criteria") | html %]
|
||||
[% END %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,15 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
[% USE Koha %]
|
||||
[% USE KohaDates %]
|
||||
<title>Search history › Catalog › Koha</title>
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Search history") | html %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
[% USE raw %]
|
||||
<title>Elasticsearch record › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
Elasticsearch record ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
</head>
|
||||
<body id="catalog_showelastic" class="catalog">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>MARC import › Cataloging › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("MARC import") | html %] ›
|
||||
[% t("Cataloging") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
</head>
|
||||
<body id="catalog_showmarc" class="catalog">
|
||||
|
|
|
|||
|
|
@ -2,9 +2,14 @@
|
|||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% USE Branches %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Stock rotation details for [% INCLUDE 'biblio-title-head.inc' %] › Catalog › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Stock rotation details for") | html %] [% INCLUDE 'biblio-title-head.inc' %] ›
|
||||
[% t("Catalog") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body id="catalog_stockrotation" class="catalog">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Add to list › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Add to list") | html %] ›
|
||||
[% t("Lists") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Download list › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Download list") | html %] ›
|
||||
[% t("Lists") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body id="lists_downloadshelf" class="lists" style="padding:1em;">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Sending your list › Lists › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Sending your list") | html %] ›
|
||||
[% t("Lists") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body id="lists_sendshelfform" class="lists" style="padding: 1em;">
|
||||
|
|
|
|||
|
|
@ -4,19 +4,22 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE Branches %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF op == 'view' %]
|
||||
Contents of [% shelf.shelfname | html %] › [% END %]
|
||||
|
||||
[% tx("Contents of {list_name}", { list_name = shelf.shelfname }) | html %] ›
|
||||
[% END %]
|
||||
[% IF op == 'add_form' %]
|
||||
Create new list › [% END %]
|
||||
|
||||
[% t("Create new list") | html %] ›
|
||||
[% END %]
|
||||
[% IF op == 'edit_form' %]
|
||||
Edit list [% shelf.shelfname | html %] › [% END %]
|
||||
Lists › Koha
|
||||
</title>
|
||||
[% tx("Edit list {list_name}", { list_name = shelf.shelfname }) | html %] ›
|
||||
[% END %]
|
||||
[% t("Lists") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>textarea { width: 100%; }</style>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue