PLT-5548 Prevent server start if defaultLocate is not available (#5532)

* PLT-5548 Prevent server start if defaultLocate is not available

* Add validation for supported locales
Этот коммит содержится в:
enahum
2017-02-28 06:07:02 -03:00
коммит произвёл George Goldberg
родитель 45edfbe719
Коммит 758402311a
3 изменённых файлов: 43 добавлений и 0 удалений

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

@@ -5619,6 +5619,18 @@
"id": "utils.config.save_config.saving.app_error",
"translation": "An error occurred while saving the file to {{.Filename}}"
},
{
"id": "utils.config.supported_client_locale.app_error",
"translation": "Unable to load mattermost configuration file: DefaultClientLocale must be one of the supported locales"
},
{
"id": "utils.config.supported_server_locale.app_error",
"translation": "Unable to load mattermost configuration file: DefaultServerLocale must be one of the supported locales"
},
{
"id": "utils.config.validate_locale.app_error",
"translation": "Unable to load mattermost configuration file: AvailableLocales must include DefaultClientLocale"
},
{
"id": "utils.diagnostic.analytics_not_found.app_error",
"translation": "Analytics not initialized"