lang - fw-build.sh - archiving translation/usage statistics (two files not_used.txt and not_tran.txt)

This commit is contained in:
Robert Pelnar 2018-11-01 16:30:42 +01:00
parent a0e4acead3
commit e45893ded3

View File

@ -69,6 +69,8 @@ echo "OK" >&2
#check for messages declared in progmem1, but not found in lang_en.txt
echo -n " checking textaddr.txt..." >&2
cat textaddr.txt | grep "^TEXT NF" | sed "s/[^\"]*\"//;s/\"$//" >not_used.txt
cat textaddr.txt | grep "^ADDR NF" | sed "s/[^\"]*\"//;s/\"$//" >not_tran.txt
if cat textaddr.txt | grep "^ADDR NF" >/dev/null; then
echo "NG! - some texts not found in lang_en.txt!"
if [ $IGNORE_MISSING_TEXT -eq 0 ]; then