aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-11-07 21:23:23 +0100
committerintrigeri <intrigeri@boum.org>2008-11-07 21:23:23 +0100
commit3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6 (patch)
treeba5b40a55d0afb8e82c7f2f4a950255d2460c568 /IkiWiki
parent61a01d33889f28577aafbbe803f046c5ce817bb9 (diff)
downloadikiwiki-3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6.tar
ikiwiki-3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6.tar.gz
po: added pofiles() function, will use this soon
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index c85e881f1..643621a91 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -153,6 +153,11 @@ sub pofile ($$) { #{{{
return File::Spec->catpath('', $dir, $name . "." . $lang . ".po");
} #}}}
+sub pofiles ($) { #{{{
+ my $masterfile=shift;
+ return map pofile($masterfile, $_), (keys %{$config{po_slave_languages}});
+} #}}}
+
sub refreshpot ($) { #{{{
my $masterfile=shift;