diff --git a/.github/workflows/crowdin_download_translations.yml b/.github/workflows/crowdin_download_translations.yml index 16d02f9e03e..8dff6685bf3 100644 --- a/.github/workflows/crowdin_download_translations.yml +++ b/.github/workflows/crowdin_download_translations.yml @@ -79,6 +79,12 @@ jobs: CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} + - name: Temporary debug output + if: success() && (github.repository == 'Warzone2100/warzone2100') + run: | + cd po + ls -al + - name: Cleanup .po files if: success() && (github.repository == 'Warzone2100/warzone2100') run: | @@ -86,11 +92,11 @@ jobs: # For warzone2100.pot: find po -name '*.po' -type f -maxdepth 1 \ -exec \ - msgmerge '--no-wrap' '--width=1' '--output-file={}' '{}' 'po/warzone2100.pot' ';' + msgmerge '--no-wrap' '--width=1' '--update' '{}' 'po/warzone2100.pot' ';' # For warzone2100_guide.pot: find po/guide -name '*.po' -type f -maxdepth 1 \ -exec \ - msgmerge '--no-wrap' '--width=1' '--output-file={}' '{}' 'po/guide/warzone2100_guide.pot' ';' + msgmerge '--no-wrap' '--width=1' '--update' '{}' 'po/guide/warzone2100_guide.pot' ';' # 2.) Cleanup untranslated .po files # For warzone2100.pot: