Mon, 23 Nov 2020 18:11:28 +0100
Moved the pybabel config action and menu into a 'Translations' menu of the flask-babel extension.
# -*- coding: utf-8 -*- # Copyright (c) 2020 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module to check for the presence of 'flask-babel' by importing it. """ import sys if __name__ == "__main__": try: import flask_babel # __IGNORE_EXCEPTION__ __IGNORE_WARNING__ ret = 0 except ImportError: ret = 1 sys.exit(ret)