fix: move resetPassword email locales to server i18n
Build & Push Docker Image / build (push) Successful in 4m9s
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:
@@ -11,6 +11,13 @@
|
|||||||
"validity": "Dieser Link ist 24 Stunden gültig.",
|
"validity": "Dieser Link ist 24 Stunden gültig.",
|
||||||
"footer": "Falls du dich nicht registriert hast, kannst du diese E-Mail ignorieren."
|
"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": {
|
"invite": {
|
||||||
"subject": "{appName} - Du wurdest eingeladen",
|
"subject": "{appName} - Du wurdest eingeladen",
|
||||||
"title": "Du wurdest eingeladen",
|
"title": "Du wurdest eingeladen",
|
||||||
|
|||||||
@@ -11,6 +11,13 @@
|
|||||||
"validity": "This link is valid for 24 hours.",
|
"validity": "This link is valid for 24 hours.",
|
||||||
"footer": "If you didn't register, please ignore this email."
|
"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": {
|
"invite": {
|
||||||
"subject": "{appName} - You've been invited",
|
"subject": "{appName} - You've been invited",
|
||||||
"title": "You have been invited",
|
"title": "You have been invited",
|
||||||
|
|||||||
@@ -666,13 +666,6 @@
|
|||||||
"validity": "Dieser Link ist 24 Stunden gültig.",
|
"validity": "Dieser Link ist 24 Stunden gültig.",
|
||||||
"footer": "Falls du dich nicht registriert hast, kannst du diese E-Mail ignorieren."
|
"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": {
|
"invite": {
|
||||||
"subject": "{appName} - Du wurdest eingeladen",
|
"subject": "{appName} - Du wurdest eingeladen",
|
||||||
"title": "Du wurdest eingeladen! 🎉",
|
"title": "Du wurdest eingeladen! 🎉",
|
||||||
|
|||||||
@@ -666,13 +666,6 @@
|
|||||||
"validity": "This link is valid for 24 hours.",
|
"validity": "This link is valid for 24 hours.",
|
||||||
"footer": "If you didn't register, please ignore this email."
|
"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": {
|
"invite": {
|
||||||
"subject": "{appName} - You've been invited",
|
"subject": "{appName} - You've been invited",
|
||||||
"title": "You've been invited! 🎉",
|
"title": "You've been invited! 🎉",
|
||||||
|
|||||||
Reference in New Issue
Block a user