name: Translate

on: [push, pull_request]

jobs:
  translate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
      - run: npm update
      - run: sudo apt-get install gettext
      - run: make -C po update-pot
      - run: make -C po update-po
      - run: make -C po update-js
