Fixed error message for short comments on edit
It was partially french... "Le texte is too short".
This commit is contained in:
parent
e9a10a446b
commit
b9b26bfd66
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class Ctrl_EditNoteForm
|
||||||
->setDefaultValue( $note->id ) )
|
->setDefaultValue( $note->id ) )
|
||||||
->addField( Loader::Create( 'Field' , 'text' , 'textarea' )
|
->addField( Loader::Create( 'Field' , 'text' , 'textarea' )
|
||||||
->setDescription( 'Comment:' )
|
->setDescription( 'Comment:' )
|
||||||
->setValidator( Loader::Create( 'Validator_StringLength' , 'Le texte' , 5 ) )
|
->setValidator( Loader::Create( 'Validator_StringLength' , 'This comment' , 5 ) )
|
||||||
->setDefaultValue( $note->text ) )
|
->setDefaultValue( $note->text ) )
|
||||||
->setURL( 'tasks/view?id=' . $note->task )
|
->setURL( 'tasks/view?id=' . $note->task )
|
||||||
->addController( Loader::Ctrl( 'edit_note' ) )
|
->addController( Loader::Ctrl( 'edit_note' ) )
|
||||||
|
|
Loading…
Reference in a new issue