diff --git a/help/include/left-sidebar-conversations.md b/help/include/left-sidebar-conversations.md index 374593e5c5..8242558a3b 100644 --- a/help/include/left-sidebar-conversations.md +++ b/help/include/left-sidebar-conversations.md @@ -12,7 +12,7 @@ and the channels you are subscribed to. !!! tip "" - To see all conversations, click on **more conversations** (in direct messages) or **more topics** + To see all conversations, click on **more conversations** (in direct messages) or **show all topics** (in a channel). {end_tabs} diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.py index f83040478d..ca91936269 100644 --- a/tools/lib/capitalization.py +++ b/tools/lib/capitalization.py @@ -91,7 +91,7 @@ IGNORED_PHRASES = [ r"find accounts for another email address", # SPECIAL CASES # Because topics usually are lower-case, this would look weird if it were capitalized - r"more topics", + r"show all topics", # Used alone in a parenthetical where capitalized looks worse. r"^deprecated$", # We want the similar text in the Private Messages section to have the same capitalization. diff --git a/web/src/topic_list_data.ts b/web/src/topic_list_data.ts index abf7e4be8e..af72ef9e62 100644 --- a/web/src/topic_list_data.ts +++ b/web/src/topic_list_data.ts @@ -98,7 +98,7 @@ function choose_topics( // Otherwise, we don't show the topic in the // unzoomed view. We might display its unread - // count in in "more topics" if it is not muted. + // count in "show all topics" if it is not muted. return false; } @@ -203,7 +203,7 @@ export function get_list_info( stream_muted ) { // For muted streams, if the only unreads are in muted topics, - // we have a muted styling "more topics" row. + // we have a muted styling "all topics" row. return { items: topic_choice_state.items, num_possible_topics: topic_names.length, diff --git a/web/templates/more_topics.hbs b/web/templates/more_topics.hbs index eca1e34581..fe26c9bd41 100644 --- a/web/templates/more_topics.hbs +++ b/web/templates/more_topics.hbs @@ -2,7 +2,7 @@ {{#unless more_topics_unreads}}zero-topic-unreads{{/unless}} {{#if more_topics_unread_count_muted}}more_topic_unreads_muted_only{{/if}}">
- {{t "more topics" }} + {{t "show all topics" }}
{{#if more_topics_have_unread_mention_messages}} diff --git a/web/tests/topic_list_data.test.js b/web/tests/topic_list_data.test.js index 4d96ecfb7c..cb396a39ed 100644 --- a/web/tests/topic_list_data.test.js +++ b/web/tests/topic_list_data.test.js @@ -326,7 +326,7 @@ test("get_list_info unreads", ({override}) => { list_info = get_list_info(); assert.equal(list_info.items.length, 12); assert.equal(list_info.more_topics_unreads, 3); - // Topic 14 now makes it above the "more topics" fold. + // Topic 14 now makes it above the "show all topics" fold. assert.equal(list_info.more_topics_have_unread_mention_messages, false); assert.equal(list_info.num_possible_topics, 16); assert.equal(list_info.more_topics_unread_count_muted, true); diff --git a/zerver/models/streams.py b/zerver/models/streams.py index 34b4f067ff..6f6f7a2f34 100644 --- a/zerver/models/streams.py +++ b/zerver/models/streams.py @@ -137,7 +137,7 @@ class Stream(models.Model): can_remove_subscribers_group = models.ForeignKey(UserGroup, on_delete=models.RESTRICT) # The very first message ID in the stream. Used to help clients - # determine whether they might need to display "more topics" for a + # determine whether they might need to display "show all topics" for a # stream based on what messages they have cached. first_message_id = models.IntegerField(null=True, db_index=True) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index e8b8198e21..9a49c0886f 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -19675,7 +19675,7 @@ components: The ID of the first message in the channel. Intended to help clients determine whether they need to display - UI like the "more topics" widget that would suggest the channel + UI like the "show all topics" widget that would suggest the channel has older history that can be accessed. Is `null` for channels with no message history. @@ -20519,7 +20519,7 @@ components: The ID of the first message in the channel. Intended to help clients determine whether they need to display - UI like the "more topics" widget that would suggest the channel + UI like the "show all topics" widget that would suggest the channel has older history that can be accessed. Is `null` for channels with no message history. diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.py index 9e44e44e48..f0d87a9202 100644 --- a/zilencer/management/commands/populate_db.py +++ b/zilencer/management/commands/populate_db.py @@ -318,7 +318,7 @@ class Command(ZulipBaseCommand): if options["max_topics"] is None: # If max_topics is not set, we use a default that's big - # enough "more topics" should appear, and scales slowly + # enough "show all topics" should appear, and scales slowly # with the number of messages. options["max_topics"] = 8 + options["num_messages"] // 1000