Permalink
Browse files

HTTP 403, 404 and 500 error templates

  • Loading branch information...
joneskoo committed Mar 4, 2011
1 parent 15bd527 commit 4268c02ef57bc981d8e1714ef2174cba232c337a
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-03-05 00:59+0200\n"
+"POT-Creation-Date: 2011-03-05 01:53+0200\n"
"PO-Revision-Date: 2009-12-21 09:24+0200\n"
"Last-Translator: Joonas Kuorilehto <joneskoo@kapsi.fi>\n"
"MIME-Version: 1.0\n"
@@ -22,6 +22,32 @@ msgstr "Django ja jazztupakka"
msgid "Under maintenance"
msgstr "Tilapäisesti poissa käytöstä"
+#: templates/403.html:6
+msgid "403 Not authorized"
+msgstr "403 Ei sallittu"
+
+#: templates/403.html:8
+msgid "You have no right to access this content."
+msgstr "Sinulla ei ole oikeutta päästä tänne."
+
+#: templates/404.html:6
+msgid "404. Not found."
+msgstr "404. Ei löytynyt."
+
+#: templates/404.html:8
+msgid "We could not find what you requested. Why? Because it's not there."
+msgstr "Saako olla valkosipulia? Ei ole. Hnmm."
+
+#: templates/500.html:6
+msgid "Internal server error"
+msgstr "Sisäinen palvelinvirhe"
+
+#: templates/500.html:8
+msgid ""
+"Something went seriously wrong. Technical support monkeys are being "
+"dispatched."
+msgstr "Jokin meni mönkään. Tukipalvelun apinat ryntäävät tutkimaan."
+
#: templates/frontpage.html:5
msgid "Presenting the new jazzy Sikteeri"
msgstr "Tässäpä kauan odotettu jazzaava Sikteeri"
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block content %}
+<div class="notfound404">
+<h1>{% trans "403 Not authorized" %}</h1>
+
+<p>{% trans "You have no right to access this content." %}</p>
+</div>
+
+{% endblock %}
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block content %}
+<div class="notfound404">
+<h1>{% trans "404. Not found." %}</h1>
+
+<p>{% trans "We could not find what you requested. Why? Because it's not there." %}</p>
+</div>
+
+{% endblock %}
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block content %}
+<div class="servererror500">
+<h1>{% trans "Internal server error" %}</h1>
+
+<p>{% trans "Something went seriously wrong. Technical support monkeys are being dispatched." %}</p>
+</div>
+
+{% endblock %}

0 comments on commit 4268c02

Please sign in to comment.