mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
compose: Rename stream selection widget to "select_recipient".
Previously this dropdown was only for selecting streams, but soon it will also be for switching to a private message. This name helps it be clearer that the dropdown is more general purpose.
This commit is contained in:
@@ -394,7 +394,7 @@ export function validation_error(error_type, stream_name) {
|
||||
compose_banner.show_error_message(
|
||||
$t({defaultMessage: "Error checking subscription."}),
|
||||
compose_banner.CLASSNAMES.subscription_error,
|
||||
$("#compose_select_stream_widget"),
|
||||
$("#compose_select_recipient_widget"),
|
||||
);
|
||||
return false;
|
||||
case "not-subscribed": {
|
||||
@@ -441,7 +441,7 @@ function validate_stream_message() {
|
||||
compose_banner.show_error_message(
|
||||
$t({defaultMessage: "Please specify a stream."}),
|
||||
compose_banner.CLASSNAMES.missing_stream,
|
||||
$("#compose_select_stream_widget"),
|
||||
$("#compose_select_recipient_widget"),
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user