diff --git a/admin/reference_settings.yml b/admin/reference_settings.yml index 9e09baf..202fffb 100644 --- a/admin/reference_settings.yml +++ b/admin/reference_settings.yml @@ -188,9 +188,9 @@ engines: # shortcut : fa # api_key : 'apikey' # required! - - name : 500px - engine : www500px - shortcut : px +# - name : 500px +# engine : www500px +# shortcut : px - name : 1x engine : www1x @@ -505,13 +505,13 @@ engines: shortcut : se categories : science - - name : spotify - engine : spotify - shortcut : stf +# - name : spotify +# engine : spotify +# shortcut : stf - - name : subtitleseeker - engine : subtitleseeker - shortcut : ss +# - name : subtitleseeker +# engine : subtitleseeker +# shortcut : ss # The language is an option. You can put any language written in english # Examples : English, French, German, Hungarian, Chinese... # language : English @@ -530,10 +530,10 @@ engines: timeout : 6.0 disabled : True - - name : swisscows - engine : swisscows - shortcut : sw - disabled : True +# - name : swisscows +# engine : swisscows +# shortcut : sw +# disabled : True - name : tokyotoshokan engine : tokyotoshokan diff --git a/admin/webapp.py b/admin/webapp.py index 5d28a76..441205a 100644 --- a/admin/webapp.py +++ b/admin/webapp.py @@ -13,6 +13,8 @@ app = Flask(__name__) app.secret_key = configuration['app']['secretkey'] +from flask_babel import Babel +Babel(app) app.config['SECURITY_PASSWORD_SALT'] = configuration['app']['secretkey'] app.config['SECURITY_REGISTERABLE'] = True