From 7f738803f0d59ff48d37fafffa066469ce8d28f5 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Tue, 3 May 2022 15:01:07 +0200 Subject: [PATCH] help-docs: Rename organization language help center file. Renames article about organization language used for automated messages and invitation emails. Creates URL redirect and updates links in repository (web app, help center and api documentation). Prior to this change, the article was named: 'change-the-default-language-for-your-organization'. Fixes #21949. --- static/templates/settings/organization_settings_admin.hbs | 2 +- templates/zerver/help/change-your-language.md | 2 +- templates/zerver/help/configure-multi-language-search.md | 2 +- templates/zerver/help/configure-notification-bot.md | 2 +- ...our-organization.md => configure-organization-language.md} | 0 .../zerver/help/include/customize-settings-for-new-users.md | 2 +- templates/zerver/help/include/sidebar_index.md | 2 +- templates/zerver/help/invite-new-users.md | 2 +- zerver/lib/url_redirects.py | 4 ++++ zerver/openapi/zulip.yaml | 2 +- 10 files changed, 12 insertions(+), 8 deletions(-) rename templates/zerver/help/{change-the-default-language-for-your-organization.md => configure-organization-language.md} (100%) diff --git a/static/templates/settings/organization_settings_admin.hbs b/static/templates/settings/organization_settings_admin.hbs index 1fa6c97c40..b3c200bf2e 100644 --- a/static/templates/settings/organization_settings_admin.hbs +++ b/static/templates/settings/organization_settings_admin.hbs @@ -53,7 +53,7 @@ setting_value=realm_default_language_name language_code=realm_default_language_code section_title=admin_settings_label.realm_default_language - help_link_widget_link="/help/change-the-default-language-for-your-organization"}} + help_link_widget_link="/help/configure-organization-language"}} diff --git a/templates/zerver/help/change-your-language.md b/templates/zerver/help/change-your-language.md index ffb7a0076c..c4b17aeb6e 100644 --- a/templates/zerver/help/change-your-language.md +++ b/templates/zerver/help/change-your-language.md @@ -25,4 +25,4 @@ messages you receive. * [Configure organization language for automated messages and invitation emails][org-lang] -[org-lang]: change-the-default-language-for-your-organization +[org-lang]: /help/configure-organization-language diff --git a/templates/zerver/help/configure-multi-language-search.md b/templates/zerver/help/configure-multi-language-search.md index 5315c2298a..d4401b987d 100644 --- a/templates/zerver/help/configure-multi-language-search.md +++ b/templates/zerver/help/configure-multi-language-search.md @@ -17,4 +17,4 @@ for setup instructions. * [Configure organization language for automated messages and invitation emails][org-lang] * [Searching for messages](/help/search-for-messages) -[org-lang]: change-the-default-language-for-your-organization +[org-lang]: /help/configure-organization-language diff --git a/templates/zerver/help/configure-notification-bot.md b/templates/zerver/help/configure-notification-bot.md index 4155e79a2d..c621f8aee6 100644 --- a/templates/zerver/help/configure-notification-bot.md +++ b/templates/zerver/help/configure-notification-bot.md @@ -77,5 +77,5 @@ these messages is "signups". [add-users-to-stream]: /help/add-or-remove-users-from-a-stream#add-users-to-a-stream [api-create-user]: https://zulip.com/api/create-user [new-stream-options]: /help/create-a-stream#stream-options -[org-lang]: /help/change-the-default-language-for-your-organization +[org-lang]: /help/configure-organization-language [move-messages]: /help/move-content-to-another-stream diff --git a/templates/zerver/help/change-the-default-language-for-your-organization.md b/templates/zerver/help/configure-organization-language.md similarity index 100% rename from templates/zerver/help/change-the-default-language-for-your-organization.md rename to templates/zerver/help/configure-organization-language.md diff --git a/templates/zerver/help/include/customize-settings-for-new-users.md b/templates/zerver/help/include/customize-settings-for-new-users.md index a1ea821685..39ae003e8b 100644 --- a/templates/zerver/help/include/customize-settings-for-new-users.md +++ b/templates/zerver/help/include/customize-settings-for-new-users.md @@ -6,5 +6,5 @@ Customize settings for new users to get them off to a great start. * [Set organization language for automated messages and invitation emails][org-lang], if it should be something other than American English. -[org-lang]: /help/change-the-default-language-for-your-organization +[org-lang]: /help/configure-organization-language [default-user-settings]: /help/configure-default-new-user-settings diff --git a/templates/zerver/help/include/sidebar_index.md b/templates/zerver/help/include/sidebar_index.md index 5a47238e19..aee3944dd8 100755 --- a/templates/zerver/help/include/sidebar_index.md +++ b/templates/zerver/help/include/sidebar_index.md @@ -154,7 +154,7 @@ * [Deactivate or reactivate a user](/help/deactivate-or-reactivate-a-user) * [Add custom profile fields](/help/add-custom-profile-fields) * [Configure default new user settings](/help/configure-default-new-user-settings) -* [Configure organization language](/help/change-the-default-language-for-your-organization) +* [Configure organization language](/help/configure-organization-language) * [User groups](/help/user-groups) * [Restrict visibility of email addresses](/help/restrict-visibility-of-email-addresses) * [Change a user's role](/help/change-a-users-role) diff --git a/templates/zerver/help/invite-new-users.md b/templates/zerver/help/invite-new-users.md index 54b2b520ac..6b6cfbc36c 100644 --- a/templates/zerver/help/invite-new-users.md +++ b/templates/zerver/help/invite-new-users.md @@ -98,4 +98,4 @@ for invitations for the organization owners role. * [Configure organization language for automated messages and invitation emails][org-lang] * [Roles and permissions](/help/roles-and-permissions) -[org-lang]: /help/change-the-default-language-for-your-organization +[org-lang]: /help/configure-organization-language diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.py index 0a67cc393f..28178c1d88 100644 --- a/zerver/lib/url_redirects.py +++ b/zerver/lib/url_redirects.py @@ -21,6 +21,10 @@ POLICY_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [ HELP_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [ # Add URL redirects for help center documentation here: + URLRedirect( + "/help/change-the-default-language-for-your-organization", + "/help/configure-organization-language", + ), URLRedirect("/help/delete-a-stream", "/help/archive-a-stream"), URLRedirect("/help/change-the-topic-of-a-message", "/help/rename-a-topic"), URLRedirect("/help/configure-missed-message-emails", "/help/email-notifications"), diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 94e47e4a6b..0334cf6463 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -11392,7 +11392,7 @@ paths: The [organization language][org-lang] for automated messages and invitation emails. - [org-lang]: /help/change-the-default-language-for-your-organization + [org-lang]: /help/configure-organization-language realm_description: type: string description: |