Skip to content

Commit

Permalink
chore: Merge branch dev to main (#2313)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Pun Butrach <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: oSumAtrIX <[email protected]>
Co-authored-by: Pun Butrach <[email protected]>
Co-authored-by: Benjamin <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
  • Loading branch information
6 people authored Jan 15, 2025
1 parent 4c51ad3 commit a176cfc
Show file tree
Hide file tree
Showing 111 changed files with 3,717 additions and 2,451 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/sync_crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ linter:
- null_check_on_nullable_type_parameter
- null_closures
- overridden_fields
- package_api_docs
- package_names
- prefer_adjacent_string_concatenation
- prefer_asserts_in_initializer_lists
Expand Down
14 changes: 0 additions & 14 deletions assets/i18n/README.md

This file was deleted.

File renamed without changes.
98 changes: 98 additions & 0 deletions assets/i18n/as_IN.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"okButton": "বাৰু",
"cancelButton": "বাতিল কৰক",
"dismissButton": "খাৰিজ কৰক",
"quitButton": "বন্ধ কৰক",
"updateButton": "আপডে’ট কৰক",
"suggested": "পৰামৰ্শমূলক: ${version}",
"yesButton": "হয়",
"noButton": "নহয়",
"warning": "সকীয়নি",
"notice": "জাননী",
"noShowAgain": "এইটো আকৌ নেদেখুৱাব",
"add": "যোগ কৰক",
"remove": "আঁতৰাওক",
"showChangelogButton": "সলনি-পঞ্জী দেখুৱাওক",
"showUpdateButton": "আপডে’ট দেখুৱাওক",
"navigationView": {
"dashboardTab": "ডেশ্বব’ৰ্ড",
"patcherTab": "পেট্‌চাৰ",
"settingsTab": "ছেটিংছ"
},
"homeView": {
"refreshSuccess": "সফলতাৰে সতেজ কৰা হ’ল",
"widgetTitle": "ডেশ্বব’ৰ্ড",
"updatesSubtitle": "আপডে’টবোৰ",
"lastPatchedAppSubtitle": "অন্তিমবাৰ পেট্‌চ কৰা এপ",
"patchedSubtitle": "ইনষ্টল কৰা এপবোৰ",
"changeLaterSubtitle": "আপুনি এইটো পাছত ছেটিংছত সলনি কৰিব পাৰিব।",
"noSavedAppFound": "কোনো এপ পোৱা নগ’ল",
"noInstallations": "পেট্‌চ কৰা কোনো এপ ইনষ্টল কৰা নাই",
"installUpdate": "আপডে’ট ইনষ্টল কৰা অব্যাহত ৰাখিবনে?",
"updateSheetTitle": "ReVanced Manager আপডে’ট কৰক",
"updateDialogTitle": "নতুন আপডে’ট উপলব্ধ",
"updatePatchesSheetTitle": "ReVanced পেট্‌চবোৰ আপডে’ট কৰক",
"updateChangelogTitle": "সলনি-পঞ্জী",
"updateDialogText": "${file}-ৰ এটা নতুন আপডে’ট উপলব্ধ।\n\nবৰ্তমানে ইনষ্টল কৰা সংস্কৰণটো হৈছে ${version}।",
"downloadConsentDialogTitle": "প্ৰয়োজনীয় ফাইলবোৰ ডাউনল’ড কৰিবনে?"
},
"applicationItem": {},
"latestCommitCard": {},
"patcherView": {},
"appSelectorCard": {},
"patchSelectorCard": {},
"socialMediaCard": {},
"appSelectorView": {},
"patchesSelectorView": {},
"patchOptionsView": {
"saveOptions": "ছে’ভ কৰক",
"unselectPatch": "পেট্‌চ বাছনি-মুক্ত কৰক",
"tooltip": "অধিক ইনপুটৰ বিকল্প",
"selectFilePath": "ফাইলৰ পথ বাছনি কৰক",
"selectFolder": "ফ’ল্ডাৰ বাছনি কৰক"
},
"patchItem": {},
"installerView": {},
"settingsView": {
"themeModeLabel": "এপৰ থীম",
"systemThemeLabel": "ছিষ্টেমৰ",
"lightThemeLabel": "পাতল",
"darkThemeLabel": "গাঢ়",
"dynamicThemeLabel": "মেটেৰিয়েল ইউ",
"languageLabel": "ভাষা",
"languageUpdated": "ভাষা আপডে’ট কৰা হ’ল"
},
"appInfoView": {
"removeAppDialogTitle": "এপ মচিবনে?",
"removeAppDialogText": "আপুনি এই বেকআপ মচি পেলাব বিচৰাটো নিশ্চিতনে?",
"packageNameLabel": "পেকেজৰ নাম",
"installTypeLabel": "ইনষ্টলেশ্যনৰ প্ৰকাৰ",
"mountTypeLabel": "মাউণ্ট",
"regularTypeLabel": "সাধাৰণ",
"patchedDateLabel": "পেট্‌চ কৰা তাৰিখ",
"appliedPatchesLabel": "প্ৰয়োগ কৰা পেট্‌চবোৰ",
"sizeLabel": "ফাইলৰ আকাৰ",
"patchedDateHint": "${date}ৰ ${time} বজাত",
"appliedPatchesHint": "${quantity}টা প্ৰয়োগ কৰা পেট্‌চ",
"updateNotImplemented": "এই সুবিধা এতিয়ালৈকে প্ৰণয়ন কৰা হোৱা নাই"
},
"contributorsView": {
"widgetTitle": "অৱদানকাৰীসকল"
},
"installErrorDialog": {
"mount_version_mismatch": "সংস্কৰণৰ অমিল",
"mount_no_root": "ৰুট এক্সেছ নাই",
"mount_missing_installation": "ইনষ্টলেশ্যন পোৱা নগ’ল",
"status_failure_blocked": "ইনষ্টলেশ্যন অৱৰুদ্ধ",
"install_failed_verification_failure": "ভেৰিফিকেশ্যন বিফল",
"install_failed_version_downgrade": "ডাউনগ্ৰে’ড কৰিব নোৱাৰি",
"status_failure_conflict": "ইনষ্টলেশ্যনৰ সংঘাত",
"status_failure_storage": "ইনষ্টলেশ্যন ষ্ট’ৰেজৰ সমস্যা",
"status_failure_incompatible": "ইনষ্টলেশ্যন নিমিলে",
"status_failure_timeout": "ইনষ্টলেশ্যনৰ সময় উকলিল",
"status_unknown": "ইনষ্টলেশ্যন বিফল",
"status_failure_conflict_description": "এপটোৰ এটা মজুত থকা ইনষ্টলেশ্যনৰ ফলত ইনষ্টলেশ্যনত বাধা আহিছিল।\n\n ইনষ্টল কৰা এপটো আনইনষ্টল কৰি পুনৰ চেষ্টা কৰিবনে?",
"status_failure_blocked_description": "ইনষ্টলেশ্যনটো ${packageName}-ৰ দ্বাৰা অৱৰোধ কৰা হৈছে।\n\nআপোনাৰ সুৰক্ষা-সম্বন্ধীয় ছেটিংছ মিলাই লৈ পুনৰ চেষ্টা কৰক।",
"install_failed_verification_failure_description": "ভেৰিফিকেশ্যন-সম্বন্ধীয় সমস্যা এটাৰ কাৰণে ইনষ্টলেশ্যন বিফল হ’ল।\n\nআপোনাৰ সুৰক্ষা-সম্বন্ধীয় ছেটিংছ মিলাই লৈ পুনৰ চেষ্টা কৰক।"
}
}
Loading

0 comments on commit a176cfc

Please sign in to comment.