Update localization script
This commit is contained in:
parent
240465a3cd
commit
d85891dd0c
1 changed files with 1 additions and 4 deletions
5
.github/workflows/translation.yml
vendored
5
.github/workflows/translation.yml
vendored
|
|
@ -15,10 +15,7 @@ jobs:
|
||||||
- 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"
|
||||||
for f in lib/l10n/*.arb; do
|
git add lib/l10n/*.arb ':!lib/l10n/app_en.arb'
|
||||||
[[ $f == *"_en.arb" ]] && continue
|
|
||||||
diff -q "$f" lib/l10n/app_en.arb || git add "$f"
|
|
||||||
done
|
|
||||||
git diff --cached --quiet || git commit -m "Update translations"
|
git diff --cached --quiet || git commit -m "Update translations"
|
||||||
git push
|
git push
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue