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")
subtitle = @translate.instant("ISSUES.CONFIRM_DETACH_FROM_SPRINT.MESSAGE")
message = @scope.sprint.name
@confirm.askOnDelete(title, message, subtitle).then (askResponse) =>
@confirm.askOnDelete(title, message).then (askResponse) =>
removingIssue.milestone = null
promise = @repo.save(removingIssue)
promise.then =>

View File

@ -1104,7 +1104,7 @@
},
"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": {
"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": {
"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": {
"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') }
)
$confirm.askOnDelete(title, message).then (askResponse) ->
$confirm.ask(title, null, message).then (askResponse) ->
onSuccess = ->
askResponse.finish()
scope.$broadcast("related-epics:changed", scope.item)