summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-05-27 09:01:35 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-27 09:01:35 -0400
commitec7a273550a1aaf31e80abc90c99d06a94664b5d (patch)
treebd0d1080a5ef66b9e7985682919b1c2bd21d4bf1 /mattermost.go
parenta2c183f401bdf8e9abddd35d4561d42034325046 (diff)
downloadchat-ec7a273550a1aaf31e80abc90c99d06a94664b5d.tar.gz
chat-ec7a273550a1aaf31e80abc90c99d06a94664b5d.tar.bz2
chat-ec7a273550a1aaf31e80abc90c99d06a94664b5d.zip
Revert "PLT-1800 Load server side locale from the config.json" (#3133)
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 59b4e44d3..4f53828ad 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -78,6 +78,7 @@ func main() {
parseCmds()
+ utils.InitTranslations()
if errstr := doLoadConfig(flagConfigFile); errstr != "" {
l4g.Exit(utils.T("mattermost.unable_to_load_config"), errstr)
return
@@ -86,7 +87,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)