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 <oleonard@myacpl.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 39c1917b21)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Simon 2026-04-20 12:20:50 +00:00 committed by Jacob O'Mara
parent 6196fa4424
commit 9fdec10213
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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,
);

View File

@ -440,7 +440,7 @@
<span class="sub_permission manage_staged_marc_subpermission"> Manage staged MARC records, including completing and reversing imports </span>
<span class="permissioncode">([% name | html %])</span>
[%- CASE 'marc_modification_templates' -%]
<span class="sub_permission marc_modification_templates_subpermission"> Manage marc modification templates </span>
<span class="sub_permission marc_modification_templates_subpermission"> Manage MARC modification templates </span>
<span class="permissioncode">([% name | html %])</span>
[%- CASE 'moderate_comments' -%]
<span class="sub_permission moderate_comments_subpermission"> Moderate patron comments </span>