Skip to content

Commit dfeca09

Browse files
committed
ci: Switch to using crowdin.yml to specify filename
1 parent 44c06e2 commit dfeca09

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/pull_strings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
config: crowdin.yml
2626
upload_sources: false
2727
download_translations: true
28-
download_sources_args: --dest manager.xml
2928
skip_ref_checkout: true
3029
localization_branch_name: feat/translations
3130
create_pull_request: false

.github/workflows/push_strings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
with:
2222
config: crowdin.yml
2323
upload_sources: true
24-
upload_sources_args: --dest manager.xml
2524
env:
2625
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
2726
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Second \"item\" text"</string>
1414
-->
1515
<resources>
1616
<string name="app_name">ReVanced Manager</string>
17-
<string name="patcher">Patcher</string>
17+
<string name="patcher">Patcher test</string>
1818
<string name="patches">Patches</string>
1919
<string name="cli">CLI</string>
2020
<string name="manager">Manager</string>

crowdin.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
project_id_env: "CROWDIN_PROJECT_ID"
22
api_token_env: "CROWDIN_PERSONAL_TOKEN"
33

4-
preserve_hierarchy: false
4+
preserve_hierarchy: true
55
files:
66
- source: app/src/main/res/values/strings.xml
7+
dest: manager.xml
78
translation: app/src/main/res/values-%android_code%/strings.xml
89
skip_untranslated_strings: true

0 commit comments

Comments
 (0)