summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-06-01 11:56:27 -0400
committerChristopher Speller <crspeller@gmail.com>2016-06-01 11:56:27 -0400
commit786e4dce7d520f79b8cf76939d84678d72941420 (patch)
tree5bb520880d200cba90c5ada250c63144e18c3333 /mattermost.go
parentb00a60ab71b2bd4640c8608d71805ba9caae97d9 (diff)
downloadchat-786e4dce7d520f79b8cf76939d84678d72941420.tar.gz
chat-786e4dce7d520f79b8cf76939d84678d72941420.tar.bz2
chat-786e4dce7d520f79b8cf76939d84678d72941420.zip
Revert "PLT-1800 Load server side locale from the config.json" (#3201)
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.go b/mattermost.go
index bebb55c3b..9929f5973 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -79,6 +79,7 @@ func main() {
parseCmds()
+ utils.InitTranslations()
if errstr := doLoadConfig(flagConfigFile); errstr != "" {
l4g.Exit(utils.T("mattermost.unable_to_load_config"), errstr)
return
@@ -87,7 +88,6 @@ 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)