summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ae5b37e)
fix tests
nl
add translation validation length
->add('username', TextType::class, array('required' => true))
->add('plainPassword', RepeatedType::class, array(
'type' => PasswordType::class,
->add('username', TextType::class, array('required' => true))
->add('plainPassword', RepeatedType::class, array(
'type' => PasswordType::class,
+ 'invalid_message' => 'The password fields must match',
+ 'first_options' => array('label' => 'Password'),
+ 'second_options' => array('label' => 'Repeat new password'),
'constraints' => array(
new Constraints\Length(array(
'min' => 8,
'constraints' => array(
new Constraints\Length(array(
'min' => 8,
--- /dev/null
+# Config screen
+The password fields must match: 'Les deux mots de passe doivent être les mêmes'
+Password should by at least 8 chars long: 'Le mot de passe doit contenir au moins 8 caractères'
'new_user[plainPassword][second]' => 'mypassword2',
'new_user[email]' => 'wallace@wallace.me',
),
'new_user[plainPassword][second]' => 'mypassword2',
'new_user[email]' => 'wallace@wallace.me',
),
- 'This value is not valid',
+ 'The password fields must match',