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:
AD7six 2011-03-20 16:35:43 +01:00
parent 7fa52710f3
commit 32df3156a7
75 changed files with 331 additions and 331 deletions

View file

@ -184,7 +184,7 @@ class CakeException extends RuntimeException {
public function __construct($message, $code = 500) {
if (is_array($message)) {
$this->_attributes = $message;
$message = __d('cake_error', $this->_messageTemplate, $message);
$message = __d('cake_dev', $this->_messageTemplate, $message);
}
parent::__construct($message, $code);
}