Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git]
/
po
/
po2wiki
diff --git
a/po/po2wiki
b/po/po2wiki
index 116abbfecafd19adc14897a7524d017cd2d0c1c1..862aa9d97b7b3a80abe7e0bdbf4b5d7acf371ef0 100755
(executable)
--- a/
po/po2wiki
+++ b/
po/po2wiki
@@
-22,7
+22,10
@@
foreach my $file (@$files) {
$pagesources{$page}=$file; # used by po plugin functions
}
$pagesources{$page}=$file; # used by po plugin functions
}
-foreach my $ll (@{$config{po_slave_languages}}) {
+$IkiWiki::phase = IkiWiki::PHASE_RENDER;
+
+foreach my $lang (@{$config{po_slave_languages}}) {
+ my ($ll, $name)=IkiWiki::Plugin::po::splitlangpair($lang);
$config{destdir}="../underlays/locale/$ll";
foreach my $file (@$files) {
$config{destdir}="../underlays/locale/$ll";
foreach my $file (@$files) {