X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8e12375331cad6b4fc4d0b4231f13b40f443c9c2..0dfd8e90aa330f6b4b53f89f0eadf6f1e018a662:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index afdbd03ab..b6f62fb91 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -434,7 +434,10 @@ sub parse_html_template { } elsif (-f "templates/webpages/${file}.html") { $file = "templates/webpages/${file}.html"; } else { - $self->error("Web page template '${file}' not found."); + my $info = "Web page template '${file}' not found.\n" . + "Please re-run 'locales.pl' in 'locale/" . $main::myconfig{"countrycode"} . "'."; + print(qq|
$info
|); + die($info); } my $template = HTML::Template->new("filename" => $file,