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.

gear_menu: Rename "Manage streams" -> "Stream settings".

David81f99dde55c5
diff --git a/docs/testing/manual-testing.md b/docs/testing/manual-testing.md
index 0eb4a6ba5c0..138cec41655 100644
--- a/docs/testing/manual-testing.md
+++ b/docs/testing/manual-testing.md
@@ -446,7 +446,7 @@ Test subscribe/unsubscribe:
- Log in as Hamlet and go to his stream settings.
- As Cordelia, unsubscribe from "public1" using the checkmark in the
- streams settings page.
+ stream settings page.
- Verify that Hamlet sees that Cordelia has unsubscribed (and the
subscriber count should decrement).
- As Cordelia, resubscribe to "public1."
diff --git a/docs/translating/translating.md b/docs/translating/translating.md
index c6ec806ad2d..c75aa32bc79 100644
--- a/docs/translating/translating.md
+++ b/docs/translating/translating.md
@@ -209,8 +209,8 @@ properly capitalized in a way consistent with how Zulip does
capitalization in general. This means that:
- The first letter of a sentence or phrase should be capitalized.
- - Correct: "Manage streams"
- - Incorrect: "Manage Streams"
+ - Correct: "Stream settings"
+ - Incorrect: "Stream Settings"
- All proper nouns should be capitalized.
- Correct: "This is Zulip"
- Incorrect: "This is zulip"
diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.md
index a11608df3b2..4e55fd30bf5 100644
--- a/help/keyboard-shortcuts.md
+++ b/help/keyboard-shortcuts.md
@@ -12,7 +12,7 @@ in the Zulip app to add more to your repertoire as needed.
* [Message actions](#message-actions)
* [Drafts](#drafts)
* [Menus](#menus)
-* [Streams settings](#streams-settings-page)
+* [Stream settings](#stream-settings)
## The basics
@@ -213,7 +213,7 @@ Keyboard navigation (e.g. arrow keys) works as expected.
* **Toggle message actions menu**: <kbd>I</kbd>
-## Streams settings page
+## Stream settings
* **Scroll through streams**: <kbd class="arrow-key">↑</kbd> and
<kbd class="arrow-key">↓</kbd>
diff --git a/help/unsubscribe-from-a-stream.md b/help/unsubscribe-from-a-stream.md
index 5af6af970e9..ea57a0696e6 100644
--- a/help/unsubscribe-from-a-stream.md
+++ b/help/unsubscribe-from-a-stream.md
@@ -22,7 +22,7 @@ You can always unsubscribe from any stream in Zulip.
## Alternate methods to unsubscribe from a stream
-### Via manage streams
+### Via subscribed streams
{start_tabs}
diff --git a/web/src/add_stream_options_popover.js b/web/src/add_stream_options_popover.js
index 377ffa2718f..6011faaf01f 100644
--- a/web/src/add_stream_options_popover.js
+++ b/web/src/add_stream_options_popover.js
@@ -16,7 +16,7 @@ export function initialize() {
if (!can_create_streams) {
// If the user can't create streams, we directly
- // navigate them to the Manage streams subscribe UI.
+ // navigate them to the Stream settings subscribe UI.
window.location.assign("#streams/all");
// Returning false from an onShow handler cancels the show.
return false;
diff --git a/web/src/gear_menu.js b/web/src/gear_menu.js
index acfc020aae3..4c69d2998d3 100644
--- a/web/src/gear_menu.js
+++ b/web/src/gear_menu.js
@@ -25,7 +25,7 @@ actually do much of the work.
Our gear menu has these choices:
=================
-hash: Manage streams
+hash: Stream settings
hash: Settings
hash: Organization settings
link: Usage statistics
diff --git a/web/src/stream_settings_ui.js b/web/src/stream_settings_ui.js
index 6d8c8c7d5ae..378fa7baf0d 100644
--- a/web/src/stream_settings_ui.js
+++ b/web/src/stream_settings_ui.js
@@ -523,7 +523,7 @@ export function setup_page(callback) {
// so it's too risky a change for now.
//
// The history behind setting up the page from scratch every
- // time we go into "Manage streams" is that we used to have
+ // time we go into "Stream settings" is that we used to have
// some live-update issues, so being able to re-launch the
// streams page is kind of a workaround for those bugs, since
// we will re-populate the widget.
@@ -532,7 +532,7 @@ export function setup_page(callback) {
// continue the strategy that we re-render everything from scratch.
// Also, we'll always go back to the "Subscribed" tab.
function initialize_components() {
- // Sort by name by default when opening "Manage streams".
+ // Sort by name by default when opening "Stream settings".
sort_order = "by-stream-name";
const sort_toggler = components.toggle({
values: [
@@ -564,7 +564,7 @@ export function setup_page(callback) {
$("#streams_overlay_container .list-toggler-container").prepend(sort_toggler.get());
// Reset our internal state to reflect that we're initially in
- // the "Subscribed" tab if we're reopening "Manage streams".
+ // the "Subscribed" tab if we're reopening "Stream settings".
stream_ui_updates.set_subscribed_only(true);
toggler = components.toggle({
child_wants_focus: true,
diff --git a/web/templates/gear_menu_popover.hbs b/web/templates/gear_menu_popover.hbs
index 6e50412ee17..6b134eff9ae 100644
--- a/web/templates/gear_menu_popover.hbs
+++ b/web/templates/gear_menu_popover.hbs
@@ -56,7 +56,7 @@
<ul class="navbar-dropdown-menu-inner-list">
<li class="link-item navbar-dropdown-menu-inner-list-item hidden-for-spectators">
<a href="#streams/subscribed" class="navigate-link-on-enter navbar-dropdown-menu-link">
- <i class="navbar-dropdown-icon zulip-icon zulip-icon-hash" aria-hidden="true"></i> {{t 'Manage streams' }}
+ <i class="navbar-dropdown-icon zulip-icon zulip-icon-hash" aria-hidden="true"></i> {{t 'Stream settings' }}
</a>
</li>
<li class="link-item navbar-dropdown-menu-inner-list-item hidden-for-spectators">
diff --git a/web/templates/keyboard_shortcuts.hbs b/web/templates/keyboard_shortcuts.hbs
index 41111db0f6a..e7f1aa81fdb 100644
--- a/web/templates/keyboard_shortcuts.hbs
+++ b/web/templates/keyboard_shortcuts.hbs
@@ -343,7 +343,7 @@
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
- <th colspan="2">{{t 'Streams settings' }}</th>
+ <th colspan="2">{{t 'Stream settings' }}</th>
</tr>
</thead>
<tr>
diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py
index 22f03786da1..8eafb41b630 100644
--- a/zerver/lib/markdown/help_relative_links.py
+++ b/zerver/lib/markdown/help_relative_links.py
@@ -19,7 +19,7 @@ gear_info = {
# key is from REGEXP: `{relative|gear|key}`
# name is what the item is called in the gear menu: `Select **name**.`
# link is used for relative links: `Select [name](link).`
- "manage-streams": ['<i class="fa fa-exchange"></i> Manage streams', "/#streams/subscribed"],
+ "stream-settings": ['<i class="fa fa-exchange"></i> Stream settings', "/#streams/subscribed"],
"settings": ['<i class="fa fa-wrench"></i> Personal Settings', "/#settings/profile"],
"organization-settings": [
'<i class="fa fa-bolt"></i> Organization settings',
@@ -92,7 +92,7 @@ stream_instructions_no_link = """
1. Click on the **gear** (<i class="fa fa-cog"></i>) icon in the upper
right corner of the web or desktop app.
-1. Click **Manage streams**.
+1. Click **Stream settings**.
"""
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index 5f0d78945f9..e969b73f6de 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -429,7 +429,7 @@ class HelpTest(ZulipTestCase):
with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):
result = self.client_get("/help/message-a-stream-by-email", subdomain="")
self.assertEqual(result.status_code, 200)
- self.assertIn("<strong>Manage streams</strong>", str(result.content))
+ self.assertIn("<strong>Stream settings</strong>", str(result.content))
self.assertNotIn("/#streams", str(result.content))