Commit 748fcf05 authored by Richard Mansfield's avatar Richard Mansfield

Don't output untranslated strings as strings translated to the empty string

parent 2c474c63
......@@ -29,6 +29,7 @@ foreach my $po (@$strings) {
my $content = $po->msgstr();
next if ( ! defined $content );
$content =~ s{\\n}{\n}g;
next if ( $content eq '' || $content eq '""' );
my $reference = $po->reference();
next if ( ! defined $reference );
if ($reference =~ m{^(\S*lang/)\S+\.utf8(/\S+)\.html$}) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment