Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: langtool.pl
- ===================================================================
- --- langtool.pl (revision 29243)
- +++ langtool.pl (arbetskopia)
- @@ -211,14 +211,9 @@
- $line =~ s/\s*desc:.*/ desc: deprecated/;
- # Set user
- $line =~ s/\s*user:.*/ user:/;
- - # Print an empty target line after opening tag (target isn't set)
- - if ($location =~ /source|dest|voice/ and $target eq "") {
- - $line .= " *: none\n";
- + if ($location =~ /source|dest|voice/) {
- + $line =~ s/".*"/""/;
- }
- - # Do not print target: string lines
- - elsif ($location =~ /source|dest|voice/ and $target ne "") {
- - $line = "";
- - }
- }
- }
- elsif ($delete) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement