]> git.deb.at Git - deb/packages.git/blobdiff - bin/parse-debtags-voc
fix off-by-one after switching on the brain again
[deb/packages.git] / bin / parse-debtags-voc
index 7ef06a08144a9e648423d72aed431961cd849e35..7515de118b8357f28a99e9ca4e808351f614c6be 100755 (executable)
@@ -31,7 +31,7 @@ use URI::Escape;
 
 use Deb::Versions;
 use Packages::Template;
-use Packages::Config qw( $TOPDIR @LANGUAGES $LOCALES);
+use Packages::Config qw( $TOPDIR @LANGUAGES );
 use Packages::I18N::Locale;
 &Packages::Config::init( './' );
 my $debtagsdir = "$TOPDIR/files/debtags";
@@ -125,7 +125,8 @@ foreach (@tags) {
 }
 my %content = ( vocabulary => \%voc,
                facets => \@facets, tags => \@tags,
-               tags_by_facet => \%tags_by_facet );
+               tags_by_facet => \%tags_by_facet,
+               used_langs => [ 'en' ]);
 print TAGLST $template->page( 'tag_index', \%content );
 close TAGLST or warn "Couldn't close tag list: $!";