From 2b9615194e0adefa0f61810405db1e9204ccc72b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 22 Jul 2008 19:44:31 -0400 Subject: fix gettext --- IkiWiki/Plugin/rename.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') 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(); -- cgit v1.2.3