diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml new file mode 100644 index 00000000..6a34ee86 --- /dev/null +++ b/.github/workflows/translate.yml @@ -0,0 +1,18 @@ +name: "Translate" + +on: + push: + branches: + - "main" + schedule: + - cron: "0 0 * * *" + +jobs: + refresh-translations: + permissions: + contents: "write" + name: "Push - Pull" + uses: "glpi-project/plugin-translation-workflows/.github/workflows/translation.yml@v1" + secrets: + tx_token: "${{ secrets.TRANSLATE_TOKEN }}" + based_branch: "main" 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