Try and fix localization
This commit is contained in:
parent
422a66d55c
commit
66e2396983
2 changed files with 9 additions and 4 deletions
5
.github/workflows/translation.yml
vendored
5
.github/workflows/translation.yml
vendored
|
|
@ -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
8
.tx/config
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue