Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
This commit is contained in:
parent
6a20f48ad7
commit
f661e3a078
51 changed files with 158 additions and 149 deletions
|
|
@ -203,9 +203,9 @@ def test_report_serializer_repr(factories, to_api_date):
|
|||
{"type": "other", "submitter_email": "hello@example.test"},
|
||||
False,
|
||||
),
|
||||
# anonymous reports enabled for the category, but invalid email
|
||||
# anonymous reports enabled for the category, but invalid e-mail
|
||||
(["other"], {}, {"type": "other", "submitter_email": "hello@"}, False),
|
||||
# anonymous reports enabled for the category, no email
|
||||
# anonymous reports enabled for the category, no e-mail
|
||||
(["other"], {}, {"type": "other"}, False),
|
||||
# anonymous reports enabled for the category, actor object is empty
|
||||
(["other"], {"submitter": None}, {"type": "other"}, False),
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ def test_report_created_signal_calls_send_new_report_mail(factories, mocker):
|
|||
def test_report_created_signal_sends_email_to_mods(factories, mailoutbox, settings):
|
||||
mod1 = factories["users.User"](permission_moderation=True)
|
||||
mod2 = factories["users.User"](permission_moderation=True)
|
||||
# inactive, so no email
|
||||
# inactive, so no e-mail
|
||||
factories["users.User"](permission_moderation=True, is_active=False)
|
||||
# no moderation permission, so no email
|
||||
# no moderation permission, so no e-mail
|
||||
factories["users.User"]()
|
||||
|
||||
report = factories["moderation.Report"]()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue