Correct the text domain for translation files (#88)

Signed-off-by: John Blackbourn <john@johnblackbourn.com>
This commit is contained in:
John Blackbourn 2025-06-14 21:21:33 +01:00 committed by GitHub
parent 23d0f164fa
commit e9262f4e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ jobs:
- name: Generate POT
run: |
wp i18n make-pot . "./languages/${{ github.event.repository.name }}.pot" --headers='{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/issues"}'
wp i18n make-pot . "./languages/fair.pot" --headers='{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/issues"}'
- name: Check if there are changes
run: echo "CHANGES_DETECTED=$([[ -z $(git status --porcelain) ]] && echo "0" || echo "1")" >> $GITHUB_ENV
@ -56,7 +56,7 @@ jobs:
- name: Commit changes
if: env.CHANGES_DETECTED == 1
run: |
git add "./languages/${{ github.event.repository.name }}.pot"
git add "./languages/fair.pot"
git commit -s -m "Generate POT - $(date +'%Y-%m-%d')"
git push origin generate-pot