[PLT-7231/PLT-7306] Fix GitLab SSO failure with non-English locale and make config locales more forgiving (#7125)

Этот коммит содержится в:
Saturnino Abril
2017-08-06 06:45:46 +08:00
коммит произвёл GitHub
родитель 2ab2baba58
Коммит 9f3713aa98
3 изменённых файлов: 158 добавлений и 7 удалений

Просмотреть файл

@@ -6507,9 +6507,17 @@
"id": "utils.config.save_config.saving.app_error",
"translation": "An error occurred while saving the file to {{.Filename}}"
},
{
"id": "utils.config.add_client_locale.app_error",
"translation": "Unable to load mattermost configuration file: Adding DefaultClientLocale to AvailableLocales."
},
{
"id": "utils.config.supported_available_locales.app_error",
"translation": "Unable to load mattermost configuration file: AvailableLocales must include DefaultClientLocale. Setting AvailableLocales to all locales as default value."
},
{
"id": "utils.config.supported_client_locale.app_error",
"translation": "Unable to load mattermost configuration file: DefaultClientLocale must be one of the supported locales"
"translation": "Unable to load mattermost configuration file: DefaultClientLocale must be one of the supported locales. Setting DefaultClientLocale to en as default value."
},
{
"id": "utils.config.supported_server_locale.app_error",