fix sections translations
parent
3d76d225c7
commit
f2d17aaacc
|
@ -48,11 +48,12 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$tgLocation",
|
||||
"$tgNavUrls"
|
||||
"$tgEvents"
|
||||
"$tgAnalytics"
|
||||
"$tgAnalytics",
|
||||
"$translate"
|
||||
]
|
||||
|
||||
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @appTitle, @location, @navUrls,
|
||||
@events, @analytics) ->
|
||||
@events, @analytics, @translate) ->
|
||||
bindMethods(@)
|
||||
|
||||
@scope.sectionName = @translate.instant("TASKBOARD.SECTION_NAME")
|
||||
|
|
|
@ -44,11 +44,12 @@ class TaskDetailController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$log",
|
||||
"$appTitle",
|
||||
"$tgNavUrls",
|
||||
"$tgAnalytics"
|
||||
"$tgAnalytics",
|
||||
"$translate"
|
||||
]
|
||||
|
||||
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @location,
|
||||
@log, @appTitle, @navUrls, @analytics) ->
|
||||
@log, @appTitle, @navUrls, @analytics, @translate) ->
|
||||
@scope.taskRef = @params.taskref
|
||||
@scope.sectionName = @translate.instant("TASK.SECTION_NAME")
|
||||
@.initializeEventHandlers()
|
||||
|
|
|
@ -44,11 +44,12 @@ class UserStoryDetailController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$log",
|
||||
"$appTitle",
|
||||
"$tgNavUrls",
|
||||
"$tgAnalytics"
|
||||
"$tgAnalytics",
|
||||
"$translate"
|
||||
]
|
||||
|
||||
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @location,
|
||||
@log, @appTitle, @navUrls, @analytics) ->
|
||||
@log, @appTitle, @navUrls, @analytics, @translate) ->
|
||||
@scope.usRef = @params.usref
|
||||
@scope.sectionName = @translate.instant("US.SECTION_NAME")
|
||||
@.initializeEventHandlers()
|
||||
|
|
Loading…
Reference in New Issue