put message in cake.pot file instead of default.pot

This commit is contained in:
cake17 2015-01-21 16:41:34 +01:00
parent c5c9c3ac42
commit 2c251b80af

View file

@ -75,7 +75,7 @@ class ViewBlock {
*/
public function start($name) {
if (in_array($name, $this->_active)) {
throw new CakeException(__("A view block with the name '%s' is already/still open.", $name));
throw new CakeException(__d('cake', "A view block with the name '%s' is already/still open.", $name));
}
$this->_active[] = $name;
ob_start();