summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-24 20:57:23 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-24 20:57:23 +0200
commit0a51c58244675a889063ef46221c61630e0ccf29 (patch)
treee7960cc9ba58822549b7c8c4f9473aa366d590e4
parent:bug: fix route loading (diff)
parentMerge pull request #149 from fosscord/l10n_master (diff)
downloadserver-0a51c58244675a889063ef46221c61630e0ccf29.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
-rw-r--r--locales/zh/auth.json16
-rw-r--r--locales/zh/common.json28
2 files changed, 22 insertions, 22 deletions
diff --git a/locales/zh/auth.json b/locales/zh/auth.json
index 025a3876..db5f1eb4 100644
--- a/locales/zh/auth.json
+++ b/locales/zh/auth.json
@@ -1,15 +1,15 @@
 {
 	"login": {
-		"INVALID_LOGIN": "E-Mail or Phone not found",
-		"INVALID_PASSWORD": "Invalid Password"
+		"INVALID_LOGIN": "找不到电子邮件或电话",
+		"INVALID_PASSWORD": "无效密码"
 	},
 	"register": {
-		"REGISTRATION_DISABLED": "New user registration is disabled",
-		"INVITE_ONLY": "You must be invited to register",
+		"REGISTRATION_DISABLED": "新用户注册已禁用",
+		"INVITE_ONLY": "您必须被邀请注册",
 		"EMAIL_INVALID": "Invalid Email",
-		"EMAIL_ALREADY_REGISTERED": "Email is already registered",
-		"DATE_OF_BIRTH_UNDERAGE": "You need to be {{years}} years or older",
-		"CONSENT_REQUIRED": "You must agree to Terms of Service and Privacy Policy.",
-		"USERNAME_TOO_MANY_USERS": "Too many users have this username, please try another"
+		"EMAIL_ALREADY_REGISTERED": "电子邮件已注册",
+		"DATE_OF_BIRTH_UNDERAGE": "您需要有 {{years}} 岁以上",
+		"CONSENT_REQUIRED": "您必须同意服务条款和隐私政策。",
+		"USERNAME_TOO_MANY_USERS": "用户名太多,请尝试另一个"
 	}
 }
diff --git a/locales/zh/common.json b/locales/zh/common.json
index 7a0254fc..a9e8532e 100644
--- a/locales/zh/common.json
+++ b/locales/zh/common.json
@@ -1,18 +1,18 @@
 {
   "field": {
-    "BASE_TYPE_REQUIRED": "This field is required",
-    "BASE_TYPE_STRING": "This field must be a string",
-    "BASE_TYPE_NUMBER": "This field must be a number",
-    "BASE_TYPE_BIGINT": "This field must be a bigint",
-    "BASE_TYPE_BOOLEAN": "This field must be a boolean",
-    "BASE_TYPE_CHOICES": "This field must be one of ({{types}})",
-    "BASE_TYPE_CLASS": "This field must be an instance of {{type}}",
-    "BASE_TYPE_OBJECT": "This field must be a object",
-    "BASE_TYPE_ARRAY": "This field must be an array",
-    "UNKOWN_FIELD": "Unkown key: {{key}}",
-    "BASE_TYPE_CONSTANT": "This field must be {{value}}",
-    "EMAIL_TYPE_INVALID_EMAIL": "Not a well formed email address",
-    "DATE_TYPE_PARSE": "Could not parse {{date}}. Should be ISO8601",
-    "BASE_TYPE_BAD_LENGTH": "Must be between {{length}} in length"
+    "BASE_TYPE_REQUIRED": "此字段是必填项",
+    "BASE_TYPE_STRING": "此字段必须是字符串",
+    "BASE_TYPE_NUMBER": "此字段必须是一个数字",
+    "BASE_TYPE_BIGINT": "此字段必须是很大的",
+    "BASE_TYPE_BOOLEAN": "此字段必须是布尔值",
+    "BASE_TYPE_CHOICES": "此字段必须是 ({{types}})",
+    "BASE_TYPE_CLASS": "此字段必须是 {{type}} 的实例",
+    "BASE_TYPE_OBJECT": "此字段必须是对象",
+    "BASE_TYPE_ARRAY": "此字段必须是一个数组",
+    "UNKOWN_FIELD": "未知密钥: {{key}}",
+    "BASE_TYPE_CONSTANT": "此字段必须是 {{value}}",
+    "EMAIL_TYPE_INVALID_EMAIL": "格式不正确的电子邮件地址",
+    "DATE_TYPE_PARSE": "无法解析 {{date}}。应该为 ISO8601",
+    "BASE_TYPE_BAD_LENGTH": "长度必须介于 {{length}} 之间"
   }
 }
\ No newline at end of file