buddy_list: Rename 'Search people' to 'Filter users' for consistancy.

This is part of #31974.
This commit is contained in:
evykassirer 2024-10-15 16:38:50 -07:00 committed by Tim Abbott
parent f54817d78d
commit 205b20e7df
6 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ in the Zulip app to add more to your repertoire as needed.
* **Filter channels**: <kbd>Q</kbd> * **Filter channels**: <kbd>Q</kbd>
* **Search people**: <kbd>W</kbd> * **Filter users**: <kbd>W</kbd>
## Scrolling ## Scrolling

View File

@ -182,6 +182,6 @@ A summary of the search filters above is available in the Zulip app.
## Related articles ## Related articles
* [Configure multi-language search](/help/configure-multi-language-search) * [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 * [Link to a message or
conversation](/help/link-to-a-message-or-conversation#link-to-zulip-from-anywhere) conversation](/help/link-to-a-message-or-conversation#link-to-zulip-from-anywhere)

View File

@ -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 are shown separately from other members of your organization. To avoid
distraction, you can hide the user list any time. distraction, you can hide the user list any time.
## Search people ## Filter users
{start_tabs} {start_tabs}
@ -47,7 +47,7 @@ show it.
!!! keyboard_tip "" !!! keyboard_tip ""
The <kbd>W</kbd> keyboard shortcut to search people reveals the user list if The <kbd>W</kbd> keyboard shortcut to filter users reveals the user list if
it is hidden. it is hidden.
{end_tabs} {end_tabs}

View File

@ -370,7 +370,7 @@ function filter_user_ids(user_filter_text: string, user_ids: number[]): number[]
return user_ids; 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)); 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)]; return [...people.filter_people_by_search_terms(persons, user_filter_text)];
} }

View File

@ -1,4 +1,4 @@
{{#tr}} {{#tr}}
Search {total_user_count, plural, =1 {1 person} other {# people}} Filter {total_user_count, plural, =1 {1 person} other {# people}}
{{/tr}} {{/tr}}
{{tooltip_hotkey_hints "W"}} {{tooltip_hotkey_hints "W"}}

View File

@ -86,7 +86,7 @@
<td><span class="hotkey"><kbd>Q</kbd></span></td> <td><span class="hotkey"><kbd>Q</kbd></span></td>
</tr> </tr>
<tr> <tr>
<td class="definition">{{t 'Search people' }}</td> <td class="definition">{{t 'Filter users' }}</td>
<td><span class="hotkey"><kbd>W</kbd></span></td> <td><span class="hotkey"><kbd>W</kbd></span></td>
</tr> </tr>
</table> </table>