From: Carsten K. <car...@us...> - 2001-12-28 09:45:57
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv9997/phpwiki/lib Modified Files: editpage.php Log Message: very minor gettext & sprintf cleanups Index: editpage.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/editpage.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** editpage.php 2001/11/14 21:05:38 1.18 --- editpage.php 2001/12/28 09:45:55 1.19 *************** *** 24,33 **** if ($page->get('locked') && !$user->is_admin()) { $html = QElement('p', ! gettext ("This page has been locked by the administrator and cannot be edited.")); $html .= "\n"; ! $html .= QElement('p', gettext ("Sorry for the inconvenience.")) . "\n"; echo GeneratePage('MESSAGE', $html, ! sprintf(gettext("Problem while editing %s"), $request->getArg('pagename')), $selected); --- 24,33 ---- if ($page->get('locked') && !$user->is_admin()) { $html = QElement('p', ! _("This page has been locked by the administrator and cannot be edited.")); $html .= "\n"; ! $html .= QElement('p', _("Sorry for the inconvenience.")) . "\n"; echo GeneratePage('MESSAGE', $html, ! sprintf(_("Problem while editing %s"), $request->getArg('pagename')), $selected); |