mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
feat(core): show server name when delete account (#13175)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Account deletion prompts and confirmation dialogs now display the specific server name, providing clearer context when deleting your account. * **Localization** * Updated account deletion messages to explicitly mention the server name. * Improved translation keys to support server-specific messaging in all supported languages. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -4838,9 +4838,11 @@ export function useAFFiNEI18N(): {
|
||||
*/
|
||||
["com.affine.setting.account"](): string;
|
||||
/**
|
||||
* `Delete your account`
|
||||
* `Delete your account from {{server}}`
|
||||
*/
|
||||
["com.affine.setting.account.delete"](): string;
|
||||
["com.affine.setting.account.delete-from-server"](options: {
|
||||
readonly server: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Once deleted, your account will no longer be accessible, and all data in your personal cloud space will be permanently deleted.`
|
||||
*/
|
||||
@@ -4857,10 +4859,6 @@ export function useAFFiNEI18N(): {
|
||||
* `Delete your account?`
|
||||
*/
|
||||
["com.affine.setting.account.delete.confirm-title"](): string;
|
||||
/**
|
||||
* `Are you sure you want to delete your account?`
|
||||
*/
|
||||
["com.affine.setting.account.delete.confirm-description-1"](): string;
|
||||
/**
|
||||
* `Please type your email to confirm`
|
||||
*/
|
||||
@@ -9291,10 +9289,18 @@ export const TypedTrans: {
|
||||
}, {
|
||||
["1"]: JSX.Element;
|
||||
}>>;
|
||||
/**
|
||||
* `Are you sure you want to delete your account from <1>{{server}}</1>?`
|
||||
*/
|
||||
["com.affine.setting.account.delete.confirm-delete-description-1"]: ComponentType<TypedTransProps<{
|
||||
readonly server: string;
|
||||
}, {
|
||||
["1"]: JSX.Element;
|
||||
}>>;
|
||||
/**
|
||||
* `Your account will be inaccessible, and your personal cloud space will be permanently deleted. You can remove local data by uninstalling the app or clearing your browser storage. <1>This action is irreversible.</1>`
|
||||
*/
|
||||
["com.affine.setting.account.delete.confirm-description-2"]: ComponentType<TypedTransProps<Readonly<{}>, {
|
||||
["com.affine.setting.account.delete.confirm-delete-description-2"]: ComponentType<TypedTransProps<Readonly<{}>, {
|
||||
["1"]: JSX.Element;
|
||||
}>>;
|
||||
/**
|
||||
|
||||
@@ -1202,13 +1202,13 @@
|
||||
"com.affine.setting.notifications.email.comments.title": "Comments",
|
||||
"com.affine.setting.notifications.email.comments.subtitle": "You will be notified through email when other members of the workspace comment on your docs.",
|
||||
"com.affine.setting.account": "Account settings",
|
||||
"com.affine.setting.account.delete": "Delete your account",
|
||||
"com.affine.setting.account.delete-from-server": "Delete your account from {{server}}",
|
||||
"com.affine.setting.account.delete.message": "Once deleted, your account will no longer be accessible, and all data in your personal cloud space will be permanently deleted.",
|
||||
"com.affine.setting.account.delete.team-warning-title": "Cannot delete account",
|
||||
"com.affine.setting.account.delete.team-warning-description": "You’re the owner of a team workspace. To delete your account, please delete the workspace or transfer ownership first.",
|
||||
"com.affine.setting.account.delete.confirm-title": "Delete your account?",
|
||||
"com.affine.setting.account.delete.confirm-description-1": "Are you sure you want to delete your account?",
|
||||
"com.affine.setting.account.delete.confirm-description-2": "Your account will be inaccessible, and your personal cloud space will be permanently deleted. You can remove local data by uninstalling the app or clearing your browser storage. <1>This action is irreversible.</1>",
|
||||
"com.affine.setting.account.delete.confirm-delete-description-1": "Are you sure you want to delete your account from <1>{{server}}</1>?",
|
||||
"com.affine.setting.account.delete.confirm-delete-description-2": "Your account will be inaccessible, and your personal cloud space will be permanently deleted. You can remove local data by uninstalling the app or clearing your browser storage. <1>This action is irreversible.</1>",
|
||||
"com.affine.setting.account.delete.input-placeholder": "Please type your email to confirm",
|
||||
"com.affine.setting.account.delete.confirm-button": "Delete",
|
||||
"com.affine.setting.account.delete.success-title": "Account deleted",
|
||||
|
||||
Reference in New Issue
Block a user