X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/ddd7f8c704963bf7530d3e16b89fd330b7919e02..d6421310b196e1744e804434ef59e96b2c89cea3:/DependencyInjection/Configuration.php diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index e994ada..4e20178 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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();