Updaye script
This commit is contained in:
parent
7479a71c40
commit
a38d2269c4
2 changed files with 5 additions and 10 deletions
13
.github/workflows/translation.yml
vendored
13
.github/workflows/translation.yml
vendored
|
|
@ -8,15 +8,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: pip install transifex-client
|
- uses: transifex/cli-action@v2
|
||||||
- run: |
|
with:
|
||||||
cat > ~/.transifexrc <<EOF
|
token: ${{ secrets.TRANSIFEX_TOKEN }}
|
||||||
[https://www.transifex.com]
|
args: pull -a
|
||||||
hostname = https://www.transifex.com
|
|
||||||
username = api
|
|
||||||
password = ${{ secrets.TRANSIFEX_TOKEN }}
|
|
||||||
EOF
|
|
||||||
- run: tx pull -a
|
|
||||||
- run: |
|
- run: |
|
||||||
git config --global user.name "Traccar Bot"
|
git config --global user.name "Traccar Bot"
|
||||||
git config --global user.email "support@traccar.org"
|
git config --global user.email "support@traccar.org"
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ host = https://www.transifex.com
|
||||||
[o:traccar:p:traccar:r:client]
|
[o:traccar:p:traccar:r:client]
|
||||||
source_file = lib/l10n/app_en.arb
|
source_file = lib/l10n/app_en.arb
|
||||||
file_filter = lib/l10n/<lang>.arb
|
file_filter = lib/l10n/<lang>.arb
|
||||||
type = KEYVALUEJSON
|
type = ARB
|
||||||
source_lang = en
|
source_lang = en
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue