From 3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 7 Nov 2008 21:23:23 +0100 Subject: po: added pofiles() function, will use this soon Signed-off-by: intrigeri --- IkiWiki/Plugin/po.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'IkiWiki/Plugin') 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; -- cgit v1.2.3