diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-01 17:56:51 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-01 17:56:51 +0100 |
commit | 131d2d4e7cac6bfa634fd7d356095733a64e0fd8 (patch) | |
tree | 34c77084ca5cbbe521dc8b94fb4318e39cb76657 /IkiWiki | |
parent | 80a630a3fb64c4fe9ef7ac6d38962c2959c05fbd (diff) |
po: bugfix
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 18bc99909..cb48aaf0d 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -348,7 +348,7 @@ sub postscan (@) { # Add the renamed page translations to the list of to-be-renamed pages. sub renamepages($$$) { - my ($torename, $cgi, $session) = shift; + my ($torename, $cgi, $session) = (shift, shift, shift); # copy the initial array, so that we can iterate on it AND # modify it at the same time, without iterating on the items we @@ -426,7 +426,7 @@ sub canremove ($$$) { my ($page, $cgi, $session) = (shift, shift, shift); if (istranslation($page)) { - return gettext("Can not remove a translation. Removing the master page,". + return gettext("Can not remove a translation. Removing the master page, ". "though, removes its translations as well."); } return undef; @@ -445,7 +445,7 @@ sub canrename ($$$) { # saved early in the renaming process. my $orig_torename = $session->param("po_orig_torename"); unless (scalar grep { $_->{src} eq $masterpage } @{$orig_torename}) { - return gettext("Can not rename a translation. Renaming the master page,". + return gettext("Can not rename a translation. Renaming the master page, ". "though, renames its translations as well."); } } |