From 73ad18132a431d1a9bcf985fc2e7fb8186b01c5f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 6 Jun 2023 15:05:17 +0000 Subject: [PATCH] Bug 33910: Improve translation of title tags: Authorities This patch updates authorities templates so that title tags can be more easily translated. To test, apply the patch and confirm that the following authorities pages have the correct title tags: - Authorities -> Authorities home page - Authority search results - Authority details - Edit authority - Merge authorities - Cataloging -> New or edit record - Trigger the authority search plugin on a field which is linked to an authority type. Signed-off-by: Sam Lau Signed-off-by: Katrin Fischer --- .../prog/en/modules/authorities/auth_finder.tt | 6 +++++- .../prog/en/modules/authorities/authorities-home.tt | 6 +++++- .../prog/en/modules/authorities/authorities.tt | 11 ++++++++++- .../authorities/blinddetail-biblio-search.tt | 7 ++++++- .../prog/en/modules/authorities/detail.tt | 13 ++++++++----- .../prog/en/modules/authorities/merge.tt | 7 ++++++- .../en/modules/authorities/searchresultlist-auth.tt | 6 +++++- .../prog/en/modules/authorities/searchresultlist.tt | 7 ++++++- 8 files changed, 51 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt index b1ac1b538f..69dafe73de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt @@ -1,8 +1,12 @@ [% USE raw %] [% USE Asset %] +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Cataloging authority plugin › Koha +[% FILTER collapse %] + [% t("Cataloging authority plugin") | html %] › + [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %]