From 10262a21c3b73128c101dfc863a526592120a67b Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Mon, 12 Aug 2024 20:03:35 +0200 Subject: [PATCH] fix(actions): missing lang code fix (#2525) * Reapply "fix(docs): fix translation language codes (#2524)" This reverts commit 00c2091828a5338b1a341e87dd1c940f0cbe954a. * fix(actions): missing lang code fix * style(pre-commit): auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> !crowdin upload --- .github/workflows/docs-localization-download.yml | 6 ++++-- .github/workflows/docs-localization-upload.yml | 7 +++++-- .github/workflows/version-updates.yml | 4 +++- crowdin.yml | 2 +- docs/locales/{pt => pt_BR}/LC_MESSAGES/api/abcs.po | 0 .../{pt => pt_BR}/LC_MESSAGES/api/application_commands.po | 0 .../{pt => pt_BR}/LC_MESSAGES/api/application_info.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/async_iter.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/audit_logs.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/clients.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/cogs.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/data_classes.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/enums.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/events.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/exceptions.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/models.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/sinks.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/ui_kit.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/utils.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/version_info.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/voice.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/api/webhooks.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/changelog.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/cogs.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/discord.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/bridge/api.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/bridge/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/api.po | 0 .../locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/cogs.po | 0 .../{pt => pt_BR}/LC_MESSAGES/ext/commands/commands.po | 0 .../{pt => pt_BR}/LC_MESSAGES/ext/commands/extensions.po | 0 .../{pt => pt_BR}/LC_MESSAGES/ext/commands/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/pages/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/tasks/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/faq.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/index.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/installing.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/intents.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/logging.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/migrating_to_v1.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/migrating_to_v2.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/old_changelog.po | 0 docs/locales/{pt => pt_BR}/LC_MESSAGES/quickstart.po | 0 .../{pt => pt_BR}/LC_MESSAGES/version_guarantees.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/abcs.po | 0 .../{zh => zh_CN}/LC_MESSAGES/api/application_commands.po | 0 .../{zh => zh_CN}/LC_MESSAGES/api/application_info.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/async_iter.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/audit_logs.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/clients.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/cogs.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/data_classes.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/enums.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/events.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/exceptions.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/models.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/sinks.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/ui_kit.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/utils.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/version_info.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/voice.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/api/webhooks.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/changelog.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/cogs.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/discord.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/bridge/api.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/bridge/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/api.po | 0 .../locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/cogs.po | 0 .../{zh => zh_CN}/LC_MESSAGES/ext/commands/commands.po | 0 .../{zh => zh_CN}/LC_MESSAGES/ext/commands/extensions.po | 0 .../{zh => zh_CN}/LC_MESSAGES/ext/commands/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/pages/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/tasks/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/faq.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/index.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/installing.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/intents.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/logging.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/migrating_to_v1.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/migrating_to_v2.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/old_changelog.po | 0 docs/locales/{zh => zh_CN}/LC_MESSAGES/quickstart.po | 0 .../{zh => zh_CN}/LC_MESSAGES/version_guarantees.po | 0 86 files changed, 13 insertions(+), 6 deletions(-) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/abcs.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/application_commands.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/application_info.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/async_iter.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/audit_logs.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/clients.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/cogs.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/data_classes.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/enums.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/events.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/exceptions.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/models.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/sinks.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/ui_kit.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/utils.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/version_info.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/voice.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/api/webhooks.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/changelog.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/cogs.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/discord.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/bridge/api.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/bridge/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/api.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/cogs.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/commands.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/extensions.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/commands/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/pages/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/ext/tasks/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/faq.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/index.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/installing.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/intents.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/logging.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/migrating_to_v1.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/migrating_to_v2.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/old_changelog.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/quickstart.po (100%) rename docs/locales/{pt => pt_BR}/LC_MESSAGES/version_guarantees.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/abcs.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/application_commands.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/application_info.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/async_iter.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/audit_logs.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/clients.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/cogs.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/data_classes.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/enums.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/events.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/exceptions.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/models.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/sinks.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/ui_kit.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/utils.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/version_info.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/voice.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/api/webhooks.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/changelog.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/cogs.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/discord.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/bridge/api.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/bridge/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/api.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/cogs.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/commands.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/extensions.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/commands/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/pages/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/ext/tasks/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/faq.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/index.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/installing.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/intents.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/logging.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/migrating_to_v1.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/migrating_to_v2.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/old_changelog.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/quickstart.po (100%) rename docs/locales/{zh => zh_CN}/LC_MESSAGES/version_guarantees.po (100%) diff --git a/.github/workflows/docs-localization-download.yml b/.github/workflows/docs-localization-download.yml index 4aa153b736..c468cc6559 100644 --- a/.github/workflows/docs-localization-download.yml +++ b/.github/workflows/docs-localization-download.yml @@ -29,7 +29,7 @@ jobs: - name: "Build locales" run: sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l - hi -l ko -l pt -l es -l zh + hi -l ko -l pt_BR -l es -l zh_CN working-directory: ./docs - name: "Crowdin" uses: crowdin/github-action@v2 @@ -41,7 +41,9 @@ jobs: localization_branch_name: l10n_master create_pull_request: true pull_request_title: "docs: Update localizations from Crowdin" - pull_request_body: "Crowdin download was triggered due to completely translated file or project. Starting sync. CC @Lulalaby" + pull_request_body: + "Crowdin download was triggered due to completely translated file or + project. Starting sync. CC @Lulalaby" pull_request_base_branch_name: "master" pull_request_reviewers: "Lulalaby" config: "crowdin.yml" diff --git a/.github/workflows/docs-localization-upload.yml b/.github/workflows/docs-localization-upload.yml index f459e13940..7809c0a383 100644 --- a/.github/workflows/docs-localization-upload.yml +++ b/.github/workflows/docs-localization-upload.yml @@ -11,7 +11,9 @@ jobs: permissions: write-all name: "Localisize Docs" runs-on: ubuntu-latest - if: contains(github.event.head_commit.message, '!crowdin upload') || github.event_name == 'workflow_dispatch' + if: + contains(github.event.head_commit.message, '!crowdin upload') || github.event_name + == 'workflow_dispatch' steps: - uses: actions/checkout@v4 - name: "Install Python" @@ -32,7 +34,8 @@ jobs: working-directory: ./docs - name: "Build locales" run: - sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l hi -l ko -l pt -l es -l zh + sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l + hi -l ko -l pt_BR -l es -l zh_CN working-directory: ./docs - name: "Crowdin" uses: crowdin/github-action@v2 diff --git a/.github/workflows/version-updates.yml b/.github/workflows/version-updates.yml index 05ced85fd2..3898829019 100644 --- a/.github/workflows/version-updates.yml +++ b/.github/workflows/version-updates.yml @@ -8,7 +8,9 @@ permissions: jobs: auto-merge: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'crowdin-bot' || github.actor == 'Crowdin Bot' }} + if: + ${{ github.actor == 'dependabot[bot]' || github.actor == 'crowdin-bot' || + github.actor == 'Crowdin Bot' }} steps: - run: gh pr review --approve "$PR_URL" env: diff --git a/crowdin.yml b/crowdin.yml index 1823ae0b61..d9142bc3db 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -8,7 +8,7 @@ commit_message: "docs: Update translations" export_languages: ["de", "ja", "fr", "it", "hi", "ko", "pt-BR", "es-ES", "zh-CN"] bundles: - - 4 + - 1 files: [ diff --git a/docs/locales/pt/LC_MESSAGES/api/abcs.po b/docs/locales/pt_BR/LC_MESSAGES/api/abcs.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/abcs.po rename to docs/locales/pt_BR/LC_MESSAGES/api/abcs.po diff --git a/docs/locales/pt/LC_MESSAGES/api/application_commands.po b/docs/locales/pt_BR/LC_MESSAGES/api/application_commands.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/application_commands.po rename to docs/locales/pt_BR/LC_MESSAGES/api/application_commands.po diff --git a/docs/locales/pt/LC_MESSAGES/api/application_info.po b/docs/locales/pt_BR/LC_MESSAGES/api/application_info.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/application_info.po rename to docs/locales/pt_BR/LC_MESSAGES/api/application_info.po diff --git a/docs/locales/pt/LC_MESSAGES/api/async_iter.po b/docs/locales/pt_BR/LC_MESSAGES/api/async_iter.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/async_iter.po rename to docs/locales/pt_BR/LC_MESSAGES/api/async_iter.po diff --git a/docs/locales/pt/LC_MESSAGES/api/audit_logs.po b/docs/locales/pt_BR/LC_MESSAGES/api/audit_logs.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/audit_logs.po rename to docs/locales/pt_BR/LC_MESSAGES/api/audit_logs.po diff --git a/docs/locales/pt/LC_MESSAGES/api/clients.po b/docs/locales/pt_BR/LC_MESSAGES/api/clients.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/clients.po rename to docs/locales/pt_BR/LC_MESSAGES/api/clients.po diff --git a/docs/locales/pt/LC_MESSAGES/api/cogs.po b/docs/locales/pt_BR/LC_MESSAGES/api/cogs.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/cogs.po rename to docs/locales/pt_BR/LC_MESSAGES/api/cogs.po diff --git a/docs/locales/pt/LC_MESSAGES/api/data_classes.po b/docs/locales/pt_BR/LC_MESSAGES/api/data_classes.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/data_classes.po rename to docs/locales/pt_BR/LC_MESSAGES/api/data_classes.po diff --git a/docs/locales/pt/LC_MESSAGES/api/enums.po b/docs/locales/pt_BR/LC_MESSAGES/api/enums.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/enums.po rename to docs/locales/pt_BR/LC_MESSAGES/api/enums.po diff --git a/docs/locales/pt/LC_MESSAGES/api/events.po b/docs/locales/pt_BR/LC_MESSAGES/api/events.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/events.po rename to docs/locales/pt_BR/LC_MESSAGES/api/events.po diff --git a/docs/locales/pt/LC_MESSAGES/api/exceptions.po b/docs/locales/pt_BR/LC_MESSAGES/api/exceptions.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/exceptions.po rename to docs/locales/pt_BR/LC_MESSAGES/api/exceptions.po diff --git a/docs/locales/pt/LC_MESSAGES/api/index.po b/docs/locales/pt_BR/LC_MESSAGES/api/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/index.po rename to docs/locales/pt_BR/LC_MESSAGES/api/index.po diff --git a/docs/locales/pt/LC_MESSAGES/api/models.po b/docs/locales/pt_BR/LC_MESSAGES/api/models.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/models.po rename to docs/locales/pt_BR/LC_MESSAGES/api/models.po diff --git a/docs/locales/pt/LC_MESSAGES/api/sinks.po b/docs/locales/pt_BR/LC_MESSAGES/api/sinks.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/sinks.po rename to docs/locales/pt_BR/LC_MESSAGES/api/sinks.po diff --git a/docs/locales/pt/LC_MESSAGES/api/ui_kit.po b/docs/locales/pt_BR/LC_MESSAGES/api/ui_kit.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/ui_kit.po rename to docs/locales/pt_BR/LC_MESSAGES/api/ui_kit.po diff --git a/docs/locales/pt/LC_MESSAGES/api/utils.po b/docs/locales/pt_BR/LC_MESSAGES/api/utils.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/utils.po rename to docs/locales/pt_BR/LC_MESSAGES/api/utils.po diff --git a/docs/locales/pt/LC_MESSAGES/api/version_info.po b/docs/locales/pt_BR/LC_MESSAGES/api/version_info.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/version_info.po rename to docs/locales/pt_BR/LC_MESSAGES/api/version_info.po diff --git a/docs/locales/pt/LC_MESSAGES/api/voice.po b/docs/locales/pt_BR/LC_MESSAGES/api/voice.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/voice.po rename to docs/locales/pt_BR/LC_MESSAGES/api/voice.po diff --git a/docs/locales/pt/LC_MESSAGES/api/webhooks.po b/docs/locales/pt_BR/LC_MESSAGES/api/webhooks.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/api/webhooks.po rename to docs/locales/pt_BR/LC_MESSAGES/api/webhooks.po diff --git a/docs/locales/pt/LC_MESSAGES/changelog.po b/docs/locales/pt_BR/LC_MESSAGES/changelog.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/changelog.po rename to docs/locales/pt_BR/LC_MESSAGES/changelog.po diff --git a/docs/locales/pt/LC_MESSAGES/cogs.po b/docs/locales/pt_BR/LC_MESSAGES/cogs.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/cogs.po rename to docs/locales/pt_BR/LC_MESSAGES/cogs.po diff --git a/docs/locales/pt/LC_MESSAGES/discord.po b/docs/locales/pt_BR/LC_MESSAGES/discord.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/discord.po rename to docs/locales/pt_BR/LC_MESSAGES/discord.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/bridge/api.po b/docs/locales/pt_BR/LC_MESSAGES/ext/bridge/api.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/bridge/api.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/bridge/api.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/bridge/index.po b/docs/locales/pt_BR/LC_MESSAGES/ext/bridge/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/bridge/index.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/bridge/index.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/commands/api.po b/docs/locales/pt_BR/LC_MESSAGES/ext/commands/api.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/commands/api.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/commands/api.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/commands/cogs.po b/docs/locales/pt_BR/LC_MESSAGES/ext/commands/cogs.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/commands/cogs.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/commands/cogs.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/commands/commands.po b/docs/locales/pt_BR/LC_MESSAGES/ext/commands/commands.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/commands/commands.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/commands/commands.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/commands/extensions.po b/docs/locales/pt_BR/LC_MESSAGES/ext/commands/extensions.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/commands/extensions.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/commands/extensions.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/commands/index.po b/docs/locales/pt_BR/LC_MESSAGES/ext/commands/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/commands/index.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/commands/index.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/pages/index.po b/docs/locales/pt_BR/LC_MESSAGES/ext/pages/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/pages/index.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/pages/index.po diff --git a/docs/locales/pt/LC_MESSAGES/ext/tasks/index.po b/docs/locales/pt_BR/LC_MESSAGES/ext/tasks/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/ext/tasks/index.po rename to docs/locales/pt_BR/LC_MESSAGES/ext/tasks/index.po diff --git a/docs/locales/pt/LC_MESSAGES/faq.po b/docs/locales/pt_BR/LC_MESSAGES/faq.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/faq.po rename to docs/locales/pt_BR/LC_MESSAGES/faq.po diff --git a/docs/locales/pt/LC_MESSAGES/index.po b/docs/locales/pt_BR/LC_MESSAGES/index.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/index.po rename to docs/locales/pt_BR/LC_MESSAGES/index.po diff --git a/docs/locales/pt/LC_MESSAGES/installing.po b/docs/locales/pt_BR/LC_MESSAGES/installing.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/installing.po rename to docs/locales/pt_BR/LC_MESSAGES/installing.po diff --git a/docs/locales/pt/LC_MESSAGES/intents.po b/docs/locales/pt_BR/LC_MESSAGES/intents.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/intents.po rename to docs/locales/pt_BR/LC_MESSAGES/intents.po diff --git a/docs/locales/pt/LC_MESSAGES/logging.po b/docs/locales/pt_BR/LC_MESSAGES/logging.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/logging.po rename to docs/locales/pt_BR/LC_MESSAGES/logging.po diff --git a/docs/locales/pt/LC_MESSAGES/migrating_to_v1.po b/docs/locales/pt_BR/LC_MESSAGES/migrating_to_v1.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/migrating_to_v1.po rename to docs/locales/pt_BR/LC_MESSAGES/migrating_to_v1.po diff --git a/docs/locales/pt/LC_MESSAGES/migrating_to_v2.po b/docs/locales/pt_BR/LC_MESSAGES/migrating_to_v2.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/migrating_to_v2.po rename to docs/locales/pt_BR/LC_MESSAGES/migrating_to_v2.po diff --git a/docs/locales/pt/LC_MESSAGES/old_changelog.po b/docs/locales/pt_BR/LC_MESSAGES/old_changelog.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/old_changelog.po rename to docs/locales/pt_BR/LC_MESSAGES/old_changelog.po diff --git a/docs/locales/pt/LC_MESSAGES/quickstart.po b/docs/locales/pt_BR/LC_MESSAGES/quickstart.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/quickstart.po rename to docs/locales/pt_BR/LC_MESSAGES/quickstart.po diff --git a/docs/locales/pt/LC_MESSAGES/version_guarantees.po b/docs/locales/pt_BR/LC_MESSAGES/version_guarantees.po similarity index 100% rename from docs/locales/pt/LC_MESSAGES/version_guarantees.po rename to docs/locales/pt_BR/LC_MESSAGES/version_guarantees.po diff --git a/docs/locales/zh/LC_MESSAGES/api/abcs.po b/docs/locales/zh_CN/LC_MESSAGES/api/abcs.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/abcs.po rename to docs/locales/zh_CN/LC_MESSAGES/api/abcs.po diff --git a/docs/locales/zh/LC_MESSAGES/api/application_commands.po b/docs/locales/zh_CN/LC_MESSAGES/api/application_commands.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/application_commands.po rename to docs/locales/zh_CN/LC_MESSAGES/api/application_commands.po diff --git a/docs/locales/zh/LC_MESSAGES/api/application_info.po b/docs/locales/zh_CN/LC_MESSAGES/api/application_info.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/application_info.po rename to docs/locales/zh_CN/LC_MESSAGES/api/application_info.po diff --git a/docs/locales/zh/LC_MESSAGES/api/async_iter.po b/docs/locales/zh_CN/LC_MESSAGES/api/async_iter.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/async_iter.po rename to docs/locales/zh_CN/LC_MESSAGES/api/async_iter.po diff --git a/docs/locales/zh/LC_MESSAGES/api/audit_logs.po b/docs/locales/zh_CN/LC_MESSAGES/api/audit_logs.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/audit_logs.po rename to docs/locales/zh_CN/LC_MESSAGES/api/audit_logs.po diff --git a/docs/locales/zh/LC_MESSAGES/api/clients.po b/docs/locales/zh_CN/LC_MESSAGES/api/clients.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/clients.po rename to docs/locales/zh_CN/LC_MESSAGES/api/clients.po diff --git a/docs/locales/zh/LC_MESSAGES/api/cogs.po b/docs/locales/zh_CN/LC_MESSAGES/api/cogs.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/cogs.po rename to docs/locales/zh_CN/LC_MESSAGES/api/cogs.po diff --git a/docs/locales/zh/LC_MESSAGES/api/data_classes.po b/docs/locales/zh_CN/LC_MESSAGES/api/data_classes.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/data_classes.po rename to docs/locales/zh_CN/LC_MESSAGES/api/data_classes.po diff --git a/docs/locales/zh/LC_MESSAGES/api/enums.po b/docs/locales/zh_CN/LC_MESSAGES/api/enums.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/enums.po rename to docs/locales/zh_CN/LC_MESSAGES/api/enums.po diff --git a/docs/locales/zh/LC_MESSAGES/api/events.po b/docs/locales/zh_CN/LC_MESSAGES/api/events.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/events.po rename to docs/locales/zh_CN/LC_MESSAGES/api/events.po diff --git a/docs/locales/zh/LC_MESSAGES/api/exceptions.po b/docs/locales/zh_CN/LC_MESSAGES/api/exceptions.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/exceptions.po rename to docs/locales/zh_CN/LC_MESSAGES/api/exceptions.po diff --git a/docs/locales/zh/LC_MESSAGES/api/index.po b/docs/locales/zh_CN/LC_MESSAGES/api/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/index.po rename to docs/locales/zh_CN/LC_MESSAGES/api/index.po diff --git a/docs/locales/zh/LC_MESSAGES/api/models.po b/docs/locales/zh_CN/LC_MESSAGES/api/models.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/models.po rename to docs/locales/zh_CN/LC_MESSAGES/api/models.po diff --git a/docs/locales/zh/LC_MESSAGES/api/sinks.po b/docs/locales/zh_CN/LC_MESSAGES/api/sinks.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/sinks.po rename to docs/locales/zh_CN/LC_MESSAGES/api/sinks.po diff --git a/docs/locales/zh/LC_MESSAGES/api/ui_kit.po b/docs/locales/zh_CN/LC_MESSAGES/api/ui_kit.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/ui_kit.po rename to docs/locales/zh_CN/LC_MESSAGES/api/ui_kit.po diff --git a/docs/locales/zh/LC_MESSAGES/api/utils.po b/docs/locales/zh_CN/LC_MESSAGES/api/utils.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/utils.po rename to docs/locales/zh_CN/LC_MESSAGES/api/utils.po diff --git a/docs/locales/zh/LC_MESSAGES/api/version_info.po b/docs/locales/zh_CN/LC_MESSAGES/api/version_info.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/version_info.po rename to docs/locales/zh_CN/LC_MESSAGES/api/version_info.po diff --git a/docs/locales/zh/LC_MESSAGES/api/voice.po b/docs/locales/zh_CN/LC_MESSAGES/api/voice.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/voice.po rename to docs/locales/zh_CN/LC_MESSAGES/api/voice.po diff --git a/docs/locales/zh/LC_MESSAGES/api/webhooks.po b/docs/locales/zh_CN/LC_MESSAGES/api/webhooks.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/api/webhooks.po rename to docs/locales/zh_CN/LC_MESSAGES/api/webhooks.po diff --git a/docs/locales/zh/LC_MESSAGES/changelog.po b/docs/locales/zh_CN/LC_MESSAGES/changelog.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/changelog.po rename to docs/locales/zh_CN/LC_MESSAGES/changelog.po diff --git a/docs/locales/zh/LC_MESSAGES/cogs.po b/docs/locales/zh_CN/LC_MESSAGES/cogs.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/cogs.po rename to docs/locales/zh_CN/LC_MESSAGES/cogs.po diff --git a/docs/locales/zh/LC_MESSAGES/discord.po b/docs/locales/zh_CN/LC_MESSAGES/discord.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/discord.po rename to docs/locales/zh_CN/LC_MESSAGES/discord.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/bridge/api.po b/docs/locales/zh_CN/LC_MESSAGES/ext/bridge/api.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/bridge/api.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/bridge/api.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/bridge/index.po b/docs/locales/zh_CN/LC_MESSAGES/ext/bridge/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/bridge/index.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/bridge/index.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/commands/api.po b/docs/locales/zh_CN/LC_MESSAGES/ext/commands/api.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/commands/api.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/commands/api.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/commands/cogs.po b/docs/locales/zh_CN/LC_MESSAGES/ext/commands/cogs.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/commands/cogs.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/commands/cogs.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/commands/commands.po b/docs/locales/zh_CN/LC_MESSAGES/ext/commands/commands.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/commands/commands.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/commands/commands.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/commands/extensions.po b/docs/locales/zh_CN/LC_MESSAGES/ext/commands/extensions.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/commands/extensions.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/commands/extensions.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/commands/index.po b/docs/locales/zh_CN/LC_MESSAGES/ext/commands/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/commands/index.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/commands/index.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/pages/index.po b/docs/locales/zh_CN/LC_MESSAGES/ext/pages/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/pages/index.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/pages/index.po diff --git a/docs/locales/zh/LC_MESSAGES/ext/tasks/index.po b/docs/locales/zh_CN/LC_MESSAGES/ext/tasks/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/ext/tasks/index.po rename to docs/locales/zh_CN/LC_MESSAGES/ext/tasks/index.po diff --git a/docs/locales/zh/LC_MESSAGES/faq.po b/docs/locales/zh_CN/LC_MESSAGES/faq.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/faq.po rename to docs/locales/zh_CN/LC_MESSAGES/faq.po diff --git a/docs/locales/zh/LC_MESSAGES/index.po b/docs/locales/zh_CN/LC_MESSAGES/index.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/index.po rename to docs/locales/zh_CN/LC_MESSAGES/index.po diff --git a/docs/locales/zh/LC_MESSAGES/installing.po b/docs/locales/zh_CN/LC_MESSAGES/installing.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/installing.po rename to docs/locales/zh_CN/LC_MESSAGES/installing.po diff --git a/docs/locales/zh/LC_MESSAGES/intents.po b/docs/locales/zh_CN/LC_MESSAGES/intents.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/intents.po rename to docs/locales/zh_CN/LC_MESSAGES/intents.po diff --git a/docs/locales/zh/LC_MESSAGES/logging.po b/docs/locales/zh_CN/LC_MESSAGES/logging.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/logging.po rename to docs/locales/zh_CN/LC_MESSAGES/logging.po diff --git a/docs/locales/zh/LC_MESSAGES/migrating_to_v1.po b/docs/locales/zh_CN/LC_MESSAGES/migrating_to_v1.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/migrating_to_v1.po rename to docs/locales/zh_CN/LC_MESSAGES/migrating_to_v1.po diff --git a/docs/locales/zh/LC_MESSAGES/migrating_to_v2.po b/docs/locales/zh_CN/LC_MESSAGES/migrating_to_v2.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/migrating_to_v2.po rename to docs/locales/zh_CN/LC_MESSAGES/migrating_to_v2.po diff --git a/docs/locales/zh/LC_MESSAGES/old_changelog.po b/docs/locales/zh_CN/LC_MESSAGES/old_changelog.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/old_changelog.po rename to docs/locales/zh_CN/LC_MESSAGES/old_changelog.po diff --git a/docs/locales/zh/LC_MESSAGES/quickstart.po b/docs/locales/zh_CN/LC_MESSAGES/quickstart.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/quickstart.po rename to docs/locales/zh_CN/LC_MESSAGES/quickstart.po diff --git a/docs/locales/zh/LC_MESSAGES/version_guarantees.po b/docs/locales/zh_CN/LC_MESSAGES/version_guarantees.po similarity index 100% rename from docs/locales/zh/LC_MESSAGES/version_guarantees.po rename to docs/locales/zh_CN/LC_MESSAGES/version_guarantees.po