]> Raphaƫl G. Git Repositories - airbundle/blobdiff - DependencyInjection/Configuration.php
Cleanup
[airbundle] / DependencyInjection / Configuration.php
index e994ada85fddd58af8fb9947826772f9937ae108..4e20178c2d0cb38cecfd72d63067a3d4222404e5 100644 (file)
@@ -61,7 +61,7 @@ class Configuration implements ConfigurationInterface {
                                        70 => '@RapsysAir/png/icon.70.png'
                                ],
                                'svg' => '@RapsysAir/svg/icon.svg',
-                               'title' => 'Open Air',
+                               'title' => 'Libre Air',
                                'url' => 'rapsys_air'
                        ],
                        'copy' => [
@@ -71,7 +71,8 @@ class Configuration implements ConfigurationInterface {
                        'contact' => [
                                'name' => 'John Doe',
                                'mail' => 'contact@example.com'
-                       ]
+                       ],
+                       'locales' => '%kernel.translator.fallbacks%'
                ];
 
                //Here we define the parameters that are allowed to configure the bundle.
@@ -114,6 +115,7 @@ class Configuration implements ConfigurationInterface {
                                                        ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end()
                                                ->end()
                                        ->end()
+                                       ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
                                ->end()
                        ->end();