@khoativi/nestjs-class-validator-i18n
Version:
NestJS integration for class-validator with i18n support using Accept-Language headers and customizable locale files.
67 lines • 4.42 kB
JSON
{
"isDefined": "$property không được để trống",
"isOptional": "$property có thể để trống",
"isString": "$property phải là chuỗi",
"isNotEmpty": "$property không được để trống",
"isBoolean": "$property phải là boolean",
"isDate": "$property phải là ngày hợp lệ",
"isNumber": "$property phải là số",
"isInt": "$property phải là số nguyên",
"isPositive": "$property phải là số dương",
"isNegative": "$property phải là số âm",
"min": "$property phải lớn hơn hoặc bằng $constraint1",
"max": "$property phải nhỏ hơn hoặc bằng $constraint1",
"minLength": "$property phải có độ dài tối thiểu $constraint1 ký tự",
"maxLength": "$property phải có độ dài tối đa $constraint1 ký tự",
"length": "$property phải có độ dài từ $constraint1 đến $constraint2 ký tự",
"matches": "$property phải khớp với định dạng $constraint1",
"isEmail": "$property phải là email hợp lệ",
"isUrl": "$property phải là URL hợp lệ",
"isUuid": "$property phải là UUID hợp lệ",
"isEnum": "$property phải là một giá trị hợp lệ",
"isArray": "$property phải là một mảng",
"arrayMinSize": "$property phải có ít nhất $constraint1 phần tử",
"arrayMaxSize": "$property phải có nhiều nhất $constraint1 phần tử",
"arrayContains": "$property phải chứa phần tử $constraint1",
"arrayNotContains": "$property không được chứa phần tử $constraint1",
"arrayUnique": "$property phải chứa các phần tử duy nhất",
"isIn": "$property phải nằm trong [$constraint1]",
"isNotIn": "$property không được nằm trong [$constraint1]",
"isCreditCard": "$property phải là số thẻ tín dụng hợp lệ",
"isPhoneNumber": "$property phải là số điện thoại hợp lệ",
"isLatitude": "$property phải là tọa độ vĩ độ hợp lệ",
"isLongitude": "$property phải là tọa độ kinh độ hợp lệ",
"isMilitaryTime": "$property phải ở định dạng giờ hợp lệ (HH:mm)",
"isBooleanString": "$property phải là chuỗi 'true' hoặc 'false'",
"isDateString": "$property phải là chuỗi ngày hợp lệ",
"isJson": "$property phải là JSON hợp lệ",
"isCreditCardString": "$property phải là chuỗi thẻ tín dụng hợp lệ",
"isByteLength": "$property phải có độ dài byte từ $constraint1 đến $constraint2",
"isLowercase": "$property phải là chữ thường",
"isUppercase": "$property phải là chữ hoa",
"contains": "$property phải chứa chuỗi $constraint1",
"notContains": "$property không được chứa chuỗi $constraint1",
"isMilitaryTimeString": "$property phải ở định dạng giờ hợp lệ (HH:mm)",
"isIso8601": "$property phải là chuỗi ngày giờ ISO8601 hợp lệ",
"isBase64": "$property phải là chuỗi Base64 hợp lệ",
"isBtcAddress": "$property phải là địa chỉ BTC hợp lệ",
"isEthereumAddress": "$property phải là địa chỉ Ethereum hợp lệ",
"isHash": "$property phải là chuỗi băm hợp lệ kiểu $constraint1",
"isHexColor": "$property phải là mã màu hex hợp lệ",
"isIBAN": "$property phải là mã IBAN hợp lệ",
"isIdentityCard": "$property phải là số CMND/CCCD hợp lệ",
"isISO4217CurrencyCode": "$property phải là mã tiền tệ ISO 4217 hợp lệ",
"isIsin": "$property phải là mã ISIN (ISO 6166) hợp lệ",
"isISO31661Alpha2": "$property phải là mã quốc gia ISO 3166-1 alpha-2 hợp lệ",
"isISO31661Alpha3": "$property phải là mã quốc gia ISO 3166-1 alpha-3 hợp lệ",
"isISSN": "$property phải là mã ISSN hợp lệ",
"isJwt": "$property phải là JWT hợp lệ",
"isMagnetURI": "$property phải là magnet URI hợp lệ",
"isMongoId": "$property phải là ObjectId MongoDB hợp lệ",
"isPostalCode": "$property phải là mã bưu chính hợp lệ",
"isRFC3339": "$property phải là chuỗi ngày theo chuẩn RFC 3339",
"isSemVer": "$property phải là phiên bản semver hợp lệ",
"isStrongPassword": "$property phải là mật khẩu mạnh",
"isTimeZone": "$property phải là múi giờ IANA hợp lệ",
"isVariableWidth": "$property phải chứa cả ký tự full-width và half-width"
}