summaryrefslogtreecommitdiffstats
path: root/help/help_create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'help/help_create.sh')
-rwxr-xr-xhelp/help_create.sh28
1 files changed, 14 insertions, 14 deletions
diff --git a/help/help_create.sh b/help/help_create.sh
index 87a0ade4ab..cd96dbc281 100755
--- a/help/help_create.sh
+++ b/help/help_create.sh
@@ -19,20 +19,20 @@ missing_messages(){
curr=""
while read -r line; do
- if echo "$line" | grep -q '^#define' ; then
- curr=`printf "%s\n" "$line" | cut -d ' ' -f 2`
- if grep -q "^#define $curr[ ]" "$TRANSLATION" ; then
- curr=""
- fi
- else
- if [ -z "$line" ]; then
- curr=""
- fi
- fi
-
- if [ -n "$curr" ]; then
- printf "%s\n" "$line"
- fi
+ if echo "$line" | grep -q '^#define' ; then
+ curr=`printf "%s\n" "$line" | cut -d ' ' -f 2`
+ if grep -q "^#define $curr[ ]" "$TRANSLATION" ; then
+ curr=""
+ fi
+ else
+ if [ -z "$line" ]; then
+ curr=""
+ fi
+ fi
+
+ if [ -n "$curr" ]; then
+ printf "%s\n" "$line"
+ fi
done
}