aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 5ccf5a56..e7fb5ad0 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -144,7 +144,7 @@ class ConfigController extends Controller
144 144
145 $this->get('session')->getFlashBag()->add( 145 $this->get('session')->getFlashBag()->add(
146 'notice', 146 'notice',
147 sprintf('User "%s" added', $newUser->getUsername()) 147 $this->get('translator')->trans('User "%username%" added', array('%username%' => $newUser->getUsername()))
148 ); 148 );
149 149
150 return $this->redirect($this->generateUrl('config').'#set6'); 150 return $this->redirect($this->generateUrl('config').'#set6');