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: |
|
||||
git config --global user.name "Traccar Bot"
|
||||
git config --global user.email "support@traccar.org"
|
||||
for f in lib/l10n/*.arb; do
|
||||
[[ $f == *"_en.arb" ]] && continue
|
||||
diff -q "$f" lib/l10n/app_en.arb || git add "$f"
|
||||
done
|
||||
git add lib/l10n/*.arb ':!lib/l10n/app_en.arb'
|
||||
git diff --cached --quiet || git commit -m "Update translations"
|
||||
git push
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue