From: <var...@us...> - 2009-08-19 19:37:40
|
Revision: 7072 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7072&view=rev Author: vargenau Date: 2009-08-19 19:37:30 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Simpler strings Modified Paths: -------------- trunk/lib/plugin/RedirectTo.php Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2009-08-19 19:36:31 UTC (rev 7071) +++ trunk/lib/plugin/RedirectTo.php 2009-08-19 19:37:30 UTC (rev 7072) @@ -48,7 +48,7 @@ } function getDescription() { - return _("Redirects to another url or page."); + return _("Redirects to another URL or page."); } function getVersion() { @@ -58,7 +58,6 @@ function getDefaultArguments() { return array( 'href' => '', - // 'type' => 'Temp' // or 'Permanent' // so far ignored 'page' => false, ); } @@ -79,8 +78,7 @@ $url = preg_replace('/%\d\d/','',strip_tags($href)); $thispage = $request->getPage(); if (! $thispage->get('locked')) { - return $this->disabled(fmt("%s is only allowed in locked pages.", - _("Redirect to an external url"))); + return $this->disabled(_("Redirect to an external URL is only allowed in locked pages.")); } } else if ($page) { @@ -89,8 +87,7 @@ 'abs_path'); } else { - return $this->error(fmt("%s or %s parameter missing", - "'href'", "'page'")); + return $this->error(_("'href' or 'page' parameter missing.")); } if ($page == $request->getArg('pagename')) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |