From: Elrond
Date: Tue, 6 Mar 2012 13:49:42 +0000 (+0100)
Subject: Translate less html.
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0dedf3f2cf46198c55dc3b82062cef7240516f49;p=mediagoblin.git
Translate less html.
Instead of translating TEXT
just mark TEXT for
translation. That way formatting changes can be done
without affecting the translations.
---
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 11daaac7..f4d7220e 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -42,12 +42,14 @@
{% endblock mediagoblin_head %}
{% block mediagoblin_content %}
- {% trans user_url=request.urlgen(
+
+ {%- trans user_url=request.urlgen(
'mediagoblin.user_pages.user_home',
user=media.get_uploader.username),
username=media.get_uploader.username -%}
-
â Browsing media by {{ username }}
- {%- endtrans %}
+ â Browsing media by {{username}}
+ {%- endtrans -%}
+
{% include "mediagoblin/utils/prev_next.html" %}