diff --git a/.github/workflows/localization_strings_update.yml b/.github/workflows/localization_strings_update.yml index 6c9334b0..85198706 100644 --- a/.github/workflows/localization_strings_update.yml +++ b/.github/workflows/localization_strings_update.yml @@ -20,9 +20,6 @@ jobs: - name: Generate intl_translation run: dart run intl_translation:extract_to_arb --locale=en --output-file='./lib/l10n/messages_en.arb' ./lib/Frontend/intnDefs.dart - name: Stage Changes - run: git config user.email "github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]" && git add lib/l10n/messages_en.arb && git config --global --add safe.directory /github/workspace - - name: Push - uses: actions-x/commit@v2 - with: - message: Update prebuilt binaries - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + run: git config user.email "github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]" && git add lib/l10n/messages_en.arb + - name: Push changes + uses: ad-m/github-push-action@master \ No newline at end of file diff --git a/lib/Frontend/intnDefs.dart b/lib/Frontend/intnDefs.dart index 686e58e5..963706e1 100644 --- a/lib/Frontend/intnDefs.dart +++ b/lib/Frontend/intnDefs.dart @@ -1,5 +1,6 @@ import 'package:intl/intl.dart'; +// //generate file for translation. Run when adding new translations //dart run intl_translation:extract_to_arb --locale=en --output-file='./lib/l10n/messages_en.arb' ./lib/Frontend/intnDefs.dart //convert to dart