Bugzilla – Attachment 183132 Details for
Bug 39255
Improve translation of title tags: OPAC part 4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39255: Improve translation of title tags: OPAC part 4
Bug-39255-Improve-translation-of-title-tags-OPAC-p.patch (text/plain), 31.85 KB, created by
Owen Leonard
on 2025-06-10 13:28:53 UTC
(
hide
)
Description:
Bug 39255: Improve translation of title tags: OPAC part 4
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-06-10 13:28:53 UTC
Size:
31.85 KB
patch
obsolete
>From bcc74aab325d8594d586b9e9ba9ea4672fca2016 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 5 Mar 2025 18:36:09 +0000 >Subject: [PATCH] Bug 39255: Improve translation of title tags: OPAC part 4 > >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: > >- The summary page for a logged in user >- Most popular >- Purchase suggestions >- Recent comments >- Tags >- Lists > - List of lists > - List contents > - Send list > - Share a private list >- Send a cart >- View a subscription -> More details >- The opac-showmarc page isn't usually accessed directly but you can > test it by opening the URL, e.g. > http://localhost:8080/cgi-bin/koha/opac-showmarc.pl?viewas=html&id=5 >- Self checkin (with SelfCheckInModule enabled). >- Self checkout (with WebBasedSelfCheck enabled). > - Self checkout help > - Self checkout slip > >Sponsored-by: Athens County Public Libraries >--- > .../en/modules/opac-sendbasketform.tt | 10 +- > .../en/modules/opac-sendshelfform.tt | 21 +++- > .../en/modules/opac-serial-issues.tt | 9 +- > .../bootstrap/en/modules/opac-shareshelf.tt | 13 ++- > .../bootstrap/en/modules/opac-shelves.tt | 13 ++- > .../bootstrap/en/modules/opac-showmarc.tt | 9 +- > .../en/modules/opac-showreviews-rss.tt | 107 ++++++++++-------- > .../bootstrap/en/modules/opac-showreviews.tt | 9 +- > .../bootstrap/en/modules/opac-suggestions.tt | 17 ++- > .../bootstrap/en/modules/opac-tags.tt | 9 +- > .../bootstrap/en/modules/opac-tags_subject.tt | 9 +- > .../bootstrap/en/modules/opac-topissues.tt | 9 +- > .../bootstrap/en/modules/opac-user.tt | 9 +- > .../bootstrap/en/modules/sci/sci-main.tt | 9 +- > .../bootstrap/en/modules/sco/help.tt | 8 +- > .../bootstrap/en/modules/sco/printslip.tt | 9 +- > .../bootstrap/en/modules/sco/sco-main.tt | 7 +- > .../bootstrap/en/modules/svc/suggestion.tt | 7 +- > 18 files changed, 214 insertions(+), 70 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >index d63b7f2dd12..037e3757b1c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >@@ -1,6 +1,14 @@ >+[% USE raw %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Sending your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Sending your 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-sendshelfform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >index 459ced00460..9557567983d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >@@ -1,6 +1,25 @@ > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Sending your list › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% IF ( email ) %] >+ [% IF ( SENT ) %] >+ [% t("Message sent") | html %] >+ [% ELSIF ( error ) %] >+ [% t("Error") | html %] >+ [% END %] >+ [% ELSE %] >+ [% IF ( invalidlist ) %] >+ [% t("Error") | html %] >+ [% ELSE %] >+ [% t("Sending your list") | html %] >+ [% END %] >+ [% 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-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >index 5b5dac97b8c..ea3a4b7b9b8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >@@ -2,10 +2,17 @@ > [% USE Koha %] > [% 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>Issues for a subscription › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Issues for a subscription") | 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-shareshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >index 4da6ce2c041..735ec2480a2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >@@ -1,10 +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>Share a list › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% IF op == 'show' || op == 'invited' %] >+ [% t("Share a list") | html %] >+ [% ELSIF op == 'accept' %] >+ [% t("Accept a shared list") | 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-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 79a4e3bdf1c..71271aadb23 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -4,6 +4,8 @@ > [% USE KohaDates %] > [% USE AdditionalContents %] > [% USE KohaPlugins %] >+[% 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 LoginEnabled = ( Koha.Preference('opacuserlogin') == 1 ) %] >@@ -45,7 +47,16 @@ > [% END %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF op == 'view' %]Contents of [% shelf.shelfname | html %][% ELSE %]Your lists[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% IF op == 'view' %] >+ [% tx("Contents of {list}", {list = shelf.shelfname}) | html %] >+ [% ELSE %] >+ [% t("Your lists") | 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-showmarc.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showmarc.tt >index b6e5d5dc6cf..4c4c8203378 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showmarc.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showmarc.tt >@@ -1,5 +1,12 @@ >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>MARC view</title> >+<title >+ >[% FILTER collapse %] >+ [% t("MARC view") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > </head> > [% INCLUDE 'bodytag.inc' bodyid='opac-showmarc' %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >index 5246b9d3e2c..9c8f6abbeb6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >@@ -1,58 +1,67 @@ >-[% USE KohaDates # XML declaration should have no white space before it %][% USE Koha %]<?xml version="1.0" encoding="utf-8"?> >-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> >- <channel> >- <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog recent comments]]></title> >- <!-- prettier-ignore-start --> >+[% FILTER collapse %] >+ [% USE KohaDates %] >+ [% USE Koha %] >+ [% PROCESS 'i18n.inc' %] >+ [% PROCESS 'html_helpers.inc' %] >+ <?xml version="1.0" encoding="utf-8"?> >+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> >+ <channel> >+ <title> <![CDATA[ [% t("Recent comments") | html %] - [% PROCESS 'library_name_title' %] ]]> </title> >+ <!-- prettier-ignore-start --> > <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&format=rss2</link> > <!-- prettier-ignore-end --> >- <description >- ><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library >- staff.]]></description >- > >- <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> >- <lastBuildDate>[% timestamp | html %]</lastBuildDate> >- [% FOREACH review IN reviews %] >- <item> >- <title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title> >- <!-- prettier-ignore-start --> >+ <description >+ ><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library >+ staff.]]></description >+ > >+ <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> >+ <lastBuildDate>[% timestamp | html %]</lastBuildDate> >+ [% FOREACH review IN reviews %] >+ <item> >+ <title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title> >+ <!-- prettier-ignore-start --> > <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link> > <!-- prettier-ignore-end --> >- <description >- ><![CDATA[ [% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %] >+ <description >+ ><![CDATA[ >+ [% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %] > >- [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %] >- <img >- src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" >- alt="" >- /> >- [% END %][% END %][% END %] >+ [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %] >+ <img >+ src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" >+ alt="" >+ /> >+ [% END %][% END %][% END %] > >- [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %] >- [% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>[% END %] >+ [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %] >+ [% IF ( BakerTaylorEnabled && bt_id ) %] >+ <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a> >+ [% END %] > >- [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] >- [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %] >- [% IF custom_cover_image_url %] >- <a href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a> >+ [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] >+ [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %] >+ [% IF custom_cover_image_url %] >+ <a href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a> >+ [% END %] > [% END %] >- [% END %] > >- [% IF ( review.author ) %]<p>By [% review.author | html %].</p>[% END %] >- <p>[% IF ( review.place ) %][% review.place | html %][% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] >- [% review.publicationyear | html %] >- [% ELSE %] >- [% IF ( review.copyrightdate ) %][% review.copyrightdate | html %][% END %] >- [% END %] >- [% IF ( review.pages ) %]. [% review.pages | html %][% END %] >- [% IF ( review.notes ) %], [% review.notes | html %][% END %] >- [% IF ( review.size ) %][% review.size | html %].[% END %] >- [% IF ( review.isbn ) %][% review.isbn | html %][% END %] >- </p> <p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname | html %] [% review.surname | html %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: >- [% review.review | html %]</p> ]]></description >- > >- <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]&reviewid=[% review.reviewid | html %]</guid> >- <pubDate>[% review.timestamp | html %]</pubDate> >- </item> >- [% END %] >- </channel> >-</rss> >+ [% IF ( review.author ) %]<p>By [% review.author | html %].</p>[% END %] >+ <p>[% IF ( review.place ) %][% review.place | html %][% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] >+ [% review.publicationyear | html %] >+ [% ELSE %] >+ [% IF ( review.copyrightdate ) %][% review.copyrightdate | html %][% END %] >+ [% END %] >+ [% IF ( review.pages ) %]. [% review.pages | html %][% END %] >+ [% IF ( review.notes ) %], [% review.notes | html %][% END %] >+ [% IF ( review.size ) %][% review.size | html %].[% END %] >+ [% IF ( review.isbn ) %][% review.isbn | html %][% END %] >+ </p> <p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname | html %] [% review.surname | html %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: >+ [% review.review | html %]</p> ]]></description >+ > >+ <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]&reviewid=[% review.reviewid | html %]</guid> >+ <pubDate>[% review.timestamp | html %]</pubDate> >+ </item> >+ [% END %] >+ </channel> >+ </rss> >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >index 9b8973a84ac..be2c0980f2f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >@@ -2,10 +2,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>Recent comments › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Recent comments") | 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-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index 037d725c0ae..3ad58e8b3cd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -5,15 +5,23 @@ > [% USE AuthorisedValues %] > [% USE KohaDates %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% SET opacsuggestion = AdditionalContents.get( location => "OpacSuggestioninstructions", lang => 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 AllPublicBranches = Branches.all( search_params => { public => 1 }, selected => logged_in_user.branchcode ) %] > [% INCLUDE 'doc-head-open.inc' %] > <title >- >[% IF ( op_add_form ) %]Enter a new purchase suggestion[% END %] >- [% IF ( op_else ) %]Purchase suggestions[% END %] >- › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title >+ >[% FILTER collapse %] >+ [% IF ( op_add_form ) %] >+ [% t("New purchase suggestion") | html %] >+ [% END %] >+ [% IF ( op_else ) %] >+ [% t("Purchase suggestions") | html %] >+ [% END %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title > > > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] >@@ -66,8 +74,6 @@ > [% IF ( opacsuggestion ) %] > [% PROCESS koha_news_block news => opacsuggestion %] > [% ELSE %] >- <h2>Enter a new purchase suggestion</h2> >- > <p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p> > <p > >Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide >@@ -90,6 +96,7 @@ > <form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form"> > [% INCLUDE 'csrf-token.inc' %] > <fieldset class="rows"> >+ <legend>New purchase suggestion</legend> > <ol> > [% IF Koha.Preference( 'OPACSuggestionAutoFill' ) %] > <li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >index cb7a27db39e..26c5b2b37e4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt >@@ -2,6 +2,8 @@ > [% 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 LoginEnabled = ( Koha.Preference('opacuserlogin') == 1 ) %] >@@ -16,7 +18,12 @@ > [% SET ArticleRequestsEnabled = ( Koha.Preference('ArticleRequests') == 1 ) && LoginEnabled %] > [% SET MultiHolds = ( Koha.Preference('DisplayMultiPlaceHold') == 1 ) && HoldsEnabled %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Tags › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Tags") | 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-tags_subject.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt >index 7c5b0ddc785..5769bd1ac22 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.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>Subject cloud › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Subject cloud") | 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-topissues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >index 407fc2f4d46..e3fc5281c7c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >@@ -4,10 +4,17 @@ > [% USE AuthorisedValues %] > [% USE ItemTypes %] > [% 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>Most popular titles › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Most popular titles") | 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-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index dc23fea4162..fc45dd26f84 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -8,6 +8,8 @@ > [% USE Price %] > [% USE AuthorisedValues %] > [% 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 OpacMySummaryNote = AdditionalContents.get( location => "OpacMySummaryNote", lang => lang, library => branchcode ) %] >@@ -18,7 +20,12 @@ > [% SET OverDriveCirculation = ( OverDriveEnabled && Koha.Preference( "OverDriveCirculation" ) ) %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Your summary › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Your summary") | 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/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >index 1a6330580ad..22866155798 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >@@ -4,6 +4,8 @@ > [% USE Koha %] > [% USE KohaDates %] > [% USE AdditionalContents %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [%# Helper template functions %] > [% BLOCK error_message %] > [% IF messages.BadBarcode %] >@@ -25,7 +27,12 @@ > [% SET SelfCheckInMainUserBlock = AdditionalContents.get( location => "SelfCheckInMainUserBlock", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] > [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] >-<title>Self check-in › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha[% END %]</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Self check-in") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >index 918f78442bd..c52de05006e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >@@ -4,9 +4,15 @@ > [% USE KohaDates %] > [% USE AdditionalContents %] > [% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > [% SET SelfCheckHelpMessage = AdditionalContents.get( location => "SelfCheckHelpMessage", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] >-<title>Self checkout help › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha[% END %]</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Self checkout help") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha" /> > <!-- leave this for stats --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >index f97754a18ff..8882cc72e33 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >@@ -1,8 +1,15 @@ > [% USE raw %] > [% USE Asset %] > [% USE Koha %] >+[% PROCESS 'i18n.inc' %] >+[% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Print receipt for [% borrowernumber | html %] › Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha[% END %]</title> >+<title >+ >[% FILTER collapse %] >+ [% tx("Print receipt for {borrowernumber}", {borrowernumber = borrowernumber}) | html %] >+ › [% t("Self checkout") | html %] › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" /> > [% IF ( bidi ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 486b442fcd7..06323b9be3e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -10,7 +10,12 @@ > [% SET SCOMainUserBlock = AdditionalContents.get( location => "SCOMainUserBlock", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% PROCESS 'html_helpers.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha[% END %]</title> >+<title >+ >[% FILTER collapse %] >+ [% t("Self checkout") | html %] >+ › [% PROCESS 'library_name_title' %] >+ [% END %]</title >+> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha" /> > <!-- leave this for stats --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >index a234936b087..e3a2f89f67b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt >@@ -18,7 +18,12 @@ > > [% IF (render=='standalone') %] > [% INCLUDE 'doc-head-open.inc' %] >- <title>Search suggestions</title> >+ <title >+ >[% FILTER collapse %] >+ [% t("Search suggestions") | 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 39255
: 183132