Browse Source

fix a bit translate error (#13583) [skip ci]

fix a bit translate error according to English text
tags/2.0.12
LingGang Xiao 8 years ago committed by Alexander Makarov
parent
commit
c3d1a189e4
  1. 2
      docs/guide-zh-CN/input-validation.md

2
docs/guide-zh-CN/input-validation.md

@ -334,7 +334,7 @@ class CountryValidator extends Validator
public function validateAttribute($model, $attribute)
{
if (!in_array($model->$attribute, ['兲朝', '墙外'])) {
$this->addError($attribute, '国家必须为 "兲朝" 或 "墙外" 中的一个。');
$this->addError($model, $attribute, '国家必须为 "兲朝" 或 "墙外" 中的一个。');
}
}
}

Loading…
Cancel
Save