Skip to content

Commit

Permalink
use the right language domain
Browse files Browse the repository at this point in the history
these messages are for developers, not end users
  • Loading branch information
AD7six committed Oct 22, 2012
1 parent c00d58b commit 35686c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Core/Configure.php
Expand Up @@ -319,10 +319,10 @@ public static function load($key, $config = 'default', $merge = true) {
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)) {
Expand Down

0 comments on commit 35686c9

Please sign in to comment.