mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
Not updating translations when the default locale is different from 'en'
This commit is contained in:
@@ -34,7 +34,7 @@ def load_managers(locale: str, context: ApplicationContext, config: Configuratio
|
||||
locale_path = '{}/resources/locale'.format(f.path)
|
||||
|
||||
if os.path.exists(locale_path):
|
||||
context.i18n.update(util.get_locale_keys(locale, locale_path))
|
||||
context.i18n.update(util.get_locale_keys(locale, locale_path)[1])
|
||||
|
||||
man = manager_class(context=context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user