Permalink
Browse files

Merge branch 'master' of git://github.com/CalvinMcGee/croogo into 1.3…

…-localization
  • Loading branch information...
2 parents 66c491f + fc93b58 commit c2ae9abdc4a88b3de66ce052916e3283cd48d542 @fahad19 fahad19 committed Aug 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/acl/controllers/acl_actions_controller.php
@@ -43,10 +43,10 @@ public function admin_add() {
}
if ($this->Acl->Aco->save($this->data['Aco'])) {
- $this->Session->setFlash(__('The '. $acoType .' has been saved', true), 'default', array('class' => 'success'));
+ $this->Session->setFlash(sprintf(__('The %s has been saved', true), $acoType), 'default', array('class' => 'success'));
$this->redirect(array('action'=>'index'));
} else {
- $this->Session->setFlash(__('The '. $acoType .' could not be saved. Please, try again.', true), 'default', array('class' => 'error'));
+ $this->Session->setFlash(sprintf(__('The %s could not be saved. Please, try again.', true), $acoType), 'default', array('class' => 'error'));
}
}

0 comments on commit c2ae9ab

Please sign in to comment.