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.

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

Karl Stolleyb70dc23a4733
diff --git a/docs/testing/manual-testing.md b/docs/testing/manual-testing.md
index c3f8aa6ddc0..0eb4a6ba5c0 100644
--- a/docs/testing/manual-testing.md
+++ b/docs/testing/manual-testing.md
@@ -185,7 +185,7 @@ through the following views for Cordelia (and have Hamlet send new
messages after each narrow):
- 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 and Othello.
- Go to Verona view.
@@ -217,9 +217,9 @@ populated and where the focus is placed.
- Buttons
- 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 "Direct messages" and click on "New direct message"
+ - Narrow "All direct messages" and click on "New direct message"
- Topics
diff --git a/web/e2e-tests/message-basics.test.ts b/web/e2e-tests/message-basics.test.ts
index d8fc1afaa4c..ab6186eb507 100644
--- a/web/e2e-tests/message-basics.test.ts
+++ b/web/e2e-tests/message-basics.test.ts
@@ -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"),
"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> {
diff --git a/web/src/filter.js b/web/src/filter.js
index a9ebd7662d2..dd619919fbc 100644
--- a/web/src/filter.js
+++ b/web/src/filter.js
@@ -747,7 +747,7 @@ export class Filter {
case "is-mentioned":
return $t({defaultMessage: "Mentions"});
case "is-dm":
- return $t({defaultMessage: "Direct messages"});
+ return $t({defaultMessage: "All direct messages"});
case "is-resolved":
return $t({defaultMessage: "Topics marked as resolved"});
// These cases return false for is_common_narrow, and therefore are not
diff --git a/web/tests/filter.test.js b/web/tests/filter.test.js
index 48a4b961969..ecb5dcd8151 100644
--- a/web/tests/filter.test.js
+++ b/web/tests/filter.test.js
@@ -1596,7 +1596,7 @@ test("navbar_helpers", () => {
operator: is_dm,
is_common_narrow: true,
icon: "envelope",
- title: "translated: Direct messages",
+ title: "translated: All direct messages",
redirect_url_with_search: "/#narrow/is/dm",
},
{