diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml new file mode 100644 index 00000000..aff78931 --- /dev/null +++ b/.github/workflows/translate.yml @@ -0,0 +1,20 @@ +name: "Translate" + +on: + push: + branches: + - "main" + tags: + - "*" + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + refresh-translations: + permissions: + contents: "write" + name: "Pull / Push translations" + uses: "stonebuzz/plugin-translation-workflows/.github/workflows/translation.yml@v1" + secrets: + translation-token: "${{ secrets.TRANSLATION_TOKEN }}" diff --git a/.tx/config b/.tx/config index e3f51109..b0b5c50d 100644 --- a/.tx/config +++ b/.tx/config @@ -4,5 +4,4 @@ host = https://www.transifex.com [o:teclib:p:glpi-project-plugin-escalade:r:escalade-pot] file_filter = locales/.po source_file = locales/escalade.pot -source_lang = en -type = PO +source_lang = en_GB