settings: Rename Deactivated users settings subtab.

Includes help center updates to better link to the tab.

Fixes https://chat.zulip.org/#narrow/stream/9-issues/topic/deactivated.20users.20tab/near/1843114
This commit is contained in:
Tim Abbott 2024-07-02 13:23:16 -07:00
parent ba05e8eeac
commit da6c2e0c3c
3 changed files with 6 additions and 4 deletions

View File

@ -82,7 +82,9 @@ bots will be deactivated until the user manually
{settings_tab|deactivated}
1. Click the **Reactivate** button to the right of the user account that you
1. Select the **Deactivated** tab.
1. Click the **Reactivate** button to the right of the user that you
want to reactivate.
{tab|via-user-profile}

View File

@ -59,7 +59,7 @@ export class SettingsPanelMenu {
values: [
{label: $t({defaultMessage: "Users"}), key: "active"},
{
label: $t({defaultMessage: "Deactivated users"}),
label: $t({defaultMessage: "Deactivated"}),
key: "deactivated",
},
{label: $t({defaultMessage: "Invitations"}), key: "invitations"},

View File

@ -65,7 +65,7 @@ link_mapping = {
],
"deactivated": [
"Organization settings",
"Deactivated users",
"Users",
"/#organization/users/deactivated",
],
"bot-list-admin": [
@ -120,7 +120,7 @@ def getMarkdown(setting_type_name: str, setting_name: str, setting_link: str) ->
relative_link = f"[{setting_name}]({setting_link})"
# The "Bots" label appears in both Personal and Organization settings
# in the user interface so we need special text for this setting.
if setting_name == "Bots":
if setting_name in ["Bots", "Users"]:
return f"1. Navigate to the {relative_link} \
tab of the **{setting_type_name}** menu."
return f"1. Go to {relative_link}."