New translations translation.json (Portuguese) #909
This file contains 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: 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' |