diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-11-19 00:48:28 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-11-19 00:48:28 +0100 |
commit | 4e75df4a22da7e682224fd14914a9b711b794da5 (patch) | |
tree | 4a3a781d6cac4c2923dd199558b22772be5b7117 /archaeological_files/forms.py | |
parent | c0986961df4db737d41cb59fe00e2bab17abf548 (diff) | |
download | Ishtar-4e75df4a22da7e682224fd14914a9b711b794da5.tar.bz2 Ishtar-4e75df4a22da7e682224fd14914a9b711b794da5.zip |
Using zanata for translations
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r-- | archaeological_files/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index b701bac49..75a794fca 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -209,7 +209,7 @@ class FileFormGeneral(forms.Form): required=False) total_surface = forms.IntegerField( required=False, widget=widgets.AreaWidget, - label=_(u"Total surface (m²)"), + label=_(u"Total surface (m2)"), validators=[validators.MinValueValidator(0), validators.MaxValueValidator(999999999)]) address = forms.CharField(label=_(u"Main address"), widget=forms.Textarea) @@ -292,7 +292,7 @@ class FileFormPreventive(forms.Form): label=_(u"Permit reference"), required=False, validators=[validators.MaxLengthValidator(60)]) total_developed_surface = forms.IntegerField( - widget=widgets.AreaWidget, label=_(u"Total developed surface (m²)"), + widget=widgets.AreaWidget, label=_(u"Total developed surface (m2)"), required=False, validators=[validators.MinValueValidator(0), validators.MaxValueValidator(999999999)]) if settings.COUNTRY == 'fr': |