Changeset 1528
- Timestamp:
- 12/14/2007 04:19:05 AM (10 months ago)
- Location:
- trunk/system
- Files:
-
- 2 modified
-
i18n/zh_CN/validation.php (modified) (1 diff)
-
libraries/Validation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/i18n/zh_CN/validation.php
r1297 r1528 21 21 'range' => '栏位 %s 越界指定范围.', 22 22 'regex' => '栏位 %s 与给定输入模式不匹配.', 23 'depend _on'=> '栏位 %s 依赖于 %s 栏位.',23 'depends_on' => '栏位 %s 依赖于 %s 栏位.', 24 24 25 25 // Upload errors -
trunk/system/libraries/Validation.php
r1522 r1528 373 373 $this->result = Kohana::instance()->$callback($data, $params); 374 374 } 375 elseif ($rule === 'matches' OR $rule === 'depend _on')375 elseif ($rule === 'matches' OR $rule === 'depends_on') 376 376 { 377 377 $this->result = $this->$rule($field, $params); … … 1137 1137 * 1138 1138 * Parameters: 1139 * field - first field1140 * depend _on - field which the first field is depend on it1139 * field - first field 1140 * depends_on - field which the first field is depend on it 1141 1141 * 1142 1142 * Returns:
