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 create_pull_request: true
pull_request_title: "New Crowdin translations" pull_request_title: "New Crowdin translations"
pull_request_body: "" pull_request_body: ""
source: "i18n/build/source.yaml" source: "/i18n/build/source.yaml"
translation: "i18n/src/main/resources/translations/%three_letters_code%.yaml" translation: "/i18n/src/main/resources/translations/%three_letters_code%.yaml"
download_translations_args: "--verbose" download_translations_args: "--verbose"
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

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