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.

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2023-06-06 15:25:13 +00:00 committed by Tomas Cohen Arazi
parent 54fcc144c3
commit b0656e853c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
6 changed files with 36 additions and 6 deletions

View file

@ -2,9 +2,14 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Old recalls &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Old recalls") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_recalls_old_queue" class="circ">

View file

@ -2,9 +2,14 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Overdue recalls &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Overdue recalls") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_overdue_recalls" class="circ">

View file

@ -2,9 +2,14 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Recalls queue &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Recalls queue") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_recalls_queue" class="circ">

View file

@ -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 &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Recalls to pull") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_recalls_to_pull" class="circ">

View file

@ -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 &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Recalls awaiting pickup") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_recalls_awaiting_pickup" class="circ">

View file

@ -2,9 +2,14 @@
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Existing recalls &rsaquo; Recalls &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Existing recalls") | html %] &rsaquo;
[% t("Recalls") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="recalls-request" class="catalog">