diff --git a/.ci/update_translation_source_strings_template.md b/.ci/update_translation_source_strings_template.md index ce0b0e7b..8b89948c 100644 --- a/.ci/update_translation_source_strings_template.md +++ b/.ci/update_translation_source_strings_template.md @@ -7,7 +7,8 @@ Updated source strings for translations: Last changes are based on commit {{ .commit }}. --- -*This PR is automatically generated and updated by the workflow at `.github/workflows/translations-push.yml`.*
+*This PR is automatically generated and updated by the workflow at `.github/workflows/translations-push.yml`. Review [action runs][2].*
*After merging, all changes to the source language are available for translation at [Transifex][1] shortly.* [1]: https://app.transifex.com/cockatrice/cockatrice/ +[2]: https://github.com/Cockatrice/Cockatrice/actions/workflows/translations-push.yml?query=branch%3Amaster diff --git a/.github/workflows/translations-pull.yml b/.github/workflows/translations-pull.yml index a99cde2c..dccf6355 100644 --- a/.github/workflows/translations-pull.yml +++ b/.github/workflows/translations-pull.yml @@ -27,7 +27,7 @@ jobs: # used config file: https://github.com/Cockatrice/Cockatrice/blob/master/.tx/config # https://github.com/transifex/cli#pulling-files-from-transifex token: ${{ secrets.TX_TOKEN }} - args: pull --all + args: pull --force --all - name: Create pull request if: github.event_name != 'pull_request' @@ -43,17 +43,16 @@ jobs: author: github-actions branch: ci-update_translations delete-branch: true - title: '[Translations] Update translations' + title: 'Update translations' body: | - `pull -all` strings from [Transifex][1] - -
+ Pulled all translated strings from [Transifex][1]. --- - *This PR is automatically generated and updated by the workflow at `.github/workflows/translations-pull.yml`.*
+ *This PR is automatically generated and updated by the workflow at `.github/workflows/translations-pull.yml`. Review [action runs][2].*
*After merging, all new languages and translations are available in the next build.* [1]: https://app.transifex.com/cockatrice/cockatrice/ + [2]: https://github.com/Cockatrice/Cockatrice/actions/workflows/translations-pull.yml?query=branch%3Amaster labels: | CI Translation diff --git a/.github/workflows/translations-push.yml b/.github/workflows/translations-push.yml index 56cb28a0..e8b3dabf 100644 --- a/.github/workflows/translations-push.yml +++ b/.github/workflows/translations-push.yml @@ -64,9 +64,9 @@ jobs: commit-message: Update translation source strings # author is the owner of the commit author: github-actions - branch: ci-update_translation_source_strings + branch: ci-update_translation_source delete-branch: true - title: '[Translations] Update source strings' + title: 'Update source strings' body: ${{ steps.template.outputs.result }} labels: | CI