This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 7th, 2011  |  syntax: None  |  size: 0.87 KB  |  views: 107  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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) {
clone this paste RAW Paste Data