Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend
In directory usw-pr-cvs1:/tmp/cvs-serv30323/phpwiki/lib/WikiDB/backend
Modified Files:
PearDB.php
Log Message:
sprintf fine-tuning for gettext
Index: PearDB.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/PearDB.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** PearDB.php 2001/12/19 08:54:15 1.13
--- PearDB.php 2001/12/19 12:07:53 1.14
***************
*** 55,59 ****
return;
if ($this->_lock_count) {
! trigger_error(sprintf(_("WARNING: database still locked (lock_count = %s)"),$this->_lock_count) . "\n<br>",
E_USER_WARNING);
}
--- 55,59 ----
return;
if ($this->_lock_count) {
! trigger_error( _("WARNING: database still locked") . '(lock_count = $this->_lock_count)' . "\n<br>",
E_USER_WARNING);
}
***************
*** 690,693 ****
--- 690,694 ----
return false;
}
+ //" <--(kludge for dumb syntax coloring)
if (! in_array('ismanip', get_class_methods('DB'))) {
***************
*** 708,712 ****
function _pear_error_message($error) {
$class = get_class($this);
! $message = sprintf(_("%s: fatal database error"),$class) ."\n"
. "\t" . $error->getMessage() . "\n"
. "\t(" . $error->getDebugInfo() . ")\n";
--- 709,713 ----
function _pear_error_message($error) {
$class = get_class($this);
! $message = $class ": " . _("fatal database error") ."\n"
. "\t" . $error->getMessage() . "\n"
. "\t(" . $error->getDebugInfo() . ")\n";
|