projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a01d3
)
po: added pofiles() function, will use this soon
author
intrigeri
<intrigeri@boum.org>
Fri, 7 Nov 2008 20:23:23 +0000
(21:23 +0100)
committer
intrigeri
<intrigeri@boum.org>
Fri, 7 Nov 2008 20:23:23 +0000
(21:23 +0100)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index c85e881f154d7de030360a739d23eae10b47f0c4..643621a91a0caa33a86f03054178a2666c22c82e 100644
(file)
--- 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;