should the error names in error.php be translated?

1 view
Skip to first unread message

Guido Erlinger

unread,
Sep 16, 2009, 1:22:55 PM9/16/09
to habar...@googlegroups.com
There are the following error names in ./system/classes/error.php:

> // Don't be fooled, we can't actually handle most of these.
> $error_names = array(
> E_ERROR => 'Error',
> E_WARNING => 'Warning',
> E_PARSE => 'Parse Error',
> E_NOTICE => 'Notice',
> E_CORE_ERROR => 'Core Error',
> E_CORE_WARNING => 'Core Warning',
> E_COMPILE_ERROR => 'Compile Error',
> E_COMPILE_WARNING => 'Compile Warning',
> E_USER_ERROR => 'User Error',
> E_USER_WARNING => 'User Warning',
> E_USER_NOTICE => 'User Notice',
> E_STRICT => 'Strict Notice',
> E_RECOVERABLE_ERROR => 'Recoverable Error',
> );

Shouldn't these error names be localizable?

cu, guido

rick c

unread,
Sep 20, 2009, 11:30:56 PM9/20/09
to habari-dev
Thanks, Guido. The descriptions have been made translatable.

Rick

Walter Ebert

unread,
Sep 21, 2009, 4:31:34 AM9/21/09
to habar...@googlegroups.com
Shouldn't be E_DEPRECATED included? This has been introduced in PHP5.3.

Regards,
Walter
Reply all
Reply to author
Forward
0 new messages