summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-29 14:52:29 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-29 14:52:29 -0400
commit4e9db780d53c89294721e9c49c3bc7904967e238 (patch)
treeaddb0a9c05e9e4634bc59da1edac9e7a0272551b
parent9dee7d1554051ebe9b87d6dd778b8e97c69d7c2e (diff)
whitespace
-rw-r--r--IkiWiki/Plugin/po.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 5756f8f55..d5e70cd80 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -290,7 +290,7 @@ sub pagetemplate (@) {
} # }}}
# Add the renamed page translations to the list of to-be-renamed pages.
-sub renamepages(@) {
+sub renamepages (@) {
my %params = @_;
my %torename = %{$params{torename}};
@@ -326,13 +326,13 @@ sub renamepages(@) {
return @ret;
}
-sub mydelete(@) {
+sub mydelete (@) {
my @deleted=@_;
map { deletetranslations($_) } grep istranslatablefile($_), @deleted;
}
-sub change(@) {
+sub change (@) {
my @rendered=@_;
# All meta titles are first extracted at scan time, i.e. before we turn
@@ -340,14 +340,14 @@ sub change(@) {
# PO files breaks the meta plugin's parsing enough to save ugly titles
# to %pagestate at this time.
#
- # Then, at render time, every page's passes on row through the Great
+ # Then, at render time, every page passes in turn through the Great
# Rendering Chain (filter->preprocess->linkify->htmlize), and the meta
# plugin's preprocess hook is this time in a position to correctly
# extract the titles from slave pages.
#
- # This is, unfortunately, too late: if the page A, linking to the page B,
- # is rendered before B, it will display the wrongly-extracted meta title
- # as the link text to B.
+ # This is, unfortunately, too late: if the page A, linking to the page
+ # B, is rendered before B, it will display the wrongly-extracted meta
+ # title as the link text to B.
#
# On the one hand, such a corner case only happens on rebuild: on
# refresh, every rendered page is fixed to contain correct meta titles.