diff --git a/templates/zerver/emails/missed_message.html b/templates/zerver/emails/missed_message.html
index 163c614497..4c3b4bbac3 100644
--- a/templates/zerver/emails/missed_message.html
+++ b/templates/zerver/emails/missed_message.html
@@ -30,17 +30,17 @@
{% elif mentioned_user_group_name %}
{% trans %}You are receiving this because @{{ mentioned_user_group_name }} was mentioned.{% endtrans %}
{% elif topic_wildcard_mentioned_in_followed_topic %}
- {% trans %}You are receiving this because all topic participants were mentioned in #{{ stream_name }} > {{ topic_name }}.{% endtrans %}
+ {% trans %}You are receiving this because all topic participants were mentioned in #{{ channel_name }} > {{ topic_name }}.{% endtrans %}
{% elif stream_wildcard_mentioned_in_followed_topic %}
{% trans %}You are receiving this because you have wildcard mention notifications enabled for topics you follow.{% endtrans %}
{% elif topic_wildcard_mentioned %}
- {% trans %}You are receiving this because all topic participants were mentioned in #{{ stream_name }} > {{ topic_name }}.{% endtrans %}
+ {% trans %}You are receiving this because all topic participants were mentioned in #{{ channel_name }} > {{ topic_name }}.{% endtrans %}
{% elif stream_wildcard_mentioned %}
- {% trans %}You are receiving this because everyone was mentioned in #{{ stream_name }}.{% endtrans %}
+ {% trans %}You are receiving this because everyone was mentioned in #{{ channel_name }}.{% endtrans %}
{% elif followed_topic_email_notify %}
{% trans %}You are receiving this because you have email notifications enabled for topics you follow.{% endtrans %}
{% elif stream_email_notify %}
- {% trans %}You are receiving this because you have email notifications enabled for #{{ stream_name }}.{% endtrans %}
+ {% trans %}You are receiving this because you have email notifications enabled for #{{ channel_name }}.{% endtrans %}
{% endif %}
{% if reply_to_zulip %}
{% trans notif_url=realm_uri + "/#settings/notifications" %}Reply to this email directly, view it in {{ realm_name }} Zulip, or manage email preferences.{% endtrans %}
diff --git a/templates/zerver/emails/missed_message.subject.txt b/templates/zerver/emails/missed_message.subject.txt
index 6ad8e8c3db..163f597a9e 100644
--- a/templates/zerver/emails/missed_message.subject.txt
+++ b/templates/zerver/emails/missed_message.subject.txt
@@ -9,8 +9,8 @@
advantage of this to retain thread continuity in email notifications
even after a topic is resolved.
#}
- {% if topic_resolved %}{% trans %}[resolved] #{{ stream_name }} > {{ topic_name }}{% endtrans %}
- {% else %}#{{ stream_name }} > {{ topic_name }}
+ {% if topic_resolved %}{% trans %}[resolved] #{{ channel_name }} > {{ topic_name }}{% endtrans %}
+ {% else %}#{{ channel_name }} > {{ topic_name }}
{% endif %}
{% endif %}
{% else %}
diff --git a/templates/zerver/emails/missed_message.txt b/templates/zerver/emails/missed_message.txt
index f0dcb79043..b806aabf54 100644
--- a/templates/zerver/emails/missed_message.txt
+++ b/templates/zerver/emails/missed_message.txt
@@ -26,17 +26,17 @@ See {{ alert_notif_url }} for more details.
{% elif mentioned_user_group_name %}
{% trans %}You are receiving this because @{{ mentioned_user_group_name }} was mentioned.{% endtrans %}
{% elif topic_wildcard_mentioned_in_followed_topic %}
-{% trans %}You are receiving this because all topic participants were mentioned in #{{ stream_name }} > {{ topic_name }}.{% endtrans %}
+{% trans %}You are receiving this because all topic participants were mentioned in #{{ channel_name }} > {{ topic_name }}.{% endtrans %}
{% elif stream_wildcard_mentioned_in_followed_topic %}
{% trans %}You are receiving this because you have wildcard mention notifications enabled for topics you follow.{% endtrans %}
{% elif topic_wildcard_mentioned %}
-{% trans %}You are receiving this because all topic participants were mentioned in #{{ stream_name }} > {{ topic_name }}.{% endtrans %}
+{% trans %}You are receiving this because all topic participants were mentioned in #{{ channel_name }} > {{ topic_name }}.{% endtrans %}
{% elif stream_wildcard_mentioned %}
-{% trans %}You are receiving this because everyone was mentioned in #{{ stream_name }}.{% endtrans %}
+{% trans %}You are receiving this because everyone was mentioned in #{{ channel_name }}.{% endtrans %}
{% elif followed_topic_email_notify %}
{% trans %}You are receiving this because you have email notifications enabled for topics you follow.{% endtrans %}
{% elif stream_email_notify %}
-{% trans %}You are receiving this because you have email notifications enabled for #{{ stream_name }}.{% endtrans %}
+{% trans %}You are receiving this because you have email notifications enabled for #{{ channel_name }}.{% endtrans %}
{% endif %}
{% if reply_to_zulip %}
diff --git a/templates/zerver/emails/onboarding_zulip_topics.html b/templates/zerver/emails/onboarding_zulip_topics.html
index 8e61cdcd56..4564a5b407 100644
--- a/templates/zerver/emails/onboarding_zulip_topics.html
+++ b/templates/zerver/emails/onboarding_zulip_topics.html
@@ -10,19 +10,19 @@
- {{ _("In Zulip, streams determine who gets a message. Topics tell you what the message is about.")}} {{ _("Using topics, you can read Zulip one conversation at a time. You'll see each message in context, no matter how many different discussions are going on.") }} + {{ _("In Zulip, channels determine who gets a message. Topics tell you what the message is about.")}} {{ _("Using topics, you can read Zulip one conversation at a time. You'll see each message in context, no matter how many different discussions are going on.") }}
-
+
- {{ _("To kick off a new conversation, just pick a stream and start a new topic. This way, the new conversation thread won't interrupt ongoing discussions. For a good topic name, think about finishing the sentence: “Hey, can we chat about…?”") }} + {{ _("To kick off a new conversation, just pick a channel and start a new topic. This way, the new conversation thread won't interrupt ongoing discussions. For a good topic name, think about finishing the sentence: “Hey, can we chat about…?”") }}
- {% trans %}Don't stress about picking the perfect name for your topic. If anything is out of place, it's easy to move messages, rename topics, or even move a topic to a different stream.{% endtrans %} + {% trans %}Don't stress about picking the perfect name for your topic. If anything is out of place, it's easy to move messages, rename topics, or even move a topic to a different channel.{% endtrans %}
{{ _("Go to Zulip") }} diff --git a/templates/zerver/emails/onboarding_zulip_topics.txt b/templates/zerver/emails/onboarding_zulip_topics.txt index 2942f0cc00..005d6c23c9 100644 --- a/templates/zerver/emails/onboarding_zulip_topics.txt +++ b/templates/zerver/emails/onboarding_zulip_topics.txt @@ -1,10 +1,10 @@ {{ _("Here are some tips for keeping your Zulip conversations organized with topics.") }} -{{ _("In Zulip, streams determine who gets a message. Topics tell you what the message is about.") }} {{ _("Using topics, you can read Zulip one conversation at a time. You'll see each message in context, no matter how many different discussions are going on.") }} +{{ _("In Zulip, channels determine who gets a message. Topics tell you what the message is about.") }} {{ _("Using topics, you can read Zulip one conversation at a time. You'll see each message in context, no matter how many different discussions are going on.") }} -{{ _("To kick off a new conversation, just pick a stream and start a new topic. This way, the new conversation thread won't interrupt ongoing discussions. For a good topic name, think about finishing the sentence: “Hey, can we chat about…?”") }} +{{ _("To kick off a new conversation, just pick a channel and start a new topic. This way, the new conversation thread won't interrupt ongoing discussions. For a good topic name, think about finishing the sentence: “Hey, can we chat about…?”") }} -{% trans %}Don't stress about picking the perfect name for your topic. If anything is out of place, it's easy to move messages ({{ move_messages_link }}), rename topics ({{ rename_topics_link }}), or even move a topic to a different stream ({{ move_topic_to_different_stream_link }}).{% endtrans %} +{% trans %}Don't stress about picking the perfect name for your topic. If anything is out of place, it's easy to move messages ({{ move_messages_link }}), rename topics ({{ rename_topics_link }}), or even move a topic to a different channel ({{ move_channels_link }}).{% endtrans %} {{ _("Go to Zulip") }}: diff --git a/zerver/lib/email_notifications.py b/zerver/lib/email_notifications.py index 1af03824b7..b52b013cea 100644 --- a/zerver/lib/email_notifications.py +++ b/zerver/lib/email_notifications.py @@ -527,7 +527,7 @@ def do_send_missedmessage_events_reply_in_zulip( context.update(narrow_url=narrow_url) topic_resolved, topic_name = get_topic_resolution_and_bare_name(message.topic_name()) context.update( - stream_name=stream.name, + channel_name=stream.name, topic_name=topic_name, topic_resolved=topic_resolved, ) @@ -852,7 +852,7 @@ def enqueue_welcome_emails(user: UserProfile, realm_creation: bool = False) -> N unsubscribe_link=unsubscribe_link, move_messages_link=realm_url + "/help/move-content-to-another-topic", rename_topics_link=realm_url + "/help/rename-a-topic", - move_topic_to_different_stream_link=realm_url + "/help/move-content-to-another-stream", + move_channels_link=realm_url + "/help/move-content-to-another-stream", ) send_future_email(