diff --git a/website/client/src/components/tasks/task.vue b/website/client/src/components/tasks/task.vue
index ea8ae7a12c..7e64c3972f 100644
--- a/website/client/src/components/tasks/task.vue
+++ b/website/client/src/components/tasks/task.vue
@@ -1013,7 +1013,8 @@ export default {
this.$emit('moveTo', this.task, 'bottom');
},
destroy () {
- if (!window.confirm(this.$t('sureDelete'))) return;
+ const type = this.$t(this.task.type);
+ if (!window.confirm(this.$t('sureDeleteType', { type }))) return;
this.destroyTask(this.task);
this.$emit('taskDestroyed', this.task);
},
diff --git a/website/client/src/components/tasks/taskModal.vue b/website/client/src/components/tasks/taskModal.vue
index 9e080f625a..948f45b2de 100644
--- a/website/client/src/components/tasks/taskModal.vue
+++ b/website/client/src/components/tasks/taskModal.vue
@@ -707,7 +707,9 @@
class="svg-icon d-inline-b mt-1 mb-1"
v-html="icons.destroy"
>
- {{ $t('deleteTask') }}
+
+ {{ $t('deleteTaskType', { type: $t(task.type) }) }}
+
@@ -1455,7 +1457,8 @@ export default {
this.$root.$emit('bv::hide::modal', 'task-modal');
},
destroy () {
- if (!window.confirm(this.$t('sureDelete'))) return;
+ const type = this.$t(this.task.type);
+ if (!window.confirm(this.$t('sureDeleteType', { type }))) return;
this.destroyTask(this.task);
this.$emit('taskDestroyed', this.task);
this.$root.$emit('bv::hide::modal', 'task-modal');
diff --git a/website/common/locales/en/tasks.json b/website/common/locales/en/tasks.json
index da4d991c15..b511cf5a44 100644
--- a/website/common/locales/en/tasks.json
+++ b/website/common/locales/en/tasks.json
@@ -122,8 +122,8 @@
"fortifyText": "Fortify will return all your tasks, except challenge tasks, to a neutral (yellow) state, as if you'd just added them, and top your Health off to full. This is great if all your red tasks are making the game too hard, or all your blue tasks are making the game too easy. If starting fresh sounds much more motivating, spend the Gems and catch a reprieve!",
"confirmFortify": "Are you sure?",
"fortifyComplete": "Fortify complete!",
- "deleteTask": "Delete this Task",
- "sureDelete": "Are you sure you want to delete this task?",
+ "deleteTaskType": "Delete this <%= type %>",
+ "sureDeleteType": "Are you sure you want to delete this <%= type %>?",
"streakCoins": "Streak Bonus!",
"taskToTop": "To top",
"taskToBottom": "To bottom",