[i18n] Fix taskboard section name
parent
59f88b0411
commit
51432935a9
|
@ -50,13 +50,14 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin)
|
||||||
"$tgEvents"
|
"$tgEvents"
|
||||||
"$tgAnalytics",
|
"$tgAnalytics",
|
||||||
"tgLoader"
|
"tgLoader"
|
||||||
|
"$translate"
|
||||||
]
|
]
|
||||||
|
|
||||||
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @appTitle, @location, @navUrls,
|
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @appTitle, @location, @navUrls,
|
||||||
@events, @analytics, tgLoader) ->
|
@events, @analytics, tgLoader, @translate) ->
|
||||||
bindMethods(@)
|
bindMethods(@)
|
||||||
|
|
||||||
@scope.sectionName = "Taskboard"
|
@scope.sectionName = @translate.instant("TASKBOARD.SECTION_NAME")
|
||||||
@.initializeEventHandlers()
|
@.initializeEventHandlers()
|
||||||
|
|
||||||
promise = @.loadInitialData()
|
promise = @.loadInitialData()
|
||||||
|
|
Loading…
Reference in New Issue