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 26, 2024
1 parent 2d6e8ce commit 6aeb935
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -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 }}"
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 6aeb935

Please sign in to comment.