From 9a1697418fc13106da17acf2f574adecbbd94ffc Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 29 Mar 2019 16:31:14 +0000 Subject: [PATCH] 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 --- koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc | 12 ++++++------ koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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 c73470694b..68eb5543c1 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 5490ea64f6..cc14610adb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -939,7 +939,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 %] -- 2.11.0