diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index 0f7b3a2a76..45a9b6e7a8 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -379,7 +379,7 @@ if ($action eq 'create') { open(my $infh, '<', $tmpfile2); open(my $outfh, '>', $str_file); while (<$infh>) { - print $outfh; + print $outfh $_; last if /^\n/s; } close $infh;