summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kosten/app/forms.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/kosten/app/forms.py b/kosten/app/forms.py
index b7cbebf..9bab284 100644
--- a/kosten/app/forms.py
+++ b/kosten/app/forms.py
@@ -33,7 +33,7 @@ req = [validators.input_required()]
class Form(FlaskForm):
class Meta:
- locales = ['de_DE', 'de']
+ locales = False
def __init__ (self, *args, **kwargs):
self._msg = kwargs.pop('flash', "Fehler im Formular!")
@@ -51,9 +51,3 @@ class Form(FlaskForm):
def validate_on_submit (self):
return self.is_submitted() and self.flash_validate()
-
- def _get_translations(self):
- # use WTForms builtin translation support instead of the flask-babael
- # stuff added by flask-wtf
- # FIXME: remove this, if flask-babel is used in the app
- return WTForm._get_translations(self)