mirror of https://github.com/zulip/zulip.git
filter: Update default title for `streams:public` narrow.
Updates default title for `streams:public` narrow to be "Messages in all public streams". Prep commit for rewriting `update_narrow_title` to use `filter.get_title` as a helper for setting browser title text.
This commit is contained in:
parent
c1b430d602
commit
5f42425982
|
@ -1536,7 +1536,7 @@ test("navbar_helpers", () => {
|
|||
operator: streams_public,
|
||||
is_common_narrow: true,
|
||||
icon: undefined,
|
||||
title: "translated: Public stream messages in organization",
|
||||
title: "translated: Messages in all public streams",
|
||||
redirect_url_with_search: "/#narrow/streams/public",
|
||||
},
|
||||
{
|
||||
|
|
|
@ -678,7 +678,7 @@ export class Filter {
|
|||
case "in-all":
|
||||
return $t({defaultMessage: "All messages including muted streams"});
|
||||
case "streams-public":
|
||||
return $t({defaultMessage: "Public stream messages in organization"});
|
||||
return $t({defaultMessage: "Messages in all public streams"});
|
||||
case "stream":
|
||||
if (!this._sub) {
|
||||
return $t({defaultMessage: "Unknown stream"});
|
||||
|
|
Loading…
Reference in New Issue