summary refs log tree commit diff
path: root/api/locales
diff options
context:
space:
mode:
Diffstat (limited to 'api/locales')
-rw-r--r--api/locales/fa/auth.json16
-rw-r--r--api/locales/fa/common.json18
-rw-r--r--api/locales/pt/auth.json20
-rw-r--r--api/locales/pt/common.json28
-rw-r--r--api/locales/si/auth.json16
-rw-r--r--api/locales/si/common.json18
-rw-r--r--api/locales/zh/common.json28
7 files changed, 106 insertions, 38 deletions
diff --git a/api/locales/fa/auth.json b/api/locales/fa/auth.json
new file mode 100644
index 00000000..e19547a0
--- /dev/null
+++ b/api/locales/fa/auth.json
@@ -0,0 +1,16 @@
+{
+	"login": {
+		"INVALID_LOGIN": "E-Mail or Phone not found",
+		"INVALID_PASSWORD": "Invalid Password",
+		"ACCOUNT_DISABLED": "This account is disabled"
+	},
+	"register": {
+		"REGISTRATION_DISABLED": "New user registration is disabled",
+		"INVITE_ONLY": "You must be invited to register",
+		"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 the Terms of Service and Privacy Policy.",
+		"USERNAME_TOO_MANY_USERS": "Too many users have this username, please try another"
+	}
+}
diff --git a/api/locales/fa/common.json b/api/locales/fa/common.json
new file mode 100644
index 00000000..a565e3dc
--- /dev/null
+++ b/api/locales/fa/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/pt/auth.json b/api/locales/pt/auth.json
index df7d6708..e19547a0 100644
--- a/api/locales/pt/auth.json
+++ b/api/locales/pt/auth.json
@@ -1,16 +1,16 @@
 {
 	"login": {
-		"INVALID_LOGIN": "E-mail ou Telefone não encontrado",
-		"INVALID_PASSWORD": "Senha inválida",
-		"ACCOUNT_DISABLED": "Essa conta está desativada"
+		"INVALID_LOGIN": "E-Mail or Phone not found",
+		"INVALID_PASSWORD": "Invalid Password",
+		"ACCOUNT_DISABLED": "This account is disabled"
 	},
 	"register": {
-		"REGISTRATION_DISABLED": "Registro de novos usuários está desativado",
-		"INVITE_ONLY": "Você deve ser convidado para registrar",
-		"EMAIL_INVALID": "E-mail inválido",
-		"EMAIL_ALREADY_REGISTERED": "E-mail já está registrado",
-		"DATE_OF_BIRTH_UNDERAGE": "Você precisa ter {{years}} anos ou mais",
-		"CONSENT_REQUIRED": "Você precisa aceitar os Termos de Serviço e a Política de Privacidade.",
-		"USERNAME_TOO_MANY_USERS": "Muitos usuários têm esse nome de usuário, por favor, tente outro"
+		"REGISTRATION_DISABLED": "New user registration is disabled",
+		"INVITE_ONLY": "You must be invited to register",
+		"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 the Terms of Service and Privacy Policy.",
+		"USERNAME_TOO_MANY_USERS": "Too many users have this username, please try another"
 	}
 }
diff --git a/api/locales/pt/common.json b/api/locales/pt/common.json
index 6716dea9..a565e3dc 100644
--- a/api/locales/pt/common.json
+++ b/api/locales/pt/common.json
@@ -1,18 +1,18 @@
 {
   "field": {
-    "BASE_TYPE_REQUIRED": "Este campo é obrigatório.",
-    "BASE_TYPE_STRING": "Este campo deve ser uma string",
-    "BASE_TYPE_NUMBER": "Este campo deve ser um número",
-    "BASE_TYPE_BIGINT": "Este campo deve ser um grande",
-    "BASE_TYPE_BOOLEAN": "Este campo deve ser booleano",
-    "BASE_TYPE_CHOICES": "Este campo deve ser um dos ({{types}})",
-    "BASE_TYPE_CLASS": "Este campo deve ser uma instância de {{type}}",
-    "BASE_TYPE_OBJECT": "Este campo deve ser um objeto",
-    "BASE_TYPE_ARRAY": "Este campo deve ser um array",
-    "UNKOWN_FIELD": "Chave desconhecida: {{key}}",
-    "BASE_TYPE_CONSTANT": "Este campo deve ser {{value}}",
-    "EMAIL_TYPE_INVALID_EMAIL": "Endereço de e-mail formado incorretamente",
-    "DATE_TYPE_PARSE": "Não foi possível analisar {{date}}. Deve ser ISO8601",
-    "BASE_TYPE_BAD_LENGTH": "Deve estar entre {{length}} de comprimento"
+    "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/si/auth.json b/api/locales/si/auth.json
new file mode 100644
index 00000000..e19547a0
--- /dev/null
+++ b/api/locales/si/auth.json
@@ -0,0 +1,16 @@
+{
+	"login": {
+		"INVALID_LOGIN": "E-Mail or Phone not found",
+		"INVALID_PASSWORD": "Invalid Password",
+		"ACCOUNT_DISABLED": "This account is disabled"
+	},
+	"register": {
+		"REGISTRATION_DISABLED": "New user registration is disabled",
+		"INVITE_ONLY": "You must be invited to register",
+		"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 the Terms of Service and Privacy Policy.",
+		"USERNAME_TOO_MANY_USERS": "Too many users have this username, please try another"
+	}
+}
diff --git a/api/locales/si/common.json b/api/locales/si/common.json
new file mode 100644
index 00000000..a565e3dc
--- /dev/null
+++ b/api/locales/si/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/zh/common.json b/api/locales/zh/common.json
index a9e8532e..a565e3dc 100644
--- a/api/locales/zh/common.json
+++ b/api/locales/zh/common.json
@@ -1,18 +1,18 @@
 {
   "field": {
-    "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}} 之间"
+    "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