diff --git a/middleware/error.go b/middleware/error.go
index 7f854141..ebfe2288 100644
--- a/middleware/error.go
+++ b/middleware/error.go
@@ -185,7 +185,7 @@ func NotFound(rw http.ResponseWriter, r *http.Request) {
t, _ := template.New("beegoerrortemp").Parse(errtpl)
data := make(map[string]interface{})
data["Title"] = "Page Not Found"
- data["Content"] = template.HTML("
The Page You have requested flown the coop." +
+ data["Content"] = template.HTML("
The page you have requested has flown the coop." +
"
Perhaps you are here because:" +
"
" +
"
The page has moved" +
@@ -203,11 +203,11 @@ func Unauthorized(rw http.ResponseWriter, r *http.Request) {
t, _ := template.New("beegoerrortemp").Parse(errtpl)
data := make(map[string]interface{})
data["Title"] = "Unauthorized"
- data["Content"] = template.HTML("
The Page You have requested can't authorized." +
+ data["Content"] = template.HTML("
The page you have requested can't be authorized." +
"
Perhaps you are here because:" +
"
" +
- "
Check the credentials that you supplied" +
- "
Check the address for errors" +
+ "
The credentials you supplied are incorrect" +
+ "
There are errors in the website address" +
"
")
data["BeegoVersion"] = VERSION
//rw.WriteHeader(http.StatusUnauthorized)
@@ -219,7 +219,7 @@ func Forbidden(rw http.ResponseWriter, r *http.Request) {
t, _ := template.New("beegoerrortemp").Parse(errtpl)
data := make(map[string]interface{})
data["Title"] = "Forbidden"
- data["Content"] = template.HTML("
The Page You have requested forbidden." +
+ data["Content"] = template.HTML("
The page you have requested is forbidden." +
"
Perhaps you are here because:" +
"
" +
"
Your address may be blocked" +
@@ -236,7 +236,7 @@ func ServiceUnavailable(rw http.ResponseWriter, r *http.Request) {
t, _ := template.New("beegoerrortemp").Parse(errtpl)
data := make(map[string]interface{})
data["Title"] = "Service Unavailable"
- data["Content"] = template.HTML("
The Page You have requested unavailable." +
+ data["Content"] = template.HTML("
The page you have requested is unavailable." +
"
Perhaps you are here because:" +
"
" +
"
The page is overloaded" +
@@ -252,11 +252,10 @@ func InternalServerError(rw http.ResponseWriter, r *http.Request) {
t, _ := template.New("beegoerrortemp").Parse(errtpl)
data := make(map[string]interface{})
data["Title"] = "Internal Server Error"
- data["Content"] = template.HTML("
The Page You have requested has down now." +
+ data["Content"] = template.HTML("
The page you have requested is down right now." +
"
" +
- "
simply try again later" +
- "
you should report the fault to the website administrator" +
- "
")
+ "
Please try again later and report the error to the website administrator" +
+ "
")
data["BeegoVersion"] = VERSION
//rw.WriteHeader(http.StatusInternalServerError)
t.Execute(rw, data)