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:
committed by
Andras Timar
parent
af19a3cc6a
commit
0321a63983
@@ -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
|
||||||
|
Reference in New Issue
Block a user