From: Carsten K. <car...@us...> - 2002-02-16 02:08:31
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory usw-pr-cvs1:/tmp/cvs-serv8461 Modified Files: PageGroup.php Log Message: minor cleanup for localization Index: PageGroup.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/PageGroup.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -d -r1.3 -r1.4 --- PageGroup.php 1 Feb 2002 04:59:51 -0000 1.3 +++ PageGroup.php 16 Feb 2002 02:08:26 -0000 1.4 @@ -59,15 +59,15 @@ if (empty($parent)) { // FIXME: WikiPlugin has no way to report when // required args are missing? - $error_text = "WikiPlugin_" .$this->getName() .": "; - $error_text .= sprintf(_("A required argument '%s' is missing."), + $error_text = fmt("%s: %s", "WikiPlugin_" .$this->getName(), + $error_text); + $error_text .= " " . sprintf(_("A required argument '%s' is missing."), 'parent'); $html = $error_text; return $html; } - $directions = array ( - 'next' => _("Next"), + $directions = array ('next' => _("Next"), 'previous' => _("Previous"), 'contents' => _("Contents"), 'first' => _("First"), |