name: Translate

on: [push, pull_request]

jobs:
  translate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: actions/setup-node@v6
      - 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
