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.

web-stream-settings: Update strings for stream rename channel.

Lauryn Menardd7f9f8333ede
diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.py
index c130abe26b7..fcb0c6548d9 100644
--- a/tools/lib/capitalization.py
+++ b/tools/lib/capitalization.py
@@ -96,7 +96,7 @@ IGNORED_PHRASES = [
r"^deprecated$",
# We want the similar text in the Private Messages section to have the same capitalization.
r"more conversations",
- r"back to streams",
+ r"back to channels",
# Capital 'i' looks weird in reminders popover
r"in 1 hour",
r"in 20 minutes",
diff --git a/web/e2e-tests/stream_create.test.ts b/web/e2e-tests/stream_create.test.ts
index e3ad444dbac..d8f835d489d 100644
--- a/web/e2e-tests/stream_create.test.ts
+++ b/web/e2e-tests/stream_create.test.ts
@@ -75,7 +75,7 @@ async function test_user_filter_ui(page: Page): Promise<void> {
}
async function create_stream(page: Page): Promise<void> {
- await page.waitForSelector('xpath///*[text()="Create stream"]', {visible: true});
+ await page.waitForSelector('xpath///*[text()="Create channel"]', {visible: true});
await common.fill_form(page, "form#stream_creation_form", {
stream_name: "Puppeteer",
stream_description: "Everything Puppeteer",
diff --git a/web/src/add_stream_options_popover.ts b/web/src/add_stream_options_popover.ts
index ca5bc0a5801..11f7c4496d2 100644
--- a/web/src/add_stream_options_popover.ts
+++ b/web/src/add_stream_options_popover.ts
@@ -31,8 +31,8 @@ export function initialize(): void {
popover_menus.on_show_prep(instance);
// When showing the popover menu, we want the
- // "Add streams" and the "Filter streams" tooltip
- // to appear below the "Add streams" icon.
+ // "Add channels" and the "Filter channels" tooltip
+ // to appear below the "Add channels" icon.
const add_streams_tooltip: ReferenceElement | undefined =
$("#add_streams_tooltip").get(0);
assert(add_streams_tooltip !== undefined);
@@ -55,9 +55,9 @@ export function initialize(): void {
instance.destroy();
popover_menus.popover_instances.stream_settings = null;
// After the popover menu is closed, we want the
- // "Add streams" and the "Filter streams" tooltip
+ // "Add channels" and the "Filter channels" tooltip
// to appear at it's original position that is
- // above the "Add streams" icon.
+ // above the "Add channels" icon.
const add_streams_tooltip: ReferenceElement | undefined =
$("#add_streams_tooltip").get(0);
assert(add_streams_tooltip !== undefined);
diff --git a/web/src/compose_recipient.ts b/web/src/compose_recipient.ts
index 02adddd7e6b..3477dd74867 100644
--- a/web/src/compose_recipient.ts
+++ b/web/src/compose_recipient.ts
@@ -131,7 +131,7 @@ export function get_posting_policy_error_message(): string {
const stream = sub_store.get(compose_state.selected_recipient_id);
if (stream && !stream_data.can_post_messages_in_stream(stream)) {
return $t({
- defaultMessage: "You do not have permission to post in this stream.",
+ defaultMessage: "You do not have permission to post in this channel.",
});
}
return "";
@@ -174,7 +174,7 @@ function update_recipient_label(stream_id?: number): void {
const stream = stream_id !== undefined ? stream_data.get_sub_by_id(stream_id) : undefined;
if (stream === undefined) {
$("#compose_select_recipient_widget .dropdown_widget_value").text(
- $t({defaultMessage: "Select a stream"}),
+ $t({defaultMessage: "Select a channel"}),
);
} else {
$("#compose_select_recipient_widget .dropdown_widget_value").html(
diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.ts
index ebb279da34d..52222a07087 100644
--- a/web/src/compose_validate.ts
+++ b/web/src/compose_validate.ts
@@ -343,8 +343,8 @@ function show_stream_wildcard_warnings(opts: StreamWildcardOptions): void {
const stream_wildcard_html = render_stream_wildcard_warning({
banner_type: compose_banner.WARNING,
subscriber_count,
- stream_name,
- stream_wildcard_mention: opts.stream_wildcard_mention,
+ channel_name: stream_name,
+ wildcard_mention: opts.stream_wildcard_mention,
button_text,
hide_close_button: true,
classname,
@@ -553,7 +553,7 @@ function validate_stream_message(scheduling_message: boolean): boolean {
const $banner_container = $("#compose_banners");
if (stream_id === undefined) {
compose_banner.show_error_message(
- $t({defaultMessage: "Please specify a stream."}),
+ $t({defaultMessage: "Please specify a channel."}),
compose_banner.CLASSNAMES.missing_stream,
$banner_container,
$("#compose_select_recipient_widget_wrapper"),
@@ -585,7 +585,7 @@ function validate_stream_message(scheduling_message: boolean): boolean {
if (!stream_data.can_post_messages_in_stream(sub)) {
compose_banner.show_error_message(
$t({
- defaultMessage: "You do not have permission to post in this stream.",
+ defaultMessage: "You do not have permission to post in this channel.",
}),
compose_banner.CLASSNAMES.no_post_permissions,
$banner_container,
diff --git a/web/src/gear_menu.js b/web/src/gear_menu.js
index a4d1478ce1f..0f1aecd0af4 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: Stream settings
+hash: Channel settings
hash: Settings
hash: Organization settings
link: Usage statistics
diff --git a/web/src/settings_config.ts b/web/src/settings_config.ts
index 31a6c3a6082..1658cae4b08 100644
--- a/web/src/settings_config.ts
+++ b/web/src/settings_config.ts
@@ -76,15 +76,15 @@ export const user_list_style_values = {
export const web_stream_unreads_count_display_policy_values = {
all_streams: {
code: 1,
- description: $t({defaultMessage: "All streams"}),
+ description: $t({defaultMessage: "All channels"}),
},
unmuted_streams: {
code: 2,
- description: $t({defaultMessage: "Unmuted streams and topics"}),
+ description: $t({defaultMessage: "Unmuted channels and topics"}),
},
no_streams: {
code: 3,
- description: $t({defaultMessage: "No streams"}),
+ description: $t({defaultMessage: "No channels"}),
},
};
@@ -585,7 +585,7 @@ export const notification_settings_labels = {
defaultMessage: "Automatically follow topics where I'm mentioned",
}),
automatically_unmute_topics_in_muted_streams_policy: $t({
- defaultMessage: "Automatically unmute topics in muted streams",
+ defaultMessage: "Automatically unmute topics in muted channels",
}),
desktop_icon_count_display: $t({
defaultMessage: "Unread count badge (appears in desktop sidebar and browser tab)",
@@ -631,7 +631,7 @@ export const realm_user_settings_defaults_labels = {
defaultMessage: "Let recipients see when a user is typing direct messages",
}),
realm_send_stream_typing_notifications: $t({
- defaultMessage: "Let recipients see when a user is typing stream messages",
+ defaultMessage: "Let recipients see when a user is typing channel messages",
}),
};
@@ -650,12 +650,12 @@ export const general_notifications_table_labels = {
"all_mentions",
],
stream: {
- is_muted: $t({defaultMessage: "Mute stream"}),
+ is_muted: $t({defaultMessage: "Mute channel"}),
desktop_notifications: $t({defaultMessage: "Visual desktop notifications"}),
audible_notifications: $t({defaultMessage: "Audible desktop notifications"}),
push_notifications: $t({defaultMessage: "Mobile notifications"}),
email_notifications: $t({defaultMessage: "Email notifications"}),
- pin_to_top: $t({defaultMessage: "Pin stream to top of left sidebar"}),
+ pin_to_top: $t({defaultMessage: "Pin channel to top of left sidebar"}),
wildcard_mentions_notify: $t({defaultMessage: "Notifications for @all/@everyone mentions"}),
},
};
@@ -849,7 +849,7 @@ export type AllNotifications = {
export const all_notifications = (settings_object: Settings): AllNotifications => ({
general_settings: [
{
- label: $t({defaultMessage: "Streams"}),
+ label: $t({defaultMessage: "Channels"}),
notification_settings: get_notifications_table_row_data(
stream_notification_settings,
settings_object,
@@ -966,7 +966,7 @@ export const user_topic_visibility_policy_values = {
},
inherit: {
code: 0,
- description: $t({defaultMessage: "Default for stream"}),
+ description: $t({defaultMessage: "Default for channel"}),
},
};
diff --git a/web/src/stream_popover.js b/web/src/stream_popover.js
index 5c7d4d3f81c..c63f413d1f2 100644
--- a/web/src/stream_popover.js
+++ b/web/src/stream_popover.js
@@ -497,7 +497,7 @@ export async function build_move_topic_to_stream_popover(
const stream = stream_data.get_sub_by_id(stream_id);
if (stream === undefined) {
$("#move_topic_to_stream_widget .dropdown_widget_value").text(
- $t({defaultMessage: "Select a stream"}),
+ $t({defaultMessage: "Select a channel"}),
);
} else {
$("#move_topic_to_stream_widget .dropdown_widget_value").html(
diff --git a/web/src/stream_settings_components.js b/web/src/stream_settings_components.js
index 03a5f9c0fc5..f32de3986d9 100644
--- a/web/src/stream_settings_components.js
+++ b/web/src/stream_settings_components.js
@@ -36,7 +36,9 @@ export const show_subs_pane = {
nothing_selected() {
$(".settings, #stream-creation").hide();
$(".nothing-selected").show();
- $("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Stream settings"}));
+ $("#subscription_overlay .stream-info-title").text(
+ $t({defaultMessage: "Channel settings"}),
+ );
},
settings(sub) {
$(".settings, #stream-creation").hide();
@@ -46,7 +48,7 @@ export const show_subs_pane = {
create_stream() {
$(".nothing-selected, .settings, #stream-creation").hide();
$("#stream-creation").show();
- $("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Create stream"}));
+ $("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Create channel"}));
},
};
@@ -140,8 +142,8 @@ export function ajaxSubscribe(stream, color, $stream_row) {
true_stream_name = res.already_subscribed[people.my_current_email()][0];
ui_report.success(
$t_html(
- {defaultMessage: "Already subscribed to {stream}"},
- {stream: true_stream_name},
+ {defaultMessage: "Already subscribed to {channel}"},
+ {channel: true_stream_name},
),
$(".stream_change_property_info"),
);
diff --git a/web/src/stream_settings_ui.js b/web/src/stream_settings_ui.js
index 0d1e12d7e21..6d30eda5b62 100644
--- a/web/src/stream_settings_ui.js
+++ b/web/src/stream_settings_ui.js
@@ -261,7 +261,7 @@ export function add_sub_to_table(sub) {
function show_first_stream_created_modal(stream) {
dialog_widget.launch({
html_heading: $t_html(
- {defaultMessage: "Stream <b><z-stream></z-stream></b> created!"},
+ {defaultMessage: "Channel <b><z-stream></z-stream></b> created!"},
{
"z-stream": () => render_inline_decorated_stream_name({stream}),
},
@@ -604,7 +604,7 @@ export function setup_page(callback) {
child_wants_focus: true,
values: [
{label: $t({defaultMessage: "Subscribed"}), key: "subscribed"},
- {label: $t({defaultMessage: "All streams"}), key: "all-streams"},
+ {label: $t({defaultMessage: "All channels"}), key: "all-streams"},
],
callback(_value, key) {
switch_stream_tab(key);
@@ -842,7 +842,7 @@ export function toggle_view(event) {
if (event === "right_arrow" && stream_filter_tab === "Subscribed") {
toggler.goto("all-streams");
- } else if (event === "left_arrow" && stream_filter_tab === "All streams") {
+ } else if (event === "left_arrow" && stream_filter_tab === "All channels") {
toggler.goto("subscribed");
}
}
diff --git a/web/src/user_profile.js b/web/src/user_profile.js
index e64f2458fb7..bb3bfa92189 100644
--- a/web/src/user_profile.js
+++ b/web/src/user_profile.js
@@ -144,10 +144,10 @@ function reset_subscribe_widget() {
$("#user-profile-modal .add-subscription-button").prop("disabled", true);
settings_components.initialize_disable_btn_hint_popover(
$("#user-profile-modal .add-subscription-button-wrapper"),
- $t({defaultMessage: "Select a stream to subscribe"}),
+ $t({defaultMessage: "Select a channel to subscribe"}),
);
$("#user_profile_subscribe_widget .dropdown_widget_value").text(
- $t({defaultMessage: "Select a stream"}),
+ $t({defaultMessage: "Select a channel"}),
);
// There are two cases when the subscribe widget is reset: when the user_profile
// is setup (the object is null), or after subscribing of a user in the dropdown.
@@ -435,7 +435,7 @@ export function show_user_profile(user, default_tab_key = "profile-tab") {
child_wants_focus: true,
values: [
{label: $t({defaultMessage: "Profile"}), key: "profile-tab"},
- {label: $t({defaultMessage: "Streams"}), key: "user-profile-streams-tab"},
+ {label: $t({defaultMessage: "Channels"}), key: "user-profile-streams-tab"},
{label: $t({defaultMessage: "User groups"}), key: "user-profile-groups-tab"},
],
callback(_name, key) {
@@ -909,13 +909,13 @@ export function initialize() {
let error_message;
if (people.is_my_user_id(target_user_id)) {
error_message = $t(
- {defaultMessage: "Error in unsubscribing from #{stream_name}"},
- {stream_name: sub.name},
+ {defaultMessage: "Error in unsubscribing from #{channel_name}"},
+ {channel_name: sub.name},
);
} else {
error_message = $t(
- {defaultMessage: "Error removing user from #{stream_name}"},
- {stream_name: sub.name},
+ {defaultMessage: "Error removing user from #{channel_name}"},
+ {channel_name: sub.name},
);
}
diff --git a/web/src/user_topics_ui.js b/web/src/user_topics_ui.js
index 5993574c2f1..e5fce653655 100644
--- a/web/src/user_topics_ui.js
+++ b/web/src/user_topics_ui.js
@@ -34,7 +34,7 @@ export function handle_topic_updates(user_topic_event) {
if ($row.length) {
// If the row exists, update the status only.
// We don't call 'populate_list' in this case as it re-creates the panel (re-sorts by date updated +
- // removes topics with status set to 'Default for stream'), making it hard to review the changes
+ // removes topics with status set to 'Default for channel'), making it hard to review the changes
// and undo if needed.
const $status = $row.find("select.settings_user_topic_visibility_policy");
$status.val(visibility_policy);
diff --git a/web/styles/compose.css b/web/styles/compose.css
index fe795a30306..90a957b8e69 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1177,7 +1177,7 @@ textarea.new_message_textarea,
font-weight: lighter;
}
- /* This is the "Select a stream" default message */
+ /* This is the "Select a channel" default message */
.text-warning {
color: inherit;
}
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 8212dea0134..54132397182 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1425,7 +1425,7 @@ li.topic-list-item {
/* TODO: Rewrite the show-more and show-less
buttons as grids alongside the left sidebar
header rewrites. The 12px left padding here
- aligns the "back to streams" text with the
+ aligns the "back to channels" text with the
DIRECT MESSAGES heading above, which itself
is offset -3 px to the left, but reserves
15px for the arrow marker. 15px - 3px = 12px. */
diff --git a/web/templates/compose_banner/stream_wildcard_warning.hbs b/web/templates/compose_banner/stream_wildcard_warning.hbs
index 75125a55c05..1724ad4b997 100644
--- a/web/templates/compose_banner/stream_wildcard_warning.hbs
+++ b/web/templates/compose_banner/stream_wildcard_warning.hbs
@@ -1,7 +1,7 @@
{{#> compose_banner }}
<p class="banner_message">
{{#tr}}
- Are you sure you want to send @-mention notifications to the <strong>{subscriber_count}</strong> users subscribed to #{stream_name}? If not, please edit your message to remove the <strong>@{stream_wildcard_mention}</strong> mention.
+ Are you sure you want to send @-mention notifications to the <strong>{subscriber_count}</strong> users subscribed to #{channel_name}? If not, please edit your message to remove the <strong>@{wildcard_mention}</strong> mention.
{{/tr}}
</p>
{{/compose_banner}}
diff --git a/web/templates/gear_menu_popover.hbs b/web/templates/gear_menu_popover.hbs
index d68e25fcbb3..2cda23b9f16 100644
--- a/web/templates/gear_menu_popover.hbs
+++ b/web/templates/gear_menu_popover.hbs
@@ -57,7 +57,7 @@
<li class="link-item popover-menu-inner-list-item hidden-for-spectators">
<a href="#streams/subscribed" class="navigate-link-on-enter popover-menu-link">
<i class="popover-menu-icon zulip-icon zulip-icon-hash" aria-hidden="true"></i>
- <span class="popover-menu-label">{{t 'Stream settings' }}</span>
+ <span class="popover-menu-label">{{t 'Channel settings' }}</span>
</a>
</li>
<li class="link-item popover-menu-inner-list-item admin-menu-item hidden-for-spectators">
diff --git a/web/templates/keyboard_shortcuts.hbs b/web/templates/keyboard_shortcuts.hbs
index e2564e5fd98..e417f493210 100644
--- a/web/templates/keyboard_shortcuts.hbs
+++ b/web/templates/keyboard_shortcuts.hbs
@@ -13,7 +13,7 @@
<td><span class="hotkey"><kbd>Enter</kbd> or <kbd>R</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'New stream message' }}</td>
+ <td class="definition">{{t 'New channel message' }}</td>
<td><span class="hotkey"><kbd>C</kbd></span></td>
</tr>
<tr>
@@ -82,7 +82,7 @@
<td><span class="hotkey"><kbd>Ctrl</kbd> + <kbd>K</kbd> or <kbd>/</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'Filter streams' }}</td>
+ <td class="definition">{{t 'Filter channels' }}</td>
<td><span class="hotkey"><kbd>Q</kbd></span></td>
</tr>
<tr>
@@ -144,7 +144,7 @@
<td><span class="hotkey"><kbd>S</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'Go to stream from topic view' }}</td>
+ <td class="definition">{{t 'Go to channel from topic view' }}</td>
<td><span class="hotkey"><kbd>S</kbd></span></td>
</tr>
<tr>
@@ -164,7 +164,7 @@
<td><span class="hotkey"><kbd>P</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'Cycle between stream views' }}</td>
+ <td class="definition">{{t 'Cycle between channel views' }}</td>
<td><span class="hotkey"><kbd>Shift</kbd> + <kbd>A</kbd> or <kbd>Shift</kbd> + <kbd>D</kbd></span></td>
</tr>
<tr>
@@ -185,7 +185,7 @@
</tr>
</thead>
<tr>
- <td class="definition">{{t 'New stream message' }}</td>
+ <td class="definition">{{t 'New channel message' }}</td>
<td><span class="hotkey"><kbd>C</kbd></span></td>
</tr>
<tr>
@@ -368,11 +368,11 @@
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
- <th colspan="2">{{t 'Stream settings' }}</th>
+ <th colspan="2">{{t 'Channel settings' }}</th>
</tr>
</thead>
<tr>
- <td class="definition">{{t 'Scroll through streams' }}</td>
+ <td class="definition">{{t 'Scroll through channels' }}</td>
<td><span class="hotkey"><kbd class="arrow-key">↑</kbd> or <kbd class="arrow-key">↓</kbd></span></td>
</tr>
<tr>
@@ -380,15 +380,15 @@
<td><span class="hotkey"><kbd class="arrow-key">←</kbd> or <kbd class="arrow-key">→</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'View stream messages' }}</td>
+ <td class="definition">{{t 'View channel messages' }}</td>
<td><span class="hotkey"><kbd>Shift</kbd> + <kbd>V</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'Subscribe to/unsubscribe from selected stream' }}</td>
+ <td class="definition">{{t 'Subscribe to/unsubscribe from selected channel' }}</td>
<td><span class="hotkey"><kbd>Shift</kbd> + <kbd>S</kbd></span></td>
</tr>
<tr>
- <td class="definition">{{t 'Create new stream' }}</td>
+ <td class="definition">{{t 'Create new channel' }}</td>
<td><span class="hotkey"><kbd>N</kbd></span></td>
</tr>
</table>
diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbs
index fb8abde839d..ebff80e7350 100644
--- a/web/templates/left_sidebar.hbs
+++ b/web/templates/left_sidebar.hbs
@@ -147,7 +147,7 @@
</div>
</div>
<a class="zoom-out-hide" id="hide-more-direct-messages">
- <span> {{t 'back to streams' }}</span>
+ <span> {{t 'back to channels' }}</span>
</a>
</div>
{{~!-- squash whitespace --~}}
@@ -158,10 +158,10 @@
<div id="streams_list" class="zoom-out">
<div id="streams_header" class="zoom-in-hide {{#if hide_unread_counts}}hide_unread_counts{{/if}}">
- <h4 class="left-sidebar-title"><span class="streams-tooltip-target" data-tooltip-template-id="filter-streams-tooltip-template">{{t 'STREAMS' }}</span></h4>
+ <h4 class="left-sidebar-title"><span class="streams-tooltip-target" data-tooltip-template-id="filter-streams-tooltip-template">{{t 'CHANNELS' }}</span></h4>
<div class="heading-markers-and-controls">
<i id="filter_streams_tooltip" class="streams_filter_icon fa fa-filter" aria-hidden="true" data-tooltip-template-id="filter-streams-tooltip-template"></i>
- <span id="add_streams_tooltip" class="hidden-for-spectators" data-tippy-content="{{t 'Add streams' }}">
+ <span id="add_streams_tooltip" class="hidden-for-spectators" data-tippy-content="{{t 'Add channels' }}">
<i id="streams_inline_icon" class='fa fa-plus' aria-hidden="true" ></i>
</span>
<span class="unread_count"></span>
@@ -169,14 +169,14 @@
</div>
<div class="input-append notdisplayed stream_search_section">
- <input class="stream-list-filter home-page-input filter_text_input" type="text" autocomplete="off" placeholder="{{t 'Filter streams' }}" />
+ <input class="stream-list-filter home-page-input filter_text_input" type="text" autocomplete="off" placeholder="{{t 'Filter channels' }}" />
<button type="button" class="btn clear_search_button" id="clear_search_stream_button">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
</div>
<div id="topics_header">
- <a class="show-all-streams" tabindex="0">{{t 'Back to streams' }}</a> <span class="unread_count"></span>
+ <a class="show-all-streams" tabindex="0">{{t 'Back to channels' }}</a> <span class="unread_count"></span>
</div>
<div id="stream-filters-container">
<ul id="stream_filters" class="filters"></ul>
@@ -187,7 +187,7 @@
<a class="login_button">
<i class="zulip-icon zulip-icon-log-in" aria-hidden="true"></i>
{{~!-- squash whitespace --~}}
- {{t 'Log in to browse more streams'}}
+ {{t 'Log in to browse more channels'}}
</a>
</div>
</div>
diff --git a/web/templates/popovers/left_sidebar_stream_setting_popover.hbs b/web/templates/popovers/left_sidebar_stream_setting_popover.hbs
index 88dbc3f69b7..af67a4ceb91 100644
--- a/web/templates/popovers/left_sidebar_stream_setting_popover.hbs
+++ b/web/templates/popovers/left_sidebar_stream_setting_popover.hbs
@@ -1,12 +1,12 @@
<ul class="nav nav-list">
<li>
<a href="#streams/all" class="navigate_and_close_popover">
- {{t "Browse streams" }}
+ {{t "Browse channels" }}
</a>
</li>
<li>
<a href="#streams/new" class="navigate_and_close_popover">
- {{t "Create a stream" }}
+ {{t "Create a channel" }}
</a>
</li>
</ul>
diff --git a/web/templates/popovers/mobile_message_buttons_popover.hbs b/web/templates/popovers/mobile_message_buttons_popover.hbs
index dd1cee006a6..2c959571a01 100644
--- a/web/templates/popovers/mobile_message_buttons_popover.hbs
+++ b/web/templates/popovers/mobile_message_buttons_popover.hbs
@@ -3,7 +3,7 @@
<a class="compose_mobile_stream_button">
<i class="fa fa-bullhorn" aria-hidden="true"></i>
{{#if is_in_private_narrow }}
- {{t "New stream message" }}
+ {{t "New channel message" }}
{{else}}
{{t "New topic" }}
{{/if}}
diff --git a/web/templates/settings/bot_avatar_row.hbs b/web/templates/settings/bot_avatar_row.hbs
index 7d55c2897a8..eee6b055a1b 100644
--- a/web/templates/settings/bot_avatar_row.hbs
+++ b/web/templates/settings/bot_avatar_row.hbs
@@ -17,7 +17,7 @@
<button type="submit" class="btn deactivate_bot danger-red tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Deactivate bot' }}" data-user-id="{{user_id}}">
<i class="fa fa-user-times" aria-hidden="true"></i>
</button>
- <button type="submit" class="btn open_bots_subscribed_streams tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Subscribed streams' }}" data-user-id="{{user_id}}">
+ <button type="submit" class="btn open_bots_subscribed_streams tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Subscribed channels' }}" data-user-id="{{user_id}}">
<i class="fa fa-hashtag purple" aria-hidden="true"></i>
</button>
{{#if is_incoming_webhook_bot}}
diff --git a/web/templates/settings/default_streams_list_admin.hbs b/web/templates/settings/default_streams_list_admin.hbs
index 7484a9000a9..63317acda99 100644
--- a/web/templates/settings/default_streams_list_admin.hbs
+++ b/web/templates/settings/default_streams_list_admin.hbs
@@ -1,13 +1,13 @@
<div id="admin-default-streams-list" class="settings-section" data-name="default-streams-list">
- <p>{{t "Configure the default streams new users are subscribed to when joining your organization." }}</p>
+ <p>{{t "Configure the default channels new users are subscribed to when joining your organization." }}</p>
<div class="settings_panel_list_header">
- <h3>{{t "Default streams"}}</h3>
+ <h3>{{t "Default channels"}}</h3>
<div class="add_default_streams_button_container">
{{#if is_admin}}
- <button type="submit" id="show-add-default-streams-modal" class="button rounded sea-green">{{t "Add stream" }}</button>
+ <button type="submit" id="show-add-default-streams-modal" class="button rounded sea-green">{{t "Add channel" }}</button>
{{/if}}
- <input type="text" class="search filter_text_input" placeholder="{{t 'Filter default streams' }}" aria-label="{{t 'Filter streams' }}"/>
+ <input type="text" class="search filter_text_input" placeholder="{{t 'Filter default channels' }}" aria-label="{{t 'Filter channels' }}"/>
</div>
</div>
@@ -19,7 +19,7 @@
<th class="actions">{{t "Actions" }}</th>
{{/if}}
</thead>
- <tbody data-empty="{{t 'There are no default streams.' }}" data-search-results-empty="{{t 'No default streams match your current filter.' }}"
+ <tbody data-empty="{{t 'There are no default channels.' }}" data-search-results-empty="{{t 'No default channels match your current filter.' }}"
id="admin_default_streams_table" class="admin_default_stream_table"></tbody>
</table>
</div>
diff --git a/web/templates/settings_overlay.hbs b/web/templates/settings_overlay.hbs
index 79575f81878..c5ae848afca 100644
--- a/web/templates/settings_overlay.hbs
+++ b/web/templates/settings_overlay.hbs
@@ -126,7 +126,7 @@
{{#unless is_guest}}
<li class="collapse-org-settings {{#unless is_admin}}hide-org-settings{{/unless}}" tabindex="0" data-section="default-streams-list">
<i class="icon fa fa-exchange" aria-hidden="true"></i>
- <div class="text">{{t "Default streams" }}</div>
+ <div class="text">{{t "Default channels" }}</div>
{{#unless is_admin}}
<i class="locked fa fa-lock tippy-zulip-tooltip" data-tippy-content="{{t 'Only organization administrators can edit these settings.' }}"></i>
{{/unless}}
diff --git a/web/templates/stream_settings/stream_settings_overlay.hbs b/web/templates/stream_settings/stream_settings_overlay.hbs
index b82b34c9025..b612532f950 100644
--- a/web/templates/stream_settings/stream_settings_overlay.hbs
+++ b/web/templates/stream_settings/stream_settings_overlay.hbs
@@ -3,7 +3,7 @@
<div class="subscriptions-container overlay-container">
<div class="subscriptions-header">
<div class="fa fa-chevron-left"></div>
- <span class="subscriptions-title">{{t 'Streams' }}</span>
+ <span class="subscriptions-title">{{t 'Channels' }}</span>
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
@@ -21,7 +21,7 @@
</div>
<div class="input-append stream_name_search_section" id="stream_filter">
<input type="text" name="stream_name" id="search_stream_name" class="filter_text_input" autocomplete="off"
- placeholder="{{t 'Filter streams' }}" value=""/>
+ placeholder="{{t 'Filter channels' }}" value=""/>
<button type="button" class="btn clear_search_button" id="clear_search_stream_name">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
@@ -29,17 +29,17 @@
<div class="no-streams-to-show">
<div class="subscribed_streams_tab_empty_text">
<span>
- {{t 'You are not subscribed to any streams.'}}
+ {{t 'You are not subscribed to any channels.'}}
{{#if can_view_all_streams}}
- <a href="#streams/all">{{t 'View all streams'}}</a>
+ <a href="#streams/all">{{t 'View all channels'}}</a>
{{/if}}
</span>
</div>
<div class="all_streams_tab_empty_text">
<span>
- {{t 'There are no streams you can view in this organization.'}}
+ {{t 'There are no channels you can view in this organization.'}}
{{#if can_create_streams}}
- <a href="#streams/new">{{t 'Create a stream'}}</a>
+ <a href="#streams/new">{{t 'Create a channel'}}</a>
{{/if}}
</span>
</div>
@@ -49,14 +49,14 @@
</div>
<div class="right">
<div class="display-type">
- <div id="stream_settings_title" class="stream-info-title">{{t 'Stream settings' }}</div>
+ <div id="stream_settings_title" class="stream-info-title">{{t 'Channel settings' }}</div>
</div>
<div class="nothing-selected">
{{#if can_create_streams}}
- <button type="button" class="create_stream_button animated-purple-button">{{t 'Create stream' }}</button>
+ <button type="button" class="create_stream_button animated-purple-button">{{t 'Create channel' }}</button>
<span>
{{#tr}}
- First time? Read our <z-link>guidelines</z-link> for creating and naming streams.
+ First time? Read our <z-link>guidelines</z-link> for creating and naming channels.
{{#*inline "z-link"}}<a href="/help/getting-your-organization-started-with-zulip#create-streams" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}}
</span>
diff --git a/web/templates/stream_sidebar_actions.hbs b/web/templates/stream_sidebar_actions.hbs
index 54e5ce0081f..b66e1ba2856 100644
--- a/web/templates/stream_sidebar_actions.hbs
+++ b/web/templates/stream_sidebar_actions.hbs
@@ -17,16 +17,16 @@
<li class="stream-menu-item">
<a tabindex="0" class="open_stream_settings">
<i class="fa fa-cog" aria-hidden="true"></i>
- {{t "Stream settings" }}
+ {{t "Channel settings" }}
</a>
</li>
<li class="stream-menu-item hidden-for-spectators">
<a tabindex="0" class="pin_to_top">
<i class="fa fa-thumb-tack stream-pin-icon" aria-hidden="true"></i>
{{#if stream.pin_to_top}}
- {{t "Unpin stream from top"}}
+ {{t "Unpin channel from top"}}
{{else}}
- {{t "Pin stream to top"}}
+ {{t "Pin channel to top"}}
{{/if}}
</a>
</li>
@@ -40,10 +40,10 @@
<a tabindex="0" class="toggle_stream_muted">
{{#if stream.is_muted}}
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
- {{t "Unmute stream"}}
+ {{t "Unmute channel"}}
{{else}}
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
- {{t "Mute stream"}}
+ {{t "Mute channel"}}
{{/if}}
</a>
</li>
diff --git a/web/templates/subscribe_to_more_streams.hbs b/web/templates/subscribe_to_more_streams.hbs
index 4d5026bf775..69735caa811 100644
--- a/web/templates/subscribe_to_more_streams.hbs
+++ b/web/templates/subscribe_to_more_streams.hbs
@@ -1,16 +1,16 @@
{{#if exactly_one_unsubscribed_stream}}
<a href="#streams/all">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
- {{~t "Browse 1 more stream" ~}}
+ {{~t "Browse 1 more channel" ~}}
</a>
{{else if can_subscribe_stream_count}}
<a href="#streams/all">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
- {{~t "Browse {can_subscribe_stream_count} more streams" ~}}
+ {{~t "Browse {can_subscribe_stream_count} more channels" ~}}
</a>
{{else if can_create_streams}}
<a href="#streams/new">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
- {{~t "Create a stream" ~}}
+ {{~t "Create a channel" ~}}
</a>
{{/if}}
diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbs
index 7869c81c93f..12d2aef5e5a 100644
--- a/web/templates/tooltip_templates.hbs
+++ b/web/templates/tooltip_templates.hbs
@@ -30,7 +30,7 @@
{{tooltip_hotkey_hints "C"}}
</template>
<template id="new_stream_message_button_tooltip_template">
- {{t 'New stream message' }}
+ {{t 'New channel message' }}
{{tooltip_hotkey_hints "C"}}
</template>
<template id="new_direct_message_button_tooltip_template">
@@ -127,7 +127,7 @@
{{t 'Starred messages' }}
</template>
<template id="filter-streams-tooltip-template">
- {{t 'Filter streams' }}
+ {{t 'Filter channels' }}
{{tooltip_hotkey_hints "Q"}}
</template>
<template id="message-expander-tooltip-template">
@@ -183,7 +183,7 @@
{{tooltip_hotkey_hints "/"}}
</template>
<template id="streamlist-toggle-tooltip-template" >
- {{t 'View streams' }}
+ {{t 'View channels' }}
{{tooltip_hotkey_hints "Q"}}
</template>
<template id="show-userlist-tooltip-template">
@@ -210,7 +210,7 @@
{{tooltip_hotkey_hints "Backspace"}}
</template>
<template id="create-new-stream-tooltip-template">
- {{t 'Create new stream' }}
+ {{t 'Create new channel' }}
{{tooltip_hotkey_hints "N"}}
</template>
<template id="toggle-subscription-tooltip-template">
@@ -218,7 +218,7 @@
{{tooltip_hotkey_hints "Shift" "S"}}
</template>
<template id="view-stream-tooltip-template">
- {{t 'View stream' }}
+ {{t 'View channel' }}
{{tooltip_hotkey_hints "Shift" "V"}}
</template>
<template id="mobile-push-notification-tooltip-template">
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index d5710b57b6c..0748ff5eaa7 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -105,21 +105,21 @@
<div class="alert stream_list_info"></div>
{{#if show_user_subscribe_widget}}
<div class="header-section">
- <h3 class="stream-tab-element-header">{{t 'Subscribe {full_name} to streams'}}</h3>
+ <h3 class="stream-tab-element-header">{{t 'Subscribe {full_name} to channels'}}</h3>
</div>
{{> user_profile_subscribe_widget}}
{{/if}}
<div class="stream-list-top-section">
<div class="header-section">
- <h3 class="stream-tab-element-header">{{t 'Subscribed streams' }}</h3>
+ <h3 class="stream-tab-element-header">{{t 'Subscribed channels' }}</h3>
</div>
- <input type="text" class="stream-search modal_text_input" placeholder="{{t 'Filter streams' }}" />
+ <input type="text" class="stream-search modal_text_input" placeholder="{{t 'Filter channels' }}" />
<button type="button" class="clear_search_button" id="clear_stream_search">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
<div class="subscription-stream-list empty-list">
- <table class="user-stream-list" data-empty="{{t 'No stream subscriptions.'}}" data-search-results-empty="{{t 'No matching streams' }}"></table>
+ <table class="user-stream-list" data-empty="{{t 'No channel subscriptions.'}}" data-search-results-empty="{{t 'No matching channels' }}"></table>
</div>
</div>
diff --git a/web/tests/compose_validate.test.js b/web/tests/compose_validate.test.js
index 2e1688a3eb0..d1fba0a590f 100644
--- a/web/tests/compose_validate.test.js
+++ b/web/tests/compose_validate.test.js
@@ -235,7 +235,7 @@ test_ui("validate", ({mock_template}) => {
let empty_stream_error_rendered = false;
mock_template("compose_banner/compose_banner.hbs", false, (data) => {
assert.equal(data.classname, compose_banner.CLASSNAMES.missing_stream);
- assert.equal(data.banner_text, $t({defaultMessage: "Please specify a stream."}));
+ assert.equal(data.banner_text, $t({defaultMessage: "Please specify a channel."}));
empty_stream_error_rendered = true;
return "<banner-stub>";
});
@@ -428,7 +428,7 @@ test_ui("test_validate_stream_message_post_policy_admin_only", ({mock_template})
assert.equal(
data.banner_text,
$t({
- defaultMessage: "You do not have permission to post in this stream.",
+ defaultMessage: "You do not have permission to post in this channel.",
}),
);
banner_rendered = true;
@@ -473,7 +473,7 @@ test_ui("test_validate_stream_message_post_policy_moderators_only", ({mock_templ
assert.equal(
data.banner_text,
$t({
- defaultMessage: "You do not have permission to post in this stream.",
+ defaultMessage: "You do not have permission to post in this channel.",
}),
);
banner_rendered = true;
@@ -509,7 +509,7 @@ test_ui("test_validate_stream_message_post_policy_full_members_only", ({mock_tem
assert.equal(
data.banner_text,
$t({
- defaultMessage: "You do not have permission to post in this stream.",
+ defaultMessage: "You do not have permission to post in this channel.",
}),
);
banner_rendered = true;
diff --git a/web/tests/i18n.test.js b/web/tests/i18n.test.js
index 8dccef372fe..f26f4067a93 100644
--- a/web/tests/i18n.test.js
+++ b/web/tests/i18n.test.js
@@ -111,7 +111,7 @@ run_test("tr_tag", ({mock_template}) => {
twenty_four_hour_time: "Time format",
automatically_follow_topics_policy: "Automatically follow topics",
automatically_unmute_topics_in_muted_streams_policy:
- "Automatically unmute topics in muted streams",
+ "Automatically unmute topics in muted channels",
automatically_follow_topics_where_mentioned:
"Automatically follow topics where I'm mentioned",
},
diff --git a/web/tests/settings_config.test.js b/web/tests/settings_config.test.js
index b5a197219af..9f2f7c2f613 100644
--- a/web/tests/settings_config.test.js
+++ b/web/tests/settings_config.test.js
@@ -43,7 +43,7 @@ run_test("all_notifications", () => {
assert.deepEqual(notifications.general_settings, [
{
- label: "translated: Streams",
+ label: "translated: Channels",
notification_settings: [
{
is_checked: false,