aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/forms.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-08-22 21:48:45 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-08-22 21:48:45 -0500
commit894fa564e718af7398f6f368eb3ac0dcb4d45e1f (patch)
tree9508a08f8d6598d1040cea44287c0e42af1a1ad6 /mediagoblin/user_pages/forms.py
parent3a8c3a38559f2f81d6155c2349fcddc5ecd6ef28 (diff)
parent132aa9d97a32abfe86bc5de3ea4e2fa62ddc3793 (diff)
downloadmediagoblin-894fa564e718af7398f6f368eb3ac0dcb4d45e1f.tar.lz
mediagoblin-894fa564e718af7398f6f368eb3ac0dcb4d45e1f.tar.xz
mediagoblin-894fa564e718af7398f6f368eb3ac0dcb4d45e1f.zip
Merge branch 'master' into jwandborg-f482_media_attachments
Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/forms.py mediagoblin/edit/views.py mediagoblin/submit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html
Diffstat (limited to 'mediagoblin/user_pages/forms.py')
-rw-r--r--mediagoblin/user_pages/forms.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py
index 8829b674..25001019 100644
--- a/mediagoblin/user_pages/forms.py
+++ b/mediagoblin/user_pages/forms.py
@@ -16,7 +16,10 @@
import wtforms
+from mediagoblin.util import fake_ugettext_passthrough as _
+
+
class MediaCommentForm(wtforms.Form):
- comment_content = wtforms.TextAreaField(
- 'Comment',
- [wtforms.validators.Required()])
+ comment_content = wtforms.TextAreaField(
+ _('Comment'),
+ [wtforms.validators.Required()])