mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
Merge pull request 'Add Japanese to Interface language' (#219) from karasugawasu/pyfedi:add_japanese_ui into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/219
This commit is contained in:
commit
a19374a652
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue