Bugzilla – Attachment 154716 Details for
Bug 33922
Improve translation of title tags: Recalls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33922: Improve translation of title tags: Recalls
Bug-33922-Improve-translation-of-title-tags-Recall.patch (text/plain), 5.89 KB, created by
Owen Leonard
on 2023-08-23 16:42:33 UTC
(
hide
)
Description:
Bug 33922: Improve translation of title tags: Recalls
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-08-23 16:42:33 UTC
Size:
5.89 KB
patch
obsolete
>From 312543fc889480cbf6249e637e21ef709f4c9fad Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Jun 2023 15:25:13 +0000 >Subject: [PATCH] Bug 33922: Improve translation of title tags: Recalls > >This patch updates recalls templates so that title tags can be more >easily translated. > >To test you must have UseRecalls enabled. Apply the patch and confirm >that the following pages have the correct title tags: > >- Circulation -> > - Recalls queue > - Recalls to pull > - Overdue recalls > - Recalls awaiting pickup > - Old recalls >- Catalog -> Locate a bibliographic record with an existing recall. > - View the "Recalls" tab in the sidebar. >--- > .../prog/en/modules/recalls/recalls_old_queue.tt | 7 ++++++- > .../prog/en/modules/recalls/recalls_overdue.tt | 7 ++++++- > .../intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt | 7 ++++++- > .../prog/en/modules/recalls/recalls_to_pull.tt | 7 ++++++- > .../prog/en/modules/recalls/recalls_waiting.tt | 7 ++++++- > koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt | 7 ++++++- > 6 files changed, 36 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_old_queue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_old_queue.tt >index 73eee5e893..410363fd27 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_old_queue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_old_queue.tt >@@ -2,9 +2,14 @@ > [% USE Koha %] > [% USE KohaDates %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Old recalls › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Old recalls") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="circ_recalls_old_queue" class="circ"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_overdue.tt >index 4c5e49bed4..68a98664aa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_overdue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_overdue.tt >@@ -2,9 +2,14 @@ > [% USE Koha %] > [% USE KohaDates %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Overdue recalls › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Overdue recalls") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="circ_overdue_recalls" class="circ"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt >index 728ceff73f..8b833c3ab6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt >@@ -2,9 +2,14 @@ > [% USE Koha %] > [% USE KohaDates %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Recalls queue › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Recalls queue") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="circ_recalls_queue" class="circ"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt >index 8ea8f2b0c7..3fc551a83b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt >@@ -5,9 +5,14 @@ > [% USE Branches %] > [% USE ItemTypes %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Recalls to pull › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Recalls to pull") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="circ_recalls_to_pull" class="circ"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt >index 105ea93e0e..ce3bc20852 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt >@@ -2,9 +2,14 @@ > [% USE Koha %] > [% USE KohaDates %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Recalls awaiting pickup › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Recalls awaiting pickup") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="circ_recalls_awaiting_pickup" class="circ"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt >index e335ba0256..206c83c4ef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt >@@ -2,9 +2,14 @@ > [% USE Asset %] > [% USE Koha %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Existing recalls › Recalls › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Existing recalls") | html %] › >+ [% t("Recalls") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="recalls-request" class="catalog"> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33922
:
154716
|
155078
|
155110