diff --git a/CHANGELOG.md b/CHANGELOG.md index cd90898feade1b6ad0e4ade9da1d6cea38b302e5..0fc5351d017f887820efd50ce9b56be852190891 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ --> +## 12.x.x (unreleased) + +### Improvements +- アカウント削除ã«ç¢ºèªãƒ€ã‚¤ã‚¢ãƒã‚°ã‚’出ã™ã‚ˆã†ã« + +### Bugfixes + ## 12.96.1 (2021/11/13) ### Improvements - npm scriptã®äº’æ›æ€§ã‚’å‘上 diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index ababad4f03edd933c5465ec05b7beb4097f66822..0dbe3521617f5285e8cc3d185287d89ea85da0cf 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -806,6 +806,7 @@ muteThread: "スレッドをミュート" unmuteThread: "スレッドã®ãƒŸãƒ¥ãƒ¼ãƒˆã‚’解除" ffVisibility: "ã¤ãªãŒã‚Šã®å…¬é–‹ç¯„囲" ffVisibilityDescription: "自分ã®ãƒ•ã‚©ãƒãƒ¼/フォãƒãƒ¯ãƒ¼æƒ…å ±ã®å…¬é–‹ç¯„囲をè¨å®šã§ãã¾ã™ã€‚" +deleteAccountConfirm: "アカウントãŒå‰Šé™¤ã•ã‚Œã¾ã™ã€‚よã‚ã—ã„ã§ã™ã‹ï¼Ÿ" _emailUnavailable: used: "æ—¢ã«ä½¿ç”¨ã•ã‚Œã¦ã„ã¾ã™" diff --git a/packages/client/src/pages/settings/delete-account.vue b/packages/client/src/pages/settings/delete-account.vue index 018f7c795ea7263da800896e11ff5e525c181f20..77dc0fe2a8a6356087f18fc2967044e51e200f1b 100644 --- a/packages/client/src/pages/settings/delete-account.vue +++ b/packages/client/src/pages/settings/delete-account.vue @@ -45,6 +45,15 @@ export default defineComponent({ methods: { async deleteAccount() { + { + const { canceled } = await os.dialog({ + type: 'warning', + text: this.$ts.deleteAccountConfirm, + showCancelButton: true + }); + if (canceled) return; + } + const { canceled, result: password } = await os.dialog({ title: this.$ts.password, input: {