Fixed error message for short comments on edit

It was partially french... "Le texte is too short".
This commit is contained in:
Emmanuel BENOîT 2016-01-16 21:08:14 +01:00
parent e9a10a446b
commit b9b26bfd66

View file

@ -419,7 +419,7 @@ class Ctrl_EditNoteForm
->setDefaultValue( $note->id ) )
->addField( Loader::Create( 'Field' , 'text' , 'textarea' )
->setDescription( 'Comment:' )
->setValidator( Loader::Create( 'Validator_StringLength' , 'Le texte' , 5 ) )
->setValidator( Loader::Create( 'Validator_StringLength' , 'This comment' , 5 ) )
->setDefaultValue( $note->text ) )
->setURL( 'tasks/view?id=' . $note->task )
->addController( Loader::Ctrl( 'edit_note' ) )