From 23d98a4a8a4391256b1c84df86e6d7c4da9705d4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 9 Aug 2024 11:57:53 +0000 Subject: [PATCH] Bug 37177: "item" should be "record" in list page This patch rewords areas of the lists and cart templates so that the term "record" is preferred over "item" when referring to a bibliographic record. To test, apply the patch and go to Lists in the staff interface. - If necessary, create a new list. - From the list contents view, click "Add records" in the toolbar. - Submit some valid barcodes and biblionumbers - After adding biblionumbers you should see the message "The record ( [number] ) has been added to the list" - After adding barcodes you should see the message "The record for this item ( [barcode] ) has been added to the list" - Click "Add records" again - Submit some of the same barcodes and biblionumbers - You should see these messages: - "The record for this item ( [barcode] ) has not been added to the list. Please verify it is not already in the list." - "The record ( [number] ) has not been added to the list. Please verify it is not already in the list. - Check the checkbox for one or more titles on your list and click "Remove selected" - You should see the message, "The record has been removed from the list." - Perform a catalog search and from the results screen, select one or more results and add them to the cart. - Open the Cart and confirm that the controls at the top of the table of titles reads "Selected records: ..." Sponsored-by: Athens County Public Libraries Signed-off-by: Lucas Gass Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- .../en/includes/virtualshelves-toolbar.inc | 2 +- .../prog/en/modules/basket/basket.tt | 2 +- .../prog/en/modules/virtualshelves/shelves.tt | 10 +++---- koha-tmpl/intranet-tmpl/prog/js/basket.js | 28 +++++++++---------- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc index e689cd7ef7..a63a914d6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc @@ -4,7 +4,7 @@ [% IF ( can_add_biblios ) %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index 6aa886255e..5800e61c47 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -7,7 +7,7 @@ [% BLOCK controls %]

Select all Clear all - | Selected items: + | Selected records: Remove [% IF ( loggedinusername ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index f1af5a8a24..e2ed796df6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -151,7 +151,7 @@ An error occurred when deleting this list. [% CASE 'error_on_add_biblio' %] [% IF m.item_barcode %] - The item ([% m.item_barcode | html %]) has not been added to the list. Please verify it is not already in the list. + The record for this item ([% m.item_barcode | html %]) has not been added to the list. Please verify it is not already in the list. [% ELSE %] The record ([% m.bibnum | html %]) has not been added to the list. Please verify it is not already in the list. [% END %] @@ -163,12 +163,12 @@ List deleted. [% CASE 'success_on_add_biblio' %] [% IF m.item_barcode %] - The item ([% m.item_barcode | html %]) has been added to the list. + The record for this item ([% m.item_barcode | html %]) has been added to the list. [% ELSE %] The record ([% m.bibnum | html %]) has been added to the list. [% END %] [% CASE 'success_on_remove_biblios' %] - The item has been removed from the list. + The record has been removed from the list. [% CASE 'does_not_exist' %] This list does not exist. [% CASE 'item_does_not_exist' %] @@ -571,7 +571,7 @@ [% INCLUDE 'csrf-token.inc' %]