Skip to content
Permalink
Browse files

Set translations to use the cake domain.

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 8a77a31620cec8c1338e54876cc2760682811f2f
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Cake/View/Helper/FormHelper.php
  2. +1 −1 lib/Cake/View/Helper/HtmlHelper.php
@@ -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']);
@@ -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));

0 comments on commit 8a77a31

Please sign in to comment.
You can’t perform that action at this time.