summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-22 19:44:31 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-22 19:44:31 -0400
commit2b9615194e0adefa0f61810405db1e9204ccc72b (patch)
treed20219b1098193c3e5fcaf3263c9fd709f3253fe
parent421559b230a764f25db95b9b7fd7ce968d3d8471 (diff)
fix gettext
-rw-r--r--IkiWiki/Plugin/rename.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index e19a11cc4..9fa3f6a85 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -226,7 +226,7 @@ sub sessioncgi ($$) { #{{{
if ($config{rcs}) {
IkiWiki::disable_commit_hook();
IkiWiki::rcs_rename($srcfile, $destfile);
- IkiWiki::rcs_commit_staged(gettext("rename $srcfile to $destfile"),
+ IkiWiki::rcs_commit_staged(sprintf(gettext("rename %s to %s", $src, $dest)),
$session->param("name"), $ENV{REMOTE_ADDR});
IkiWiki::enable_commit_hook();
IkiWiki::rcs_update();