Browse files

Do not translate empty strings, this does not work.

Honestly, gettext returns translation metadata when passed an empty string.
  • Loading branch information...
Cito committed Sep 25, 2012
1 parent 6a88d04 commit e4f29829d6362902b297bc841e753d1bd3c4c055
Showing with 1 addition and 1 deletion.
  1. +1 −1 tw2/core/
@@ -181,7 +181,7 @@ class Validator(object):
'required': _('Enter a value'),
'decode': _('Received in wrong character set; should be $encoding'),
'corrupt': _('Form submission received corrupted; please try again'),
'childerror': _(''), # Children of this widget have errors
'childerror': '', # Children of this widget have errors
required = False
strip = True

0 comments on commit e4f2982

Please sign in to comment.