mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
ci: Complain about untranslated ui files
This commit is contained in:
parent
daebcf543a
commit
f44f643ae9
1 changed files with 2 additions and 2 deletions
|
@ -70,11 +70,11 @@ check-po:
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y install intltool
|
- apt-get -y install intltool
|
||||||
script:
|
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
|
# can't be told to exit with non-zero exit status
|
||||||
# in this case
|
# in this case
|
||||||
- cd po/
|
- 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:
|
validate-metadata-pedantic:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue