Skip to content

Node.js based forum software built for the modern web

internationalization: 404 and 403

psychobunnyc11920ac088a
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 <a href='/login'>try logging in</a>?",
+ "404.title": "Not Found",
+ "404.message": "You seem to have stumbled upon a page that does not exist. Return to the <a href='/''>home page</a>."
}
\ 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 @@
<div class="alert alert-danger">
- <strong>Access Denied</strong>
- <p>You seem to have stumbled upon a page that you do not have access to. Perhaps you should <a href="/login">try logging in?</a></p>
+ <strong>[[global:403.title]]</strong>
+ <p>[[global:403.message]]</p>
</div>
\ 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 @@
<div class="alert alert-danger">
- <strong>Not found</strong>
- <p>You seem to have stumbled upon a page that does not exist. Return to the <a href="/">home page</a></p>
+ <strong>[[global:404.title]]</strong>
+ <p>[[global:404.message]]</p>
</div>
\ No newline at end of file