diff --git a/app/coffee/modules/kanban/main.coffee b/app/coffee/modules/kanban/main.coffee index bb2fc5dc..5d9a0b61 100644 --- a/app/coffee/modules/kanban/main.coffee +++ b/app/coffee/modules/kanban/main.coffee @@ -62,15 +62,16 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi "$tgNavUrls", "$tgEvents", "$tgAnalytics", - "tgLoader" + "tgLoader", + "$translate" ] constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @location, - @appTitle, @navUrls, @events, @analytics, tgLoader) -> + @appTitle, @navUrls, @events, @analytics, tgLoader, @translate) -> bindMethods(@) - @scope.sectionName = "Kanban" + @scope.sectionName = @translate.instant("KANBAN.SECTION_NAME") @scope.statusViewModes = {} @.initializeEventHandlers() diff --git a/app/locales/locale-en.json b/app/locales/locale-en.json index d2b06f21..ad03ff97 100644 --- a/app/locales/locale-en.json +++ b/app/locales/locale-en.json @@ -748,6 +748,7 @@ } }, "KANBAN": { + "SECTION_NAME": "Kanban", "TITLE_ACTION_FOLD": "Fold column", "TITLE_ACTION_UNFOLD": "Unfold column", "TITLE_ACTION_FOLD_CARDS": "Fold cards", diff --git a/app/locales/locale-es.json b/app/locales/locale-es.json index 7eb451f6..5b34fca3 100644 --- a/app/locales/locale-es.json +++ b/app/locales/locale-es.json @@ -745,6 +745,7 @@ } }, "KANBAN": { + "SECTION_NAME": "Kanban", "TITLE_ACTION_FOLD": "Plegar columna", "TITLE_ACTION_UNFOLD": "Desplegar columna", "TITLE_ACTION_FOLD_CARDS": "Plegar tarjetas",