From bd8840d647ea4901b55c5b69838dd8c872adffa5 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 21 Oct 2010 00:49:07 +0200 Subject: Bug 605425: Non-english templates are no longer precompiled by checksetup r/a=mkanat --- Bugzilla/Template.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 46a4b6b72..e2d5280e8 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1017,7 +1017,8 @@ sub precompile_templates { print install_string('template_precompile') if $output; - my $paths = template_include_path(); + # Pre-compile all available languages. + my $paths = template_include_path({ language => Bugzilla->languages }); foreach my $dir (@$paths) { my $template = Bugzilla::Template->create(include_path => [$dir]); -- cgit v1.2.3-24-g4f1b