equal
deleted
inserted
replaced
86 # Start the tests |
86 # Start the tests |
87 echo "== $CHECKED_LANG_FILE =="; |
87 echo "== $CHECKED_LANG_FILE =="; |
88 MISSING_STRINGS=0; |
88 MISSING_STRINGS=0; |
89 HAS_PROBLEMS=0; |
89 HAS_PROBLEMS=0; |
90 |
90 |
|
91 grep -o "^[^0-9;]" $CHECKED_LANG_FILE > $TEMP_CHECK |
|
92 if [ -s $TEMP_CHECK ] |
|
93 then |
|
94 echo "ERROR! Line(s) which does not start with a digit or semicolon found. Problematic line(s):"; |
|
95 echo "----------"; |
|
96 cat $TEMP_CHECK; |
|
97 echo "----------"; |
|
98 HAS_PROBLEMS=1; |
|
99 fi |
|
100 |
91 if [ $CHECKED_LANG_FILE != en.txt ] |
101 if [ $CHECKED_LANG_FILE != en.txt ] |
92 then |
102 then |
93 grep -o "^[0-9][0-9]:[0-9][0-9]=" $CHECKED_LANG_FILE | cut -c1-5 | sort | uniq > $TEMP_SYMBOLS; |
103 grep -o "^[0-9][0-9]:[0-9][0-9]=" $CHECKED_LANG_FILE | cut -c1-5 | sort | uniq > $TEMP_SYMBOLS; |
94 |
104 |
95 # Find strings with missing placeholders |
105 # Find strings with missing placeholders |