[calls] ci: Complain about untranslated ui files



commit f44f643ae929e486655d29d66324ac65783c8c93
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri Oct 1 18:34:55 2021 +0200

    ci: Complain about untranslated ui files

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5919fc6..b4f2ba4b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,11 +70,11 @@ check-po:
     - apt-get -y update
     - apt-get -y install intltool
   script:
-    # barf on untranslated C files. Seems intltool
+    # barf on untranslated C or UI files. Seems intltool
     # can't be told to exit with non-zero exit status
     # in this case
     - cd po/
-    - intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0
+    - intltool-update -m 2>&1 | grep -qs '/.*\.\(c|ui\)' && { intltool-update -m; exit 1; } || exit 0
 
 validate-metadata-pedantic:
   stage: test


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]