From 652508c2081a9d92be7150a4162548389cd86604 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 17 Jul 2005 11:50:30 +0000 Subject: [PATCH] Add an ugly hack to be able to process main.tmpl. --- html/po/templates.pot | 2 +- intl/make-pot.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/po/templates.pot b/html/po/templates.pot index ee6f5a7..f762f74 100644 --- a/html/po/templates.pot +++ b/html/po/templates.pot @@ -34,7 +34,7 @@ msgid "" msgstr "" "Project-Id-Version: ccbs\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-39-17 13:39+0200\n" +"POT-Creation-Date: 2005-49-17 13:49+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/intl/make-pot.pl b/intl/make-pot.pl index 7d5acb6..86eb8d1 100644 --- a/intl/make-pot.pl +++ b/intl/make-pot.pl @@ -20,7 +20,7 @@ msgstr "" EOF my $eaten = ''; -$template->process($ARGV[0], $vars, \$eaten); -# or die $template->error(); # errors don't really matter +$template->process($ARGV[0], { page => 'templates/index.tmpl' }, \$eaten) + or die $template->error(); # errors don't really matter print "# eof\n"; -- 2.39.2