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:
Lauryn Menard 2022-10-17 17:17:55 +02:00 committed by Tim Abbott
parent c1b430d602
commit 5f42425982
2 changed files with 2 additions and 2 deletions

View File

@ -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",
},
{

View File

@ -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"});