Bugzilla – Attachment 182238 Details for
Bug 38877
Improve translation of title tags: OPAC part 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38877: Improve translation of title tags: OPAC part 3
Bug-38877-Improve-translation-of-title-tags-OPAC-p.patch (text/plain), 24.85 KB, created by
David Nind
on 2025-05-09 23:26:38 UTC
(
hide
)
Description:
Bug 38877: Improve translation of title tags: OPAC part 3
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-05-09 23:26:38 UTC
Size:
24.85 KB
patch
obsolete
>From 30f77913294811987cbbce9ec8d5b47df7770011 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 5 Mar 2025 12:46:45 +0000 >Subject: [PATCH] Bug 38877: Improve translation of title tags: OPAC part 3 > >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: > >As a user logged in to the OPAC: >- Change password (with OpacPasswordChange enabled) >- Privacy management (with OPACPrivacy enabled) >- Checkout history (with opacreadinghistory enabled) >- Search history (with EnableOpacSearchHistory enabled) >- Consent (set PrivacyPolicyConsent to "enforced") >- Place a recall (with UseRecalls enabled and recalls configured in > Circulation & Fine rules) > - View your recalls >- Place a hold >- Request and article (with ArticleRequests enabled and configured in > Circulation & Fine rules) >- Submit a comment (with OPACComments enabled) >- View your routing lists (with RoutingSerials enabled): > - In the staff interface, search for a subscription > - View the subscription details > - Click "Create routing list" in the sidebar > - Add yourself to the recipients list > - Return to the OPAC and view the routing lists page > >Check these pages too: >- http://localhost:8080/cgi-bin/koha/opac-restrictedpage.pl >- Catalog search results >- Report a problem (with OPACReportProblem enabled) >- Password recovery (with OpacResetPassword enabled) >- Create an account (with PatronSelfRegistration enabled) > - Test with PatronSelfRegistrationConfirmEmail enabled. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> >--- > .../bootstrap/en/modules/opac-passwd.tt | 9 ++++++- > .../en/modules/opac-password-recovery.tt | 8 +++++- > .../en/modules/opac-patron-consent.tt | 9 ++++++- > .../bootstrap/en/modules/opac-privacy.tt | 9 ++++++- > .../en/modules/opac-readingrecord.tt | 9 ++++++- > .../bootstrap/en/modules/opac-recall.tt | 9 ++++++- > .../bootstrap/en/modules/opac-recalls.tt | 9 ++++++- > .../modules/opac-registration-confirmation.tt | 7 ++++- > .../modules/opac-registration-email-sent.tt | 9 ++++++- > .../en/modules/opac-registration-invalid.tt | 8 +++++- > .../en/modules/opac-reportproblem.tt | 9 ++++++- > .../en/modules/opac-request-article.tt | 10 ++++++- > .../bootstrap/en/modules/opac-reserve.tt | 9 ++++++- > .../en/modules/opac-reset-password.tt | 8 +++++- > .../en/modules/opac-restrictedpage.tt | 26 +++++++++---------- > .../bootstrap/en/modules/opac-results.tt | 24 ++++++++++------- > .../bootstrap/en/modules/opac-review.tt | 10 ++++++- > .../en/modules/opac-routing-lists.tt | 9 ++++++- > .../en/modules/opac-search-history.tt | 9 ++++++- > 19 files changed, 160 insertions(+), 40 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >index ed48620c33..4e96b1ae81 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.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>Change your password › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Change your password") | 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-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >index 5b7d49d8cd..1f011909fe 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >@@ -2,11 +2,17 @@ > [% USE Koha %] > [% USE Categories %] > [% 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>Forgotten password recovery › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Forgotten password recovery") | 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-patron-consent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >index 0dff4dcbbe..920b1c1b76 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >@@ -2,11 +2,18 @@ > [% USE Koha %] > [% USE KohaDates %] > [% 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 consentview = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your consents › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your consents") | 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-privacy.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >index f70cf31650..8273f286fb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.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 privacy management › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your privacy management") | 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-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index f3775159ac..7e48c7c7f7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -5,10 +5,17 @@ > [% USE AdditionalContents %] > [% USE Asset %] > [% USE Price %] >+[% 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 checkout history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your checkout history") | 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-recall.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >index 517a32f871..f4cc87ac64 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt >@@ -4,9 +4,16 @@ > [% USE Branches %] > [% USE ItemTypes %] > [% USE AuthorisedValues %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Recall › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Recall") | 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-recalls.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >index 8b2f4a6173..d91078cf95 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt >@@ -1,8 +1,15 @@ > [% USE raw %] > [% USE Koha %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your recalls history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your recalls history") | 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-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >index b6a5fa090c..7a34c4b669 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt >@@ -1,13 +1,18 @@ > [% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] > [% PROCESS 'html_helpers.inc' %] > [% SET OpacNavRight = AdditionalContents.get( location => "OpacNavRight", lang => news_lang, library => logged_in_user.branchcode || default_branch ) %] > [% 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 PatronSelfRegistrationAdditionalInstructions = AdditionalContents.get( location => "PatronSelfRegistrationAdditionalInstructions", lang => lang, library => branchcode || default_branch ) %] > [% 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 >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt >index 298188a15b..98c79656a6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.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>Please confirm your registration › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Please confirm your registration") | 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-registration-invalid.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt >index 362bd87412..e6c97db452 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt >@@ -1,10 +1,16 @@ > [% 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>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% 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-reportproblem.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >index b66580d0ac..b4f82c7f15 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.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>Report a problem › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Report a problem") | 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-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >index aee903109f..64604ffaee 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >@@ -4,9 +4,17 @@ > [% USE ItemTypes %] > [% USE AdditionalContents %] > [% USE Price %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > >-<title>Request article › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% title_in_title = INCLUDE 'biblio-title-head.inc' %] >+ [% tx("Request article from {title}", { title = title_in_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-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 59e5704950..86d4ac0f15 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -5,12 +5,19 @@ > [% USE Price %] > [% USE ItemTypes %] > [% USE AuthorisedValues %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET reserve_input_type = 'radio' %] > [% IF ( Koha.Preference('DisplayMultiItemHolds') ) %] > [% SET reserve_input_type = 'checkbox' %] > [% END %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Placing a hold › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Placing a hold") | 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-reset-password.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >index 7721bbfd7a..98be5be4e9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt >@@ -2,9 +2,15 @@ > [% USE Koha %] > [% USE Categories %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] > [% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> Reset your password › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog </title> >+<title >+ >[% FILTER collapse %] >+ [% t("Reset your password") | 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-restrictedpage.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt >index 0c5c34ff5e..1e21456ffb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt >@@ -1,21 +1,21 @@ > [% 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> >- [% IF RestrictedPageTitle %] >- [% RestrictedPageTitle | html %] >- › >- [% END %] >- [% IF ( LibraryNameTitle ) %] >- [% LibraryNameTitle | html %] >- [% ELSE %] >- Koha online >- [% END %] >- catalog >-</title> >+<title >+ >[% FILTER collapse %] >+ [% IF Koha.Preference('RestrictedPageTitle') %] >+ [% Koha.Preference('RestrictedPageTitle') | html %] >+ [% ELSE %] >+ [% t("Restricted page") | html %] >+ [% END %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] > [% END %] >@@ -29,7 +29,7 @@ > [% IF Koha.Preference('RestrictedPageTitle') %] > [% Koha.Preference('RestrictedPageTitle') | html %] > [% ELSE %] >- <span>Restricted page</span> >+ [% t("Restricted page") | html %] > [% END %] > [% END %] > [% END #/ WRAPPER breadcrumbs %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index f05b1fccd2..f0e1f4d91a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -3,6 +3,8 @@ > [% USE Koha %] > [% USE KohaPlugins %] > [% USE To %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET LoginEnabled = ( Koha.Preference('opacuserlogin') == 1 ) %] > [% IF ( Koha.Preference('TagsEnabled') ) %] > [% SET TagsShowEnabled = ( ( Koha.Preference('TagsEnabled') == 1 ) && ( Koha.Preference('TagsShowOnList') > 0 ) ) %] >@@ -30,18 +32,20 @@ > [% SET OverDriveEnabled = ( Koha.Preference( "OPACOverDrive" ) && Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') ) %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title> >- [% IF ( searchdesc ) %] >- [% IF ( ms_value ) %] >- Results of search for '[% ms_value | html %]' >+<title >+ >[% FILTER collapse %] >+ [% IF ( searchdesc ) %] >+ [% IF ( ms_value ) %] >+ [% tx("Results of search for '{keyword}'", {keyword = ms_value}) | html %] >+ [% ELSE %] >+ [% t("Search results") | html %] >+ [% END %] > [% ELSE %] >- Search results >+ [% t("You did not specify any search criteria") | html %] > [% END %] >- [% ELSE %] >- You did not specify any search criteria. >- [% END %] >- › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog >-</title> >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta name="robots" content="noindex" /> > [% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] > [% INCLUDE 'doc-head-close.inc' %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >index 5f7bf4ec2f..a5693c3ce6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >@@ -1,5 +1,13 @@ >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Comments on [% 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("Comments on {title}", { title = title_in_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-routing-lists.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >index 800d742340..379c1c8dd8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >@@ -3,10 +3,17 @@ > [% USE Koha %] > [% USE KohaDates %] > [% 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 routing lists › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your routing lists") | 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-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >index ffd3c69649..8780b523e3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >@@ -4,10 +4,17 @@ > [% USE KohaDates %] > [% USE TablesSettings %] > [% 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 search history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your search history") | html %] >+ › [% 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 38877
:
178998
| 182238