From: Christopher Allan Webber Date: Wed, 18 Apr 2012 13:48:17 +0000 (-0500) Subject: Make image-for-media_title alt tag translatable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4a5b97babbe7cdc3f0db1052e2597090f0f9495a;p=mediagoblin.git Make image-for-media_title alt tag translatable --- diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index eadf712e..4d41f19e 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -64,12 +64,14 @@ media.media_files['original']) }}"> Image for {{ media.title }} + alt="{% trans media_title=media.title -%} + Image for {{ media_title }}{% endtrans %}" /> {% else %} Image for {{ media.title }} + alt="{% trans media_title=media.title -%} + Image for {{ media_title }}{% endtrans %}" /> {% endif %} {% endblock %}