From 76da09dbcd05c35311bf8fe07245ad6e4b22b2de Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Oct 2023 16:24:07 +0000 Subject: [PATCH] Bug 34397: Fix inconsistencies in Classification sources page titles, breadcrumbs, and headers This patch fixes some inconsistencies in the classification configuration administration page, making sure the page title, breadcrumb navigation, and page headers are consistent with each other. Test each view to confirm that page title, heading, and breadcrumbs are consistent: - Administration -> Classification configuration - New classification source - Edit classification source - New filing rule - Edit filing rule - New splitting rule - Edit splitting rule --- .../prog/en/modules/admin/classsources.tt | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt index e5a3981c91..a43beb37ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt @@ -6,24 +6,24 @@ [% FILTER collapse %] [% IF op == 'add_source' %] [% IF class_source %] - [% t("Modify classification source") | html %] + [% tx("Modify classification source '{description}'", { description = class_source.description }) | html %] [% ELSE %] - [% t("Add classification source") | html %] + [% t("New classification source") | html %] [% END %] › [% ELSIF op == 'add_sort_rule' %] [% IF sort_rule %] - [% t("Modify filing rule") | html %] + [% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %] [% ELSE %] - [% t("Add filing rule") | html %] + [% t("New filing rule") | html %] [% END %] › [% ELSIF op == 'add_split_rule' %] [% IF split_rule %] - [% t("Modify splitting rule") | html %] + [% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %] [% ELSE %] - [% t("Add splitting rule") | html %] + [% t("New splitting rule") | html %] [% END %] › [% END %] - [% t("Classification sources") | html %] › + [% t("Classification configuration") | html %] › [% t("Administration") | html %] › [% t("Koha") | html %] [% END %] @@ -62,27 +62,27 @@ [% IF op == 'add_source' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF class_source %] - Modify classification source + [% tx("Modify classification source '{description}'", { description = class_source.description }) | html %] [% ELSE %] - Add classification source + New classification source [% END %] [% END %] [% ELSIF op == 'add_sort_rule' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF sort_rule %] - Modify filing rule + [% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %] [% ELSE %] - Add filing rule + New filing rule [% END %] [% END %] [% ELSIF op == 'add_split_rule' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF split_rule %] - Modify splitting rule + [% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %] [% ELSE %] - Add splitting rule + New splitting rule [% END %] [% END %] @@ -143,9 +143,9 @@ [% IF op == 'add_source' %] [% IF class_source %] -

Modify classification source

+

[% tx("Modify classification source '{description}'", { description = class_source.description }) | html %]

[% ELSE %] -

Add classification source

+

New classification source

[% END %]
@@ -207,9 +207,9 @@ [% IF op == 'add_sort_rule' %] [% IF sort_rule %] -

Modify filing rule

+

[% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %]

[% ELSE %] -

Add filing rule

+

New filing rule

[% END %] @@ -253,9 +253,9 @@ [% IF op == 'add_split_rule' %] [% IF split_rule %] -

Modify splitting rule

+

[% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %]

[% ELSE %] -

Add splitting rule

+

New splitting rule

[% END %] -- 2.30.2