diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-12 20:09:35 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-12 20:09:35 +0200 |
commit | 08e837bf5559e9680fc8cb99bd05b93f8eb2cac5 (patch) | |
tree | 1eadc038773b025275d7b751265f741b09ca92ab /api/locales/id | |
parent | npm i @fosscord/server-util@1.3.52 (diff) | |
download | server-08e837bf5559e9680fc8cb99bd05b93f8eb2cac5.tar.xz |
:sparkles: api
Diffstat (limited to 'api/locales/id')
-rw-r--r-- | api/locales/id/auth.json | 16 | ||||
-rw-r--r-- | api/locales/id/common.json | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/api/locales/id/auth.json b/api/locales/id/auth.json new file mode 100644 index 00000000..e19547a0 --- /dev/null +++ b/api/locales/id/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/id/common.json b/api/locales/id/common.json new file mode 100644 index 00000000..a565e3dc --- /dev/null +++ b/api/locales/id/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 |