X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/576070fab9876583244210b655602ff14de36095..4662d481cee0e30c6d3be73a6305d75df8d250f6:/DependencyInjection/Configuration.php diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 3ceb22f..719e952 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -69,7 +69,6 @@ class Configuration implements ConfigurationInterface { ] ], 'translate' => [], - 'locales' => '%kernel.translator.fallbacks%', 'languages' => [ 'en_gb' => 'English' ], @@ -228,7 +227,7 @@ class Configuration implements ConfigurationInterface { ->defaultValue($defaults['translate']) ->scalarPrototype()->end() ->end() - ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end() + #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false) ->arrayNode('languages') ->treatNullLike([]) ->defaultValue($defaults['languages'])