Skip to content

Commit 05d2d16

Browse files
authored
feat: Update zh_TW.toml (#322)
Corrected translation to match Taiwanese Traditional Chinese usage
1 parent 59fdd64 commit 05d2d16

File tree

1 file changed

+56
-49
lines changed

1 file changed

+56
-49
lines changed

resources/i18n/zh_TW.toml

Lines changed: 56 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ other = "測試2 {{.P0}}"
55

66
[ParamsError]
77
description = "Params validation failed."
8-
one = "引數錯誤"
9-
other = "引數錯誤"
8+
one = "參數驗證失敗"
9+
other = "參數驗證失敗"
1010

1111
[OperationFailed]
1212
description = "OperationFailed."
@@ -20,18 +20,18 @@ other = "操作成功。"
2020

2121
[ItemExists]
2222
description = "Item already exists."
23-
one = "資料已存在"
24-
other = "資料已存在"
23+
one = "項目已存在"
24+
other = "項目已存在"
2525

2626
[ItemNotFound]
2727
description = "Item not found."
28-
one = "資料不存在"
29-
other = "資料不存在"
28+
one = "找不到項目"
29+
other = "找不到項目"
3030

3131
[NoAccess]
3232
description = "No access."
33-
one = "無許可權"
34-
other = "無許可權"
33+
one = "無權限存取"
34+
other = "無權限存取"
3535

3636
[NeedLogin]
3737
description = "Need login."
@@ -50,24 +50,23 @@ other = "系統錯誤。"
5050

5151
[ConfigNotFound]
5252
description = "Config not found."
53-
one = "配置不存在"
54-
other = "配置不存在"
53+
one = "找不到設定"
54+
other = "找不到設定"
5555

56-
#授權過期
5756
[OauthExpired]
5857
description = "Oauth expired."
59-
one = "授權過期,請重新授權"
60-
other = "授權過期,請重新授權"
58+
one = "OAuth 已過期,請重試"
59+
other = "OAuth 已過期,請重試"
6160

6261
[OauthFailed]
6362
description = "Oauth failed."
64-
one = "授權失敗"
65-
other = "授權失敗"
63+
one = "OAuth 失敗"
64+
other = "OAuth 失敗"
6665

6766
[OauthHasBindOtherUser]
6867
description = "Oauth has bind other user."
69-
one = "授權已繫結其他使用者"
70-
other = "授權已繫結其他使用者"
68+
one = "OAuth 已綁定其他使用者"
69+
other = "OAuth 已綁定其他使用者"
7170

7271
[ParamIsEmpty]
7372
description = "Param is empty."
@@ -76,56 +75,64 @@ other = "{{.P0}} 為空。"
7675

7776
[BindFail]
7877
description = "Bind fail."
79-
one = "繫結失敗。"
80-
other = "繫結失敗。"
78+
one = "綁定失敗。"
79+
other = "綁定失敗。"
80+
8181
[BindSuccess]
8282
description = "Bind success."
83-
one = "繫結成功。"
84-
other = "繫結成功。"
83+
one = "綁定成功。"
84+
other = "綁定成功。"
85+
8586
[OauthHasBeenSuccess]
8687
description = "Oauth has been success."
87-
one = "授權已成功。"
88-
other = "授權已成功。"
88+
one = "OAuth 已成功。"
89+
other = "OAuth 已成功。"
90+
8991
[OauthSuccess]
9092
description = "Oauth success."
91-
one = "授權成功。"
92-
other = "授權成功。"
93+
one = "OAuth 成功。"
94+
other = "OAuth 成功。"
95+
9396
[OauthRegisterSuccess]
9497
description = "Oauth register success."
95-
one = "授權註冊成功。"
96-
other = "授權註冊成功。"
98+
one = "OAuth 註冊成功。"
99+
other = "OAuth 註冊成功。"
100+
97101
[OauthRegisterFailed]
98102
description = "Oauth register failed."
99-
one = "授權註冊失敗。"
100-
other = "授權註冊失敗。"
103+
one = "OAuth 註冊失敗。"
104+
other = "OAuth 註冊失敗。"
105+
101106
[GetOauthTokenError]
102107
description = "Get oauth token error."
103-
one = "獲取授權token失敗。"
104-
other = "獲取授權token失敗。"
108+
one = "取得 OAuth 權杖錯誤。"
109+
other = "取得 OAuth 權杖錯誤。"
110+
105111
[GetOauthUserInfoError]
106112
description = "Get oauth user info error."
107-
one = "獲取授權使用者資訊失敗。"
108-
other = "獲取授權使用者資訊失敗。"
113+
one = "取得 OAuth 使用者資訊錯誤。"
114+
other = "取得 OAuth 使用者資訊錯誤。"
115+
109116
[DecodeOauthUserInfoError]
110117
description = "Decode oauth user info error."
111-
one = "解析授權使用者資訊失敗"
112-
other = "解析授權使用者資訊失敗"
118+
one = "解析 OAuth 使用者資訊錯誤"
119+
other = "解析 OAuth 使用者資訊錯誤"
113120

114121
[OldPasswordError]
115122
description = "Old password error."
116123
one = "舊密碼錯誤。"
117124
other = "舊密碼錯誤。"
118125

119-
120126
[DefaultGroup]
121127
description = "Default group."
122-
one = "預設組"
123-
other = "預設組"
128+
one = "預設群組"
129+
other = "預設群組"
124130

125131
[ShareGroup]
126132
description = "Share group."
127-
one = "共享組"
128-
other = "共享組"
133+
one = "共享群組"
134+
other = "共享群組"
135+
129136
[RegisterClosed]
130137
description = "Register closed."
131138
one = "註冊已關閉。"
@@ -143,20 +150,20 @@ other = "驗證碼錯誤。"
143150

144151
[PwdLoginDisabled]
145152
description = "Password login disabled."
146-
one = "密碼登錄已禁用"
147-
other = "密碼登錄已禁用"
153+
one = "密碼登入已停用"
154+
other = "密碼登入已停用"
148155

149156
[CannotShareToSelf]
150157
description = "Cannot share to self."
151-
one = "無法共享給自己"
152-
other = "無法共享給自己"
158+
one = "無法分享給自己"
159+
other = "無法分享給自己"
153160

154161
[Banned]
155162
description = "Banned."
156-
one = "禁止使用"
157-
other = "禁止使用"
163+
one = "已被禁用"
164+
other = "已被禁用"
158165

159166
[RegisterSuccessWaitAdminConfirm]
160-
description = "Register success wait admin confirm."
161-
one = "註冊成功,請等待管理員確認"
162-
other = "註冊成功,請等待管理員確認"
167+
description = "Register success, wait admin confirm."
168+
one = "註冊成功,等待管理員確認"
169+
other = "註冊成功,等待管理員確認"

0 commit comments

Comments
 (0)