Bugzilla – Attachment 152315 Details for
Bug 33917
Improve translation of title tags: Offline circulation and patron lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33917: Improve translation of title tags: Offline circulation and patron lists
Bug-33917-Improve-translation-of-title-tags-Offlin.patch (text/plain), 5.92 KB, created by
Owen Leonard
on 2023-06-13 17:23:05 UTC
(
hide
)
Description:
Bug 33917: Improve translation of title tags: Offline circulation and patron lists
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-06-13 17:23:05 UTC
Size:
5.92 KB
patch
obsolete
>From 80bf83ea5eb7250628acce2b854c26b3d96a06de Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Jun 2023 15:19:20 +0000 >Subject: [PATCH] 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 >--- > .../prog/en/modules/offline_circ/enqueue_koc.tt | 8 +++++++- > .../prog/en/modules/offline_circ/list.tt | 7 ++++++- > .../prog/en/modules/offline_circ/process_koc.tt | 7 ++++++- > .../prog/en/modules/patron_lists/add-modify.tt | 14 +++++++++----- > .../prog/en/modules/patron_lists/list.tt | 9 ++++++++- > .../prog/en/modules/patron_lists/lists.tt | 7 ++++++- > 6 files changed, 42 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt >index bab38d55e5..05b7cfd2c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt >@@ -1,5 +1,11 @@ >+[% USE raw %] >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Add offline circulations to queue › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Add offline circulations to queue") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="ocirc_enqueue_koc" class="circ ocirc"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt >index f47b0bef45..bba7a63b82 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt >@@ -1,8 +1,13 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE "doc-head-open.inc" %] >- <title>Offline circulation › Circulation › Koha</title> >+ <title>[% FILTER collapse %] >+ [% t("Offline circulation") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+ [% END %]</title> > [% INCLUDE "doc-head-close.inc" %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt >index 94586b14e7..8423e510b9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt >@@ -1,8 +1,13 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Offline circulation file upload › Circulation › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Offline circulation file upload") | html %] › >+ [% t("Circulation") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt >index 85fabb0c84..142efe84a3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt >@@ -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 %] › Patron lists › Tools › Koha >-</title> >+ [% t("New patron list") | html %] >+ [% END %] › >+ [% t("Patron lists") | html %] › >+ [% t("Tools") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >index dc3c6b6376..1e25e8c07c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >@@ -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 › [% list.name | html %] › Patron lists › Tools › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Add patrons") | html %] › >+ [% list.name | html %] › >+ [% t("Patron lists") | html %] › >+ [% t("Tools") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > > <style> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index cc9e34e3d9..057d5b4954 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -1,8 +1,13 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Patron lists › Tools › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Patron lists") | html %] › >+ [% t("Tools") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'greybox.inc' %] > </head> >-- >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 33917
:
152315
|
154594
|
154628
|
155088