Bugzilla – Attachment 180690 Details for
Bug 36095
Improve translation of title tags: OPAC part 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36095: Improve translation of title tags: OPAC part 2
Bug-36095-Improve-translation-of-title-tags-OPAC-p.patch (text/plain), 28.76 KB, created by
Owen Leonard
on 2025-04-07 11:44:03 UTC
(
hide
)
Description:
Bug 36095: Improve translation of title tags: OPAC part 2
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-07 11:44:03 UTC
Size:
28.76 KB
patch
obsolete
>From 181524a7405cb10e51b891ac7cbef774268eee04 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 4 Mar 2025 17:15:06 +0000 >Subject: [PATCH] Bug 36095: Improve translation of title tags: OPAC part 2 > >This patch updates a batch of OPAC templates so that title tags can >be more easily translated. > >To test, apply the patch and confirm that the following pages have >correct title tags: > >- Check the OPAC main page >- Follow the "Libraries" link > - Check one of the individual library pages >- From the OPAC main page, view the RSS feed for OPAC news (requires at > least one news item be added via Tools -> News -> New entry). >- Search the catalog and view the detail page for one of the results. >- View the IDREF page, e.g. > http://localhost:8080/cgi-bin/koha/opac-idref.pl?unimarc3=032581270 >- With OverDrive configured and enabled, perform a catalog search. > - Follow the "Found X results in the library's OverDrive credentials" > link to view OverDrive search results. >- These pages normally aren't accessed directly but they are modified: > Download cart, e.g. http://localhost:8080/cgi-bin/koha/opac-downloadcart.pl?bib_list=5302/4893/4594 > Download shelf, e.g. http://localhost:8080/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=X > Checkout note, e.g. http://localhost:8080/cgi-bin/koha/opac-issue-note.pl?issue_id=X >- In the staff client, add a local cover image to a bibliographic record > (requires the OPACLocalCoverImages system preference be enabled). > - View the detail page for that record in the OPAC. > - Under the images tab, right-click the image thumbnail and open in > a new tab. >- Search the catalog for a record with a subscription and view the > detail page. Under the "Subscriptions" page, click "More details," > then the "Full history" tab. >- In the staff client, go to Tools -> Pages and create a page for the > OPAC. View that page. >- Log in to the OPAC. From your "Summary" page, > - View the curbside pickups page (requires the CurbsidePickup > preference be enabled) > - View the "Ask for discharge" page (requires the useDischarge > preference be enabled) > - View the holds history page (requires the OPACHoldsHistory > preference be enabled) > - View the ILL requests page (requires the ILLModule preference be > enabled > - View the "Personal details" page. > - View the messaging page (requires the > EnhancedMessagingPreferencesOPAC preference be enabled) > - From the "Summary" page, under the "Checked out" tab, click the "Add > note" for one of the checkouts (requires the AllowCheckoutNotes > preference be enabled). > - After adding a note > - View the "Personal details" page and submit an edit (requires > the OPACPatronDetails preference be enabled). Check the confirmation > page. > >Sponsored-by: Athens County Public Libraries >--- > .../en/modules/opac-curbside-pickups.tt | 9 +++- > .../bootstrap/en/modules/opac-detail.tt | 10 ++++- > .../bootstrap/en/modules/opac-discharge.tt | 9 +++- > .../bootstrap/en/modules/opac-downloadcart.tt | 9 +++- > .../en/modules/opac-downloadshelf.tt | 12 +++++- > .../en/modules/opac-full-serial-issues.tt | 9 +++- > .../bootstrap/en/modules/opac-holdshistory.tt | 9 +++- > .../bootstrap/en/modules/opac-idref.tt | 9 +++- > .../bootstrap/en/modules/opac-illrequests.tt | 9 +++- > .../bootstrap/en/modules/opac-imageviewer.tt | 10 ++++- > .../bootstrap/en/modules/opac-issue-note.tt | 9 +++- > .../bootstrap/en/modules/opac-library.tt | 31 ++++++------- > .../bootstrap/en/modules/opac-main.tt | 7 ++- > .../opac-memberentry-update-submitted.tt | 9 +++- > .../bootstrap/en/modules/opac-memberentry.tt | 12 +++++- > .../bootstrap/en/modules/opac-messaging.tt | 9 +++- > .../bootstrap/en/modules/opac-news-rss.tt | 43 ++++++++++++------- > .../en/modules/opac-overdrive-search.tt | 9 +++- > .../bootstrap/en/modules/opac-page.tt | 12 +++++- > 19 files changed, 185 insertions(+), 51 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >index 1bc70627f5b..d265f034d76 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt >@@ -4,10 +4,17 @@ > [% USE KohaDates %] > [% USE Branches %] > [% 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>Your curbside pickups › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your curbside pickups") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% FILTER collapse %] > <style> > .pickup_time input[type="radio"] { >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index f87c37056a8..2f389170897 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -8,6 +8,8 @@ > [% USE AuthorisedValues %] > [% USE KohaPlugins %] > [% USE SafeURL %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %] > [% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %] >@@ -31,7 +33,13 @@ > [% END %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Details for: [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% title_in_title = INCLUDE 'biblio-title-head.inc' %] >+ [% tx("Details for {title}", { title = title_in_title }) | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <link rel="canonical" href="[% OPACBaseURL | url %]/bib/[% biblio.biblionumber | url %]" /> > [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %] > [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >index 5114ca7a9c0..043ec889c87 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt >@@ -1,10 +1,17 @@ > [% 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>Discharge › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Discharge") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt >index b6fcab2ce88..35d40664e8a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt >@@ -1,5 +1,12 @@ >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Download cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Download cart") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >index 1c9138718e5..1b7d16a8ff6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >@@ -1,9 +1,19 @@ > [% 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>Download list [% shelf.shelfname | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>[% INCLUDE 'doc-head-close.inc' %] >+[% INCLUDE 'doc-head-open.inc' %] >+<title >+ >[% FILTER collapse %] >+ [% title_in_title = INCLUDE 'biblio-title-head.inc' %] >+ [% tx("Download list {list}", { list = shelf.shelfname }) | 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-full-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >index 7708778a899..c08e1ebabb1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >@@ -3,11 +3,18 @@ > [% USE KohaDates %] > [% USE Branches %] > [% 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 ) %] > [% USE AuthorisedValues %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Full subscription history for [% bibliotitle | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% tx("Full subscription history for {title}", { title = bibliotitle }) | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% FILTER collapse %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >index fb52c1a5d48..a59c67083c5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >@@ -6,11 +6,18 @@ > [% USE ItemTypes %] > [% USE AdditionalContents %] > [% USE AuthorisedValues %] >+[% 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>Your holds history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your holds history") | 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-idref.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >index 44d1abac7ad..7d2e0d2c197 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >@@ -1,5 +1,12 @@ >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your search IDREF for ppn [% unimarc3 | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% tx("Your search IDREF for ppn {ppn}", { ppn = unimarc3 }) | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >index b3a5bfad6c1..d32a374db58 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >@@ -4,11 +4,18 @@ > [% USE AuthorisedValues %] > [% USE Branches %] > [% 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 ) %] > [% SET ILLModuleCopyrightClearance = AdditionalContents.get( location => "ILLModuleCopyrightClearance", lang => lang, library => logged_in_user.branchcode || default_branch ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your interlibrary loan requests › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your interlibrary loan requests") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt >index c03567dcfcf..68c3e776ead 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt >@@ -1,10 +1,18 @@ > [% 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>Images for: [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% title_in_title = INCLUDE 'biblio-title-head.inc' %] >+ [% tx("Images for {title}", { title = title_in_title }) | 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-issue-note.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >index dee76e666c5..2eae0728d0a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >@@ -3,10 +3,17 @@ > [% USE KohaDates %] > [% USE Branches %] > [% 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>Editing checkout note for [% title | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% tx("Editing checkout note for {title}", { title = title }) | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt >index 178b13922c3..6a54618b696 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt >@@ -1,29 +1,24 @@ > [% USE raw %] > [% USE Asset %] > [% USE Koha %] >-[% PROCESS 'display-library-address.inc' %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] >+[% PROCESS 'display-library-address.inc' %] > [% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %] > [% 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> >- [% IF ( library ) %] >- [% library.branchname | html %] >- › >- [% END %] >- [% IF public_count > 1 %] >- Libraries › >- [% ELSE %] >- Contact › >- [% END %] >- [% IF ( LibraryNameTitle ) %] >- [% LibraryNameTitle | html %] >- [% ELSE %] >- Koha online >- [% END %] >- catalog >-</title> >+<title >+ >[% FILTER collapse %] >+ [% IF ( library ) %] >+ [% library.branchname | html %] >+ › >+ [% END %] >+ [% t("Libraries") | 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-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 476bc3c323b..8140c39e9e9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -7,6 +7,7 @@ > [% USE AdditionalContents %] > [% USE AuthClient %] > [% 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 ) %] > [% SET OpacNavRight = AdditionalContents.get( location => "OpacNavRight", lang => lang, library => logged_in_user.branchcode || default_branch ) %] >@@ -14,7 +15,11 @@ > [% SET OpacLoginInstructions = AdditionalContents.get( location => "OpacLoginInstructions", lang => lang, library => branchcode || default_branch ) %] > [% SET AllPublicBranches = Branches.all( search_params => { public => 1 }, selected => branchcode ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <link rel="canonical" href="[% OPACBaseURL | url %]/" /> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt >index 72c095a80da..75c1eedc397 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt >@@ -1,10 +1,17 @@ > [% 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>Updates submitted › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Updates submitted") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index 3527cbaf803..c55c9dde3fa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -8,6 +8,7 @@ > [% USE Math %] > [% 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 ) %] > [% SET userupdateview = 1 %] >@@ -33,7 +34,16 @@ > [% END %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF op == 'edit' %]Update your personal details[% ELSE %]Register a new account[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% IF op == 'edit' %] >+ [% t("Update your personal details") | html %] >+ [% ELSE %] >+ [% t("Register a new account") | html %] >+ [% END %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >index 6c4c4db1c6b..ec98e8af2c0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >@@ -1,10 +1,17 @@ > [% 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>Your messaging settings › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your messaging settings") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt >index dcf7247ef03..fc4ce084e62 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt >@@ -1,18 +1,29 @@ >-[% USE raw -%] <?xml version="1.0"?> >-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> >- <channel> >- <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" /> >- <title>News from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]the library[% END %]</title> >- <!-- prettier-ignore-start --> >+[% FILTER collapse %] >+ [% USE raw -%] >+ [% PROCESS 'i18n.inc' %] >+ [% PROCESS 'html_helpers.inc' %] >+ <?xml version="1.0"?> >+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> >+ <channel> >+ <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" /> >+ <title> >+ [% IF ( LibraryNameTitle ) %] >+ [% tx("News from {library} catalog", { library = LibraryNameTitle }) | html %] >+ [% ELSE %] >+ [% t("News from the library") | html %] >+ [% END %] >+ </title> >+ <!-- prettier-ignore-start --> > <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl</link> > <!-- prettier-ignore-end --> >- <description></description> >- [% FOREACH newsitem IN koha_news %] >- <item> >- <title>[% newsitem.title | html %]</title> >- <description>[% newsitem.content | $raw %]</description> >- <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid> >- </item> >- [% END %] >- </channel> >-</rss> >+ <description></description> >+ [% FOREACH newsitem IN koha_news %] >+ <item> >+ <title>[% newsitem.title | html %]</title> >+ <description>[% newsitem.content | $raw %]</description> >+ <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid> >+ </item> >+ [% END %] >+ </channel> >+ </rss> >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >index 5171f6e2c9f..7daf363e100 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >@@ -2,10 +2,17 @@ > [% USE Asset %] > [% 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>OverDrive search for '[% q | html %]' › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% tx("OverDrive search for '{keyword}'", { keyword = q }) | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/overdrive.css") | $raw %] > [% BLOCK cssinclude %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt >index 0a33d413fe2..b751fa804b7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt >@@ -2,10 +2,20 @@ > [% USE Koha %] > [% USE AdditionalContents %] > [% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF page %][% page.title | html %][% ELSE %]Page error[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% IF page %] >+ [% page.title | html %] >+ [% ELSE %] >+ [% t("Page error") | html %] >+ [% END %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >-- >2.39.5
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 36095
:
178933
|
180690
|
182133