diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml index 1b00eeaf..a061ef89 100644 --- a/.github/workflows/sync_crowdin.yml +++ b/.github/workflows/sync_crowdin.yml @@ -47,20 +47,20 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - - name: Generate Translation Strings + - name: Normalization of Translation Strings run: | dart pub get - dart run slang - flutter analyze lib/gen/strings.g.dart --no-fatal-infos --no-fatal-warnings - - - name: Remove empty values & Validation of Translation Strings - run: | dart run slang analyze dart run slang clean dart run slang normalize + + - name: Remove empty values of Translation & Validation of Translation Strings + run: | cd assets/i18n sudo chmod 777 *.json 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