From a4b4b464d27490d3868e8430a6f833b54a625cad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Sep 2010 16:48:12 -0400 Subject: further fixes for config data structure change --- po/po2wiki | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'po/po2wiki') diff --git a/po/po2wiki b/po/po2wiki index 116abbfec..126aa8e17 100755 --- a/po/po2wiki +++ b/po/po2wiki @@ -22,7 +22,8 @@ foreach my $file (@$files) { $pagesources{$page}=$file; # used by po plugin functions } -foreach my $ll (@{$config{po_slave_languages}}) { +foreach my $lang (@{$config{po_slave_languages}}) { + my ($ll, $name)=IkiWiki::Plugin::po::splitlangpair($lang); $config{destdir}="../underlays/locale/$ll"; foreach my $file (@$files) { -- cgit v1.2.3