Marking some things on the frontpage for translation.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 11 Sep 2011 21:13:27 +0000 (16:13 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 11 Sep 2011 21:13:27 +0000 (16:13 -0500)
mediagoblin/templates/mediagoblin/root.html

index ed4878a5dafe95f8345891fc735e70f44b7c3d15..854fca5149b1a147844a72669b281affa568bf3e 100644 (file)
@@ -21,7 +21,7 @@
 
 {% block mediagoblin_content %}
   {% if request.user %}
-    <h1>Explore</h1>
+    <h1>{% trans %}Explore{% endtrans %}</h1>
   {% else %}
    <div class="grid_11 alpha">
       <h1>{% trans %}Hi there, media lover! MediaGoblin is...{% endtrans %}</h1>
       </ul>
 
       {% if allow_registration %}
-        <p>Excited to join us?<p>
-        <a class="header_submit_highlight" href="{{ request.urlgen('mediagoblin.auth.register') }}">Create a free account</a> or
-        <a class="header_submit" href="http://wiki.mediagoblin.org/HackingHowto">Set up MediaGoblin on your own server</a>
+        <p>{% trans %}Excited to join us?{% endtrans %}<p>
+        {% trans register_url=request.urlgen('mediagoblin.auth.register') %}
+          <a class="header_submit_highlight" href="{{ register_url }}">Create a free account</a>
+          or
+          <a class="header_submit" href="http://wiki.mediagoblin.org/HackingHowto">Set up MediaGoblin on your own server</a>
+        {% endtrans %}
       {% endif %}
     </div>
 
@@ -47,6 +50,6 @@
 
     <div class="clear"></div>
   {% endif %}
-  <h2>Most recent media</h2>
+  <h2>{% trans %}Most recent media{% endtrans %}</h2>
   {{ object_gallery(request, media_entries, pagination) }}
 {% endblock %}