From: Joey Hess Date: Tue, 22 Jul 2008 23:44:31 +0000 (-0400) Subject: fix gettext X-Git-Tag: 2.55~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b9615194e0adefa0f61810405db1e9204ccc72b;p=ikiwiki.git fix gettext --- 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();