X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/71233175a9443a11e4918a876c5069b105786180..b720e272:/scripts/locales.pl diff --git a/scripts/locales.pl b/scripts/locales.pl index 65bd178d4..51db82f11 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -617,9 +617,9 @@ sub scanhtmlfile { \s+ # Mindestens ein Whitespace [\'\"]? # Anfang des Dateinamens ([^\s]+) # Beliebig viele Nicht-Whitespaces -- Dateiname - \.html # Endung ".html", ansonsten kann es der Name eines Blocks sein + \.(html|js) # Endung ".html" oder ".js", ansonsten kann es der Name eines Blocks sein /ix) { - my $new_file_name = "$basedir/templates/webpages/$1.html"; + my $new_file_name = "$basedir/templates/webpages/$1.$2"; $cached{$file}{scanh}{$new_file_name} = 1; substr $line, $LAST_MATCH_START[1], $LAST_MATCH_END[0] - $LAST_MATCH_START[0], ''; }