Bugzilla – Attachment 165102 Details for
Bug 33925
Improve translation of title tags: Serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33925: Improve translation of title tags: Serials
Bug-33925-Improve-translation-of-title-tags-Serial.patch (text/plain), 30.72 KB, created by
Owen Leonard
on 2024-04-18 13:39:40 UTC
(
hide
)
Description:
Bug 33925: Improve translation of title tags: Serials
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-04-18 13:39:40 UTC
Size:
30.72 KB
patch
obsolete
>From 90ab609cd9a5cf3df8f1c1d88cd8e4275bb78cfc Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Jun 2023 15:29:12 +0000 >Subject: [PATCH] Bug 33925: Improve translation of title tags: Serials >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch updates serials templates so that title tags can be more >easily translated. Some templates have been updated for consistency as >well: Harmonizing page title, breaddrumb navigation, and page headers; >Adding "page-section" <div> where it was lacking. > >To test, apply the patch and confirm that the following pages have the >correct title tags: > >- Serials home > - Serials search results > - Subscription details > - Subscription edit > - Search for vendor > - Search for bibliographic record > - Subscription renew > - Serial collection > - Create and modify routing list > - Preview routing list > - View routing slip > - Claims > - Check expiration > - With a subscription which has manual history enabled, click the > "Edit history" link under the "Planning" tab. > - Select multiple serial search results and batch edit > - New subscription > - Manage frequencies: Create and edit > - Manage numbering patterns: Create and edit > >Signed-off-by: Loïc Vassaux--Artur <loic.vassaux-artur@outlook.fr> >--- > .../en/modules/serials/acqui-search-result.tt | 10 ++- > .../prog/en/modules/serials/acqui-search.tt | 8 +- > .../en/modules/serials/checkexpiration.tt | 24 +++--- > .../prog/en/modules/serials/claims.tt | 10 ++- > .../prog/en/modules/serials/result.tt | 8 +- > .../modules/serials/routing-preview-slip.tt | 10 ++- > .../en/modules/serials/routing-preview.tt | 8 +- > .../prog/en/modules/serials/routing.tt | 20 +++-- > .../en/modules/serials/serials-collection.tt | 8 +- > .../prog/en/modules/serials/serials-edit.tt | 15 +++- > .../prog/en/modules/serials/serials-home.tt | 6 +- > .../prog/en/modules/serials/serials-search.tt | 7 +- > .../en/modules/serials/subscription-add.tt | 12 ++- > .../modules/serials/subscription-batchedit.tt | 7 +- > .../serials/subscription-bib-search.tt | 8 +- > .../en/modules/serials/subscription-detail.tt | 11 ++- > .../serials/subscription-frequencies.tt | 35 +++++++- > .../modules/serials/subscription-history.tt | 80 +++++++++++-------- > .../serials/subscription-numberpatterns.tt | 16 +++- > .../en/modules/serials/subscription-renew.tt | 17 ++-- > .../prog/en/modules/serials/viewalerts.tt | 8 +- > 21 files changed, 247 insertions(+), 81 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >index c8e8311fcc5..f0b14085017 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >@@ -1,6 +1,12 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Select vendor › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Vendor search results") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -19,6 +25,7 @@ > [% END %] > > [% IF ( loop_suppliers ) %] >+ <div class="page-section"> > <table> > <tr> > <th>Vendor</th> >@@ -31,6 +38,7 @@ > </tr> > [% END %] > </table> >+ </div> <!-- /.page-section --> > [% END %] > > <p><a href="/cgi-bin/koha/serials/acqui-search.pl">Perform a new search</a></p> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >index 31d43d3039e..d893055e840 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >@@ -1,5 +1,11 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Search for vendor › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Search for vendor") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >index 66c066fe6ee..1129bd2689b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >@@ -1,9 +1,14 @@ > [% USE raw %] > [% USE Branches %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Check expiration › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Check expiration") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -71,18 +76,12 @@ > </form> > > [% IF ( subscriptions_loop ) %] >-<p> >- <strong>[% numsubscription | html %]</strong> subscription(s) >- [% IF ( title ) %] >- with title matching <span class="title">[% title | html %]</class> >- [% IF ( issn ) %]and [% END %] >- [% END %] >- [% IF ( issn ) %] >- with ISSN matching <strong>[% issn | html %]</strong> >- [% END %] >- will expire before <strong>[% date | $KohaDates %]</strong> >-</p> >+<h2> >+ [% expirydate = date | $KohaDates %] >+ [% tnx("Your search returned 1 subscription expiring before {date}", "Your search returned {count} subscriptions expiring before {date}", numsubscription, { date = expirydate, count = numsubscription }) %] >+</h2> > >+<div class="page-section"> > <div class="checkexpiration-table_table_controls"> > <a href="#" class="SelectAll"><i class="fa fa-check"></i> Select all</a> | > <a href="#" class="ClearAll"><i class="fa fa-times"></i> Clear all</a> >@@ -138,6 +137,7 @@ > </tr> > [% END %] > </table> >+ </div> <!-- .page-section --> > [% ELSIF searched %] > <p>No results for your query</p> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >index b9696b269f0..2fec13c9b79 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -3,9 +3,17 @@ > [% USE AuthorisedValues %] > [% USE Branches %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] › [% END %] Claims › Serials › Koha</title> >+ <title>[% FILTER collapse %] >+ [% IF( supplierid ) %] >+ [% tx("Claims for {vendor}", { vendor = suppliername }) | html %] › >+ [% END %] >+ [% t("Claims") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+ [% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >index 61138e2ba09..faa08ac2bf8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >@@ -1,6 +1,12 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Search results › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Search results") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt >index 2d229d01802..f6afe9e9e22 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt >@@ -1,8 +1,13 @@ >-[% USE Koha %] > [% USE raw %] >+[% USE Koha %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Routing slip preview › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% tx("Routing slip for {title}", { title = title }) | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style media="print"> > #ser_routing-preview-slip { min-width:0; width:auto; } >@@ -11,6 +16,7 @@ > > <body id="ser_routing-preview-slip" class="ser"> > <div class="container-fluid"> >+ <h1>[% tx("Routing slip for {title}", { title = title }) | html %]</h1> > > <table> > <tr> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt >index 783cd17d679..664b96366cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt >@@ -1,7 +1,13 @@ > [% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Preview routing list › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Preview routing list") | html %] › >+ [% title | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >index 0100346ed94..7f44f81b57f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -1,10 +1,20 @@ > [% USE raw %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% PROCESS 'i18n.inc' %] > [% PROCESS 'patron-search.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( op ) %]Create routing list[% ELSE %]Edit routing list[% END %] › [% title | html %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% IF( op ) %] >+ [% t("New routing list") | html %] >+ [% ELSE %] >+ [% t("Modify routing list") | html %] >+ [% END %] › >+ [% title | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="ser_routing" class="ser"> >@@ -23,9 +33,9 @@ > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF ( op ) %] >- <span>Create routing list</span> >+ <span>New routing list</span> > [% ELSE %] >- <span>Edit routing list</span> >+ <span>Modify routing list</span> > [% END %] > [% END %] > [% END # UNLESS blocking_error %] >@@ -39,9 +49,9 @@ > [% INCLUDE 'messages.inc' %] > > [% IF ( op ) %] >-<h1>Create routing list for <em>[% title | html %]</em></h1> >+ <h1>New routing list for <em>[% title | html %]</em></h1> > [% ELSE %] >-<h1>Edit routing list for <em>[% title | html %]</em></h1> >+ <h1>Modify routing list for <em>[% title | html %]</em></h1> > [% END %] > > <form method="post" action="routing.pl"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index ea9775f66ab..234f23e35c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -4,9 +4,15 @@ > [% USE Branches %] > [% USE HtmlTags %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Serial collection information for [% bibliotitle | html %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Serial collection information") | html %] › >+ [% bibliotitle | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >index b20db8cba41..0782a206dd8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >@@ -1,8 +1,17 @@ > [% USE raw %] > [% USE Asset %] > [% USE AuthorisedValues %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Serial edition [% bibliotitle | html %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Serial edition") | html %] >+ [% IF ( callnumber ) %] >+ ([% callnumber | html %]) >+ [% END %] › >+ [% bibliotitle | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.js("js/cataloging.js") | $raw %] > [% INCLUDE 'calendar.inc' %] >@@ -124,6 +133,8 @@ $(document).ready(function() { > [% FOREACH subscription IN subscriptions %] > <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]" /> > [% END %] >+ >+<div class="page-section"> > <table> > <tr> > <th>Numbered</th> >@@ -480,6 +491,8 @@ $(document).ready(function() { > [% END %] > > </table> >+</div> <!-- /.page-section --> >+ > <fieldset class="action"> > <div class="btn-group"><input type="submit" value="Save" class="btn btn-default" accesskey="w" /></div> > [% UNLESS ( serialsadditems ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >index 22e8960ea78..4b6b7abe8d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >@@ -3,9 +3,13 @@ > [% USE Asset %] > [% USE KohaDates %] > [% USE Branches %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Serials [% biblionumber | html %] › Koha</title> >+<title>[% FILTER collapse %] >+ [% tx("Serials {biblionumber}", { biblionumber = biblionumber }) | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="ser_serials-home" class="ser"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 972a1b75676..64a7800182d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -5,9 +5,14 @@ > [% USE CGI %] > [% USE KohaDates %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Serials [% biblionumber | html %] › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Search results") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style>input.dt-filter { width : 100%; font-size : 85%; }</style> > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >index 2c6705656ec..3c827d34ed4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >@@ -4,9 +4,19 @@ > [% USE KohaDates %] > [% USE Branches %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( modify ) %][% bibliotitle | html %] › Modify subscription[% ELSE %]New subscription[% END %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% IF( modify ) %] >+ [% t("Modify subscription") | html %] › >+ [% bibliotitle | html %] >+ [% ELSE %] >+ [% t("New subscription") | html %] >+ [% END %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style> > fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >index 0fa99c99592..9152b9e838a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >@@ -3,8 +3,13 @@ > [% USE Branches %] > [% USE ItemTypes %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Batch edit › Serials › Koha</title> >+ <title>[% FILTER collapse %] >+ [% t("Batch edit") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'calendar.inc' %] > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >index 4bbbdf17587..7dd9f71ef23 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >@@ -1,5 +1,11 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Catalog search › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Catalog search") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="ser_subscription-bib-search" class="ser"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index 27aab7ad8da..2ca2492498e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -6,10 +6,17 @@ > [% USE AuthorisedValues %] > [% USE Price %] > [% USE TablesSettings %] >+[% USE HtmlTags %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [%- PROCESS 'html_helpers.inc' -%] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Details for subscription #[% subscriptionid | html %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Subscription details") | html %] › >+ [% bibliotitle | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %] > </head> >@@ -44,7 +51,7 @@ > [% INCLUDE 'serials-toolbar.inc' %] > [% INCLUDE 'mana/mana-comment-status.inc' %] > >- <h1>Subscription for [% INCLUDE 'biblio-title.inc' biblio=subscription.biblio link = 0 %] [% IF closed %](closed)[% END %]</h1> >+ <h1>Subscription for [% INCLUDE 'biblio-title.inc' biblio=subscription.biblio link = 0 | $HtmlTags tag="em" %] [% IF closed %](closed)[% END %]</h1> > > [% IF ( abouttoexpire ) %] > [% UNLESS closed %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >index 79e5ed5fe64..8f44f015d5f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >@@ -1,7 +1,19 @@ > [% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Frequencies › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% IF (new or modify) %] >+ [% IF (new) %] >+ [% t("New frequency") | html %] >+ [% ELSE %] >+ [% tx("Modify frequency '{description}'", { description = description }) | html %] >+ [% END %] › >+ [% END %] >+ [% t("Frequencies") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -24,8 +36,23 @@ > [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> > [% END %] >- [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Frequencies</span> >+ [% IF (new or modify) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/serials/subscription-frequencies.pl">Frequencies</a> >+ [% END %] >+ [% IF (new) %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>New frequency</span> >+ [% END %] >+ [% ELSE %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ [% tx("Modify frequency '{description}'", { description = description }) | html %] >+ [% END %] >+ [% END %] >+ [% ELSE %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Frequencies</span> >+ [% END %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] > [% END #/ WRAPPER sub-header.inc %] >@@ -40,7 +67,7 @@ > [% IF (new) %] > <h1>New frequency</h1> > [% ELSE %] >- <h1>Edit frequency: [% description | html %]</h1> >+ <h1>[% tx("Modify frequency '{description}'", { description = description }) | html %]</h1> > [% END %] > <form action="/cgi-bin/koha/serials/subscription-frequencies.pl" id="add_frequency_form" method="post"> > [% INCLUDE 'csrf-token.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >index b8c89cf67a9..1c9b854b425 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >@@ -1,8 +1,14 @@ > [% USE raw %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Subscription history › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Subscription history") | html %] › >+ [% title | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -31,7 +37,7 @@ > <main> > [% INCLUDE 'messages.inc' %] > >- <h1>Subscription history for [% title | html %]</h1> >+ <h1>Subscription history for <em>[% title | html %]</em></h1> > > <div id="subscription_form_history"> > <form method="post" action="/cgi-bin/koha/serials/subscription-history.pl"> >@@ -39,39 +45,43 @@ > <input type="hidden" name="op" value="cud-mod" /> > <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" /> > <p>Hint : you can update the serial history manually. This can be useful for an old subscription or to clean the existing history. Modify those fields with care, as future serial receive will continue to update them automatically.</p> >- <table> >- <tr> >- <td>Subscription start date</td> >- <td> >- <input type="text" size="10" name="histstartdate" value="[% histstartdate | html %]" class="flatpickr" data-date_to="histenddate" /> (start date of the 1st subscription) >- <div class="hint">[% INCLUDE 'date-format.inc' %]</div> >- </td> >- </tr> >- <tr> >- <td>Subscription end date</td> >- <td> >- <input type="text" size="10" id="histenddate" name="histenddate" value="[% histenddate | html %]" class="flatpickr" />(if empty, subscription is still active) >- <div class="hint">[% INCLUDE 'date-format.inc' %]</div> >- </td> >- </tr> >- <tr> >- <td>Received issues</td> >- <td><textarea name="receivedlist" cols="60" rows="5">[% receivedlist | html %]</textarea></td> >- </tr> >- <tr> >- <td>Missing issues</td> >- <td><textarea name="missinglist" cols="60" rows="5">[% missinglist | html %]</textarea></td> >- </tr> >- <tr> >- <td>Note for OPAC</td> >- <td><textarea name="opacnote" cols="60" rows="5">[% opacnote | html %]</textarea></td> >- </tr> >- <tr> >- <td>Note for staff</td> >- <td><textarea name="librariannote" cols="60" rows="5">[% librariannote | html %]</textarea></td> >- </tr> >- </table> >- <input type="submit" class="btn btn-primary" value="Save subscription history" /> >+ <fieldset class="rows"> >+ <table> >+ <tr> >+ <td>Subscription start date</td> >+ <td> >+ <input type="text" size="10" name="histstartdate" value="[% histstartdate | html %]" class="flatpickr" data-date_to="histenddate" /> (start date of the 1st subscription) >+ <div class="hint">[% INCLUDE 'date-format.inc' %]</div> >+ </td> >+ </tr> >+ <tr> >+ <td>Subscription end date</td> >+ <td> >+ <input type="text" size="10" id="histenddate" name="histenddate" value="[% histenddate | html %]" class="flatpickr" />(if empty, subscription is still active) >+ <div class="hint">[% INCLUDE 'date-format.inc' %]</div> >+ </td> >+ </tr> >+ <tr> >+ <td>Received issues</td> >+ <td><textarea name="receivedlist" cols="60" rows="5">[% receivedlist | html %]</textarea></td> >+ </tr> >+ <tr> >+ <td>Missing issues</td> >+ <td><textarea name="missinglist" cols="60" rows="5">[% missinglist | html %]</textarea></td> >+ </tr> >+ <tr> >+ <td>Note for OPAC</td> >+ <td><textarea name="opacnote" cols="60" rows="5">[% opacnote | html %]</textarea></td> >+ </tr> >+ <tr> >+ <td>Note for staff</td> >+ <td><textarea name="librariannote" cols="60" rows="5">[% librariannote | html %]</textarea></td> >+ </tr> >+ </table> >+ </fieldset> >+ <fieldset class="action"> >+ <input type="submit" class="btn btn-primary" value="Save subscription history" /> >+ </fieldset> > </form> > </div> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >index a358f68f7e7..e1efd348821 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >@@ -1,8 +1,18 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Numbering patterns › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% IF ( new ) %] >+ [% t("New numbering pattern") | html %] › >+ [% ELSIF ( modify ) %] >+ [% tx("Modify numbering pattern '{pattern}'", { pattern = label }) | html %] › >+ [% END %] >+ [% t("Numbering patterns") | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >@@ -27,7 +37,7 @@ > [% END %] > [% ELSIF ( modify ) %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Modifying numbering pattern '[% label | html %]'</span> >+ [% tx("Modify numbering pattern '{pattern}'", { pattern = label }) | html %] > [% END %] > [% ELSE %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >@@ -52,7 +62,7 @@ > </div> > [% END %] > [% ELSE %] >- <h1>Modify pattern: [% label | html %]</h1> >+ <h1>[% tx("Modify numbering pattern '{pattern}'", { pattern = label }) | html %]</h1> > [% IF (error_existing_numberpattern) %] > <div class="dialog alert"> > <p>Another pattern with this name already exists.</p> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >index caaa664d258..3fe76b9c00b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >@@ -1,12 +1,19 @@ >+[% USE raw %] > [% USE Koha %] > [% USE Branches %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-[% IF subscription %] >-<title>Serials subscription renew #[% subscription.subscriptionid | html %] › Koha</title> >-[% ELSE %] >-<title>Serials subscription renew › Koha</title> >-[% END %] >+<title>[% FILTER collapse %] >+ [% IF subscription %] >+ [% t("Renew subscription") | html %] › >+ [% subscription.bibliotitle | html %] › >+ [% ELSE %] >+ [% t("Renew subscriptions") | html %] › >+ [% END %] >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >index bbfcc7decd7..083a8dd142e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >@@ -1,6 +1,12 @@ > [% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Alert subscribers for [% bibliotitle | html %] › Serials › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Alert subscribers") | html %] › >+ [% bibliotitle | html %] › >+ [% t("Serials") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="ser_viewalerts" class="ser"> >-- >2.30.2
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 33925
:
155455
|
156569
|
161016
|
161238
|
165102
|
167790
|
170652