Skip to content

Commit

Permalink
feat: Allow changing languages (#1450)
Browse files Browse the repository at this point in the history
Co-authored-by: Aunali321 <[email protected]>
Co-authored-by: Pun Butrach <[email protected]>
Co-authored-by: oSumAtrIX <[email protected]>
  • Loading branch information
4 people authored Nov 11, 2023
1 parent f785185 commit 92bc174
Show file tree
Hide file tree
Showing 60 changed files with 1,122 additions and 1,408 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
cache: true
- name: Install Flutter dependencies
run: flutter pub get
- name: Generate translation with Slang
run: dart run slang
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Build with Flutter
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
channel: "stable"
- name: Set up Flutter
run: flutter pub get
- name: Generate translation with Slang
run: dart run slang
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Build with Flutter
Expand All @@ -47,4 +49,4 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: revanced-manager-${{ env.RELEASE_VERSION }}.apk
files: revanced-manager-${{ env.RELEASE_VERSION }}.apk
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ We're accepting translations on [Crowdin](https://translate.revanced.app).
3. Add your GitHub token in gradle.properties like [this](/docs/4_building.md)
4. Open the project in terminal
5. Run `flutter pub get` in terminal
6. Then `flutter packages pub run build_runner build --delete-conflicting-outputs` (Must be done on each git pull)
7. To build release APK run `flutter build apk`
6. Generate translation file using `dart run slang`
7. Then `flutter packages pub run build_runner build --delete-conflicting-outputs` (Must be done on each git pull)
8. To build release APK run `flutter build apk`
331 changes: 0 additions & 331 deletions assets/i18n/en_US.json

This file was deleted.

Loading

0 comments on commit 92bc174

Please sign in to comment.