Bugzilla – Attachment 170824 Details for
Bug 33907
Improve translation of title tags: OPAC part 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33907: Improve translation of title tags: OPAC part 1
Bug-33907-Improve-translation-of-title-tags-OPAC-p.patch (text/plain), 31.59 KB, created by
Lucas Gass (lukeg)
on 2024-08-28 14:31:06 UTC
(
hide
)
Description:
Bug 33907: Improve translation of title tags: OPAC part 1
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-08-28 14:31:06 UTC
Size:
31.59 KB
patch
obsolete
>From 04ae0e1a89c54c645c9bf04142e604e87fe9ee11 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 18 Sep 2023 14:09:48 +0000 >Subject: [PATCH] Bug 33907: Improve translation of title tags: OPAC part 1 > >This patch updates a batch of OPAC 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. > >To test, apply the patch and confirm that the following pages have >correct title tags: > >- Log in to the OPAC by navigating directly to a user page like > /cgi-bin/koha/opac-user.pl >- From your user summary page, click "Charges." >- Check the advanced search page. >- Search for a bibliographic record and view the details, and then click > "MARC view" and "ISBD view." >- From this page click "Save to your lists" and check the title in the > popup window." >- Still on a detail page, click "Add to your cart." Open the cart and > check that page. >- Go to authority search (must have OpacAuthorities enabled). > - Perform an authority search which will return results. > - View the detail page for one of the results, and check the MARC view > as well. >- With UseCourseReserves enabled, view the course reserves page, then > the course reserve detail page. >- Search for a subscription which has patron notification enabled. > - View the detail page, then open the "Subscriptions" tab. Click "More > details." > - On this page you should see a "Subscribe to email notification" > button. Click it to open the subscription page. >- Check both /cgi-bin/koha/opac-browse.pl and > /cgi-bin/koha/opac-browser.pl. Whether or not the features are enabled > you should be able to check the title. >- Check /cgi-bin/koha/ilsdi.pl as well as one or more views linked to on > that page. >- Navigate to a page in the OPAC which doesn't exist to test the error > page template. >- Go to Administration -> System preferences and enable the > OpacMaintenance preference. > - Go to the OPAC and check the system maintenance page. > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../bootstrap/en/includes/html_helpers.inc | 8 +++++ > .../bootstrap/en/modules/errors/errorpage.tt | 7 +++- > .../opac-tmpl/bootstrap/en/modules/ilsdi.tt | 35 ++++++++++--------- > .../bootstrap/en/modules/maintenance.tt | 7 +++- > .../bootstrap/en/modules/opac-ISBDdetail.tt | 9 +++-- > .../bootstrap/en/modules/opac-MARCdetail.tt | 7 +++- > .../bootstrap/en/modules/opac-account.tt | 9 +++-- > .../en/modules/opac-addbybiblionumber.tt | 8 ++++- > .../bootstrap/en/modules/opac-advsearch.tt | 7 +++- > .../en/modules/opac-alert-subscribe.tt | 12 ++++++- > .../en/modules/opac-auth-MARCdetail.tt | 16 +++++++-- > .../bootstrap/en/modules/opac-auth-detail.tt | 11 +++++- > .../bootstrap/en/modules/opac-auth.tt | 23 +++++++----- > .../en/modules/opac-authorities-home.tt | 7 +++- > .../opac-authoritiessearchresultlist.tt | 8 ++++- > .../bootstrap/en/modules/opac-basket.tt | 7 +++- > .../bootstrap/en/modules/opac-blocked.tt | 18 +++++----- > .../bootstrap/en/modules/opac-browse.tt | 9 +++-- > .../bootstrap/en/modules/opac-browser.tt | 7 +++- > .../en/modules/opac-course-details.tt | 10 ++++-- > .../en/modules/opac-course-reserves.tt | 9 +++-- > opac/opac-authoritiesdetail.pl | 2 ++ > 22 files changed, 175 insertions(+), 61 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >index f6e3f071231..3be0de52fbe 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc >@@ -168,3 +168,11 @@ > </li> > [% END %] > [% END %] >+ >+[% BLOCK library_name_title %] >+ [% IF ( LibraryNameTitle ) %] >+ [% tx("{library} catalog", { library = LibraryNameTitle }) | html %] >+ [% ELSE %] >+ [% t("Koha online catalog") | html %] >+ [% END %] >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >index 6dbf3f4df5f..e0c06070e13 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt >@@ -1,9 +1,14 @@ > [% USE raw %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>An error has occurred › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("An error has occurred") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >index 3fc3bb45ffe..1336393738a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >@@ -1,38 +1,39 @@ > [% USE raw %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> >+<title>[% FILTER collapse %] > [% IF ( GetAvailability ) %] >- ILS-DI › GetAvailability >+ [% t("GetAvailability") | html %] › > [% ELSIF ( GetRecords ) %] >- ILS-DI › GetRecords >+ [% t("GetRecords") | html %] › > [% ELSIF ( GetAuthorityRecords ) %] >- ILS-DI › GetAuthorityRecords >+ [% t("GetAuthorityRecords") | html %] › > [% ELSIF ( LookupPatron ) %] >- ILS-DI › LookupPatron >+ [% t("LookupPatron") | html %] › > [% ELSIF ( AuthenticatePatron ) %] >- ILS-DI › AuthenticatePatron >+ [% t("AuthenticatePatron") | html %] › > [% ELSIF ( GetPatronInfo ) %] >- ILS-DI › GetPatronInfo >+ [% t("GetPatronInfo") | html %] › > [% ELSIF ( GetPatronStatus ) %] >- ILS-DI › GetPatronStatus >+ [% t("GetPatronStatus") | html %] › > [% ELSIF ( GetServices ) %] >- ILS-DI › GetServices >+ [% t("GetServices") | html %] › > [% ELSIF ( RenewLoan ) %] >- ILS-DI › RenewLoan >+ [% t("RenewLoan") | html %] › > [% ELSIF ( HoldTitle ) %] >- ILS-DI › HoldTitle >+ [% t("HoldTitle") | html %] › > [% ELSIF ( HoldItem ) %] >- ILS-DI › HoldItem >+ [% t("HoldItem") | html %] › > [% ELSIF ( CancelHold ) %] >- ILS-DI › CancelHold >- [% ELSE %] >- ILS-DI >+ [% t("CancelHold") | html %] › > [% END %] >- › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog >-</title> >+ [% t("ILS-DI") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >index e98ce783342..a4324618b7c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >@@ -1,12 +1,17 @@ > [% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > [% SET OpacHeader = AdditionalContents.get( location => "opacheader", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacMaintenanceNotice = AdditionalContents.get( location => "OpacMaintenanceNotice", lang => lang, library => branchcode || default_branch ) %] > [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] > [% SET opaclanguagedisplay = Koha.Preference('opaclanguagedisplay') %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("System maintenance") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > <style> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >index 171796e8a06..8ef8ebf78b6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >@@ -1,7 +1,12 @@ > [% USE raw %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>ISBD view › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% tx("ISBD view for: {title}", { title = biblio.title }) | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -11,7 +16,7 @@ > > [% WRAPPER breadcrumbs %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>ISBD view for: [% biblio.title | html %]</span> >+ [% tx("ISBD view for {title}", { title = biblio.title }) | html %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >index 4693565107e..0cb52f3a5a6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >@@ -1,7 +1,12 @@ > [% USE raw %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>MARC details for record no. [% biblio.biblionumber | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% tx("MARC view for: {title}", { title = bibliotitle }) | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >index 8d261c41736..25067cac8ca 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -4,13 +4,18 @@ > [% USE KohaDates %] > [% USE AuthorisedValues %] > [% USE Price %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET ENABLE_OPAC_PAYMENTS = payment_methods %] > [% USE AdditionalContents %] > [% SET DISPLAY_PAYMENT_BLOCK = 0 %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your charges › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Your charges") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -38,7 +43,7 @@ > <div class="col-md-12 col-lg-10 order-1"> > <div id="useraccount" class="maincontent"> > >- <h1>Charges</h1> >+ <h1>Your charges</h1> > [% IF message %] > <div class="alert alert-info"> > [% IF message == 'valid_payment' %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >index 7786a1097f9..501f048444b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >@@ -1,5 +1,11 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Add to your list › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Add to your list") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 14015375072..f7f3a713dd4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -2,8 +2,13 @@ > [% USE Asset %] > [% USE Koha %] > [% USE Branches %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Advanced search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Advanced search") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >index b61fe92ba85..61fbc101079 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >@@ -1,7 +1,17 @@ > [% USE raw %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% IF ( typeissue ) %] >+ [% t("Subscribe to a subscription alert") | html %] >+ [% ELSIF ( typeissuecancel ) %] >+ [% t("Unsubscribe from a subscription alert") | html %] >+ [% END %] › >+ [% bibliotitle | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >index 6518040de71..c91a31dc822 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >@@ -2,11 +2,20 @@ > [% USE Asset %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% PROCESS 'opac-authorities.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Entry [% authtypetext | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("MARC view") | html %] › >+ [% summary.mainentry | html %] >+ [% IF authtypetext %] >+ ([% authtypetext | html %]) >+ [% END %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% IF ( displayhierarchy ) %] >@@ -22,8 +31,11 @@ > [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> > [% END %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid | uri %]">[% summary.mainentry | html %] [% IF authtypetext %] ([% authtypetext | html %]) [% END %]</a> >+ [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Entry [% authtypetext | html %]</span> >+ [% t("MARC view") | html %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >index c3db99c8465..e0da6e79f78 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >@@ -2,11 +2,20 @@ > [% USE Asset %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% PROCESS 'opac-authorities.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %] › Authority search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% summary.mainentry | html %] >+ [% IF authtypetext %] >+ ([% authtypetext | html %]) >+ [% END %] › >+ [% t("Authority search") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% IF ( displayhierarchy ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index d2fe338e542..632dab59cd9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -3,17 +3,18 @@ > [% USE Categories %] > [% USE AdditionalContents %] > [% USE AuthClient %] >+[% PROCESS 'i18n.inc' %] > [% PROCESS 'html_helpers.inc' %] > [% SET OpacLoginInstructions = AdditionalContents.get( location => "OpacLoginInstructions", lang => lang, library => branchcode || default_branch ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> >-[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >- Log in to your account >-[% ELSE %] >- Catalog login disabled >-[% END %] › >- [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog >-</title> >+<title>[% FILTER collapse %] >+ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >+ [% t("Log in to your account") | html %] >+ [% ELSE %] >+ [% t("Catalog login disabled") | html %] >+ [% END %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -23,7 +24,11 @@ > <div class="main"> > [% WRAPPER breadcrumbs %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Log in</span> >+ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >+ <span>Log in to your account</span> >+ [% ELSE %] >+ <span>Catalog login disabled</span> >+ [% END %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >index dcaf28b387c..e3f32046953 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >@@ -1,10 +1,15 @@ > [% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Authority search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Authority search") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > <meta name="robots" content="noindex"> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >index 4878bfd8255..9bbe579a770 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >@@ -1,6 +1,8 @@ > [% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% PROCESS 'opac-authorities.inc' %] >@@ -38,7 +40,11 @@ > </nav> <!-- / #pages --> > [% END %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Results") | html %] › >+ [% t("Authority search") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >index 4388544de0f..143cd99827e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >@@ -4,11 +4,16 @@ > [% USE Branches %] > [% USE KohaDates %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET is_popup = 1 %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Your cart") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %]<style>.item-status, .dt-buttons { display: inline; } @media print { body { height: 99%; } }</style>[% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >index c942a6f2c46..906ebeb7d5b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >@@ -1,15 +1,13 @@ > [% USE raw %] > [% USE AdditionalContents %] > [% SET OpacSuppressionMessage = AdditionalContents.get( location => "OpacSuppressionMessage", lang => lang, library => branchcode || default_branch ) %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> >- Record blocked › >- [% IF ( LibraryNameTitle ) %] >- [% LibraryNameTitle | html %] >- [% ELSE %] >- Koha online >- [% END %] catalog >-</title> >+<title>[% FILTER collapse %] >+ [% t("Record blocked") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >@@ -18,7 +16,7 @@ > <div class="main"> > [% WRAPPER breadcrumbs %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Blocked record</span> >+ <span>Record blocked</span> > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >@@ -26,7 +24,7 @@ > <div class="row justify-content-center"> > <div class="col-md-10 col-lg-6"> > <div id="opac-blocked-message" class="maincontent"> >- <h1>Blocked</h1> >+ <h1>Record blocked</h1> > <p>You are not authorized to view this record.</p> > [% IF ( OpacSuppressionMessage ) %] > <div id="opacsuppressionmessage"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >index ea6f0364e62..92b05ac4464 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >@@ -1,11 +1,16 @@ >+[% USE raw %] > [% USE Koha %] > [% USE Asset %] >-[% USE raw %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Browse our catalog › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Browse search") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > <meta name="robots" content="noindex"> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >index 37dc42dac50..c0077a47706 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >@@ -1,10 +1,15 @@ > [% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Browse our catalog › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Browse our catalog") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >index d9e2e1da1cf..3839893eb4c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >@@ -7,8 +7,12 @@ > [% USE Branches %] > [% USE TablesSettings %] > [% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Course reserves for [% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > >@@ -22,7 +26,7 @@ > <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a> > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Course reserves for <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></span> >+ [% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >@@ -31,7 +35,7 @@ > <div class="col"> > <div id="course_reserves" class="maincontent"> > >- <h1>Course reserves for <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></h1> >+ <h1>[% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %]</h1> > <div class="rows"> > <ol> > [% IF ( course.term ) %]<li><span class="label">[% tp('Semester', 'Term:') | html %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]</li>[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >index f35e422dd18..806bd93292a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >@@ -4,9 +4,12 @@ > [% USE AuthorisedValues %] > [% USE TablesSettings %] > [% PROCESS 'i18n.inc' %] >- >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Courses › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title>[% FILTER collapse %] >+ [% t("Course reserves") | html %] › >+ [% PROCESS 'library_name_title' %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > >@@ -25,7 +28,7 @@ > <div class="row"> > <div class="col order-first order-md-first order-lg-2"> > <div id="courses" class="maincontent"> >- <h1>Courses</h1> >+ <h1>Courses reserves</h1> > > <table id="course_reserves_table" class="table table-bordered table-striped table-condensed"> > <caption class="sr-only">Courses</caption> >diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl >index c8993d1f01b..2d271c1f869 100755 >--- a/opac/opac-authoritiesdetail.pl >+++ b/opac/opac-authoritiesdetail.pl >@@ -167,6 +167,8 @@ if ($show_marc) { > } > } > $template->param( "Tab0XX" => \@loop_data ); >+ my $summary = BuildSummary( $record, $authid, $authtypecode ); >+ $template->param( summary => $summary ); > } else { > my $AuthorityXSLTOpacDetailsDisplay = C4::Context->preference('AuthorityXSLTOpacDetailsDisplay'); > if ($AuthorityXSLTOpacDetailsDisplay) { >-- >2.39.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 33907
:
152065
|
162157
|
165720
|
167488
| 170824