view_labels: Change 'Direct messages' to 'All direct messages'.

This commit is contained in:
Karl Stolley 2023-09-27 09:55:33 -05:00 committed by Tim Abbott
parent 48424c4c8e
commit b70dc23a47
4 changed files with 6 additions and 6 deletions

View File

@ -185,7 +185,7 @@ through the following views for Cordelia (and have Hamlet send new
messages after each narrow): messages after each narrow):
- Go to All messages view. - Go to All messages view.
- Go to Direct messages view. - Go to All direct messages view.
- Go to Direct messages w/Hamlet. - Go to Direct messages w/Hamlet.
- Go to Direct messages w/Hamlet and Othello. - Go to Direct messages w/Hamlet and Othello.
- Go to Verona view. - Go to Verona view.
@ -217,9 +217,9 @@ populated and where the focus is placed.
- Buttons - Buttons
- Narrow to a stream and click on "New topic" - Narrow to a stream and click on "New topic"
- Narrow "Direct messages" and click on "New topic" - Narrow "All direct messages" and click on "New topic"
- Narrow to a stream and click on "New direct message" - Narrow to a stream and click on "New direct message"
- Narrow "Direct messages" and click on "New direct message" - Narrow "All direct messages" and click on "New direct message"
- Topics - Topics

View File

@ -277,7 +277,7 @@ async function expect_all_direct_messages(page: Page): Promise<void> {
await common.get_text_from_selector(page, "#left_bar_compose_stream_button_big"), await common.get_text_from_selector(page, "#left_bar_compose_stream_button_big"),
"New stream message", "New stream message",
); );
assert.strictEqual(await page.title(), "Direct messages - Zulip Dev - Zulip"); assert.strictEqual(await page.title(), "All direct messages - Zulip Dev - Zulip");
} }
async function test_narrow_by_clicking_the_left_sidebar(page: Page): Promise<void> { async function test_narrow_by_clicking_the_left_sidebar(page: Page): Promise<void> {

View File

@ -747,7 +747,7 @@ export class Filter {
case "is-mentioned": case "is-mentioned":
return $t({defaultMessage: "Mentions"}); return $t({defaultMessage: "Mentions"});
case "is-dm": case "is-dm":
return $t({defaultMessage: "Direct messages"}); return $t({defaultMessage: "All direct messages"});
case "is-resolved": case "is-resolved":
return $t({defaultMessage: "Topics marked as resolved"}); return $t({defaultMessage: "Topics marked as resolved"});
// These cases return false for is_common_narrow, and therefore are not // These cases return false for is_common_narrow, and therefore are not

View File

@ -1596,7 +1596,7 @@ test("navbar_helpers", () => {
operator: is_dm, operator: is_dm,
is_common_narrow: true, is_common_narrow: true,
icon: "envelope", icon: "envelope",
title: "translated: Direct messages", title: "translated: All direct messages",
redirect_url_with_search: "/#narrow/is/dm", redirect_url_with_search: "/#narrow/is/dm",
}, },
{ {