mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
Prefix source, translation with /
This commit is contained in:
parent
a5550bed8d
commit
082f016ef9
4
.github/workflows/crowdin-download.yaml
vendored
4
.github/workflows/crowdin-download.yaml
vendored
@ -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 }}
|
||||
|
6
.github/workflows/crowdin-upload.yaml
vendored
6
.github/workflows/crowdin-upload.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user