[i18n] Fix taskboard section name

stable
David Barragán Merino 2015-04-22 16:49:45 +02:00
parent 59f88b0411
commit 51432935a9
1 changed files with 3 additions and 2 deletions

View File

@ -50,13 +50,14 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin)
"$tgEvents"
"$tgAnalytics",
"tgLoader"
"$translate"
]
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @appTitle, @location, @navUrls,
@events, @analytics, tgLoader) ->
@events, @analytics, tgLoader, @translate) ->
bindMethods(@)
@scope.sectionName = "Taskboard"
@scope.sectionName = @translate.instant("TASKBOARD.SECTION_NAME")
@.initializeEventHandlers()
promise = @.loadInitialData()