Bug 33917: Improve translation of title tags: Offline circulation and patron lists

This patch updates offline circulation and patron lists templates so
that title tags can be more easily translated.

To test, apply the patch and confirm that the following pages have the
correct title tags:

- Circulation -> Upload offline circulation file
  - Add to queue
  - View pending offline circulations
- Tools -> Patron lists
  - New list, edit list
  - View list

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

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:19:20 +00:00 committed by Tomas Cohen Arazi
parent f895e8be4c
commit fe22e14775
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
6 changed files with 42 additions and 10 deletions

View file

@ -1,5 +1,11 @@
[% USE raw %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Add offline circulations to queue &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Add offline circulations to queue") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="ocirc_enqueue_koc" class="circ ocirc">

View file

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

View file

@ -1,8 +1,13 @@
[% USE raw %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Offline circulation file upload &rsaquo; Circulation &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Offline circulation file upload") | html %] &rsaquo;
[% t("Circulation") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>

View file

@ -1,14 +1,18 @@
[% USE raw %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>
<title>[% FILTER collapse %]
[% IF list.patron_list_id %]
Modify patron list
[% t("Modify patron list") | html %]
[% ELSE %]
New patron list
[% END %] &rsaquo; Patron lists &rsaquo; Tools &rsaquo; Koha
</title>
[% t("New patron list") | html %]
[% END %] &rsaquo;
[% t("Patron lists") | html %] &rsaquo;
[% t("Tools") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>

View file

@ -2,10 +2,17 @@
[% USE Asset %]
[% USE KohaDates %]
[% USE TablesSettings %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
[% INCLUDE 'columns_settings.inc' %]
<title>Add patrons &rsaquo; [% list.name | html %] &rsaquo; Patron lists &rsaquo; Tools &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Add patrons") | html %] &rsaquo;
[% list.name | html %] &rsaquo;
[% t("Patron lists") | html %] &rsaquo;
[% t("Tools") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<style>

View file

@ -1,8 +1,13 @@
[% USE raw %]
[% USE Asset %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Patron lists &rsaquo; Tools &rsaquo; Koha</title>
<title>[% FILTER collapse %]
[% t("Patron lists") | html %] &rsaquo;
[% t("Tools") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'greybox.inc' %]
</head>