Skip to content

Commit

Permalink
Set translations to use the cake domain.
Browse files Browse the repository at this point in the history
Core classes should be using either the cake, or cake_dev domain.

Fixes #3443
  • Loading branch information
markstory committed Dec 9, 2012
1 parent 1e49be3 commit 8a77a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/View/Helper/FormHelper.php
Expand Up @@ -1336,7 +1336,7 @@ public function radio($fieldName, $options = array(), $attributes = array()) {

$showEmpty = $this->_extractOption('empty', $attributes);
if ($showEmpty) {
$showEmpty = ($showEmpty === true) ? __('empty') : $showEmpty;
$showEmpty = ($showEmpty === true) ? __d('cake', 'empty') : $showEmpty;
$options = array('' => $showEmpty) + $options;
}
unset($attributes['empty']);
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/View/Helper/HtmlHelper.php
Expand Up @@ -728,7 +728,7 @@ protected function _prepareCrumbs($startText) {
'text' => $startText
);
}
$startText += array('url' => '/', 'text' => __('Home'));
$startText += array('url' => '/', 'text' => __d('cake', 'Home'));
list($url, $text) = array($startText['url'], $startText['text']);
unset($startText['url'], $startText['text']);
array_unshift($crumbs, array($text, $url, $startText));
Expand Down

0 comments on commit 8a77a31

Please sign in to comment.