Skip to content

Commit fadce39

Browse files
Merge pull request #365 from blueyestar/master
added missing translation for zh-cn and zh-tw
2 parents 5659b0a + 1b86b4f commit fadce39

File tree

2 files changed

+43
-26
lines changed

2 files changed

+43
-26
lines changed

lang/zh-cn.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,11 @@
3030
'lengthBetween' => "长度只能介于 %d 和 %d 之间",
3131
'creditCard' => "信用卡号码不正确",
3232
'lengthMin' => "长度必须大于 %d",
33-
'lengthMax' => "长度必须小于 %d"
33+
'lengthMax' => "长度必须小于 %d",
34+
'instanceOf' => "必须是 '%s' 的实例",
35+
'containsUnique' => "必须仅包含唯一的元素",
36+
'requiredWith' => "是必须的",
37+
'requiredWithout' => "是必须的",
38+
'subset' => "包含不在列表中的项目",
39+
'arrayHasKeys' => "不包含所有必需的键",
3440
);

lang/zh-tw.php

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,40 @@
11
<?php
22

33
return array(
4-
'required' => "不能為空",
5-
'equals' => "必須和 '%s' 一致",
6-
'different' => "必須和 '%s' 不一致",
7-
'accepted' => "必須接受",
8-
'numeric' => "只能是數字",
9-
'integer' => "只能是整數",
10-
'length' => "長度必須大於 %d",
11-
'min' => "必須大於 %s",
12-
'max' => "必須小於 %s",
13-
'listContains' => "無效的值",
14-
'in' => "無效的值",
15-
'notIn' => "無效的值",
16-
'ip' => "無效IP地址",
17-
'email' => "無效郵箱地址",
18-
'url' => "無效的URL",
19-
'urlActive' => "必須是可用的域名",
20-
'alpha' => "只能包括英文字母(a-z)",
21-
'alphaNum' => "只能包括英文字母(a-z)和數字(0-9)",
22-
'slug' => "只能包括英文字母(a-z)、數字(0-9)、破折號和下劃線",
23-
'regex' => "無效格式",
24-
'date' => "無效的日期",
25-
'dateFormat' => "日期的格式應該為 '%s'",
26-
'dateBefore' => "日期必須在 '%s' 之前",
27-
'dateAfter' => "日期必須在 '%s' 之後",
28-
'contains' => "必須包含 %s"
4+
'required' => "不能為空",
5+
'equals' => "必須和 '%s' 一致",
6+
'different' => "必須和 '%s' 不一致",
7+
'accepted' => "必須接受",
8+
'numeric' => "只能是數字",
9+
'integer' => "只能是整數",
10+
'length' => "長度必須大於 %d",
11+
'min' => "必須大於 %s",
12+
'max' => "必須小於 %s",
13+
'listContains' => "無效的值",
14+
'in' => "無效的值",
15+
'notIn' => "無效的值",
16+
'ip' => "無效IP地址",
17+
'email' => "無效郵箱地址",
18+
'url' => "無效的URL",
19+
'urlActive' => "必須是可用的域名",
20+
'alpha' => "只能包括英文字母(a-z)",
21+
'alphaNum' => "只能包括英文字母(a-z)和數字(0-9)",
22+
'slug' => "只能包括英文字母(a-z)、數字(0-9)、破折號和下劃線",
23+
'regex' => "無效格式",
24+
'date' => "無效的日期",
25+
'dateFormat' => "日期的格式應該為 '%s'",
26+
'dateBefore' => "日期必須在 '%s' 之前",
27+
'dateAfter' => "日期必須在 '%s' 之後",
28+
'contains' => "必須包含 %s",
29+
'boolean' => "必須是真或假",
30+
'lengthBetween' => "長度只能介於 %d 和 %d 之間",
31+
'creditCard' => "信用卡號碼不正確",
32+
'lengthMin' => "長度必須大於 %d",
33+
'lengthMax' => "長度必須小於 %d",
34+
'instanceOf' => "必須是 '%s' 的實例",
35+
'containsUnique' => "必須僅包含唯一的元素",
36+
'requiredWith' => "是必須的",
37+
'requiredWithout' => "是必須的",
38+
'subset' => "包含不在列表中的項目",
39+
'arrayHasKeys' => "不包含所有必需的鍵",
2940
);

0 commit comments

Comments
 (0)