From 9fdec102135fee452fd6348c0660ca71da51c10b Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 20 Apr 2026 12:20:50 +0000 Subject: [PATCH] Bug 42103: Capitalize MARC acronym in templates and DataInconsistency This fixes the spelling of "marc" in two places: - an error message from running the database audit - the description for the marc_modification_templates permission Test plan: 1. The easiest way to test this change is to check the diff for the patch and note that "marc" is changed to "MARC" in two places. 2. Database audit output (More > About Koha > Database audit): - Check the diff (otherwise would need to alter the database structure somehow so that the audit would generate the error message). 3. Check the description for the marc_modification_templates permission: - Go to any patron record - Select More > Set permissions - In the filter, enter: marc modification - Note that the description is: Manage marc modification templates (marc_modification_templates) 4. Apply the patch. 5. Repeat step 3 and note that the description is now: Manage MARC modification templates (marc_modification_templates) Signed-off-by: Owen Leonard Signed-off-by: David Nind Signed-off-by: Lucas Gass (cherry picked from commit 39c1917b21b20f70d5d4a3995226d6933caa850a) Signed-off-by: Jacob O'Mara --- Koha/Database/DataInconsistency.pm | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Database/DataInconsistency.pm b/Koha/Database/DataInconsistency.pm index f669dcbe8f..95bea31a37 100644 --- a/Koha/Database/DataInconsistency.pm +++ b/Koha/Database/DataInconsistency.pm @@ -259,7 +259,7 @@ sub errors_in_marc { for my $biblionumber (@item_fields_in_marc) { push @{ $errors->{item_fields_in_marc} }, __x( - q{Biblionumber {biblionumber} has item fields ({item_tag}) in the marc record}, + q{Biblionumber {biblionumber} has item fields ({item_tag}) in the MARC record}, biblionumber => $biblionumber->{biblionumber}, item_tag => $item_tag, ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index c503dcc54f..7cb0868340 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -440,7 +440,7 @@ Manage staged MARC records, including completing and reversing imports ([% name | html %]) [%- CASE 'marc_modification_templates' -%] - Manage marc modification templates + Manage MARC modification templates ([% name | html %]) [%- CASE 'moderate_comments' -%] Moderate patron comments