Make "Username's privileges" translatable
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 3 Dec 2013 19:22:47 +0000 (13:22 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 3 Dec 2013 19:22:47 +0000 (13:22 -0600)
This commit sponsored by Aaron Borden.  Thank you!

mediagoblin/templates/mediagoblin/moderation/user.html

index f45906fb64a13cb303868234123a26183ecc0eb4..54d6473ffe59947942b8de47964ddbcbcacc7dfc 100644 (file)
         {%- endtrans %}</a>
     </span>
     <span class=clear></span>
-    <h2>{{ user.username }}'s Privileges</h2>
+    <h2>{% trans %}{{ user.username }}'s Privileges{% endtrans %}</h2>
       <form method=POST action="{{ request.urlgen(
         'mediagoblin.moderation.ban_or_unban',
         user=user.username) }}" class="right_align">
         {% elif request.user.has_privilege('admin') and
             not user.id == request.user.id %}
           <input type=submit class="button_action right_align"
-               value="{% trans %}UnBan User{% endtrans %}" />
+                 value="{% trans %}UnBan User{% endtrans %}" />
         {% endif %}
       </form>
     <form action="{{ request.urlgen('mediagoblin.moderation.give_or_take_away_privilege',