aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-02-12 12:00:49 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-02-12 12:00:49 +0100
commit55da765e11608e852bf197a01c164e442e635f2e (patch)
treeea358d1dea43d7d527e9fcd44240a6110056cb45 /src/Wallabag/CoreBundle/Controller/ConfigController.php
parentc7a4f74f9fe225275c8c2e68269b1f86cc31da6e (diff)
downloadwallabag-55da765e11608e852bf197a01c164e442e635f2e.tar.gz
wallabag-55da765e11608e852bf197a01c164e442e635f2e.tar.zst
wallabag-55da765e11608e852bf197a01c164e442e635f2e.zip
Add missing translations
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');