From: Liz Rea Date: Fri, 29 Mar 2019 16:31:14 +0000 (+0000) Subject: Bug 22616: Updating error text messages X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=81d3e415a9d87c7b6253a7ddb84efb6432715145 Bug 22616: Updating error text messages To test: Apply this patch Go to a borrower that doesn't exist, check that the error message is displayed and looks correct. (i.e. http://127.0.0.1:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=9999999999999999) Go to an item, subscription, biblio that don't exist, check that the error message is correct and the links work Go to a borrower that the logged in user doesn't have permission to see, check that the error message is correct and the links work. Signed-off-by: Bin Wen Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc index c734706..68eb554 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc @@ -1,16 +1,16 @@ [% IF blocking_error %] [% SWITCH blocking_error %] [% CASE 'unknown_patron' %] -
This patron does not exist. Find another patron?
- [% CASE 'cannot_see_patron_infos' %]You are not allowed to see the information of this patron. +
Patron not found. Return to search
+ [% CASE 'cannot_see_patron_infos' %]This account cannot view requested patron information. [% CASE 'unknown_biblio' %] -
This bibliographic record does not exist.
+
Bibliographic record not found.
[% CASE 'unknown_item' %] -
This item does not exist.
+
Item not found.
[% CASE 'unknown_subscription' %] -
This subscription does not exist.
+
Subscription not found.
[% CASE 'unknown_basket' %] -
This basket does not exist.
+
Basket not found.
[% CASE 'wrong_csrf_token' %]
The form submission failed (Wrong CSRF token). Try to come back, refresh the page, then try again.
[% CASE %][% blocking_error | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 056a8f9..309e51f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -940,7 +940,7 @@ No patron matched [% message | html %] [% END %] [% ELSIF borrowernumber %] -
This patron does not exist. Find another patron?
+
Patron not found. Return to search
[% END %] [% END %]