From d85891dd0cc50f947e3e565743eb637f7e6e0bb9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 14 Jun 2025 22:13:51 -0700 Subject: [PATCH] Update localization script --- .github/workflows/translation.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index 8958cee..f1ccf63 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -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: