mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
Merge pull request #7 from panxianhai/Chinese_translation
add Chinese translation
This commit is contained in:
commit
285c56ba74
29
lang/zh-cn.php
Normal file
29
lang/zh-cn.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
return array(
|
||||
'required' => "不能为空",
|
||||
'equals' => "必须和 '%s' 一致",
|
||||
'different' => "必须和 '%s' 不一致",
|
||||
'accepted' => "必须接受",
|
||||
'numeric' => "只能是数字",
|
||||
'integer' => "只能是整数(0-9)",
|
||||
'length' => "长度必须大于 %d",
|
||||
'min' => "必须大于 %s",
|
||||
'max' => "必须小于 %s",
|
||||
'in' => "无效的值",
|
||||
'notIn' => "无效的值",
|
||||
'ip' => "无效IP地址",
|
||||
'email' => "无效邮箱地址",
|
||||
'url' => "无效的URL",
|
||||
'urlActive' => "必须是可用的域名",
|
||||
'alpha' => "只能包括英文字母(a-z)",
|
||||
'alphaNum' => "只能包括英文字母(a-z)和数字(0-9)",
|
||||
'slug' => "只能包括英文字母(a-z)、数字(0-9)、破折号和下划线",
|
||||
'regex' => "无效格式",
|
||||
'date' => "无效的日期",
|
||||
'dateFormat' => "日期的格式应该为 '%s'",
|
||||
'dateBefore' => "日期必须在 '%s' 之前",
|
||||
'dateAfter' => "日期必须在 '%s' 之后",
|
||||
'contains' => "必须包含 %s"
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user