all teh german error messages
This commit is contained in:
parent
723a767589
commit
bc101ef4ec
3 changed files with 7 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue