Fix some messages

stable
Álex Hermida 2018-08-10 15:02:17 +02:00 committed by Alex Hermida
parent 94f136adaf
commit 61764011c6
3 changed files with 4 additions and 4 deletions

View File

@ -567,7 +567,7 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin, taiga
title = @translate.instant("ISSUES.CONFIRM_DETACH_FROM_SPRINT.TITLE") title = @translate.instant("ISSUES.CONFIRM_DETACH_FROM_SPRINT.TITLE")
subtitle = @translate.instant("ISSUES.CONFIRM_DETACH_FROM_SPRINT.MESSAGE") subtitle = @translate.instant("ISSUES.CONFIRM_DETACH_FROM_SPRINT.MESSAGE")
message = @scope.sprint.name message = @scope.sprint.name
@confirm.askOnDelete(title, message, subtitle).then (askResponse) => @confirm.askOnDelete(title, message).then (askResponse) =>
removingIssue.milestone = null removingIssue.milestone = null
promise = @repo.save(removingIssue) promise = @repo.save(removingIssue)
promise.then => promise.then =>

View File

@ -1104,7 +1104,7 @@
}, },
"REMOVE_RELATIONSHIP_WITH_EPIC": { "REMOVE_RELATIONSHIP_WITH_EPIC": {
"TITLE": "Remove relationship with Epic", "TITLE": "Remove relationship with Epic",
"MESSAGE": "the relationship of this User Story with the Epic {{epicSubject}}" "MESSAGE": "Are you sure you want to delete the relationship of this User Story with the Epic <strong>{{epicSubject}}</strong>"
}, },
"CREATE_MEMBER": { "CREATE_MEMBER": {
"PLACEHOLDER_INVITATION_TEXT": "(Optional) Add a personalized text to the invitation. Tell something lovely to your new members ;-)", "PLACEHOLDER_INVITATION_TEXT": "(Optional) Add a personalized text to the invitation. Tell something lovely to your new members ;-)",
@ -1453,7 +1453,7 @@
}, },
"CONFIRM_CHANGE_FROM_SPRINT": { "CONFIRM_CHANGE_FROM_SPRINT": {
"TITLE": "Move issue from another sprint", "TITLE": "Move issue from another sprint",
"MESSAGE": "Are you sure you want to move the issue {{ issue }} from sprint {{ oldSprintName }} to sprint {{ newSprintName }}?" "MESSAGE": "<strong>This issue is currently attached to sprint {{ oldSprintName }}</strong>. You are about to detach it from that sprint and attach it instead to sprint <strong>{{ newSprintName }}.</strong>"
}, },
"CONFIRM_PROMOTE": { "CONFIRM_PROMOTE": {
"TITLE": "Promote this issue to a new user story", "TITLE": "Promote this issue to a new user story",

View File

@ -37,7 +37,7 @@ BelongToEpicsDirective = ($translate, $confirm, $rs, $rs2, lightboxService) ->
{ epicSubject: epic.get('subject') } { epicSubject: epic.get('subject') }
) )
$confirm.askOnDelete(title, message).then (askResponse) -> $confirm.ask(title, null, message).then (askResponse) ->
onSuccess = -> onSuccess = ->
askResponse.finish() askResponse.finish()
scope.$broadcast("related-epics:changed", scope.item) scope.$broadcast("related-epics:changed", scope.item)