X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locale%2Fde%2Flocales.pl;h=70ca6d20e47c72647f2f913a6a859211de302b84;hb=f559ec45ea2fc09c361ef7e4a40a59b1f2133737;hp=c568467f20c40aa60d90bcb3bdc5d27f145bb28c;hpb=e8a427334ec00090b77b6cf62d1a7a21038d5cee;p=kivitendo-erp.git diff --git a/locale/de/locales.pl b/locale/de/locales.pl index c568467f2..70ca6d20e 100755 --- a/locale/de/locales.pl +++ b/locale/de/locales.pl @@ -277,7 +277,7 @@ sub extract_text_between_parenthesis { } elsif (($cur_char eq '"') || ($cur_char eq '\'')) { $inside_string = $cur_char; - } elsif ($cur_char eq ")") { + } elsif (($cur_char eq ")") || ($cur_char eq ',')) { return ($text, substr($line, $pos + 1)); } @@ -336,7 +336,7 @@ sub scanfile { } # is this a template call? - if (/parse_html_template\s*\(\s*[\"\']([\w\/]+)/) { + if (/parse_html_template2?\s*\(\s*[\"\']([\w\/]+)/) { my $newfile = "$basedir/templates/webpages/$1_master.html"; if (-f $newfile) { # &scanhtmlfile($newfile);