Commit 8fb1bcfa authored by Son Nguyen's avatar Son Nguyen

Don't replace \n in msg strings in po file

Change-Id: I06b8a0d7676cbfad3d6b9677304db72b79ebb173
parent 45a942c1
......@@ -62,7 +62,6 @@ foreach my $entry (@$trstrings) {
if ( defined $content ) {
# Non-plural translation
$content =~ s{\\n}{\n}g;
next if ( $content eq '' || $content eq '""' );
}
if ( defined $content_n ) {
......@@ -70,7 +69,6 @@ foreach my $entry (@$trstrings) {
# untranslated, we can leave this entry out of the file.
my $anything = 0;
foreach my $k ( keys %$content_n ) {
$content_n->{$k} =~ s{\\n}{\n}g;
$anything ||= ($content_n->{$k} ne '' && $content_n->{$k} ne '""');
}
next if ! $anything;
......
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