From 4a5b97babbe7cdc3f0db1052e2597090f0f9495a Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 18 Apr 2012 08:48:17 -0500 Subject: [PATCH] Make image-for-media_title alt tag translatable --- mediagoblin/templates/mediagoblin/user_pages/media.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 %} -- 2.25.1