Try and fix localization

This commit is contained in:
Anton Tananaev 2025-06-05 22:06:28 -07:00
parent 422a66d55c
commit 66e2396983
2 changed files with 9 additions and 4 deletions

View file

@ -11,10 +11,7 @@ jobs:
- run: git config --global user.email "actions@github.com" && git config --global user.name "actions"
- run: pip install transifex-client
- run: echo -e "[https://www.transifex.com]\ntoken = ${{ secrets.TRANSIFEX_TOKEN }}" > ~/.transifexrc
- run: |
tx init
tx set --auto-local -r traccar.client "lib/l10n/<lang>.arb" --source-lang en --type KEYVALUEJSON
tx pull -a
- run: tx pull -a
- run: |
git config --global user.name "Traccar Bot"
git config --global user.email "support@traccar.org"

8
.tx/config Normal file
View file

@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com
[traccar.client]
file_filter = lib/l10n/<lang>.arb
source_file = lib/l10n/app_en.arb
source_lang = en
type = KEYVALUEJSON