summaryrefslogtreecommitdiffstats
path: root/api/web_team_hub.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-01-23 10:25:10 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-01-23 10:25:10 -0300
commiteb58e631e74d9a5ff0992a67cd9452b3a525c5e6 (patch)
tree69ed60909505fe6c0a1096f2be9f7b9d4d7243be /api/web_team_hub.go
parent1a0b12313bd0af1724df2fc6260ef284acfc5f93 (diff)
downloadchat-eb58e631e74d9a5ff0992a67cd9452b3a525c5e6.tar.gz
chat-eb58e631e74d9a5ff0992a67cd9452b3a525c5e6.tar.bz2
chat-eb58e631e74d9a5ff0992a67cd9452b3a525c5e6.zip
PLT-7: Refactoring api to use translations (chunk 3)
- Add spanish translations - Not included tests and templates
Diffstat (limited to 'api/web_team_hub.go')
-rw-r--r--api/web_team_hub.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/web_team_hub.go b/api/web_team_hub.go
index bb9ed9526..55300c828 100644
--- a/api/web_team_hub.go
+++ b/api/web_team_hub.go
@@ -6,6 +6,7 @@ package api
import (
l4g "github.com/alecthomas/log4go"
"github.com/mattermost/platform/model"
+ "github.com/mattermost/platform/utils"
)
type TeamHub struct {
@@ -65,7 +66,7 @@ func (h *TeamHub) Start() {
case s := <-h.stop:
if s {
- l4g.Debug("team hub stopping for teamId=%v", h.teamId)
+ l4g.Debug(utils.T("api.web_team_hun.start.debug"), h.teamId)
for webCon := range h.connections {
webCon.WebSocket.Close()