Bugzilla – Attachment 146350 Details for
Bug 32901
Replace use of the slang term "bib" with the term "record"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32901: Replace use of the slang term "bib" with the term "record"
Bug-32901-Replace-use-of-the-slang-term-bib-with-t.patch (text/plain), 4.65 KB, created by
Kyle M Hall
on 2023-02-07 18:00:11 UTC
(
hide
)
Description:
Bug 32901: Replace use of the slang term "bib" with the term "record"
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2023-02-07 18:00:11 UTC
Size:
4.65 KB
patch
obsolete
>From 7c2b61af556027f637663e62b40e8078bab07067 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >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 %] > <option value="add_only_for_matches"> > [% END %] >- Add items only if matching bib was found</option> >+ Add items only if matching record was found</option> > [% IF ( item_action_add_only_for_new ) %] > <option value="add_only_for_new" selected="selected"> > [% ELSE %] > <option value="add_only_for_new"> > [% END %] >- Add items only if no matching bib was found</option> >+ Add items only if no matching record was found</option> > [% IF ( item_action_replace ) %] > <option value="replace" selected="selected"> > [% ELSE %] > <option value="replace"> > [% END %] >- Replace items if matching bib was found (only for existing items)</option> >+ Replace items if matching record was found (only for existing items)</option> > [% IF ( item_action_ignore ) %] > <option value="ignore" selected="selected"> > [% ELSE %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index 2c7680ad6e..f66f87a641 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -238,9 +238,9 @@ > [% IF ( item_action == 'always_add' ) %] > <span>Always add items</span> > [% ELSIF ( item_action == 'add_only_for_matches' ) %] >- <span>Add items only if matching bib was found</span> >+ <span>Add items only if matching record was found</span> > [% ELSIF ( item_action == 'add_only_for_new' ) %] >- <span>Add items only if no matching bib was found</span> >+ <span>Add items only if no matching record was found</span> > [% ELSIF ( item_action == 'ignore' ) %] > <span>Ignore items</span> > [% ELSE %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32901
:
146347
|
146350
|
146351
|
146361