From f6c1b30d6f23b87bc082c55fb7fb3ecb6dd3da78 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 13 Jan 2016 23:44:58 +0000 Subject: [PATCH] Bug 15403: Tidy up error messages in Staff lists To test: 1) Create a list on the intranet, observe the message 2) Create another list with the same name, observe the message 3) Delete a list, observe the message 4) Check the patch itself for typos Signed-off-by: Owen Leonard Signed-off-by: Kyle M Hall Signed-off-by: Brendan A Gallagher --- .../prog/en/modules/virtualshelves/shelves.tt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 f2410a18f3..04c4412f9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -324,19 +324,19 @@ function placeHold () {
[% SWITCH m.code %] [% CASE 'error_on_update' %] - An error occurred when updating this list. Perhaps the value already exists. + An error occurred when updating this list. [% CASE 'error_on_insert' %] - An error occurred when inserting this list. Perhaps the name already exists. + An error occurred when creating this list./span> [% CASE 'error_on_delete' %] - An error occurred when deleting this list. Check the logs. + An error occurred when deleting this list. [% CASE 'error_on_add_biblio' %] - The item has not been added to the list. Please check it's not in this list yet. + The item has not been added to the list. Please check it's not already in the list. [% CASE 'success_on_update' %] - List updated with success. + List updated. [% CASE 'success_on_insert' %] - List inserted with success. + List created. [% CASE 'success_on_delete' %] - List deleted with success. + List deleted. [% CASE 'success_on_add_biblio' %] The item has been added to the list. [% CASE 'success_on_remove_biblios' %] @@ -352,11 +352,11 @@ function placeHold () { [% CASE 'unauthorized_on_delete' %] You do not have permission to delete this list. [% CASE 'unauthorized_on_add_biblio' %] - You do not have permission to add a biblio to this list. + You do not have permission to add a record to this list. [% CASE 'no_biblio_removed' %] - No biblio has been removed. + No record was removed. [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] - An error occurred when inserting this list. The name [% shelfname %] already exists. + An error occurred when creating this list. The name [% shelfname %] already exists. [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %] List could not be created. (Do not use the database administrator account.) [% CASE 'DBIx::Class::Exception' %] -- 2.39.5