From: Moritz Bunkus Date: Thu, 28 Oct 2010 11:25:32 +0000 (+0200) Subject: Nicht zu viele Quote-Chars behalten. X-Git-Tag: release-2.6.2beta1~55^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=673c231dd54bbb169af70a66998649666199a641;p=kivitendo-erp.git Nicht zu viele Quote-Chars behalten. --- diff --git a/scripts/locales.pl b/scripts/locales.pl index ff2638b62..b26fe892c 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -283,11 +283,11 @@ sub extract_text_between_parenthesis { } else { if ($quote_next) { + $text .= '\\' unless $cur_char eq "'"; $text .= $cur_char; $quote_next = 0; } elsif ($cur_char eq '\\') { - $text .= $cur_char; $quote_next = 1; } elsif ($cur_char eq $inside_string) {