🌐 Add missing translations

This commit is contained in:
Luke Vella 2024-05-18 15:22:55 +08:00
parent ea2010a7ad
commit 5eac0051fa
2 changed files with 10 additions and 3 deletions

View file

@ -250,5 +250,7 @@
"deleteAccountDialogTitle": "Delete Account",
"deleteAccountDialogDescription": "Are you sure you want 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."
}

View file

@ -99,8 +99,13 @@ export const ProfilePage = () => {
<>
<hr />
<SettingsSection
title="Danger Zone"
description="Delete your account permanently. This action cannot be undone."
title={<Trans i18nKey="dangerZone" defaults="Danger Zone" />}
description={
<Trans
i18nKey="dangerZoneAccount"
defaults="Delete your account permanently. This action cannot be undone."
/>
}
>
<DeleteAccountDialog email={user.email}>
<DialogTrigger asChild>