From f44f643ae929e486655d29d66324ac65783c8c93 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 1 Oct 2021 18:34:55 +0200 Subject: [PATCH] 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 f5919fc..b4f2ba4 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