From 205b20e7df39f2da3330f3891a742329d3974646 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Tue, 15 Oct 2024 16:38:50 -0700 Subject: [PATCH] buddy_list: Rename 'Search people' to 'Filter users' for consistancy. This is part of #31974. --- help/keyboard-shortcuts.md | 2 +- help/search-for-messages.md | 2 +- help/user-list.md | 4 ++-- web/src/buddy_data.ts | 2 +- web/templates/buddy_list/title_tooltip.hbs | 2 +- web/templates/keyboard_shortcuts.hbs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.md index 0b0182d880..0fc927325b 100644 --- a/help/keyboard-shortcuts.md +++ b/help/keyboard-shortcuts.md @@ -65,7 +65,7 @@ in the Zulip app to add more to your repertoire as needed. * **Filter channels**: Q -* **Search people**: W +* **Filter users**: W ## Scrolling diff --git a/help/search-for-messages.md b/help/search-for-messages.md index 2cc284989b..0c3a619d4e 100644 --- a/help/search-for-messages.md +++ b/help/search-for-messages.md @@ -182,6 +182,6 @@ A summary of the search filters above is available in the Zulip app. ## Related articles * [Configure multi-language search](/help/configure-multi-language-search) -* [Search people](/help/user-list#search-people) +* [Filter users](/help/user-list#filter-users) * [Link to a message or conversation](/help/link-to-a-message-or-conversation#link-to-zulip-from-anywhere) diff --git a/help/user-list.md b/help/user-list.md index 1294c90008..5d78d52f7b 100644 --- a/help/user-list.md +++ b/help/user-list.md @@ -13,7 +13,7 @@ When you view a channel or a topic within a channel, subscribers to that channel are shown separately from other members of your organization. To avoid distraction, you can hide the user list any time. -## Search people +## Filter users {start_tabs} @@ -47,7 +47,7 @@ show it. !!! keyboard_tip "" - The W keyboard shortcut to search people reveals the user list if + The W keyboard shortcut to filter users reveals the user list if it is hidden. {end_tabs} diff --git a/web/src/buddy_data.ts b/web/src/buddy_data.ts index f05e075e83..978694f639 100644 --- a/web/src/buddy_data.ts +++ b/web/src/buddy_data.ts @@ -370,7 +370,7 @@ function filter_user_ids(user_filter_text: string, user_ids: number[]): number[] return user_ids; } - // If a query is present in "Search people", we return matches. + // If a query is present in "Filter users", we return matches. const persons = user_ids.map((user_id) => people.get_by_user_id(user_id)); return [...people.filter_people_by_search_terms(persons, user_filter_text)]; } diff --git a/web/templates/buddy_list/title_tooltip.hbs b/web/templates/buddy_list/title_tooltip.hbs index 2026bb335f..f07dd995ca 100644 --- a/web/templates/buddy_list/title_tooltip.hbs +++ b/web/templates/buddy_list/title_tooltip.hbs @@ -1,4 +1,4 @@ {{#tr}} -Search {total_user_count, plural, =1 {1 person} other {# people}} +Filter {total_user_count, plural, =1 {1 person} other {# people}} {{/tr}} {{tooltip_hotkey_hints "W"}} diff --git a/web/templates/keyboard_shortcuts.hbs b/web/templates/keyboard_shortcuts.hbs index fa26a96fc0..9a3b75cc9b 100644 --- a/web/templates/keyboard_shortcuts.hbs +++ b/web/templates/keyboard_shortcuts.hbs @@ -86,7 +86,7 @@ Q - {{t 'Search people' }} + {{t 'Filter users' }} W