mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
use the right language domain
these messages are for developers, not end users
This commit is contained in:
parent
c00d58b4ef
commit
35686c9293
1 changed files with 2 additions and 2 deletions
|
@ -319,10 +319,10 @@ class Configure {
|
|||
public static function dump($key, $config = 'default', $keys = array()) {
|
||||
$reader = self::_getReader($config);
|
||||
if (!$reader) {
|
||||
throw new ConfigureException(__d('cake', 'There is no "%s" adapter.', $config));
|
||||
throw new ConfigureException(__d('cake_dev', 'There is no "%s" adapter.', $config));
|
||||
}
|
||||
if (!method_exists($reader, 'dump')) {
|
||||
throw new ConfigureException(__d('cake', 'The "%s" adapter, does not have a dump() method.', $config));
|
||||
throw new ConfigureException(__d('cake_dev', 'The "%s" adapter, does not have a dump() method.', $config));
|
||||
}
|
||||
$values = self::$_values;
|
||||
if (!empty($keys) && is_array($keys)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue