banners: Remove the term "narrow" from comose notification banner.

This commit is contained in:
Alya Abbott 2024-02-23 13:24:29 -08:00 committed by Tim Abbott
parent 34cbc5717b
commit 3aece96d19
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ export function get_local_notify_mix_reason(message: Message): string | undefine
current_filter.can_apply_locally() && current_filter.can_apply_locally() &&
!current_filter.predicate()(message) !current_filter.predicate()(message)
) { ) {
return $t({defaultMessage: "Sent! Your message is outside your current narrow."}); return $t({defaultMessage: "Sent! Your message is outside your current view."});
} }
return undefined; return undefined;
@ -192,7 +192,7 @@ export function notify_local_mixes(messages: Message[], need_user_to_scroll: boo
} }
const link_text = $t( const link_text = $t(
{defaultMessage: "Narrow to {message_recipient}"}, {defaultMessage: "Go to {message_recipient}"},
{message_recipient: get_message_header(message)}, {message_recipient: get_message_header(message)},
); );