fix: move resetPassword email locales to server i18n
Build & Push Docker Image / build (push) Successful in 4m9s

The password reset email is rendered server-side via emaili18n.js,
which loads translations from server/i18n. The email.resetPassword
keys only existed in the frontend src/i18n locales, so t() returned
the raw key paths in the sent email. Move the EN/DE block to the
server locales and drop the unused copy from the frontend.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 22:28:37 +02:00
co-authored by Claude Opus 4.8
parent db82cd944f
commit dffb68efe5
4 changed files with 14 additions and 14 deletions
+7
View File
@@ -11,6 +11,13 @@
"validity": "Dieser Link ist 24 Stunden gültig.",
"footer": "Falls du dich nicht registriert hast, kannst du diese E-Mail ignorieren."
},
"resetPassword": {
"subject": "{appName} - Passwort zurücksetzen",
"intro": "Du hast angefordert, dein Passwort zurückzusetzen. Klicke auf den Button, um ein neues Passwort festzulegen:",
"button": "Passwort zurücksetzen",
"validity": "Dieser Link ist 1 Stunde gültig.",
"footer": "Falls du das nicht angefordert hast, kannst du diese E-Mail ignorieren dein Passwort bleibt unverändert."
},
"invite": {
"subject": "{appName} - Du wurdest eingeladen",
"title": "Du wurdest eingeladen",
+7
View File
@@ -11,6 +11,13 @@
"validity": "This link is valid for 24 hours.",
"footer": "If you didn't register, please ignore this email."
},
"resetPassword": {
"subject": "{appName} - Reset your password",
"intro": "You requested to reset your password. Click the button below to set a new one:",
"button": "Reset Password",
"validity": "This link is valid for 1 hour.",
"footer": "If you didn't request this, you can safely ignore this email — your password will remain unchanged."
},
"invite": {
"subject": "{appName} - You've been invited",
"title": "You have been invited",
-7
View File
@@ -666,13 +666,6 @@
"validity": "Dieser Link ist 24 Stunden gültig.",
"footer": "Falls du dich nicht registriert hast, kannst du diese E-Mail ignorieren."
},
"resetPassword": {
"subject": "{appName} - Passwort zurücksetzen",
"intro": "Du hast angefordert, dein Passwort zurückzusetzen. Klicke auf den Button, um ein neues Passwort festzulegen:",
"button": "Passwort zurücksetzen",
"validity": "Dieser Link ist 1 Stunde gültig.",
"footer": "Falls du das nicht angefordert hast, kannst du diese E-Mail ignorieren dein Passwort bleibt unverändert."
},
"invite": {
"subject": "{appName} - Du wurdest eingeladen",
"title": "Du wurdest eingeladen! 🎉",
-7
View File
@@ -666,13 +666,6 @@
"validity": "This link is valid for 24 hours.",
"footer": "If you didn't register, please ignore this email."
},
"resetPassword": {
"subject": "{appName} - Reset your password",
"intro": "You requested to reset your password. Click the button below to set a new one:",
"button": "Reset Password",
"validity": "This link is valid for 1 hour.",
"footer": "If you didn't request this, you can safely ignore this email — your password will remain unchanged."
},
"invite": {
"subject": "{appName} - You've been invited",
"title": "You've been invited! 🎉",