diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0ff197d01..39ed2d7d2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -164,3 +164,27 @@ jobs: with: name: ${{ inputs.version }}-lint-logs path: logs/* + + + # Check for zero-width space charcters in translations. + # These are known to come together with (some?) machine translation like Google translate, + # and - as one of the consequences - it may avoid Transifex glossary matching (e.g. variáveis) + zero-width-space: + name: Check for zero-width space characters + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.version }} + + - name: Make sure the repository is up to date + if: github.event_name != 'pull_request' + run: git pull --rebase + + - name: Remove zero-width space characters + run: | + sed -i 's/\xe2\x80\x8b//g' *.po **/*.po + + - name: Show difference (error if there is any) + run: | + git diff --exit-code --color-words pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy