add japanese ui settings #1

This commit is contained in:
karasugawasu 2024-06-25 11:24:53 +09:00
parent 328eb71648
commit 50fd61a57f
2 changed files with 2 additions and 1 deletions

View file

@ -223,6 +223,7 @@ def change_settings():
('en', _l('English')),
('fr', _l('French')),
('de', _l('German')),
('ja', _l('Japanese')),
]
if form.validate_on_submit():
propagate_indexable = form.indexable.data != current_user.indexable

View file

@ -22,7 +22,7 @@ class Config(object):
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY") or None
RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY") or None
MODE = os.environ.get('MODE') or 'development'
LANGUAGES = ['de', 'en', 'fr']
LANGUAGES = ['de', 'en', 'fr', 'ja']
FULL_AP_CONTEXT = bool(int(os.environ.get('FULL_AP_CONTEXT', 0)))
CACHE_TYPE = os.environ.get('CACHE_TYPE') or 'FileSystemCache'
CACHE_REDIS_URL = os.environ.get('CACHE_REDIS_URL') or 'redis://localhost:6379/1'