Another attempt
This commit is contained in:
parent
f00d77f1f9
commit
7479a71c40
2 changed files with 11 additions and 6 deletions
9
.github/workflows/translation.yml
vendored
9
.github/workflows/translation.yml
vendored
|
|
@ -8,9 +8,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: git config --global user.email "actions@github.com" && git config --global user.name "actions"
|
|
||||||
- run: pip install transifex-client
|
- run: pip install transifex-client
|
||||||
- run: echo -e "[https://www.transifex.com]\ntoken = ${{ secrets.TRANSIFEX_TOKEN }}" > ~/.transifexrc
|
- run: |
|
||||||
|
cat > ~/.transifexrc <<EOF
|
||||||
|
[https://www.transifex.com]
|
||||||
|
hostname = https://www.transifex.com
|
||||||
|
username = api
|
||||||
|
password = ${{ secrets.TRANSIFEX_TOKEN }}
|
||||||
|
EOF
|
||||||
- run: tx pull -a
|
- run: tx pull -a
|
||||||
- run: |
|
- run: |
|
||||||
git config --global user.name "Traccar Bot"
|
git config --global user.name "Traccar Bot"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
[main]
|
[main]
|
||||||
hostname = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
[traccar.client]
|
[o:traccar:p:traccar:r:client]
|
||||||
file_filter = lib/l10n/<lang>.arb
|
|
||||||
source_file = lib/l10n/app_en.arb
|
source_file = lib/l10n/app_en.arb
|
||||||
source_lang = en
|
file_filter = lib/l10n/<lang>.arb
|
||||||
type = KEYVALUEJSON
|
type = KEYVALUEJSON
|
||||||
|
source_lang = en
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue