diff options
author | Frank Lichtenheld <frank@lichtenheld.de> | 2007-11-17 18:05:27 +0100 |
---|---|---|
committer | Frank Lichtenheld <frank@lichtenheld.de> | 2007-11-17 21:46:06 +0100 |
commit | 58039945e72bbba9d7395e78df27f028479f00d3 (patch) | |
tree | 876d332a5d1c02a2847f10d49a50f0ed6cbbfe0b /bin | |
parent | 968f38c2e3b7d6f606083afa95774309ef8e353e (diff) |
Make the po location configurable
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/create_index_pages | 1 | ||||
-rwxr-xr-x | bin/parse-debtags-voc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/create_index_pages b/bin/create_index_pages index 6dd32a3..6d08d60 100755 --- a/bin/create_index_pages +++ b/bin/create_index_pages @@ -20,6 +20,7 @@ use Packages::Page; use Packages::SrcPage; use Packages::Sections; &Packages::Config::init( './' ); +&Packages::I18N::Locale::load( "$TOPDIR/po" ); my $wwwdir = "$TOPDIR/www"; diff --git a/bin/parse-debtags-voc b/bin/parse-debtags-voc index 4fd49f9..be25178 100755 --- a/bin/parse-debtags-voc +++ b/bin/parse-debtags-voc @@ -34,6 +34,7 @@ use Packages::Template; use Packages::Config qw( $TOPDIR @LANGUAGES ); use Packages::I18N::Locale; &Packages::Config::init( './' ); +&Packages::I18N::Locale::load( "$TOPDIR/po" ); my $debtagsdir = "$TOPDIR/files/debtags"; my $wwwdir = "$TOPDIR/www/about"; my $voc_file = "$debtagsdir/vocabulary"; |