mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
unicode: Fixed #4479 -- Changed an errant gettext() call to ugettext().
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b792044d34
commit
b43ecd823c
@ -437,7 +437,7 @@ def isValidFloat(field_data, all_data):
|
|||||||
try:
|
try:
|
||||||
float(data)
|
float(data)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise ValidationError, gettext("Please enter a valid floating point number.")
|
raise ValidationError, ugettext("Please enter a valid floating point number.")
|
||||||
|
|
||||||
class HasAllowableSize(object):
|
class HasAllowableSize(object):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user