Files
Docwell/Server/internal/authmail/templates/de.json
T
tajniak81andClaude Opus 5.5 7f09338b60 Send PocketBase's auth emails in the recipient's language
PocketBase keeps one set of email templates on the users collection, so
before docwell-server asks it for a verification, password-reset or
magic-link email, the new authmail package writes the templates in the
recipient's language (stored locale, else the request's), one send at a
time. Adds Polish, German, French and Spanish templates; English stays in
the schema snapshot. New-login alerts use the language written last.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:39:58 +01:00

23 lines
1.9 KiB
JSON

{
"verificationTemplate": {
"subject": "Bestätige deine E-Mail-Adresse für {APP_NAME}",
"body": "<p>Hallo,</p><p>bitte bestätige deine E-Mail-Adresse für {APP_NAME}:</p><p><a href=\"{APP_URL}/verify-email?token={TOKEN}\">E-Mail-Adresse bestätigen</a></p><p>Wenn du kein Konto angelegt hast, kannst du diese E-Mail ignorieren.</p>"
},
"resetPasswordTemplate": {
"subject": "Setze dein Passwort für {APP_NAME} zurück",
"body": "<p>Hallo,</p><p>jemand möchte das Passwort deines Kontos bei {APP_NAME} zurücksetzen:</p><p><a href=\"{APP_URL}/reset-password?token={TOKEN}\">Neues Passwort wählen</a></p><p>Wenn du das nicht warst, kannst du diese E-Mail ignorieren.</p>"
},
"confirmEmailChangeTemplate": {
"subject": "Bestätige deine neue E-Mail-Adresse für {APP_NAME}",
"body": "<p>Hallo,</p><p>bitte bestätige deine neue E-Mail-Adresse für {APP_NAME}:</p><p><a href=\"{APP_URL}/confirm-email-change?token={TOKEN}\">Neue E-Mail-Adresse bestätigen</a></p>"
},
"otp": {
"subject": "Bei {APP_NAME} anmelden",
"body": "<p>Hallo,</p><p>mit diesem Link meldest du dich bei {APP_NAME} an:</p><p><a href=\"{APP_URL}/magic-link?otp={OTP_ID}&amp;code={OTP}\">Anmelden</a></p><p>Oder gib diesen Code ein: <strong>{OTP}</strong></p><p>Link und Code funktionieren einmal, 15 Minuten lang. Wenn du dich nicht anmelden wolltest, kannst du diese E-Mail ignorieren.</p>"
},
"authAlert": {
"subject": "Anmeldung von einem neuen Ort",
"body": "<p>Hallo,</p>\n<p>wir haben eine Anmeldung bei deinem Konto bei {APP_NAME} von einem neuen Ort bemerkt:</p>\n<p><em>{ALERT_INFO}</em></p>\n<p><strong>Wenn du das nicht warst, ändere sofort dein Passwort für {APP_NAME}, um allen anderen Orten den Zugriff zu entziehen.</strong></p>\n<p>Wenn du das warst, kannst du diese E-Mail ignorieren.</p>\n<p>\n Danke,<br/>\n dein {APP_NAME}-Team\n</p>"
}
}