1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

enhance(frontend): アカウント削除前ダイアログに再ログインすると削除が中断される旨の表記を追加 (MisskeyIO#726)

This commit is contained in:
CyberRex 2024-09-16 21:53:34 +09:00 committed by GitHub
parent 00fd684a7b
commit 2fe5bb0bb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 19 additions and 1 deletions

View File

@ -909,6 +909,7 @@ followingVisibility: "Visibility of follows"
followersVisibility: "Visibility of followers"
continueThread: "View thread continuation"
deleteAccountConfirm: "This will irreversibly delete your account. Proceed?"
deleteAccountConfirmAndWarn: "This will irreversibly delete your account.\nPlease note that re-logging in after a deletion request will interrupt the deletion of your account.\nProceed?"
incorrectPassword: "Incorrect password."
voteConfirm: "Confirm your vote for \"{choice}\"?"
hide: "Hide"
@ -1813,6 +1814,7 @@ _accountDelete:
requestAccountDelete: "Request account deletion"
started: "Deletion has been started."
inProgress: "Deletion is currently in progress"
dontLogin: "We recommend that you do not log in to your account, as this will interrupt the deletion process."
_ad:
back: "Back"
reduceFrequencyOfThisAd: "Show this ad less"

11
locales/index.d.ts vendored
View File

@ -3660,6 +3660,13 @@ export interface Locale extends ILocale {
*
*/
"deleteAccountConfirm": string;
/**
*
*
*
*
*/
"deleteAccountConfirmAndWarn": string;
/**
*
*/
@ -7081,6 +7088,10 @@ export interface Locale extends ILocale {
*
*/
"inProgress": string;
/**
*
*/
"dontLogin": string;
};
"_ad": {
/**

View File

@ -911,6 +911,7 @@ followingVisibility: "フォローの公開範囲"
followersVisibility: "フォロワーの公開範囲"
continueThread: "さらにスレッドを見る"
deleteAccountConfirm: "アカウントが削除されます。よろしいですか?"
deleteAccountConfirmAndWarn: "アカウントが削除されます。\n削除リクエスト後に再ログインすると\nアカウントの削除が中断されてしまいますのでご注意ください。\nよろしいですか"
incorrectPassword: "パスワードが間違っています。"
voteConfirm: "「{choice}」に投票しますか?"
hide: "隠す"
@ -1833,6 +1834,7 @@ _accountDelete:
requestAccountDelete: "アカウント削除をリクエスト"
started: "削除処理が開始されました。"
inProgress: "削除が進行中"
dontLogin: "削除が中断されてしまいますので、アカウントにログインしないことをおすすめします。"
_ad:
back: "戻る"

View File

@ -114,7 +114,9 @@ async function deleteAccount() {
{
const { canceled } = await os.confirm({
type: 'warning',
text: i18n.ts.deleteAccountConfirm,
text: i18n.ts.deleteAccountConfirmAndWarn,
okWaitInitiate: 'dialog',
okWaitDuration: 5,
});
if (canceled) return;
}
@ -129,6 +131,7 @@ async function deleteAccount() {
await os.alert({
title: i18n.ts._accountDelete.started,
text: i18n.ts._accountDelete.dontLogin,
});
await signout();