aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-02-09 15:05:21 -0500
committertusooa <tusooa@kazv.moe>2023-01-20 23:39:07 -0500
commit1e352fbfacddc205397153bf5087484d550129e6 (patch)
tree596c364d82783f492593c0ec525557300eff2baf
parent3ad5df805e22ddd473fdaa9a92df335a61fad7fc (diff)
Add English translations for delete status confirm modal
-rw-r--r--src/components/extra_buttons/extra_buttons.js2
-rw-r--r--src/i18n/en.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js
index b1458d30..48b960b2 100644
--- a/src/components/extra_buttons/extra_buttons.js
+++ b/src/components/extra_buttons/extra_buttons.js
@@ -59,7 +59,7 @@ const ExtraButtons = {
},
doDeleteStatus () {
this.$store.dispatch('deleteStatus', { id: this.status.id })
- hideDeleteStatusConfirmDialog()
+ this.hideDeleteStatusConfirmDialog()
},
showDeleteStatusConfirmDialog () {
this.showingDeleteDialog = true
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 1ee1147a..b2bec692 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -852,6 +852,9 @@
"bookmark": "Bookmark",
"unbookmark": "Unbookmark",
"delete_confirm": "Do you really want to delete this status?",
+ "delete_confirm_title": "Delete confirmation",
+ "delete_confirm_accept_button": "Delete",
+ "delete_confirm_cancel_button": "Keep",
"reply_to": "Reply to",
"mentions": "Mentions",
"replies_list": "Replies:",