From 58f070f6f2e69a7b3d8de42be020d9fab142d932 Mon Sep 17 00:00:00 2001 From: vargenau Date: Fri, 20 May 2011 10:53:54 +0000 Subject: [PATCH] Must use single quote for string because of $ in "%1$s" git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8085 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/diff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/diff.php b/lib/diff.php index b9fbad5f3..9ad26b0cb 100644 --- a/lib/diff.php +++ b/lib/diff.php @@ -317,14 +317,14 @@ function showDiff (&$request) { if ($diff->isEmpty()) { $html->pushContent(HTML::hr(), - HTML::p(sprintf(_("Content of versions %1$s and %2$s is identical."), + HTML::p(sprintf(_('Content of versions %1$s and %2$s is identical.'), $old->getVersion(), $new->getVersion()))); // If two consecutive versions have the same content, it is because the page was // renamed, or metadata changed: ACL, owner, markup. // We give the reason by printing the summary. if (($new->getVersion() - $old->getVersion()) == 1) { - $html->pushContent(HTML::p(sprintf(_("Version %1$s was created because: %2$s"), + $html->pushContent(HTML::p(sprintf(_('Version %1$s was created because: %2$s'), $new->getVersion(), $new->get('summary')))); } -- 2.45.0