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 Aug 27, 2024
1 parent 2d6e8ce commit 82d1433
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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 }}"
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 82d1433

Please sign in to comment.