From: intrigeri Date: Fri, 7 Nov 2008 20:23:23 +0000 (+0100) Subject: po: added pofiles() function, will use this soon X-Git-Tag: 3.15~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6;p=ikiwiki.git po: added pofiles() function, will use this soon Signed-off-by: intrigeri --- 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;