diff --git a/froide/foirequest/notifications.py b/froide/foirequest/notifications.py index 8601f2242..21642c366 100644 --- a/froide/foirequest/notifications.py +++ b/froide/foirequest/notifications.py @@ -143,7 +143,7 @@ def send_update(notifications: List[Notification], user): count = len(request_list) subject = ngettext_lazy( - "Update on one of your request", "Update on %(count)s of your requests", count + "Update on one of your requests", "Update on %(count)s of your requests", count ) % {"count": count} update_requester_email.send( diff --git a/froide/foirequest/tests/test_misc.py b/froide/foirequest/tests/test_misc.py index 1fc179074..68c8a9474 100644 --- a/froide/foirequest/tests/test_misc.py +++ b/froide/foirequest/tests/test_misc.py @@ -123,7 +123,7 @@ def test_requester_batch_update(self): ) batch_update_requester(start=start, end=end) self.assertEqual(len(mail.outbox), 1) - self.assertIn("Update on one of your request", mail.outbox[0].subject) + self.assertIn("Update on one of your requests", mail.outbox[0].subject) class SendUpdateTest(TestCase): @@ -203,7 +203,7 @@ def test_includes_requests_with_only_non_requester_comments(self): assert len(request_list) == 1 assert request_list[0]["request"] == self.request1a assert request_list[0]["events"] == ["Comment 2"] - assert mock_send.call_args[1]["subject"] == "Update on one of your request" + assert mock_send.call_args[1]["subject"] == "Update on one of your requests" def test_includes_requests_with_both_requester_and_non_requester_comments(self): notifications = [self.comment_request1a_user1, self.comment_request1a_user2] @@ -220,7 +220,7 @@ def test_includes_requests_with_both_requester_and_non_requester_comments(self): assert len(request_list) == 1 assert request_list[0]["request"] == self.request1a assert request_list[0]["events"] == ["Comment 1", "Comment 2"] - assert mock_send.call_args[1]["subject"] == "Update on one of your request" + assert mock_send.call_args[1]["subject"] == "Update on one of your requests" def test_includes_multiple_requests_with_comments_from_multiple_users(self): notifications = [ diff --git a/froide/locale/de/LC_MESSAGES/django.po b/froide/locale/de/LC_MESSAGES/django.po index f6fec4f3d..4ec325b4e 100644 --- a/froide/locale/de/LC_MESSAGES/django.po +++ b/froide/locale/de/LC_MESSAGES/django.po @@ -4137,7 +4137,7 @@ msgstr "Nutzer:in wurde eine E-Mail gesendet." #: froide/foirequest/notifications.py #, python-format -msgid "Update on one of your request" +msgid "Update on one of your requests" msgid_plural "Update on %(count)s of your requests" msgstr[0] "Neues bei einer Ihrer Anfragen" msgstr[1] "Neues bei %(count)s Ihrer Anfragen"