From e45893ded3d0116bc4e5c7adbc0cd60bc46e8abf Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Thu, 1 Nov 2018 16:30:42 +0100 Subject: [PATCH] lang - fw-build.sh - archiving translation/usage statistics (two files not_used.txt and not_tran.txt) --- lang/fw-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/fw-build.sh b/lang/fw-build.sh index 976ba8a9..5f93e8c6 100644 --- a/lang/fw-build.sh +++ b/lang/fw-build.sh @@ -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