Update localization script
This commit is contained in:
parent
458ebba5ba
commit
4826c986ee
1 changed files with 5 additions and 1 deletions
6
.github/workflows/translation.yml
vendored
6
.github/workflows/translation.yml
vendored
|
|
@ -15,7 +15,11 @@ jobs:
|
|||
- run: |
|
||||
git config --global user.name "Traccar Bot"
|
||||
git config --global user.email "support@traccar.org"
|
||||
git add lib/l10n/*.arb ':!lib/l10n/app_en.arb'
|
||||
for f in lib/l10n/*.arb; do
|
||||
[[ $f == */app_en.arb ]] && continue
|
||||
diff -q "$f" lib/l10n/app_en.arb && continue
|
||||
git diff --quiet -- "$f" || git add "$f"
|
||||
done
|
||||
git diff --cached --quiet || git commit -m "Update translations"
|
||||
git push
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue