fix: wrong success message when adding and creating a label to a task

This commit is contained in:
kolaente 2021-10-04 21:14:39 +02:00
parent cc22d8d4e9
commit 22ef7785fd
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export default {
.then(r => {
this.addLabel(r, false)
this.labels.push(r)
this.$message.success({message: this.$t('task.label.removeSuccess')})
this.$message.success({message: this.$t('task.label.addCreateSuccess')})
})
.catch(e => {
this.$message.error(e)

View File

@ -625,7 +625,8 @@
"createPlaceholder": "Add this as new label",
"addSuccess": "The label has been added successfully.",
"createSuccess": "The label has been created successfully.",
"removeSuccess": "The label has been removed successfully."
"removeSuccess": "The label has been removed successfully.",
"addCreateSuccess": "The label has been created and added successfully."
},
"priority": {
"unset": "Unset",