Bugzilla – Attachment 46571 Details for
Bug 15394
Confirm messages on OPAC lists interface strangely worded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15394 - Tidy up error messages in OPAC lists
Bug-15394---Tidy-up-error-messages-in-OPAC-lists.patch (text/plain), 4.36 KB, created by
Jonathan Druart
on 2016-01-13 10:08:55 UTC
(
hide
)
Description:
Bug 15394 - Tidy up error messages in OPAC lists
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-13 10:08:55 UTC
Size:
4.36 KB
patch
obsolete
>From aec3cab9bce80322f22f81afb52dee53884f6906 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >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 <aleishaamohia@hotmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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' %] >- <span>An error occurred when updating this list. Perhaps the value already exists.</span> >+ <span>An error occurred when updating this list.</span> > [% CASE 'error_on_insert' %] >- <span>An error occurred when inserting this list. Perhaps the name already exists.</span> >+ <span>An error occurred when creating this list.</span> > [% CASE 'error_on_delete' %] >- <span>An error occurred when deleting this list. Check the logs.</span> >+ <span>An error occurred when deleting this list.</span> > [% CASE 'error_on_add_biblio' %] >- <span>The item has not been added to the list. Please check it's not in this list yet.</span> >+ <span>The item has not been added to the list. Please check it's not already in the list.</span> > [% CASE 'error_on_remove_share' %] > <span>The share has not been removed.</span> > [% CASE 'success_on_update' %] >- <span>List updated with success.</span> >+ <span>List updated.</span> > [% CASE 'success_on_insert' %] >- <span>List inserted with success.</span> >+ <span>List created.</span> > [% CASE 'success_on_delete' %] >- <span>List deleted with success.</span> >+ <span>List deleted.</span> > [% CASE 'success_on_add_biblio' %] > <span>The item has been added to the list.</span> > [% CASE 'success_on_remove_biblios' %] >@@ -133,17 +133,17 @@ > [% CASE 'unauthorized_on_view' %] > <span>You do not have permission to view this list.</span> > [% CASE 'unauthorized_on_insert' %] >- <span>You do not have permission to insert a new list.</span> >+ <span>You do not have permission to create a new list.</span> > [% CASE 'unauthorized_on_update' %] > <span>You do not have permission to update this list.</span> > [% CASE 'unauthorized_on_delete' %] > <span>You do not have permission to delete this list.</span> > [% CASE 'unauthorized_on_add_biblio' %] >- <span>You do not have permission to add a biblio to this list.</span> >+ <span>You do not have permission to add a record to this list.</span> > [% CASE 'no_biblio_removed' %] >- <span>No biblio has been removed.</span> >+ <span>No record was removed.</span> > [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] >- <span>An error occurred when inserting this list. The name [% shelfname %] already exists.</span> >+ <span>An error occurred when creating the list. The name [% shelfname %] already exists.</span> > [% CASE 'DBIx::Class::Exception' %] > [% m.msg %] > [% CASE %] >-- >2.1.0
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 15394
:
45786
|
45875
| 46571