1. Index: langtool.pl
  2. ===================================================================
  3. --- langtool.pl (revision 29243)
  4. +++ langtool.pl (arbetskopia)
  5. @@ -211,14 +211,9 @@
  6. $line =~ s/\s*desc:.*/ desc: deprecated/;
  7. # Set user
  8. $line =~ s/\s*user:.*/ user:/;
  9. - # Print an empty target line after opening tag (target isn't set)
  10. - if ($location =~ /source|dest|voice/ and $target eq "") {
  11. - $line .= " *: none\n";
  12. + if ($location =~ /source|dest|voice/) {
  13. + $line =~ s/".*"/""/;
  14. }
  15. - # Do not print target: string lines
  16. - elsif ($location =~ /source|dest|voice/ and $target ne "") {
  17. - $line = "";
  18. - }
  19. }
  20. }
  21. elsif ($delete) {