Skip to content

Commit 1f8ddca

Browse files
Add a basic zh_TW Traditional Chinese locale (#2135)
1 parent 37abcd1 commit 1f8ddca

File tree

4 files changed

+150
-0
lines changed

4 files changed

+150
-0
lines changed

lang/zh_TW/auth.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
|
14+
*/
15+
16+
'failed' => '您輸入的帳號密碼與系統記錄不符。',
17+
'password' => '您輸入的密碼不正確。',
18+
'throttle' => '登入嘗試次數太多,請於 :seconds 秒後再試。',
19+
20+
];

lang/zh_TW/pagination.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the simple pagination links. You are free to change them to anything
12+
| you want to customize your views to better match your application.
13+
|
14+
*/
15+
16+
'previous' => '&laquo; 上一頁',
17+
'next' => '下一頁 &raquo;',
18+
19+
];

lang/zh_TW/passwords.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reset Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
|
14+
*/
15+
16+
'reset' => '您的密碼已成功重設!',
17+
'sent' => '我們已將密碼重設連結寄送至您的電子郵件信箱!',
18+
'password' => '密碼必須至少包含六個字元,且與確認密碼相符。',
19+
20+
];

lang/zh_TW/validation.php

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used by
11+
| the validator class. Some of these rules have multiple versions such
12+
| as the size rules. Feel free to tweak each of these messages here.
13+
|
14+
*/
15+
16+
/*
17+
|--------------------------------------------------------------------------
18+
| Custom Validation Language Lines
19+
|--------------------------------------------------------------------------
20+
|
21+
| Here you may specify custom validation messages for attributes using the
22+
| convention "attribute.rule" to name the lines. This makes it quick to
23+
| specify a specific custom language line for a given attribute rule.
24+
|
25+
*/
26+
27+
'custom' => [
28+
'attribute-name' => [
29+
30+
],
31+
],
32+
33+
/*
34+
|--------------------------------------------------------------------------
35+
| Custom Validation Attributes
36+
|--------------------------------------------------------------------------
37+
|
38+
| The following language lines are used to swap our attribute placeholder
39+
| with something more reader friendly such as "E-Mail Address" instead
40+
| of "email". This simply helps us make our message more expressive.
41+
|
42+
*/
43+
44+
'attributes' => [
45+
'address' => '地址',
46+
'age' => '年齡',
47+
'body' => '內文',
48+
'cell' => '行動電話',
49+
'city' => '縣市',
50+
'country' => '國家',
51+
'date' => '日期',
52+
'day' => '',
53+
'excerpt' => '摘要',
54+
'first_name' => '名字',
55+
'gender' => '性別',
56+
'marital_status' => '婚姻狀態',
57+
'profession' => '職業',
58+
'nationality' => '國籍',
59+
'hour' => '',
60+
'last_name' => '姓氏',
61+
'message' => '訊息內容',
62+
'minute' => '',
63+
'mobile' => '行動電話',
64+
'month' => '',
65+
'name' => '名稱',
66+
'zipcode' => '郵遞區號',
67+
'company_name' => '公司名稱',
68+
'neighborhood' => '鄰里',
69+
'number' => '號碼',
70+
'password' => '密碼',
71+
'phone' => '電話號碼',
72+
'second' => '',
73+
'sex' => '性別',
74+
'state' => '縣市',
75+
'street' => '街道',
76+
'subject' => '主旨',
77+
'text' => '文字',
78+
'time' => '時間',
79+
'title' => '標題',
80+
'username' => '使用者帳號',
81+
'year' => '',
82+
'description' => '說明',
83+
'password_confirmation' => '確認密碼',
84+
'current_password' => '目前密碼',
85+
'complement' => '補充說明',
86+
'modality' => '模式',
87+
'category' => '類別',
88+
'blood_type' => '血型',
89+
'birth_date' => '出生日期',
90+
],
91+
];

0 commit comments

Comments
 (0)