MOBILE-3320 github: Check some strings are not yet translatable
parent
660866b80d
commit
cd074b7e0f
|
@ -23,10 +23,12 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
gulp
|
gulp
|
||||||
langlength=`jq -r '. | length' src/assets/lang/en.json`
|
langcount=`jq -r '. | length' src/assets/lang/en.json`
|
||||||
langindexlength=`jq -r '. | length' scripts/langindex.json`
|
freemiumcount=`jq 'keys' src/assets/lang/en.json | grep "freemium." | wc -l | xargs`
|
||||||
if [ $langlength -ne $langindexlength ]; then
|
allcount=$(($langcount - $freemiumcount))
|
||||||
echo "Lang file has $langlength while langindex $langindexlength"
|
langindexcount=`jq -r '. | length' scripts/langindex.json`
|
||||||
|
if [ $allcount -ne $langindexcount ]; then
|
||||||
|
echo "Lang file has $langcount ($freemiumcount) while langindex $langindexcount"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue