Bugzilla – Attachment 161016 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), 35.46 KB, created by
Owen Leonard
on 2024-01-13 16:20:26 UTC
(
hide
)
Description:
Bug 33925: Improve translation of title tags: Serials
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-01-13 16:20:26 UTC
Size:
35.46 KB
patch
obsolete
>From fa797e119f78fff5695f97bc4d992e14b2e9bc3a 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 > >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 >--- > .../en/modules/serials/acqui-search-result.tt | 10 +- > .../prog/en/modules/serials/acqui-search.tt | 8 +- > .../en/modules/serials/checkexpiration.tt | 136 +++++++++--------- > .../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 | 21 ++- > .../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, 304 insertions(+), 137 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 ab5e55f5ab..6bbbe6c1f5 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> > >@@ -18,6 +24,7 @@ > [% END %] > > [% IF ( loop_suppliers ) %] >+ <div class="page-section"> > <table> > <tr> > <th>Vendor</th> >@@ -30,6 +37,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 37ae608d42..8baf98a0e0 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 f2eaebafef..a6fc39099f 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> > >@@ -70,73 +75,68 @@ > </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> >- >-<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> >- <span class="itemselection_actions"> >- | Actions: >- <a class="itemselection_action_renew" title="Renew selected subscriptions"><i class="fa-solid fa-rotate"></i> Renew selected subscriptions</a> >- </span> >-</div> >- >- >-<table> >- <tr> >- <th></th> >- <th>ISSN</th> >- <th>Title</th> >- [% IF can_change_library %]<th>Library</th>[% END %] >- <th>OPAC note</th> >- <th>Nonpublic note</th> >- <th>Expiration date</th> >- <th class="noExport">Actions</th> >- </tr> >- [% FOREACH subscriptions_loo IN subscriptions_loop %] >- <tr> >- <td style="text-align:center;vertical-align:middle"> >- <input type="checkbox" value="[% subscriptions_loo.subscriptionid | html %]" name="subscriptionid" /> >- </td> >- <td> >- [% subscriptions_loo.issn | html %] >- </td> >- <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %] >- [% subscriptions_loo.title | html %] >- [% ELSE %] >- | >- [% END %] >- </a> >- </td> >- [% IF can_change_library %]<td> >- [% Branches.GetName( subscriptions_loo.branchcode ) | html %] >- </td>[% END %] >- <td> >- [% subscriptions_loo.notes | html %] >- </td> >- <td> >- [% subscriptions_loo.internalnotes | html %] >- </td> >- <td> >- [% subscriptions_loo.expirationdate | $KohaDates %] >- </td> >- <td class="actions"> >- <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> >- <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" data-subscriptionid="[% subscriptions_loo.subscriptionid | html %]" class="btn btn-default btn-xs renew_subscription"><i class="fa-solid fa-rotate"></i> Renew</a> >- </td> >- </tr> >- [% END %] >- </table> >+<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> >+ <span class="itemselection_actions"> >+ | Actions: >+ <a class="itemselection_action_renew" title="Renew selected subscriptions"><i class="fa-solid fa-rotate"></i> Renew selected subscriptions</a> >+ </span> >+ </div> >+ >+ >+ <table> >+ <tr> >+ <th></th> >+ <th>ISSN</th> >+ <th>Title</th> >+ [% IF can_change_library %]<th>Library</th>[% END %] >+ <th>OPAC note</th> >+ <th>Nonpublic note</th> >+ <th>Expiration date</th> >+ <th class="noExport">Actions</th> >+ </tr> >+ [% FOREACH subscriptions_loo IN subscriptions_loop %] >+ <tr> >+ <td style="text-align:center;vertical-align:middle"> >+ <input type="checkbox" value="[% subscriptions_loo.subscriptionid | html %]" name="subscriptionid" /> >+ </td> >+ <td> >+ [% subscriptions_loo.issn | html %] >+ </td> >+ <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %] >+ [% subscriptions_loo.title | html %] >+ [% ELSE %] >+ | >+ [% END %] >+ </a> >+ </td> >+ [% IF can_change_library %]<td> >+ [% Branches.GetName( subscriptions_loo.branchcode ) | html %] >+ </td>[% END %] >+ <td> >+ [% subscriptions_loo.notes | html %] >+ </td> >+ <td> >+ [% subscriptions_loo.internalnotes | html %] >+ </td> >+ <td> >+ [% subscriptions_loo.expirationdate | $KohaDates %] >+ </td> >+ <td class="actions"> >+ <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> >+ <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" data-subscriptionid="[% subscriptions_loo.subscriptionid | html %]" class="btn btn-default btn-xs renew_subscription"><i class="fa-solid fa-rotate"></i> Renew</a> >+ </td> >+ </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 613650f5ab..b3aea40790 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 d46bd08f3a..9c50bcd951 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 2d229d0180..f6afe9e9e2 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 c44d66271f..a103005c6a 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 e74b373f74..551d1c0fbb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -1,8 +1,18 @@ > [% USE raw %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% 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"> >@@ -21,9 +31,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 %] >@@ -36,11 +46,12 @@ > <main> > > [% 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 %] > >+ > [% INCLUDE 'blocking_errors.inc' %] > <form method="post" action="routing.pl"> > <input type="hidden" name="op" value="save" /> >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 cb662a179a..2eb2c1f2df 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 172a015e6e..bf1452c866 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' %] >@@ -122,6 +131,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> >@@ -478,6 +489,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 fbce18a5f6..3965665487 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 7684b8bb55..2905d20bcc 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 19d53a1c33..59774f59b0 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 1f9050e60f..5095f58e8b 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 b1557da4a5..05f1f91b91 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 e596aba702..10e4d85617 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> >@@ -43,7 +50,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 5d67731a06..c61fd47a6f 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 %] >@@ -39,7 +66,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"> > [% IF (modify) %] >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 5507a38c44..3611b2b2e4 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> > >@@ -30,46 +36,50 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > >- <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"> > <input type="hidden" name="op" value="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 bcb02e7abe..322dc56918 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 %] >@@ -51,7 +61,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 1ad3540a20..416ba52bdd 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 cf2d4e0f53..59bd851f34 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