Updates to the Crowdin CLI (#3530)

This commit is contained in:
Kowlin 2020-02-08 19:14:33 +01:00 committed by GitHub
parent 84870f2fa2
commit ec97f0c316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -37,12 +37,12 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v2 uses: peter-evans/create-pull-request@v2
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.cogcreators_bot_repo_scoped }}
commit-message: Automated Crowdin downstream commit-message: Automated Crowdin downstream
commiter: Cog-Creators Bot <51291613+Cog-CreatorsBot@users.noreply.github.com>
title: "[i18n] Automated Crowdin downstream" title: "[i18n] Automated Crowdin downstream"
body: | body: |
This is an automated PR. This is an automated PR.
Please ensure that there are no errors or invalid files are in the PR. Please ensure that there are no errors or invalid files are in the PR.
labels: "Automated PR, Category: i18n" labels: "Automated PR, Category: i18n"
branch: "automated/i18n" branch: "automated/i18n"

View File

@ -1,6 +1,7 @@
api_key_env: CROWDIN_API_KEY api_key_env: CROWDIN_API_KEY
project_identifier_env: CROWDIN_PROJECT_ID project_identifier_env: CROWDIN_PROJECT_ID
base_path: ./redbot/ base_path: ./redbot/
preserve_hierarchy: true
files: files:
- source: cogs/**/messages.pot - source: cogs/**/messages.pot
translation: /%original_path%/%locale%.po translation: /%original_path%/%locale%.po