]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/Configuration.php
Add short syntax note
[userbundle] / DependencyInjection / Configuration.php
index 41c6df886736701497061edfcdd9b370716da253..cdceea07bffc52cd485fd054b557fcb6b821794f 100644 (file)
@@ -39,7 +39,7 @@ class Configuration implements ConfigurationInterface {
                                'user' => 'Rapsys\\UserBundle\\Entity\\User'
                        ],
                        'default' => [
                                'user' => 'Rapsys\\UserBundle\\Entity\\User'
                        ],
                        'default' => [
-                               'admin' => 'ROLE_ADMIN',
+                               'admin' => 'Admin',
                                'civility' => 'Mister',
                                'languages' => [
                                        'en_gb' => 'English'
                                'civility' => 'Mister',
                                'languages' => [
                                        'en_gb' => 'English'
@@ -77,7 +77,7 @@ class Configuration implements ConfigurationInterface {
                                        'context' => []
                                ]
                        ],
                                        'context' => []
                                ]
                        ],
-                       'translate' => [ 'title' ],
+                       'translate' => [ 'site', 'title' ],
                        'contact' => [
                                'address' => 'contact@example.com',
                                'name' => 'John Doe'
                        'contact' => [
                                'address' => 'contact@example.com',
                                'name' => 'John Doe'
@@ -117,7 +117,7 @@ class Configuration implements ConfigurationInterface {
                                        'context' => [ 'title' => 'Recover' ]
                                ],
                                'mail' => [
                                        'context' => [ 'title' => 'Recover' ]
                                ],
                                'mail' => [
-                                       'subject' => 'Welcome back!',
+                                       'subject' => 'Welcome back to %%site%%!',
                                        'html' => '@RapsysUser/mail/recover.html.twig',
                                        'text' => '@RapsysUser/mail/recover.text.twig',
                                        'context' => []
                                        'html' => '@RapsysUser/mail/recover.html.twig',
                                        'text' => '@RapsysUser/mail/recover.text.twig',
                                        'context' => []
@@ -133,7 +133,7 @@ class Configuration implements ConfigurationInterface {
                                        'context' => [ 'title' => 'Register' ]
                                ],
                                'mail' => [
                                        'context' => [ 'title' => 'Register' ]
                                ],
                                'mail' => [
-                                       'subject' => 'Welcome!',
+                                       'subject' => 'Welcome to %%site%%!',
                                        'html' => '@RapsysUser/mail/register.html.twig',
                                        'text' => '@RapsysUser/mail/register.text.twig',
                                        'context' => []
                                        'html' => '@RapsysUser/mail/register.html.twig',
                                        'text' => '@RapsysUser/mail/register.text.twig',
                                        'context' => []