From 7c2b61af556027f637663e62b40e8078bab07067 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Tue, 7 Feb 2023 12:21:45 -0500 Subject: [PATCH] Bug 32901: Replace use of the slang term "bib" with the term "record" The "Item processing" pulldown on manage-marc-import.pl uses the slang term "bib" while the rest of the form uses the correct term "record". This field should be updated with the correct terminology. Test Plan: 1) Find or stage a marc record batch 2) Note the "Item processing" pulldown uses the term "bib" 3) Apply this patch 4) Reload that page 5) Note the "Item proccessing" pulldown now uses the term "record" --- .../data/mysql/atomicupdate/bug_32902.pl | 24 +++++++++++++++++++ .../prog/en/includes/tools-item-action.inc | 6 ++--- .../en/modules/tools/manage-marc-import.tt | 4 ++-- 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100755 installer/data/mysql/atomicupdate/bug_32902.pl diff --git a/installer/data/mysql/atomicupdate/bug_32902.pl b/installer/data/mysql/atomicupdate/bug_32902.pl new file mode 100755 index 0000000000..c253039c5c --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_32902.pl @@ -0,0 +1,24 @@ +use Modern::Perl; + +return { + bug_number => "BUG_NUMBER", + description => "A single line description", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + # Do you stuffs here + $dbh->do(q{}); + # Print useful stuff here + # tables + say $out "Added new table 'XXX'"; + say $out "Added column 'XXX.YYY'"; + # sysprefs + say $out "Added new system preference 'XXX'"; + say $out "Updated system preference 'XXX'"; + say $out "Removed system preference 'XXX'"; + # permissions + say $out "Added new permission 'XXX'"; + # letters + say $out "Added new letter 'XXX' (TRANSPORT)"; + }, +}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc index e58f05f551..88ba6adf07 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc @@ -14,19 +14,19 @@ [% ELSE %] + Add items only if matching record was found [% IF ( item_action_add_only_for_new ) %] + Add items only if no matching record was found [% IF ( item_action_replace ) %] + Replace items if matching record was found (only for existing items) [% IF ( item_action_ignore ) %]