Move i18n source file into build directory

This commit is contained in:
Vankka 2023-07-19 20:11:32 +03:00
parent 6af3974ee4
commit a5550bed8d
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ 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/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 }}

View File

@ -27,7 +27,7 @@ jobs:
upload_sources: true upload_sources: true
upload_translations: false upload_translations: false
download_translations: false download_translations: false
source: "i18n/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 }}

View File

@ -103,7 +103,7 @@ public final class DiscordSRVTranslation {
} }
YamlConfigurationLoader.builder() YamlConfigurationLoader.builder()
.path(Paths.get("i18n", "source.yaml")) .path(Paths.get("i18n", "build", "source.yaml"))
.build() .build()
.save(node); .save(node);
} }