all teh german error messages
This commit is contained in:
parent
723a767589
commit
bc101ef4ec
3 changed files with 7 additions and 2 deletions
1
TODO.md
1
TODO.md
|
@ -1 +0,0 @@
|
|||
* wtforms locale
|
|
@ -17,12 +17,16 @@ from config import Config
|
|||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object(Config)
|
||||
app.config['WTF_I18N_ENABLED'] = False # enables WTForms built-in translations
|
||||
Bootstrap(app)
|
||||
|
||||
attachment_filenames = {}
|
||||
|
||||
|
||||
class DownloadForm(FlaskForm):
|
||||
class Meta:
|
||||
locales = ['de_DE', 'de']
|
||||
|
||||
start_time = DateTimeField('Startzeit',
|
||||
validators=[InputRequired()],
|
||||
format='%d.%m.%Y %H:%M')
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
flask
|
||||
flask-bootstrap
|
||||
flask-wtf
|
||||
python-dotenv
|
||||
|
||||
# flask-wtf 0.14.2 is broken (enabling WTForms built-in translations does not work):
|
||||
git+https://github.com/lepture/flask-wtf.git@534e1734b86c2f0907af131c11b981e6146ca57c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue