summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-11-05 15:09:04 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-11-05 15:09:04 -0500
commit9b16e7f148c36c61e511bcc787d3192b7bb1c3c5 (patch)
treef46efb887b6f0f088a87620443f81d5fe6dfc2fd /IkiWiki
parentfe580240d40b17db3488c22057fdda62ae8a6f85 (diff)
minor layout changes
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index b8c218c5a..4bac37656 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -31,7 +31,7 @@ $origsubs{'bestlink'}=\&IkiWiki::bestlink;
$origsubs{'beautify_urlpath'}=\&IkiWiki::beautify_urlpath;
$origsubs{'targetpage'}=\&IkiWiki::targetpage;
-sub import {
+sub import { #{{{
hook(type => "getsetup", id => "po", call => \&getsetup);
hook(type => "checkconfig", id => "po", call => \&checkconfig);
hook(type => "needsbuild", id => "po", call => \&needsbuild);
@@ -41,7 +41,7 @@ sub import {
inject(name => "IkiWiki::bestlink", call => \&mybestlink);
inject(name => "IkiWiki::beautify_urlpath", call => \&mybeautify_urlpath);
inject(name => "IkiWiki::targetpage", call => \&mytargetpage);
-}
+} #}}}
sub getsetup () { #{{{
return
@@ -289,8 +289,8 @@ sub filter (@) { #{{{
my $destpage = $params{destpage};
my $content = decode_utf8(encode_utf8($params{content}));
- # decide if this is a PO file that should be converted into a translated document,
- # and perform various sanity checks
+ # decide if this is a PO file that should be converted into a
+ # translated document, and perform various sanity checks
if (! istranslation($page) || $filtered{$page}{$destpage}) {
return $content;
}