diff --git a/templates/zephyr/compose.html b/templates/zephyr/compose.html index 91aadf486e..bb08cfa64c 100644 --- a/templates/zephyr/compose.html +++ b/templates/zephyr/compose.html @@ -43,7 +43,7 @@ + value="" placeholder="Topic" autocomplete="off" tabindex="130"/>
Here, we have three conversations occurring simultaneously:
- Streams, subjects, and narrowing let you zoom in on the things that + Streams, topics, and narrowing let you zoom in on the things that interest you, and quickly ignore the ones that don't.
diff --git a/zephyr/lib/actions.py b/zephyr/lib/actions.py
index 46c605fc53..4317985ed2 100644
--- a/zephyr/lib/actions.py
+++ b/zephyr/lib/actions.py
@@ -403,12 +403,12 @@ def check_message(sender, client, message_type_name, message_to,
return "Invalid stream name"
if subject_name is None:
- return "Missing subject"
+ return "Missing topic"
subject = subject_name.strip()
if subject == "":
- return "Subject can't be empty"
+ return "Topic can't be empty"
if len(subject) > MAX_SUBJECT_LENGTH:
- return "Subject too long"
+ return "Topic too long"
## FIXME: Commented out temporarily while we figure out what we want
# if not valid_stream_name(subject):
# return json_error("Invalid subject name")
@@ -992,10 +992,10 @@ def do_update_message(user_profile, message_id, subject, content):
if subject is not None:
subject = subject.strip()
if subject == "":
- raise JsonableError("Subject can't be empty")
+ raise JsonableError("Topic can't be empty")
if len(subject) > MAX_SUBJECT_LENGTH:
- raise JsonableError("Subject too long")
+ raise JsonableError("Topic too long")
event["orig_subject"] = message.subject
message.subject = subject
event["subject"] = subject
diff --git a/zephyr/static/js/tutorial.js b/zephyr/static/js/tutorial.js
index 5aacf023fd..56f1c0b051 100644
--- a/zephyr/static/js/tutorial.js
+++ b/zephyr/static/js/tutorial.js
@@ -317,7 +317,7 @@ function subject() {
var spotlight_message = rows.first_visible();
var bar = spotlight_message.prev(".recipient_row");
var placement = maybe_tweak_placement("bottom");
- create_and_show_popover(bar, placement, "Subjects", "tutorial_subject");
+ create_and_show_popover(bar, placement, "Topics", "tutorial_subject");
var my_popover = $("#tutorial-subject").closest(".popover");
if (placement === "bottom") { // Wider screen, popover is on bottom.
diff --git a/zephyr/static/templates/actions_popover_content.handlebars b/zephyr/static/templates/actions_popover_content.handlebars
index 469958be38..7a438467b0 100644
--- a/zephyr/static/templates/actions_popover_content.handlebars
+++ b/zephyr/static/templates/actions_popover_content.handlebars
@@ -4,7 +4,7 @@
{{#if message.is_stream}}
- Reply to this subject on stream {{message.stream}}
+ Reply to this topic on stream {{message.stream}}
{{else}}
Reply to this private message
{{/if}}
@@ -22,7 +22,7 @@