Bug 33919: Improve translation of title tags: Patron clubs
This patch updates patron clubs templates so that title tags can be more easily translated. The patch also makes some minor changes to some templates to improve consistency between page title, breadcrumb navigation, and page heading. To test, apply the patch and confirm that the following pages have the correct title tags: - Tools -> Patron clubs - New and Edit club template - New and Edit club - Club enrollments (from the list of clubs choose Actions -> Enrollments) Signed-off-by: Salah Ghedda <salah.ghedda@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8ff6189c2a
commit
3f6b956533
4 changed files with 36 additions and 18 deletions
|
@ -3,11 +3,16 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE Koha %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
|
||||
[% USE HtmlTags %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Club enrollments › Patron clubs › Tools › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% tx("Club enrollments for {club_name}", { club_name = club.name }) | html %] ›
|
||||
[% t("Patron clubs") | html %] ›
|
||||
[% t("Tools") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
@ -25,7 +30,7 @@
|
|||
<a href="clubs.pl">Patron clubs</a>
|
||||
[% END %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Club enrollments</span>
|
||||
<span>Club enrollments for [% club.name | html | $HtmlTags tag="em" %]</span>
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
[% END #/ WRAPPER sub-header.inc %]
|
||||
|
@ -37,7 +42,7 @@
|
|||
[% IF !club %]
|
||||
<div class="dialog message">The club you requested does not exist.</div>
|
||||
[% ELSE %]
|
||||
<h1>Club enrollments for <em>[% club.name | html %]</em></h1>
|
||||
<h1>Club enrollments for [% club.name | html | $HtmlTags tag="em" %]</h1>
|
||||
|
||||
<div class="page-section">
|
||||
<table id="enrollments-table">
|
||||
|
|
|
@ -3,15 +3,19 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF club %]
|
||||
Modify club [% club.name | html %]
|
||||
[% tx("Modify club {club_name}", { club_name = club.name }) | html %]
|
||||
[% ELSE %]
|
||||
Create a new [% club_template.name | html %] club
|
||||
[% END %] › Patron clubs › Tools › Koha
|
||||
</title>
|
||||
[% tx("Create a new {club_template} club", { club_template = club_template.name }) | html %]
|
||||
[% END %] ›
|
||||
[% t("Patron clubs") | html %] ›
|
||||
[% t("Tools") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
@ -3,9 +3,14 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Patron clubs › Tools › Koha</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Patron clubs") | html %] ›
|
||||
[% t("Tools") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
|
||||
</head>
|
||||
|
|
|
@ -2,15 +2,19 @@
|
|||
[% USE Branches %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE HtmlTags %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF club_template %]
|
||||
Modify club template [% club_template.name | html %]
|
||||
[% tx("Modify club template {club_template}", { club_template = club_template.name }) | html %] ›
|
||||
[% ELSE %]
|
||||
Create a new club template
|
||||
[% END %] › Patron clubs › Tools › Koha
|
||||
</title>
|
||||
[% t("New club template") | html %]
|
||||
[% END %] ›
|
||||
[% t("Patron clubs") | html %] ›
|
||||
[% t("Tools") | html %] ›
|
||||
[% t("Koha") | html %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>
|
||||
.club-field,
|
||||
|
@ -37,7 +41,7 @@
|
|||
[% IF club_template %]
|
||||
<span>Modify club template [% club_template.name | html | $HtmlTags tag="em" %]</span>
|
||||
[% ELSE %]
|
||||
<span>Create a new club template</span>
|
||||
<span>New club template</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
@ -54,7 +58,7 @@
|
|||
[% IF club_template %]
|
||||
<span>Modify club template [% club_template.name | html | $HtmlTags tag="em" %]</span>
|
||||
[% ELSE %]
|
||||
<span>Create a new club template</span>
|
||||
<span>New club template</span>
|
||||
[% END %]
|
||||
</h1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue