Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🌐 Add missing translations

Luke Vella5eac0051faef
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.json
index db12e6cd1..d90e3a21e 100644
--- a/apps/web/public/locales/en/app.json
+++ b/apps/web/public/locales/en/app.json
@@ -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."
}
diff --git a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
index 7bc142299..d826d9f66 100644
--- a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
+++ b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-page.tsx
@@ -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>