Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv13791/phpwiki/lib
Modified Files:
FileFinder.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: FileFinder.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/FileFinder.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** FileFinder.php 2001/12/13 08:22:47 1.4
--- FileFinder.php 2001/12/28 09:53:11 1.5
***************
*** 80,84 ****
*/
function _not_found($file) {
! trigger_error("$file: file not found", E_USER_ERROR);
return false;
}
--- 80,84 ----
*/
function _not_found($file) {
! trigger_error(sprintf(_("%s: file not found"),$file), E_USER_ERROR);
return false;
}
|