Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv13700/phpwiki/lib
Modified Files:
DbaDatabase.php
Log Message:
Found more strings needing gettext _() and sprintf. Error strings containing function names now use sprintf. Some debugging strings intentionally left alone.
Index: DbaDatabase.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/DbaDatabase.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** DbaDatabase.php 2001/11/21 19:46:50 1.2
--- DbaDatabase.php 2001/12/28 09:52:57 1.3
***************
*** 44,48 ****
}
else {
! trigger_error("dba_open failed", E_USER_ERROR);
}
}
--- 44,48 ----
}
else {
! trigger_error(sprintf(_("%s failed"),'dba_open'), E_USER_ERROR);
}
}
|