Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

emails: Rename "New missed messages" email subjects to "New messages".

Mateusz Manderacc11575b214f
diff --git a/templates/zerver/emails/missed_message.subject.txt b/templates/zerver/emails/missed_message.subject.txt
index 1477441f4a2..7986af94b00 100644
--- a/templates/zerver/emails/missed_message.subject.txt
+++ b/templates/zerver/emails/missed_message.subject.txt
@@ -4,7 +4,7 @@
{% elif stream_email_notify or mention %} #{{ stream_header }}
{% endif %}
{% else %}
- {% trans %}New missed messages{% endtrans %}
+ {% trans %}New messages{% endtrans %}
{% endif %}
{% if realm_name_in_notifications %} [{{ realm_str }}]
{% endif %}
diff --git a/zerver/tests/test_email_notifications.py b/zerver/tests/test_email_notifications.py
index 2611ebae712..a21c41dde07 100644
--- a/zerver/tests/test_email_notifications.py
+++ b/zerver/tests/test_email_notifications.py
@@ -366,7 +366,7 @@ class TestMissedMessages(ZulipTestCase):
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
- email_subject = "New missed messages"
+ email_subject = "New messages"
verify_body_does_not_include = [
"Denmark > test",
"Othello, the Moor of Venice",
@@ -408,7 +408,7 @@ class TestMissedMessages(ZulipTestCase):
"View or reply in Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
- email_subject = "New missed messages"
+ email_subject = "New messages"
verify_body_does_not_include = [
"Denmark > test",
"Othello, the Moor of Venice",
@@ -490,7 +490,7 @@ class TestMissedMessages(ZulipTestCase):
"View or reply in Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
- email_subject = "New missed messages"
+ email_subject = "New messages"
verify_body_does_not_include = [
"Othello, the Moor of Venice",
"Extremely personal message!",
@@ -550,7 +550,7 @@ class TestMissedMessages(ZulipTestCase):
"View or reply in Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
- email_subject = "New missed messages"
+ email_subject = "New messages"
verify_body_does_not_include = [
"Iago",
"Othello, the Moor of Venice Othello, the Moor of Venice",