diff --git a/cake/VERSION.txt b/cake/VERSION.txt index 6d2b7a2db..4276a6cf6 100644 --- a/cake/VERSION.txt +++ b/cake/VERSION.txt @@ -18,4 +18,5 @@ // @license MIT License (http://www.opensource.org/licenses/mit-license.php) // +--------------------------------------------------------------------------------------------+ // //////////////////////////////////////////////////////////////////////////////////////////////////// -1.3.0-RC4 +1.3.0 + diff --git a/cake/config/config.php b/cake/config/config.php index f71dfa725..2b603aede 100644 --- a/cake/config/config.php +++ b/cake/config/config.php @@ -17,5 +17,5 @@ * @since CakePHP(tm) v 1.1.11.4062 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ -return $config['Cake.version'] = '1.3.0-RC4'; +return $config['Cake.version'] = '1.3.0'; ?> \ No newline at end of file diff --git a/cake/console/templates/default/actions/controller_actions.ctp b/cake/console/templates/default/actions/controller_actions.ctp index fb255f073..940e80a62 100644 --- a/cake/console/templates/default/actions/controller_actions.ctp +++ b/cake/console/templates/default/actions/controller_actions.ctp @@ -27,10 +27,10 @@ public function view($id = null) { if (!$id) { - $this->Session->setFlash(sprintf(__('Invalid %s'), '')); + $this->Session->setFlash(__('Invalid ')); $this->redirect(array('action' => 'index')); - $this->flash(sprintf(__('Invalid %s'), ''), array('action' => 'index')); + $this->flash(__('Invalid '), array('action' => 'index')); } $this->set('', $this->->read(null, $id)); @@ -42,14 +42,14 @@ $this->->create(); if ($this->->save($this->data)) { - $this->Session->setFlash(sprintf(__('The %s has been saved'), '')); + $this->Session->setFlash(__('The has been saved')); $this->redirect(array('action' => 'index')); - $this->flash(sprintf(__('%s saved.'), ''), array('action' => 'index')); + $this->flash(__(' saved.'), array('action' => 'index')); } else { - $this->Session->setFlash(sprintf(__('The %s could not be saved. Please, try again.'), '')); + $this->Session->setFlash(__('The could not be saved. Please, try again.')); } } @@ -74,23 +74,23 @@ public function edit($id = null) { if (!$id && empty($this->data)) { - $this->Session->setFlash(sprintf(__('Invalid %s'), '')); + $this->Session->setFlash(__('Invalid ')); $this->redirect(array('action' => 'index')); - $this->flash(sprintf(__('Invalid %s'), ''), array('action' => 'index')); + $this->flash(sprintf(__('Invalid ')), array('action' => 'index')); } if (!empty($this->data)) { if ($this->->save($this->data)) { - $this->Session->setFlash(sprintf(__('The %s has been saved'), '')); + $this->Session->setFlash(__('The has been saved')); $this->redirect(array('action' => 'index')); - $this->flash(sprintf(__('The %s has been saved.'), ''), array('action' => 'index')); + $this->flash(__('The has been saved.'), array('action' => 'index')); } else { - $this->Session->setFlash(sprintf(__('The %s could not be saved. Please, try again.'), '')); + $this->Session->setFlash(__('The could not be saved. Please, try again.')); } } @@ -117,24 +117,24 @@ public function delete($id = null) { if (!$id) { - $this->Session->setFlash(sprintf(__('Invalid id for %s'), '')); + $this->Session->setFlash(__('Invalid id for ')); $this->redirect(array('action'=>'index')); - $this->flash(sprintf(__('Invalid %s'), ''), array('action' => 'index')); + $this->flash(sprintf(__('Invalid ')), array('action' => 'index')); } if ($this->->delete($id)) { - $this->Session->setFlash(sprintf(__('%s deleted'), '')); + $this->Session->setFlash(__(' deleted')); $this->redirect(array('action'=>'index')); - $this->flash(sprintf(__('%s deleted'), ''), array('action' => 'index')); + $this->flash(__(' deleted'), array('action' => 'index')); } - $this->Session->setFlash(sprintf(__('%s was not deleted'), '')); + $this->Session->setFlash(__(' was not deleted')); - $this->flash(sprintf(__('%s was not deleted'), ''), array('action' => 'index')); + $this->flash(__(' was not deleted'), array('action' => 'index')); $this->redirect(array('action' => 'index')); } \ No newline at end of file diff --git a/cake/console/templates/default/views/form.ctp b/cake/console/templates/default/views/form.ctp index a146238b9..e531b47cc 100644 --- a/cake/console/templates/default/views/form.ctp +++ b/cake/console/templates/default/views/form.ctp @@ -20,7 +20,7 @@