Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB
In directory usw-pr-cvs1:/tmp/cvs-serv19761/phpwiki/lib/WikiDB
Modified Files:
dba.php
Log Message:
gettext-ified error messages with sprintf(_("%s"),$v)
Index: dba.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/dba.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** dba.php 2001/09/18 19:16:23 1.1
--- dba.php 2001/12/19 08:54:19 1.2
***************
*** 15,22 ****
|| preg_match('@^/tmp\b@', $dbparams['directory'])) {
$this->_warnings
! = " DBA files are in the /tmp directory. "
! . "Please read the INSTALL file and move "
! . "the DB file to a permanent location or risk losing "
! . "all the pages!";
}
else
--- 15,19 ----
|| preg_match('@^/tmp\b@', $dbparams['directory'])) {
$this->_warnings
! = _("DBA files are in the /tmp directory. Please read the INSTALL file and move the DB file to a permanent location or risk losing all the pages!");
}
else
|