Changeset 1528

Show
Ignore:
Timestamp:
12/14/2007 04:19:05 AM (10 months ago)
Author:
armen
Message:

Fixed a typo.

Location:
trunk/system
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/zh_CN/validation.php

    r1297 r1528  
    2121        'range'         => '栏位 %s  越界指定范围.', 
    2222        'regex'         => '栏位 %s  与给定输入模式不匹配.', 
    23         'depend_on'     => '栏位 %s  依赖于 %s 栏位.', 
     23        'depends_on'    => '栏位 %s  依赖于 %s 栏位.', 
    2424 
    2525        // Upload errors 
  • trunk/system/libraries/Validation.php

    r1522 r1528  
    373373                                $this->result = Kohana::instance()->$callback($data, $params); 
    374374                        } 
    375                         elseif ($rule === 'matches' OR $rule === 'depend_on') 
     375                        elseif ($rule === 'matches' OR $rule === 'depends_on') 
    376376                        { 
    377377                                $this->result = $this->$rule($field, $params); 
     
    11371137         * 
    11381138         * Parameters: 
    1139          *  field     - first field 
    1140          *  depend_on - field which the first field is depend on it 
     1139         *  field      - first field 
     1140         *  depends_on - field which the first field is depend on it 
    11411141         * 
    11421142         * Returns: