Chill-Main issues
https://framagit.org/Chill-project/Chill-Main/-/issues
2017-09-03T00:00:51Z
https://framagit.org/Chill-project/Chill-Main/-/issues/16
Creating a validation constraint for translatable string
2017-09-03T00:00:51Z
Julien Fastré
Creating a validation constraint for translatable string
We use translatable strings for labels and name which must be translatable to different languages, for associations which need it.
(see [TransalatableStringHelper](Templating/TranslatableStringHelper.php) and [Templating/Translatable...
We use translatable strings for labels and name which must be translatable to different languages, for associations which need it.
(see [TransalatableStringHelper](Templating/TranslatableStringHelper.php) and [Templating/TranslatableStringTwig.php](Templating/TranslatableStringTwig.php) )
We should create a ValidationConstraint to test that those string have :
- a minimal length ;
- a maximal length ;
Currently, we are not able to check the validation of those strings.