mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 04:22:40 +00:00
consolidate cake_error and cake_developer to simply "cake_dev"
it's a lot easier for adding new translations to think: is it for the end user? use 'cake' as the domain is it for the developer use 'cake_dev' as the domain is it for the console use 'cake_console' as the domain also neatly avoids the "this message is an error, and it's in cake_developer, why?" - question (because cake_error was intended for anything which is used in trigger_error/exceptions, not a variable named $error
This commit is contained in:
parent
7fa52710f3
commit
32df3156a7
75 changed files with 331 additions and 331 deletions
|
@ -124,7 +124,7 @@ class Helper extends Object {
|
|||
* @param array $params Array of params for the method.
|
||||
*/
|
||||
public function __call($method, $params) {
|
||||
trigger_error(__d('cake_error', 'Method %1$s::%2$s does not exist', get_class($this), $method), E_USER_WARNING);
|
||||
trigger_error(__d('cake_dev', 'Method %1$s::%2$s does not exist', get_class($this), $method), E_USER_WARNING);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue