From: <var...@us...> - 2011-05-20 10:54:00
|
Revision: 8085 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8085&view=rev Author: vargenau Date: 2011-05-20 10:53:54 +0000 (Fri, 20 May 2011) Log Message: ----------- Must use single quote for string because of $ in "%1$s" Modified Paths: -------------- trunk/lib/diff.php Modified: trunk/lib/diff.php =================================================================== --- trunk/lib/diff.php 2011-05-20 10:40:59 UTC (rev 8084) +++ trunk/lib/diff.php 2011-05-20 10:53:54 UTC (rev 8085) @@ -317,14 +317,14 @@ 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')))); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |