From 312543fc889480cbf6249e637e21ef709f4c9fad Mon Sep 17 00:00:00 2001 From: Owen Leonard 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' %] -Old recalls › Circulation › Koha +[% FILTER collapse %] + [% t("Old recalls") | html %] › + [% t("Circulation") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] 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' %] -Overdue recalls › Circulation › Koha +[% FILTER collapse %] + [% t("Overdue recalls") | html %] › + [% t("Circulation") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] 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' %] -Recalls queue › Circulation › Koha +[% FILTER collapse %] + [% t("Recalls queue") | html %] › + [% t("Circulation") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] 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' %] -Recalls to pull › Circulation › Koha +[% FILTER collapse %] + [% t("Recalls to pull") | html %] › + [% t("Circulation") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] 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' %] -Recalls awaiting pickup › Circulation › Koha +[% FILTER collapse %] + [% t("Recalls awaiting pickup") | html %] › + [% t("Circulation") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] 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' %] -Existing recalls › Recalls › Koha +[% FILTER collapse %] + [% t("Existing recalls") | html %] › + [% t("Recalls") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] -- 2.30.2