Report issue UI changes (#8949) #151
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Push to transifex" | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'assets/locales/**' | |
| - '.tx/config' | |
| - '.github/workflows/transifex-push.yml' | |
| workflow_dispatch: | |
| jobs: | |
| push-strings-to-transifex: | |
| name: push-strings-to-transifex | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate PO file | |
| run: | | |
| sudo apt-get install -y gettext | |
| msgfmt --check assets/locales/en.po | |
| - name: "Push main translations file" | |
| uses: transifex/cli-action@v2 | |
| with: | |
| token: ${{ secrets.TRANSIFEX_TOKEN }} | |
| args: push -s |