ui-translatable.sh: fix item tag detection for liststores

Previously this script did not find the untranslated liststore items
that tdf#124240 is about

Change-Id: Ie46d99d246eee316fdda95bdf2d1d3a9aacbc907
Reviewed-on: https://gerrit.libreoffice.org/69596
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Gabor Kelemen
2019-03-24 11:36:24 +01:00
committed by Andras Timar
parent af19a3cc6a
commit 0321a63983

View File

@@ -15,7 +15,7 @@ for i in `git ls-files *.ui`; do
then echo "Source: $i^"; then echo "Source: $i^";
fi fi
done done
grep -s "<item>" $i | grep -v "translatable\=\"yes" | grep -v "translatable\=\"no" | grep ">.*[A-Za-z].*<"; grep -s "<item" $i | grep -v "translatable\=\"yes" | grep -v "translatable\=\"no" | grep ">.*[A-Za-z].*<";
if [ "$?" -eq 0 ] ; if [ "$?" -eq 0 ] ;
then echo "Source: $i^"; then echo "Source: $i^";
fi fi