mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
put message in cake.pot file instead of default.pot
This commit is contained in:
parent
c5c9c3ac42
commit
2c251b80af
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class ViewBlock {
|
||||||
*/
|
*/
|
||||||
public function start($name) {
|
public function start($name) {
|
||||||
if (in_array($name, $this->_active)) {
|
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;
|
$this->_active[] = $name;
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
Loading…
Reference in a new issue