-
-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump slang_flutter and slang (#2374)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pun Butrach <[email protected]>
- Loading branch information
1 parent
b3ba0fc
commit dfb3fe3
Showing
91 changed files
with
41 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,10 @@ jobs: | |
uses: subosito/flutter-action@v2 | ||
with: | ||
cache: true | ||
flutter-version: 3.24.x | ||
flutter-version: 3.27.x | ||
|
||
- name: Sync translations from Crowdin | ||
uses: crowdin/github-action@v1 | ||
uses: crowdin/github-action@v2 | ||
with: | ||
config: crowdin.yml | ||
upload_sources: true | ||
|
@@ -47,26 +47,31 @@ jobs: | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | ||
|
||
# There has to be a better way to do this | ||
- name: Normalization of Translation Strings | ||
- name: Validation of synced translations | ||
run: | | ||
dart pub get | ||
cd assets/i18n | ||
sudo chmod 766 *.json | ||
cd ../.. | ||
dart run slang validate | ||
- name: Normalization of Translation Strings | ||
run: | | ||
sudo chmod 766 assets/i18n/*.i18n.json | ||
dart run slang analyze | ||
dart run slang clean | ||
dart run slang normalize | ||
cd assets/i18n | ||
dart nuke.dart >> $GITHUB_STEP_SUMMARY | ||
cd ../.. | ||
dart run slang | ||
flutter analyze lib/gen/strings.g.dart --no-fatal-infos --no-fatal-warnings | ||
- name: Commit translations | ||
run: | | ||
git config user.name revanced-bot | ||
git config user.email [email protected] | ||
sudo chown -R $USER:$USER .git | ||
git commit -m "chore: Remove empty values from JSON" assets/i18n/strings_*.json | ||
git commit -m "chore: Remove empty values from JSON" assets/i18n/*.i18n.json | ||
git push origin HEAD:feat/translations |
This file was deleted.
Oops, something went wrong.
0
assets/i18n/strings_ar_SA.i18n.json → assets/i18n/ar_SA.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_az_AZ.i18n.json → assets/i18n/az_AZ.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_be_BY.i18n.json → assets/i18n/be_BY.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_bg_BG.i18n.json → assets/i18n/bg_BG.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_bn_BD.i18n.json → assets/i18n/bn_BD.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ca_ES.i18n.json → assets/i18n/ca_ES.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_cs_CZ.i18n.json → assets/i18n/cs_CZ.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_da_DK.i18n.json → assets/i18n/da_DK.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_de_DE.i18n.json → assets/i18n/de_DE.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_el_GR.i18n.json → assets/i18n/el_GR.i18n.json
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
assets/i18n/strings_es_AR.i18n.json → assets/i18n/es_AR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_es_ES.i18n.json → assets/i18n/es_ES.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_es_MX.i18n.json → assets/i18n/es_MX.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_et_EE.i18n.json → assets/i18n/et_EE.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_fa_IR.i18n.json → assets/i18n/fa_IR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_fi_FI.i18n.json → assets/i18n/fi_FI.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_fil_PH.i18n.json → assets/i18n/fil_PH.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_fr_FR.i18n.json → assets/i18n/fr_FR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ga_IE.i18n.json → assets/i18n/ga_IE.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_he_IL.i18n.json → assets/i18n/he_IL.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_hi_IN.i18n.json → assets/i18n/hi_IN.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_hr_HR.i18n.json → assets/i18n/hr_HR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_hu_HU.i18n.json → assets/i18n/hu_HU.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_hy_AM.i18n.json → assets/i18n/hy_AM.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_id_ID.i18n.json → assets/i18n/id_ID.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_is_IS.i18n.json → assets/i18n/is_IS.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_it_IT.i18n.json → assets/i18n/it_IT.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ja_JP.i18n.json → assets/i18n/ja_JP.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_kk_KZ.i18n.json → assets/i18n/kk_KZ.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_km_KH.i18n.json → assets/i18n/km_KH.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ko_KR.i18n.json → assets/i18n/ko_KR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_lt_LT.i18n.json → assets/i18n/lt_LT.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_lv_LV.i18n.json → assets/i18n/lv_LV.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ms_MY.i18n.json → assets/i18n/ms_MY.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_my_MM.i18n.json → assets/i18n/my_MM.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_nb_NO.i18n.json → assets/i18n/nb_NO.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_nl_NL.i18n.json → assets/i18n/nl_NL.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_no_NO.i18n.json → assets/i18n/no_NO.i18n.json
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
assets/i18n/strings_or_IN.i18n.json → assets/i18n/or_IN.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_pl_PL.i18n.json → assets/i18n/pl_PL.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_pt_BR.i18n.json → assets/i18n/pt_BR.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_pt_PT.i18n.json → assets/i18n/pt_PT.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ro_RO.i18n.json → assets/i18n/ro_RO.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_ru_RU.i18n.json → assets/i18n/ru_RU.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_sk_SK.i18n.json → assets/i18n/sk_SK.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_sl_SI.i18n.json → assets/i18n/sl_SI.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_sq_AL.i18n.json → assets/i18n/sq_AL.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_sr_CS.i18n.json → assets/i18n/sr_CS.i18n.json
100755 → 100644
File renamed without changes.
0
assets/i18n/strings_sr_SP.i18n.json → assets/i18n/sr_SP.i18n.json
100755 → 100644
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.