summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/mattermost.go b/mattermost.go
index f86af76e3..9786a6abd 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -31,8 +31,6 @@ import (
_ "github.com/go-ldap/ldap"
)
-//ENTERPRISE_IMPORTS
-
var flagCmdCreateTeam bool
var flagCmdCreateUser bool
var flagCmdAssignRole bool
@@ -52,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))
@@ -67,6 +66,8 @@ func main() {
api.InitApi()
web.InitWeb()
+ utils.LoadLicense()
+
if flagRunCmds {
runCmds()
} else {