From aec3cab9bce80322f22f81afb52dee53884f6906 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 18 Dec 2015 11:01:47 +1300 Subject: [PATCH] Bug 15394 - Tidy up error messages in OPAC lists To test: Create a list in the OPAC, observe the message Create another list in the OPAC with the same name, observe the message Delete a list, observe the message Check the patch itself, look for typos. Signed-off-by: Aleisha Signed-off-by: Jonathan Druart --- .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index a92a5cb..7fd410b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -105,21 +105,21 @@ [% END %] [% 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. [% 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 'error_on_remove_share' %] The share has not been removed. [% 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' %] @@ -133,17 +133,17 @@ [% CASE 'unauthorized_on_view' %] You do not have permission to view this list. [% CASE 'unauthorized_on_insert' %] - You do not have permission to insert a new list. + You do not have permission to create a new list. [% CASE 'unauthorized_on_update' %] You do not have permission to update this list. [% 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 the list. The name [% shelfname %] already exists. [% CASE 'DBIx::Class::Exception' %] [% m.msg %] [% CASE %] -- 2.1.0