diff --git a/src/core/locale/de/LC_MESSAGES/django.po b/src/core/locale/de/LC_MESSAGES/django.po index fc92843e22a39728c411c3cd6f234bfe1a12016b..1570d304c8e8b49891bf8218226080352809adfb 100644 --- a/src/core/locale/de/LC_MESSAGES/django.po +++ b/src/core/locale/de/LC_MESSAGES/django.po @@ -2421,14 +2421,14 @@ msgstr "" #, python-format msgid "" "\n" -"Your username, in case you’ve forgotten: %(user.username)s\n" +"Your username, in case you’ve forgotten: %(username)s\n" "\n" "If you have not requested a new password or didn't expect this mail please simply ignore it.\n" "\n" "Looking forward to having you at the event!\n" msgstr "" "\n" -"Dein Benutzername, falls du ihn vergessen hast: %(user.username)s\n" +"Dein Benutzername, falls du ihn vergessen hast: %(username)s\n" "\n" "Falls du kein neues Passwort angefordert hast, ignoriere diese E-Mail bitte einfach.\n" "\n" diff --git a/src/core/locale/en/LC_MESSAGES/django.po b/src/core/locale/en/LC_MESSAGES/django.po index dfb63b7f47bd35718e8786de74692374e07c9742..8370a3dbb5d6f67610e75f78b319f9552a1609b9 100644 --- a/src/core/locale/en/LC_MESSAGES/django.po +++ b/src/core/locale/en/LC_MESSAGES/django.po @@ -2416,7 +2416,7 @@ msgstr "" #, python-format msgid "" "\n" -"Your username, in case you’ve forgotten: %(user.username)s\n" +"Your username, in case you’ve forgotten: %(username)s\n" "\n" "If you have not requested a new password or didn't expect this mail please simply ignore it.\n" "\n" diff --git a/src/core/templates/registration/core_password_reset_email.html b/src/core/templates/registration/core_password_reset_email.html index d0f63c7fdae85eb7ccfebcbeef46602e1618d8ad..b3f8b5e8febeff81729715a435c8beaa3f7b59ee 100644 --- a/src/core/templates/registration/core_password_reset_email.html +++ b/src/core/templates/registration/core_password_reset_email.html @@ -9,8 +9,8 @@ Please use the following link and choose a new password: {% block reset_link %} {% hub_absolute 'plainui:password_reset_confirm' uidb64=uid token=token %} {% endblock reset_link %} - {% blocktranslate %} -Your username, in case you’ve forgotten: {{ user.username}} + {% blocktranslate with username=user.username %} +Your username, in case you’ve forgotten: {{ username }} If you have not requested a new password or didn't expect this mail please simply ignore it.