diff --git a/.gitignore b/.gitignore index 8a5d7d8da..1ae11eef3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ package-lock.json node_modules/ Modpack-Modern.sln Modpack-Modern.esproj -crowdin.yml +# crowdin.yml # Pakku build/ diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 000000000..24af6a6ec --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,30 @@ +"project_id_env": "${{ vars.CROWDIN_ID }}" +"api_token_env": "${{ secrets.CROWDIN_TOKEN }}" +"base_url": "https://api.crowdin.com" +"preserve_hierarchy": true +"pull_request_title": "New Crowdin updates" +"pull_request_labels": [ + "Pull request: Translation" +] +"commit_message": "[translation] New translations {fileName} ({languageName})" + +"files" : [ + { + "source" : "/kubejs/assets/*/lang/en_us.json", + "translation" : "/%original_path%/%locale_with_underscore%.json", + "update_option": "update_without_changes", + "languages_mapping" : { + "locale_with_underscore" : { + "en-US": "en_us", + "en-GB": "en_gb", + "ru": "ru_ru", + "uk": "uk_ua", + "ja": "ja_jp", + "zh-CN": "zh_cn", + "zh-TW": "zh_tw", + "es-ES": "es_es", + "de": "de_de" + } + } + } +] \ No newline at end of file