Skip to content

New translations translation.json (Portuguese) #909

New translations translation.json (Portuguese)

New translations translation.json (Portuguese) #909

Workflow file for this run

name: Build l10n
on:
push:
branches:
- l10n_main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: Compile updated translations and commit changes
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gettext
python -m pip install --upgrade pip setuptools wheel
pip install .
pip install psycopg2-binary==2.9.3
- name: Compile messages
run: python manage.py compilemessages
- name: Push
uses: EndBug/add-and-commit@v7
with:
add: '*/locale/*/LC_MESSAGES/*.mo'
message: 'Update compiled translations'