tools/check_engine_locale_files.sh
changeset 14226 6b7997406121
parent 13972 a04c86dc685f
--- a/tools/check_engine_locale_files.sh	Sat Nov 17 14:29:09 2018 -0500
+++ b/tools/check_engine_locale_files.sh	Sun Nov 18 15:38:40 2018 +0100
@@ -88,6 +88,16 @@
 	MISSING_STRINGS=0;
 	HAS_PROBLEMS=0;
 
+	grep -o "^[^0-9;]" $CHECKED_LANG_FILE > $TEMP_CHECK
+	if [ -s $TEMP_CHECK ]
+	then
+		echo "ERROR! Line(s) which does not start with a digit or semicolon found. Problematic line(s):";
+		echo "----------";
+		cat $TEMP_CHECK;
+		echo "----------";
+		HAS_PROBLEMS=1;
+	fi
+
 	if [ $CHECKED_LANG_FILE != en.txt ]
 	then
 		grep -o "^[0-9][0-9]:[0-9][0-9]=" $CHECKED_LANG_FILE | cut -c1-5 | sort | uniq > $TEMP_SYMBOLS;