Development

Changeset 5633

You must first sign up to be able to contribute.

Changeset 5633

Show
Ignore:
Timestamp:
10/23/07 09:05:36 (10 months ago)
Author:
fabien
Message:

fixed default error message for sfValidatorInteger

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/validator/sfValidatorInteger.class.php

    r5581 r5633  
    3131  protected function configure($options = array(), $messages = array()) 
    3232  { 
    33     $this->setMessage('max', '"%value%" is too long (largest allowed is %max%).'); 
    34     $this->setMessage('min', '"%value%" is too short (smallest allowed is %min%).'); 
     33    $this->setMessage('max', '"%value%" must be less than %max%.'); 
     34    $this->setMessage('min', '"%value%" must be greater than %min%.'); 
    3535    $this->setMessage('invalid', '"%value%" is not an integer.'); 
    3636  }