summaryrefslogtreecommitdiff
path: root/po/po2wiki
diff options
context:
space:
mode:
Diffstat (limited to 'po/po2wiki')
-rwxr-xr-xpo/po2wiki3
1 files changed, 2 insertions, 1 deletions
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) {