diff --git a/.github/workflows/crowdin-download.yaml b/.github/workflows/crowdin-download.yaml index 9cb51258..c5df1a87 100644 --- a/.github/workflows/crowdin-download.yaml +++ b/.github/workflows/crowdin-download.yaml @@ -21,7 +21,7 @@ jobs: create_pull_request: true pull_request_title: "New Crowdin translations" pull_request_body: "" - source: "i18n/source.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 }} diff --git a/.github/workflows/crowdin-upload.yaml b/.github/workflows/crowdin-upload.yaml index 55c0f0c7..934c8770 100644 --- a/.github/workflows/crowdin-upload.yaml +++ b/.github/workflows/crowdin-upload.yaml @@ -27,7 +27,7 @@ jobs: upload_sources: true upload_translations: false download_translations: false - source: "i18n/source.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 }} diff --git a/i18n/src/main/java/com/discordsrv/config/DiscordSRVTranslation.java b/i18n/src/main/java/com/discordsrv/config/DiscordSRVTranslation.java index a39a31d7..d662a452 100644 --- a/i18n/src/main/java/com/discordsrv/config/DiscordSRVTranslation.java +++ b/i18n/src/main/java/com/discordsrv/config/DiscordSRVTranslation.java @@ -103,7 +103,7 @@ public final class DiscordSRVTranslation { } YamlConfigurationLoader.builder() - .path(Paths.get("i18n", "source.yaml")) + .path(Paths.get("i18n", "build", "source.yaml")) .build() .save(node); }