Skip to content

build(deps): Bump qs and grunt-contrib-watch #57

build(deps): Bump qs and grunt-contrib-watch

build(deps): Bump qs and grunt-contrib-watch #57

Workflow file for this run

name: Translations
on:
pull_request: {}
push:
branches: [open_contracting]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install translate-toolkit
run: |
sudo apt update
sudo apt install translate-toolkit
- run: pip install babel jinja2
- name: Update catalogs
run: |
pybabel extract -F pyproject.toml -o locale/sphinx.pot -k '_ l_ lazy_gettext' .
pybabel update -N -i locale/sphinx.pot -d locale -D sphinx
- name: Count incomplete translations
shell: bash
run: |
output=$(find . -name LC_MESSAGES -exec pocount --incomplete --short "{}" +)
echo $output
[ "$output" = "" ]