Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorK.B.Dharun Krishna <kbdharunkrishna@gmail.com>2023-09-24 06:33:04 +0530
committerGitHub <noreply@github.com>2023-09-24 11:03:04 +1000
commitabd5aeba6a53814def65115764acef722b15e049 (patch)
tree67c9fb0aa5c4833a342a03132ad0783f40b69a6c /.github/workflows
parentab5de3e2e6f5afba81d441cc9a46ebadaad88732 (diff)
po: update Tamil translation (#2096)
* po: update Tamil translation * Update translation workflow check * Update translation workflow check * Update translation workflow check * Update translation files * Update translation workflow check --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/translation-check.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml
index 11418d31..c0abbaa6 100644
--- a/.github/workflows/translation-check.yaml
+++ b/.github/workflows/translation-check.yaml
@@ -14,10 +14,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pacman --noconfirm -Syu python git diffutils
- - run: |
+ - name: Verify all translation scripts are up to date
+ run: |
cd ..
cp -r archinstall archinstall_orig
cd archinstall/archinstall/locales
- bash locales_generator.sh
+ bash locales_generator.sh 1> /dev/null
cd ../../..
- git diff --no-index --name-only archinstall_orig archinstall
+ git diff \
+ --quiet --no-index --name-only \
+ archinstall_orig/archinstall/locales \
+ archinstall/archinstall/locales \
+ || (echo "Translation files have not been updated after translation, please run ./locales_generator.sh once more and commit" && exit 1)