From: <var...@us...> - 2011-02-01 10:08:58
|
Revision: 7925 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7925&view=rev Author: vargenau Date: 2011-02-01 10:08:52 +0000 (Tue, 01 Feb 2011) Log Message: ----------- Translate strings Modified Paths: -------------- trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSetExternal.php Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2011-01-31 16:57:48 UTC (rev 7924) +++ trunk/lib/plugin/WikiAdminChown.php 2011-02-01 10:08:52 UTC (rev 7925) @@ -88,7 +88,7 @@ $dbi->touch(); $result->setAttr('class', 'feedback'); if ($count == 1) { - $result->pushContent(HTML::p("One page has been permanently changed:")); + $result->pushContent(HTML::p(_("One page has been permanently changed:"))); } else { $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); } @@ -96,7 +96,7 @@ return $result; } else { $result->setAttr('class', 'error'); - $result->pushContent(HTML::p("No pages changed.")); + $result->pushContent(HTML::p(_("No pages changed."))); return $result; } } Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2011-01-31 16:57:48 UTC (rev 7924) +++ trunk/lib/plugin/WikiAdminMarkup.php 2011-02-01 10:08:52 UTC (rev 7925) @@ -91,7 +91,7 @@ $dbi->touch(); $result->setAttr('class', 'feedback'); if ($count == 1) { - $result->pushContent(HTML::p("One page has been permanently changed:")); + $result->pushContent(HTML::p(_("One page has been permanently changed:"))); } else { $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); } @@ -99,7 +99,7 @@ return $result; } else { $result->setAttr('class', 'error'); - $result->pushContent(HTML::p("No pages changed.")); + $result->pushContent(HTML::p(_("No pages changed."))); return $result; } } Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2011-01-31 16:57:48 UTC (rev 7924) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2011-02-01 10:08:52 UTC (rev 7925) @@ -103,14 +103,14 @@ $dbi->touch(); $result->setAttr('class', 'feedback'); if ($count == 1) { - $result->pushContent(HTML::p("One page has been permanently changed:")); + $result->pushContent(HTML::p(_("One page has been permanently changed:"))); } else { $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); } $result->pushContent($ul); } else { $result->setAttr('class', 'error'); - $result->pushContent(HTML::p("No pages changed.")); + $result->pushContent(HTML::p(_("No pages changed."))); } return $result; } Modified: trunk/lib/plugin/WikiAdminSetExternal.php =================================================================== --- trunk/lib/plugin/WikiAdminSetExternal.php 2011-01-31 16:57:48 UTC (rev 7924) +++ trunk/lib/plugin/WikiAdminSetExternal.php 2011-02-01 10:08:52 UTC (rev 7925) @@ -77,7 +77,7 @@ $dbi->touch(); $result->setAttr('class', 'feedback'); if ($count == 1) { - $result->pushContent(HTML::p("One page has been permanently changed:")); + $result->pushContent(HTML::p(_("One page has been permanently changed:"))); } else { $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); } @@ -85,7 +85,7 @@ return $result; } else { $result->setAttr('class', 'error'); - $result->pushContent(HTML::p("No pages changed.")); + $result->pushContent(HTML::p_(("No pages changed."))); return $result; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |