summary refs log tree commit diff
path: root/api/locales/vi
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 20:09:35 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 20:09:35 +0200
commit524b5df7231635682053d0c028b0a24189b875ab (patch)
tree38bdb481e6149a825170cb67cb961410de92efdd /api/locales/vi
parentnpm i @fosscord/server-util@1.3.52 (diff)
downloadserver-524b5df7231635682053d0c028b0a24189b875ab.tar.xz
:sparkles: api
Diffstat (limited to 'api/locales/vi')
-rw-r--r--api/locales/vi/auth.json16
-rw-r--r--api/locales/vi/common.json18
-rw-r--r--api/locales/vi/vi18
3 files changed, 52 insertions, 0 deletions
diff --git a/api/locales/vi/auth.json b/api/locales/vi/auth.json
new file mode 100644
index 00000000..b2f59d44
--- /dev/null
+++ b/api/locales/vi/auth.json
@@ -0,0 +1,16 @@
+{
+	"login": {
+		"INVALID_LOGIN": "E-mail hoặc số điện thoại không tồn tại",
+		"INVALID_PASSWORD": "Sai mật khẩu",
+		"ACCOUNT_DISABLED": "This account is disabled"
+	},
+	"register": {
+		"REGISTRATION_DISABLED": "Hệ thống hiện không cho phép tài khoản mới",
+		"INVITE_ONLY": "Bạn cần được mời để tạo tài khoản",
+		"EMAIL_INVALID": "Email không hợp lệ",
+		"EMAIL_ALREADY_REGISTERED": "Email đã tồn tại",
+		"DATE_OF_BIRTH_UNDERAGE": "You need to be {{years}} years or older",
+		"CONSENT_REQUIRED": "You must agree to the Terms of Service and Privacy Policy.",
+		"USERNAME_TOO_MANY_USERS": "Quá nhiều tài khoản trùng với username bạn chọn, xin vui lòng chọn username khác"
+	}
+}
diff --git a/api/locales/vi/common.json b/api/locales/vi/common.json
new file mode 100644
index 00000000..a565e3dc
--- /dev/null
+++ b/api/locales/vi/common.json
@@ -0,0 +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 an object",
+    "BASE_TYPE_ARRAY": "This field must be an array",
+    "UNKOWN_FIELD": "Unknown 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"
+  }
+}
\ No newline at end of file
diff --git a/api/locales/vi/vi b/api/locales/vi/vi
new file mode 100644
index 00000000..7a0254fc
--- /dev/null
+++ b/api/locales/vi/vi
@@ -0,0 +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"
+  }
+}
\ No newline at end of file