Skip to content

Commit

Permalink
Mensagens após alguma action em certified_models foram traduzidas par…
Browse files Browse the repository at this point in the history
…a português
  • Loading branch information
michelmotta committed Jul 5, 2013
1 parent 199d0c4 commit c67341c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Controller/CertifiedModelsController.php
Expand Up @@ -41,7 +41,7 @@ public function add() {
$this->CertifiedModel->create();
if ($this->CertifiedModel->save($this->request->data)) {
$this->Session->setFlash(
__('The %s has been saved', __('certified model')),
__('O certificado foi salvo', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -51,7 +51,7 @@ public function add() {
$this->redirect(array('action' => 'index'));
} else {
$this->Session->setFlash(
__('The %s could not be saved. Please, try again.', __('certified model')),
__('O certificado não foi salvo. Por favor, tente novamente.', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -76,7 +76,7 @@ public function edit($id = null) {
if ($this->request->is('post') || $this->request->is('put')) {
if ($this->CertifiedModel->save($this->request->data)) {
$this->Session->setFlash(
__('The %s has been saved', __('certified model')),
__('O certificado foi alterado', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -86,7 +86,7 @@ public function edit($id = null) {
$this->redirect(array('action' => 'index'));
} else {
$this->Session->setFlash(
__('The %s could not be saved. Please, try again.', __('certified model')),
__('O certificado não foi alterado. Por favor, tente novamente.', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand Down Expand Up @@ -115,7 +115,7 @@ public function delete($id = null) {
}
if ($this->CertifiedModel->delete()) {
$this->Session->setFlash(
__('The %s deleted', __('certified model')),
__('O certificado foi excluído', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -125,7 +125,7 @@ public function delete($id = null) {
$this->redirect(array('action' => 'index'));
}
$this->Session->setFlash(
__('The %s was not deleted', __('certified model')),
__('O certificado não foi excluído', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand Down Expand Up @@ -167,7 +167,7 @@ public function admin_add() {
$this->CertifiedModel->create();
if ($this->CertifiedModel->save($this->request->data)) {
$this->Session->setFlash(
__('The %s has been saved', __('certified model')),
__('O certificado foi salvo', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -177,7 +177,7 @@ public function admin_add() {
$this->redirect(array('action' => 'index'));
} else {
$this->Session->setFlash(
__('The %s could not be saved. Please, try again.', __('certified model')),
__('O certificado não foi salvo. Por favor, tente novamente.', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -202,7 +202,7 @@ public function admin_edit($id = null) {
if ($this->request->is('post') || $this->request->is('put')) {
if ($this->CertifiedModel->save($this->request->data)) {
$this->Session->setFlash(
__('The %s has been saved', __('certified model')),
__('O certificado foi alterado', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -212,7 +212,7 @@ public function admin_edit($id = null) {
$this->redirect(array('action' => 'index'));
} else {
$this->Session->setFlash(
__('The %s could not be saved. Please, try again.', __('certified model')),
__('O certificado não foi alterado. Por favor, tente novamente.', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand Down Expand Up @@ -241,7 +241,7 @@ public function admin_delete($id = null) {
}
if ($this->CertifiedModel->delete()) {
$this->Session->setFlash(
__('The %s deleted', __('certified model')),
__('O certificado foi excluído', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand All @@ -251,7 +251,7 @@ public function admin_delete($id = null) {
$this->redirect(array('action' => 'index'));
}
$this->Session->setFlash(
__('The %s was not deleted', __('certified model')),
__('O certificado não foi excluído', __('certified model')),
'alert',
array(
'plugin' => 'TwitterBootstrap',
Expand Down

0 comments on commit c67341c

Please sign in to comment.