Marking the 404 page for translation
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 20 Aug 2011 21:34:18 +0000 (16:34 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 20 Aug 2011 21:34:18 +0000 (16:34 -0500)
mediagoblin/templates/mediagoblin/404.html

index 7a86a3862ea439abf436ef467b6b184ed0461baf..5af46a87225e35d4b9465a01026f8b1ceed387bf 100644 (file)
 
 {% block mediagoblin_content %}
   <h1>{% trans %}Oops!{% endtrans %}</h1>
-<div class="grid_8 alpha">
-  <p>There doesn't seem to be a page at this address. Sorry!</p>
-  <p>If you're sure the address is correct, maybe the page you're looking for has been moved or deleted.</p>
-</div>
-<div class="grid_8 omega">
-  <img src="{{ request.staticdirect('/images/404.png') }}" />
-</div>
+
+  <div class="grid_8 alpha">
+    <p>{% trans %}There doesn't seem to be a page at this address. Sorry!{% endtrans %}</p>
+    <p>
+      {%- trans %}If you're sure the address is correct, maybe the page you're looking for has been moved or deleted.{% endtrans -%}
+    </p>
+  </div>
+
+  <div class="grid_8 omega">
+    <img src="{{ request.staticdirect('/images/404.png') }}"
+         alt="{% trans %}Image of 404 goblin stressing out{% endtrans %}" />
+  </div>
 {% endblock %}