mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add japanese ui settings #1
This commit is contained in:
parent
328eb71648
commit
50fd61a57f
2 changed files with 2 additions and 1 deletions
|
@ -223,6 +223,7 @@ def change_settings():
|
||||||
('en', _l('English')),
|
('en', _l('English')),
|
||||||
('fr', _l('French')),
|
('fr', _l('French')),
|
||||||
('de', _l('German')),
|
('de', _l('German')),
|
||||||
|
('ja', _l('Japanese')),
|
||||||
]
|
]
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
propagate_indexable = form.indexable.data != current_user.indexable
|
propagate_indexable = form.indexable.data != current_user.indexable
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Config(object):
|
||||||
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY") or None
|
RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY") or None
|
||||||
RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY") or None
|
RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY") or None
|
||||||
MODE = os.environ.get('MODE') or 'development'
|
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)))
|
FULL_AP_CONTEXT = bool(int(os.environ.get('FULL_AP_CONTEXT', 0)))
|
||||||
CACHE_TYPE = os.environ.get('CACHE_TYPE') or 'FileSystemCache'
|
CACHE_TYPE = os.environ.get('CACHE_TYPE') or 'FileSystemCache'
|
||||||
CACHE_REDIS_URL = os.environ.get('CACHE_REDIS_URL') or 'redis://localhost:6379/1'
|
CACHE_REDIS_URL = os.environ.get('CACHE_REDIS_URL') or 'redis://localhost:6379/1'
|
||||||
|
|
Loading…
Add table
Reference in a new issue