diff --git a/src/Mailer.ts b/src/Mailer.ts index db590f3..93597d6 100644 --- a/src/Mailer.ts +++ b/src/Mailer.ts @@ -77,7 +77,7 @@ export class Mailer { const mail: MailOptions = { to: to_address, - subject: i18next.t("subject_reset", Mailer.interpolations).toString(), + subject: i18next.t("lfk-password-reset", Mailer.interpolations).toString(), text: body_txt, html: body_html }; diff --git a/src/locales/de.json b/src/locales/de.json index 1ccd6b7..5e980de 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1,10 +1,16 @@ { + "a-password-reset-for-your-account-got-requested": "Ein Passwort Reset wurde für dein Konto beantragt.", "all-rights-reserved": "Alle Rechte vorbehalten", + "if-you-didnt-request-the-reset-please-ignore-this-mail": "Solltest du den Reset nicht beantragt haben kannst du diese Mail einfach ignorieren.", "imprint": "Impressum", "lfk-mail-test": "{{copyright_owner}} - Mail test", + "lfk-password-reset": "{{copyright_owner}} - Passwort zurücksetzen", + "password-reset": "Passwort zurücksetzen", "privacy": "Datenschutz", - "subject_reset": "{{copyright_owner}} Passwort zurücksetzen", + "reset-password": "Passwort zurücksetzen", "test-mail": "Test mail", "this-is-a-test-mail-triggered-by-an-admin-in-the-lfk-backend": "Das ist eine Testmail, die von einem Admin im LfK! backend erzeugt wurde.", - "this-mail-was-sent-to-recipient_mail-because-someone-request-a-mail-test-for-this-mail-address": "Du bekommst diese Mail, weil jemand eine Testmail für deine Mail-Adresse angefragt hat." + "this-mail-was-sent-to-recipient_mail-because-someone-request-a-mail-test-for-this-mail-address": "Du bekommst diese Mail, weil jemand eine Testmail für deine Mail-Adresse angefragt hat.", + "this-mail-was-sent-to-you-because-someone-request-a-password-reset-for-a-account-linked-to-the-mail-address": "Du bekommst diese E-Mail, weil jemand einen Passwort-Reset für deinen Account beantragt hat.", + "your-password-wont-be-changed-until-you-click-the-reset-link-below-and-set-a-new-one": "Dein Passwort wird erst zurückgesetzt, wenn du den Reset-Link öffnest und ein neues Passwort setzt." } \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 90712e0..7f56e85 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,17 +1,16 @@ { - "all-rights-reserved": "All rights reserved.", - "imprint": "Imprint", - "lfk-mail-test": "{{copyright_owner}} - Mail test", - "privacy": "Privacy", - "subject_reset": "{{copyright_owner}} password reset", - "test-mail": "Test mail", - "this-is-a-test-mail-triggered-by-an-admin-in-the-lfk-backend": "This is a test mail triggered by an admin in the LfK! backend.", - "this-mail-was-sent-to-recipient_mail-because-someone-request-a-mail-test-for-this-mail-address": "This mail was sent to you because someone request a mail test for this mail address.", - "lfk-password-reset": "LfK! - Password reset", - "password-reset": "Password reset", - "a-password-reset-for-your-account-got-requested": "A password reset for your account got requested.", - "if-you-didnt-request-the-reset-please-ignore-this-mail": "If you didn't request the reset please ignore this mail.", - "your-password-wont-be-changed-until-you-click-the-reset-link-below-and-set-a-new-one": "Your password won't be changed until you click the reset link below and set a new one.", - "reset-password": "Reset password", - "this-mail-was-sent-to-you-because-someone-request-a-password-reset-for-a-account-linked-to-the-mail-address": "This mail was sent to you because someone request a password reset for a account linked to the mail address." -} + "a-password-reset-for-your-account-got-requested": "A password reset for your account got requested.", + "all-rights-reserved": "All rights reserved.", + "if-you-didnt-request-the-reset-please-ignore-this-mail": "If you didn't request the reset please ignore this mail.", + "imprint": "Imprint", + "lfk-mail-test": "{{copyright_owner}} - Mail test", + "lfk-password-reset": "{{copyright_owner}} - Password reset", + "password-reset": "Password reset", + "privacy": "Privacy", + "reset-password": "Reset password", + "test-mail": "Test mail", + "this-is-a-test-mail-triggered-by-an-admin-in-the-lfk-backend": "This is a test mail triggered by an admin in the LfK! backend.", + "this-mail-was-sent-to-recipient_mail-because-someone-request-a-mail-test-for-this-mail-address": "This mail was sent to you because someone request a mail test for this mail address.", + "this-mail-was-sent-to-you-because-someone-request-a-password-reset-for-a-account-linked-to-the-mail-address": "This mail was sent to you because someone request a password reset for a account linked to the mail address.", + "your-password-wont-be-changed-until-you-click-the-reset-link-below-and-set-a-new-one": "Your password won't be changed until you click the reset link below and set a new one." +} \ No newline at end of file