Skip to content

Commit 1f227c6

Browse files
committed
chore: use transifex cli action and update config format
1 parent fd3753d commit 1f227c6

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/transifex.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- uses: docker://sergioisidoro/github-transifex-action:v0.2.0
13+
- uses: transifex/cli-action@v2
1414
with:
15-
TX_TOKEN: ${{ secrets.TX_TOKEN }}
16-
github_token: ${{ secrets.GITHUB_TOKEN }}
17-
pull_translations: false
18-
pull_sources: false
19-
push_translations: false
20-
push_sources: true
21-
translations_folder: ./_locales/
15+
token: ${{ secrets.TX_TOKEN }}

.tx/config

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[main]
22
host = https://www.transifex.com
33

4-
[advanced-github-notifier.messages]
4+
[o:freaktechnik:p:advanced-github-notifier:r:messages]
5+
file_filter = _locales/<lang>/messages.json
56
source_file = _locales/en/messages.json
67
source_lang = en
7-
file_filter = _locales/<lang>/messages.json
8-
type = CHROME
8+
type = CHROME
9+

0 commit comments

Comments
 (0)