From f26361c6f851af80678295e935d48d8f3ee76927 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 20 Oct 2007 21:43:33 +0200 Subject: [PATCH] Packages::Template: Make one error message internal If initialisation of the TT engine fails, near to nothing has a chance to work, so no need to try to convey this to the user and no need to translate this string. --- lib/Packages/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Packages/Template.pm b/lib/Packages/Template.pm index 8fb22b5..60cabd6 100644 --- a/lib/Packages/Template.pm +++ b/lib/Packages/Template.pm @@ -54,7 +54,7 @@ sub new { VARIABLES => $vars, COMPILE_EXT => '.ttc', %$options, - } ) or fatal_error( sprintf( _g( "Initialization of Template Engine failed: %s" ), $Template::ERROR ) ); + } ) or die sprintf( "Initialization of Template Engine failed: %s", $Template::ERROR ); $self->{format} = $format; $self->{vars} = $vars; -- 2.39.2