name: i18n

on:
  pull_request:

jobs:
  check-i18n:
    name: I18N check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0 # all
      - name: Any files missing hash key?
        run: scripts/check-i18n.sh -n -x -v
      - name: Any files with invalid hash keys?
        run: scripts/check-i18n.sh -v
      - run: .github/workflows/scripts/check-i18n-helper.sh
