Skip to content

Commit

Permalink
Add new string files to crowdin workflow and use new artifacts action
Browse files Browse the repository at this point in the history
  • Loading branch information
wingio committed Sep 12, 2024
1 parent 11c192e commit 7c1b4d7
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 296 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: chmod +x ./gradlew && ./gradlew :app:android:assembleDebug

- name: Upload APK
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: gloom-debug
path: app/android/build/outputs/apk/debug/android-debug.apk
10 changes: 9 additions & 1 deletion .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ on:
branches:
- 'main'
paths:
- 'ui/src/commonMain/moko-resources/base/strings.xml'
- 'ui/src/commonMain/moko-resources/base/plurals.xml'
- 'ui/src/commonMain/moko-resources/base/strings.xml'
- 'ui/src/commonMain/moko-resources/base/strings_auth.xml'
- 'ui/src/commonMain/moko-resources/base/strings_explore.xml'
- 'ui/src/commonMain/moko-resources/base/strings_explorer.xml'
- 'ui/src/commonMain/moko-resources/base/strings_home.xml'
- 'ui/src/commonMain/moko-resources/base/strings_profile.xml'
- 'ui/src/commonMain/moko-resources/base/strings_release.xml'
- 'ui/src/commonMain/moko-resources/base/strings_repository.xml'
- 'ui/src/commonMain/moko-resources/base/strings_settings.xml'
- '.github/workflows/crowdin.yml'
- 'crowdin.yml'
schedule:
Expand Down
10 changes: 0 additions & 10 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,70 +5,60 @@ preserve_hierarchy: true
files:
- source: ui/src/commonMain/moko-resources/base/plurals.xml
translation: ui/src/commonMain/moko-resources/%locale%/plurals.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_auth.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_auth.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_explore.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_explore.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_explorer.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_explorer.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_home.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_home.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_profile.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_profile.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_release.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_release.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_repository.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_repository.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/

- source: ui/src/commonMain/moko-resources/base/strings_settings.xml
translation: ui/src/commonMain/moko-resources/%locale%/strings_settings.xml
update_option: update_as_unapproved
ignore:
- ui/src/commonMain/moko-resources/images/
- ui/src/commonMain/moko-resources/files/
39 changes: 0 additions & 39 deletions ui/src/commonMain/moko-resources/es-419/plurals.xml

This file was deleted.

87 changes: 0 additions & 87 deletions ui/src/commonMain/moko-resources/es-419/strings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions ui/src/commonMain/moko-resources/es-419/strings_auth.xml

This file was deleted.

12 changes: 0 additions & 12 deletions ui/src/commonMain/moko-resources/es-419/strings_explore.xml

This file was deleted.

8 changes: 0 additions & 8 deletions ui/src/commonMain/moko-resources/es-419/strings_explorer.xml

This file was deleted.

12 changes: 0 additions & 12 deletions ui/src/commonMain/moko-resources/es-419/strings_home.xml

This file was deleted.

16 changes: 0 additions & 16 deletions ui/src/commonMain/moko-resources/es-419/strings_profile.xml

This file was deleted.

9 changes: 0 additions & 9 deletions ui/src/commonMain/moko-resources/es-419/strings_release.xml

This file was deleted.

43 changes: 0 additions & 43 deletions ui/src/commonMain/moko-resources/es-419/strings_repository.xml

This file was deleted.

51 changes: 0 additions & 51 deletions ui/src/commonMain/moko-resources/es-419/strings_settings.xml

This file was deleted.

0 comments on commit 7c1b4d7

Please sign in to comment.