lunetics/LocaleBundle — pull request #33 by lunetics (2012-10-21 01:06:29+00:00)
Title: Fix validation

Okay big refactoring kinda.

I now created 2 validators, a LocaleValidator and a LocaleAllowedValidator, which makes it possible to implement a strict mode.

Also i added a MetaValidator for easy use in the guesser, so now we only need to inject the MetaValidator and guesser specific parameters.

Was a little bit tough, especially writing the tests for strict and non-strict modes.