[i18n] Fix issues section name

stable
David Barragán Merino 2015-04-22 16:38:34 +02:00
parent 31590f939c
commit e7716e6dd2
3 changed files with 7 additions and 3 deletions

View File

@ -51,12 +51,14 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
"$tgNavUrls", "$tgNavUrls",
"$tgEvents", "$tgEvents",
"$tgAnalytics", "$tgAnalytics",
"tgLoader" "tgLoader",
"$translate"
] ]
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @urls, @params, @q, @location, @appTitle, constructor: (@scope, @rootscope, @repo, @confirm, @rs, @urls, @params, @q, @location, @appTitle,
@navUrls, @events, @analytics, tgLoader) -> @navUrls, @events, @analytics, tgLoader, @translate) ->
@scope.sectionName = "Issues"
@scope.sectionName = @translate.instant("ISSUES.LIST_SECTION_NAME")
@scope.filters = {} @scope.filters = {}
if _.isEmpty(@location.search()) if _.isEmpty(@location.search())

View File

@ -700,6 +700,7 @@
"LINK_LOGIN": "Are you already registered? Log in" "LINK_LOGIN": "Are you already registered? Log in"
}, },
"ISSUES": { "ISSUES": {
"LIST_SECTION_NAME": "Issues",
"SECTION_NAME": "Issue Details", "SECTION_NAME": "Issue Details",
"ACTION_NEW_ISSUE": "+ NEW ISSUE", "ACTION_NEW_ISSUE": "+ NEW ISSUE",
"ACTION_PROMOTE_TO_US": "Promote to User Story", "ACTION_PROMOTE_TO_US": "Promote to User Story",

View File

@ -697,6 +697,7 @@
"LINK_LOGIN": "¿Ya te has registrado? Inicia sesión" "LINK_LOGIN": "¿Ya te has registrado? Inicia sesión"
}, },
"ISSUES": { "ISSUES": {
"LIST_SECTION_NAME": "Peticiones",
"SECTION_NAME": "Detalles de la petición", "SECTION_NAME": "Detalles de la petición",
"ACTION_NEW_ISSUE": "+ NUEVA PETICIÓN", "ACTION_NEW_ISSUE": "+ NUEVA PETICIÓN",
"ACTION_PROMOTE_TO_US": "Promover a Historia de Usuario", "ACTION_PROMOTE_TO_US": "Promover a Historia de Usuario",