mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-03 04:06:06 +02:00
🌐 Add missing translations
This commit is contained in:
parent
ea2010a7ad
commit
5eac0051fa
2 changed files with 10 additions and 3 deletions
|
@ -250,5 +250,7 @@
|
||||||
"deleteAccountDialogTitle": "Delete Account",
|
"deleteAccountDialogTitle": "Delete Account",
|
||||||
"deleteAccountDialogDescription": "Are you sure you want to delete your account?",
|
"deleteAccountDialogDescription": "Are you sure you want to delete your account?",
|
||||||
"deleteAccountInstruction": "Please confirm your email address to delete your account",
|
"deleteAccountInstruction": "Please confirm your email address to delete your account",
|
||||||
"emailMismatch": "Email does not match the account email"
|
"emailMismatch": "Email does not match the account email",
|
||||||
|
"dangerZone": "Danger Zone",
|
||||||
|
"dangerZoneAccount": "Delete your account permanently. This action cannot be undone."
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,8 +99,13 @@ export const ProfilePage = () => {
|
||||||
<>
|
<>
|
||||||
<hr />
|
<hr />
|
||||||
<SettingsSection
|
<SettingsSection
|
||||||
title="Danger Zone"
|
title={<Trans i18nKey="dangerZone" defaults="Danger Zone" />}
|
||||||
description="Delete your account permanently. This action cannot be undone."
|
description={
|
||||||
|
<Trans
|
||||||
|
i18nKey="dangerZoneAccount"
|
||||||
|
defaults="Delete your account permanently. This action cannot be undone."
|
||||||
|
/>
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<DeleteAccountDialog email={user.email}>
|
<DeleteAccountDialog email={user.email}>
|
||||||
<DialogTrigger asChild>
|
<DialogTrigger asChild>
|
||||||
|
|
Loading…
Add table
Reference in a new issue