]> git.sesse.net Git - ccbs/blobdiff - intl/make-pot.pl
Add an ugly hack to be able to process main.tmpl.
[ccbs] / intl / make-pot.pl
index 7d5acb6fd94bc93b0c9b3f7c808f9de454c2bb97..86eb8d1b014c17f4efcba12f60619545798cf995 100644 (file)
@@ -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";