PLT-7: Refactoring api to use translations (chunk 3)

- Add spanish translations
- Not included tests and templates
Этот коммит содержится в:
Elias Nahum
2016-01-23 10:25:10 -03:00
родитель 1a0b12313b
Коммит eb58e631e7
7 изменённых файлов: 1504 добавлений и 1348 удалений

Просмотреть файл

@@ -6,6 +6,7 @@ package api
import (
l4g "github.com/alecthomas/log4go"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
)
type Hub struct {
@@ -86,7 +87,7 @@ func (h *Hub) Start() {
nh.broadcast <- msg
}
case s := <-h.stop:
l4g.Debug("stopping %v connections", s)
l4g.Debug(utils.T("api.web_hub.start.stopping.debug"), s)
for _, v := range h.teamHubs {
v.Stop()
}