diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-07 21:23:23 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-07 21:23:23 +0100 |
commit | 3e341e64c2bcb0c6ae4deba8b4b27a24e90c9db6 (patch) | |
tree | ba5b40a55d0afb8e82c7f2f4a950255d2460c568 /IkiWiki | |
parent | 61a01d33889f28577aafbbe803f046c5ce817bb9 (diff) | |
download | ikiwiki-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.pm | 5 |
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; |