Bugzilla – Attachment 41103 Details for
Bug 14573
Correcting messages on OPAC error pages so they make more sense
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14573: Correcting error messages on OPAC so they make better sense
Bug-14573-Correcting-error-messages-on-OPAC-so-the.patch (text/plain), 7.83 KB, created by
Aleisha Amohia
on 2015-07-21 02:47:43 UTC
(
hide
)
Description:
Bug 14573: Correcting error messages on OPAC so they make better sense
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-07-21 02:47:43 UTC
Size:
7.83 KB
patch
obsolete
>From 9f2a95328ad4f6f598eab0af23935ccf6b780074 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 20 Jul 2015 23:51:51 +0000 >Subject: [PATCH] Bug 14573: Correcting error messages on OPAC so they make > better sense > >To test: >1) Go to cgi-bin/koha/errors/errornumber.pl to see the error messages which currently don't make sense (ie cgi-bin/koha/errors/400.pl etc) >2) Apply patch >3) Go to cgi-bin/koha/errors/400.pl --> Check that it now says "This error means that the link was broken and that the page doesn't exist." >4) Go to cgi-bin/koha/errors/401.pl --> Check that it now says "This error means that you are not authorized to view this page." and "Please log in to the catalog and try again.". Check that 'log in' redirects to the OPAC log in page (opac-user.pl). >5) Go to cgi-bin/koha/errors/402.pl --> Check that it now says "This error means that the link is invalid." >6) Go to cgi-bin/koha/errors/403.pl --> Check that it now says "This error means that you are forbidden to view this page." >7) Go to cgi-bin/koha/errors/404.pl --> Check that it now says "This message may have been caused by any of the following reasons:" and "An internal link in our catalog is broken and the page does not exist". >8) Go to cgi-bin/koha/errors/500.pl --> Check that it now says "An error occurred while processing your request." >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt | 2 +- > 6 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >index 3e123f9..a61b294 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt >@@ -27,7 +27,7 @@ > <h3>An error has occurred</h3> > <h4>Error 400</h4> > <ul> >- <li>This error means that the Koha is pointed an invalid link.</li> >+ <li>This error means that the link was broken and that the page doesn't exist.</li> > <li>To report this error, you can > <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> > <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >index caee39f..9e27b9c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt >@@ -27,8 +27,8 @@ > <h3>An error has occurred</h3> > <h4>Error 401</h4> > <ul> >- <li>This error means that the you are trying to access a link that you're not authorized to see.</li> >- <li>Try logging in to the catalog</li> >+ <li>This error means that you are not authorized to view this page.</li> >+ <li>Please <a href="/cgi-bin/koha/opac-user.pl">log in</a> to the catalog and try again.</li> > <li>To report this error, you can > <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> > <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >index 73c8558..b1a53df 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt >@@ -27,7 +27,7 @@ > <h3>An error has occurred</h3> > <h4>Error 402</h4> > <ul> >- <li>This error means that the Koha is pointed an invalid link.</li> >+ <li>This error means that the link is invalid.</li> > <li>To report this error, you can > <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> > <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >index 68d2459..4ab8354 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt >@@ -27,7 +27,7 @@ > <h3>An error has occurred</h3> > <h4>Error 403</h4> > <ul> >- <li>This error means that you are forbidden for some reason to see this page.</li> >+ <li>This error means that you are forbidden to view this page.</li> > <li>To report this error, you can > <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> > <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >@@ -40,4 +40,4 @@ > > [% INCLUDE 'opac-bottom.inc' %] > [% BLOCK jsinclude %] >-[% END %] >\ No newline at end of file >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt >index eb176f8..dfe3ec7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt >@@ -26,12 +26,12 @@ > <div id="errormsg404"> > <h3>Sorry, the requested page is not available</h3> > <p><em>Error 404</em></p> >- <h3>This message can have following reasons</h3> >+ <h3>This message may have been caused by any of the following reasons:</h3> > <ul> > <li>You made use of an external link to a catalog item that is no longer available</li> > <li>You followed an outdated link e.g. from a search engine or a bookmark</li> > <li>You tried to access a page that needs authentification</li> >- <li>An internal link in our catalog home page is broken and the page does not exist</li> >+ <li>An internal link in our catalog is broken and the page does not exist</li> > </ul> > <h3>What's next?</h3> > <ul> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt >index 38a4d45..42a77fa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt >@@ -27,7 +27,7 @@ > <h3>An error has occurred</h3> > <h4>Error 500</h4> > <ul> >- <li>An error occurred while try to process your request.</li> >+ <li>An error occurred while processing your request.</li> > <li>To report this error, you can > <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li> > <li>Return to the <a href="/cgi-bin/koha/opac-main.pl">catalog home page</a>.</li> >-- >1.7.10.4
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 14573
: 41103