From c11920ac088afaf06f62befbc7345e872af29d5e Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 24 Sep 2013 13:22:10 -0400 Subject: [PATCH] internationalization: 404 and 403 --- public/language/en/global.json | 6 +++++- public/templates/403.tpl | 4 ++-- public/templates/404.tpl | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/public/language/en/global.json b/public/language/en/global.json index 6acd249cc6..bb73c3f6d0 100644 --- a/public/language/en/global.json +++ b/public/language/en/global.json @@ -1,4 +1,8 @@ { "home": "Home", - "buttons.close": "Close" + "buttons.close": "Close", + "403.title": "Access Denied", + "403.message": "You seem to have stumbled upon a page that you do not have access to. Perhaps you should try logging in?", + "404.title": "Not Found", + "404.message": "You seem to have stumbled upon a page that does not exist. Return to the home page." } \ No newline at end of file diff --git a/public/templates/403.tpl b/public/templates/403.tpl index 62b460deb3..46478a224c 100644 --- a/public/templates/403.tpl +++ b/public/templates/403.tpl @@ -1,4 +1,4 @@
- Access Denied -

You seem to have stumbled upon a page that you do not have access to. Perhaps you should try logging in?

+ [[global:403.title]] +

[[global:403.message]]

\ No newline at end of file diff --git a/public/templates/404.tpl b/public/templates/404.tpl index 1825280f6f..95cd1b9383 100644 --- a/public/templates/404.tpl +++ b/public/templates/404.tpl @@ -1,4 +1,4 @@
- Not found -

You seem to have stumbled upon a page that does not exist. Return to the home page

+ [[global:404.title]] +

[[global:404.message]]

\ No newline at end of file