summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/genlang3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/genlang b/tools/genlang
index 6348f6e..f4eb698 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -440,6 +440,9 @@ while(<LANG>) {
print STDERR "$input:$line:1: warning: voice before line lacks quotes ($voice)!\n";
$voice='""';
}
+ if($dest eq '""' && $phrase{'desc'} !~ /deprecated/i && $idstr !~ /^VOICE/) {
+ print STDERR "$input:$line:1: warning: empty dest before line in non-deprecated phrase!\n";
+ }
# Use the ID name to figure out which id number range we
# should use for this phrase. Voice-only strings are