Skip to content

Commit

Permalink
Feat(build): implement translate CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Sep 4, 2024
1 parent 2d6e8ce commit e74dc77
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Translate"

on:
push:
branches:
- "add_transifex_ci"
schedule:
- cron: "0 0 * * *"

jobs:
refresh-translations:
permissions:
contents: "write"
pull-requests: "write"
name: "Push - Pull"
uses: "stonebuzz/plugin-translation-workflows/.github/workflows/translation.yml@v1"
secrets:
tx_token: "${{ secrets.TRANSLATE_TOKEN }}"
based_branch: "main"
3 changes: 1 addition & 2 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ host = https://www.transifex.com
[o:teclib:p:glpi-project-plugin-escalade:r:escalade-pot]
file_filter = locales/<lang>.po
source_file = locales/escalade.pot
source_lang = en
type = PO
source_lang = en_GB

0 comments on commit e74dc77

Please sign in to comment.