PLT-1800 Load server side locale from the config.json (#3076)
* PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
79c0b20689
Коммит
34beaa569b
@@ -77,7 +77,6 @@ func main() {
|
||||
|
||||
parseCmds()
|
||||
|
||||
utils.InitTranslations()
|
||||
if errstr := doLoadConfig(flagConfigFile); errstr != "" {
|
||||
l4g.Exit(utils.T("mattermost.unable_to_load_config"), errstr)
|
||||
return
|
||||
@@ -86,6 +85,7 @@ func main() {
|
||||
if flagRunCmds {
|
||||
utils.ConfigureCmdLineLog()
|
||||
}
|
||||
utils.InitTranslations(utils.Cfg.LocalizationSettings)
|
||||
|
||||
pwd, _ := os.Getwd()
|
||||
l4g.Info(utils.T("mattermost.current_version"), model.CurrentVersion, model.BuildNumber, model.BuildDate, model.BuildHash, model.BuildHashEnterprise)
|
||||
|
||||
Ссылка в новой задаче
Block a user