Skip to content

Commit

Permalink
[#1752] Updating translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Oct 5, 2023
1 parent 084b643 commit 7b93623
Show file tree
Hide file tree
Showing 5 changed files with 1,284 additions and 905 deletions.
6 changes: 3 additions & 3 deletions src/open_inwoner/accounts/tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,12 +1281,12 @@ def test_password_reset_email_contains_proper_data(self):
)
self.assertIn(
_(
"You're receiving this email because for your user account at example.com you requested a password reset."
"U ontvangt deze e-mail, omdat u een aanvraag voor opnieuw instellen van het wachtwoord voor uw account op example.comhebt gedaan."
).format(domain=current_site.domain),
body,
)
self.assertIn(
_("Your username, in case you’ve forgotten: {user_email}").format(
_("Uw gebruikersnaam, mocht u deze vergeten zijn: {user_email}").format(
user_email=self.user.email
),
body,
Expand All @@ -1299,7 +1299,7 @@ def test_password_reset_confirm_custom_template_is_rendered(self):
confirm_response = self.app.get(
reverse("password_reset_confirm", kwargs={"token": token, "uidb64": uid})
).follow()
self.assertContains(confirm_response, _("Mijn wachtwoord wijzigen"))
self.assertContains(confirm_response, _("Change my password"))

def test_custom_password_reset_form_sends_email_when_user_is_default(self):
self.app.post(reverse("password_reset"), {"email": self.user.email})
Expand Down
Binary file modified src/open_inwoner/conf/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit 7b93623

Please sign in to comment.