aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-09-11 16:13:27 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-09-11 16:13:27 -0500
commit3d95afeb36fa9c5354de825801c0f7ac79bbea14 (patch)
treef23e653a006a33a6529bef1f88b8509b90aeba34
parent55376ff403496a3271154627c45fe59dc2b44ca7 (diff)
downloadmediagoblin-3d95afeb36fa9c5354de825801c0f7ac79bbea14.tar.lz
mediagoblin-3d95afeb36fa9c5354de825801c0f7ac79bbea14.tar.xz
mediagoblin-3d95afeb36fa9c5354de825801c0f7ac79bbea14.zip
Marking some things on the frontpage for translation.
-rw-r--r--mediagoblin/templates/mediagoblin/root.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html
index ed4878a5..854fca51 100644
--- a/mediagoblin/templates/mediagoblin/root.html
+++ b/mediagoblin/templates/mediagoblin/root.html
@@ -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>
@@ -35,9 +35,12 @@
</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 %}