mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Move i18n source file into build directory
This commit is contained in:
parent
6af3974ee4
commit
a5550bed8d
2
.github/workflows/crowdin-download.yaml
vendored
2
.github/workflows/crowdin-download.yaml
vendored
@ -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 }}
|
||||||
|
2
.github/workflows/crowdin-upload.yaml
vendored
2
.github/workflows/crowdin-upload.yaml
vendored
@ -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 }}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user