diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/uplang | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/uplang b/tools/uplang index 5fb9563c22..1cb3913c76 100755 --- a/tools/uplang +++ b/tools/uplang @@ -106,11 +106,17 @@ while(<NEW>) { $set{'voice'} = $all{$set{'id'}, 'voice'}; } } + if($set{'voice'} =~ /^(\"\")? *$/ + and $all{$set{'id'}, 'voice'} !~ /^(\"\")? *$/) { + print "### Voice not found in previous translation. Set to english.\n"; + $set{'voice'} = $all{$set{'id'}, 'voice'}; + } print "voice: ".$set{'voice'}."\n"; print "new: ".$set{'new'}."\n"; $ids{$set{'id'}}=0; + undef %set; } } } |