X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/3fd3f39c4d28a213495141dd8463816a0b1c719b..e1174c1eb4ece45e25930e368c7bdbf05e74aeaf:/DependencyInjection/Configuration.php?ds=sidebyside diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ece6c29..efc8a68 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -54,10 +54,10 @@ class Configuration implements ConfigurationInterface { 'translate' => [], 'locales' => '%kernel.translator.fallbacks%', 'languages' => [ - 'en' => 'English' + 'en-gb' => 'English' ], 'contact' => [ - 'name' => 'John Doe', + 'title' => 'John Doe', 'mail' => 'contact@example.com' ], 'login' => [ @@ -217,7 +217,7 @@ class Configuration implements ConfigurationInterface { ->arrayNode('contact') ->addDefaultsIfNotSet() ->children() - ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['contact']['name'])->end() + ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['contact']['title'])->end() ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end() ->end() ->end()