Prefix source, translation with /

This commit is contained in:
Vankka 2023-07-19 20:15:34 +03:00
parent a5550bed8d
commit 082f016ef9
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 5 additions and 5 deletions

View File

@ -21,8 +21,8 @@ jobs:
create_pull_request: true
pull_request_title: "New Crowdin translations"
pull_request_body: ""
source: "i18n/build/source.yaml"
translation: "i18n/src/main/resources/translations/%three_letters_code%.yaml"
source: "/i18n/build/source.yaml"
translation: "/i18n/src/main/resources/translations/%three_letters_code%.yaml"
download_translations_args: "--verbose"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@ -21,14 +21,14 @@ jobs:
run: "./gradlew i18n:build"
- name: Generate translation source
run: "java -jar i18n/build/libs/i18n-all.jar"
- name: Upload translations to Crowdin
- name: Upload source to Crowdin
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
source: "i18n/build/source.yaml"
translation: "i18n/src/main/resources/translations/%three_letters_code%.yaml"
source: "/i18n/build/source.yaml"
translation: "/i18n/src/main/resources/translations/%three_letters_code%.yaml"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
env: