Converting all forms to use the "fake/null" gettext conversion function

Gettext doesn't actually get run right in the form but we do need to
wrap the strings in _() so stuff extracts :)
This commit is contained in:
Christopher Allan Webber
2011-08-10 12:07:59 -05:00
parent c22d624af3
commit 7960ac985f
4 changed files with 9 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
import wtforms
from mediagoblin.util import tag_length_validator
from mediagoblin.util import pass_to_ugettext as _
from mediagoblin.util import fake_ugettext_passthrough as _
class SubmitStartForm(wtforms.Form):