diff --git a/.github/workflows/publish_crowdin.yml b/.github/workflows/publish_crowdin.yml index ec3294f0f..72e45e584 100644 --- a/.github/workflows/publish_crowdin.yml +++ b/.github/workflows/publish_crowdin.yml @@ -37,12 +37,12 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.cogcreators_bot_repo_scoped }} commit-message: Automated Crowdin downstream + commiter: Cog-Creators Bot <51291613+Cog-CreatorsBot@users.noreply.github.com> title: "[i18n] Automated Crowdin downstream" body: | This is an automated PR. Please ensure that there are no errors or invalid files are in the PR. labels: "Automated PR, Category: i18n" branch: "automated/i18n" - diff --git a/crowdin.yml b/crowdin.yml index 457cf1ea4..fb1b9d420 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,6 +1,7 @@ api_key_env: CROWDIN_API_KEY project_identifier_env: CROWDIN_PROJECT_ID base_path: ./redbot/ +preserve_hierarchy: true files: - source: cogs/**/messages.pot translation: /%original_path%/%locale%.po