ci: Switch to using crowdin.yml to specify filename

This commit is contained in:
Ushie
2026-01-07 23:50:57 +03:00
parent 44c06e2197
commit dfeca09d00
4 changed files with 3 additions and 4 deletions

View File

@@ -25,7 +25,6 @@ jobs:
config: crowdin.yml
upload_sources: false
download_translations: true
download_sources_args: --dest manager.xml
skip_ref_checkout: true
localization_branch_name: feat/translations
create_pull_request: false

View File

@@ -21,7 +21,6 @@ jobs:
with:
config: crowdin.yml
upload_sources: true
upload_sources_args: --dest manager.xml
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -14,7 +14,7 @@ Second \"item\" text"</string>
-->
<resources>
<string name="app_name">ReVanced Manager</string>
<string name="patcher">Patcher</string>
<string name="patcher">Patcher test</string>
<string name="patches">Patches</string>
<string name="cli">CLI</string>
<string name="manager">Manager</string>

View File

@@ -1,8 +1,9 @@
project_id_env: "CROWDIN_PROJECT_ID"
api_token_env: "CROWDIN_PERSONAL_TOKEN"
preserve_hierarchy: false
preserve_hierarchy: true
files:
- source: app/src/main/res/values/strings.xml
dest: manager.xml
translation: app/src/main/res/values-%android_code%/strings.xml
skip_untranslated_strings: true