feat: 添加账号删除功能
This commit is contained in:
@@ -222,6 +222,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get settingsSectionNotification => 'Notification Settings';
|
||||
|
||||
@override
|
||||
String get settingsAccountAndDataTitle => 'Account Data';
|
||||
|
||||
@override
|
||||
String get settingsInterfaceLanguage => 'Interface Language';
|
||||
|
||||
@@ -349,6 +352,52 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
String get settingsLogoutDialogBody =>
|
||||
'You will need to sign in again to continue with this account.';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountTitle => 'Delete Account';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountSubtitle =>
|
||||
'Permanently delete your account and personal data';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountWarningTitle =>
|
||||
'Please confirm before deleting';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountWarningBody =>
|
||||
'After deletion, related data including profile, history, and points will be permanently removed and cannot be restored.';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountScopeProfile =>
|
||||
'Profile and account information will be deleted';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountScopeHistory =>
|
||||
'Divination history records will be deleted';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountScopePoints =>
|
||||
'Points account and ledger records will be deleted';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountDialogTitle =>
|
||||
'Permanently delete this account?';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountDialogBody =>
|
||||
'This action cannot be undone. Deletion will start immediately after confirmation.';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountAction => 'Delete Account';
|
||||
|
||||
@override
|
||||
String get settingsDeleteAccountProcessing => 'Deleting...';
|
||||
|
||||
@override
|
||||
String settingsDeleteAccountWaitAction(int seconds) {
|
||||
return 'Wait ${seconds}s before confirming deletion';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settingsCancel => 'Cancel';
|
||||
|
||||
@@ -501,6 +550,10 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get errorRequestGeneric => 'Request failed, please try again';
|
||||
|
||||
@override
|
||||
String get errorProfileDeleteFailed =>
|
||||
'Failed to delete account, please try again';
|
||||
|
||||
@override
|
||||
String get errorRunLimitExceeded =>
|
||||
'Run limit reached in this session. Please start a new divination.';
|
||||
|
||||
Reference in New Issue
Block a user