Make translatable the titles of TextAreas in moderation form
authorLaura Arjona Reina <larjona99@gmail.com>
Fri, 25 Jul 2014 22:30:08 +0000 (00:30 +0200)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 29 Jul 2014 16:00:37 +0000 (11:00 -0500)
mediagoblin/moderation/forms.py

index 72305b29d0062eeeeaf7041028b180f850a7a48d..e46cfd369beac525e6c1a0121e5c800ebd943f2b 100644 (file)
@@ -119,10 +119,13 @@ class ReportResolutionForm(wtforms.Form):
         format='%Y-%m-%d',
         validators=[wtforms.validators.optional()])
     why_user_was_banned = wtforms.TextAreaField(
+        _(u'Why user was banned:'),
         validators=[wtforms.validators.optional()])
     message_to_user = wtforms.TextAreaField(
+        _(u'Message to user:'),
         validators=[wtforms.validators.optional()])
-    resolution_content = wtforms.TextAreaField()
+    resolution_content = wtforms.TextAreaField(
+        _(u'Resolution content:'))
 
 # ======== Forms for mediagoblin.moderation.report_panel page ==============  #