diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-19 22:00:01 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-19 22:00:01 -0600 |
commit | 8e404c1dcf820cf767e9d6899e8c1efc7bb5ca96 (patch) | |
tree | ed96e0aff323aaf7a45d38896ea6a929dc320500 /mattermost.go | |
parent | 36c5c46e24f745ee80b49f47363217fcb740ce53 (diff) | |
download | chat-8e404c1dcf820cf767e9d6899e8c1efc7bb5ca96.tar.gz chat-8e404c1dcf820cf767e9d6899e8c1efc7bb5ca96.tar.bz2 chat-8e404c1dcf820cf767e9d6899e8c1efc7bb5ca96.zip |
PLT-7 Adding translation function to context
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mattermost.go b/mattermost.go index d96a24313..9786a6abd 100644 --- a/mattermost.go +++ b/mattermost.go @@ -50,14 +50,15 @@ func main() { parseCmds() utils.LoadConfig(flagConfigFile) + utils.InitTranslations() if flagRunCmds { utils.ConfigureCmdLineLog() } pwd, _ := os.Getwd() - l4g.Info("Current version is %v (%v/%v/%v)", model.CurrentVersion, model.BuildNumber, model.BuildDate, model.BuildHash) - l4g.Info("Enterprise Enabled: %t", model.BuildEnterpriseReady) + l4g.Info(utils.T("mattermost.current_version"), model.CurrentVersion, model.BuildNumber, model.BuildDate, model.BuildHash) + l4g.Info("Enterprise Enabled: %v", model.BuildEnterpriseReady) l4g.Info("Current working directory is %v", pwd) l4g.Info("Loaded config file from %v", utils.FindConfigFile(flagConfigFile)) |