Lines 1-107javascript
1import { i18n } from '@rolster/i18n';
4 alphabetic: 'Campo solo permite caracteres',
5 alphanumber: 'Campo solo permite caracteres y número',
6 checked: 'Campo debe ser seleccionado',
7 decimal: 'Campo debe ser número decimal',
8 defined: 'Campo debe estar definido',
9 email: 'Campo debe ser correo electrónico',
10 greaterThanValue: 'Campo debe tener un valor mayor a {thanValue}',
11 greaterOrEqualsThanValue: 'Campo debe tener un valor mayor o igual a {thanValue}',
12 lessThanValue: 'Campo debe tener un valor menor a {thanValue}',
13 lessOrEqualsThanValue: 'Campo debe tener un valor menor o igual a {thanValue}',
14 maxValue: 'Campo debe tener un valor máximo de {thanValue}',
15 minValue: 'Campo debe tener un valor mínimo de {thanValue}',
16 nickname: 'Campo inválido para nombre de usuario',
17 onlyNumber: 'Campo debe ser númerico',
18 password: 'Campo no permitido para password',
MediumSecret Pattern
Package contains a possible secret pattern.
dist/esm/helpers/language.jsView on unpkg · L18 19 required: 'Campo es requerido',
20 strMinlength: 'Campo debe tener mínimo {length} caracter(es)',
21 strMaxlength: 'Campo debe tener máximo {length} caracter(es)',
22 strReqLength: 'Campo debe tener {length} caracter(es)',
23 textonly: 'Campo solo permite caracteres (sin espacio)',
24 _unknown: 'Campo inválido {error}'
27 alphabetic: 'Field only allows characters',
28 alphanumber: 'Field only allows characters and number',
29 checked: 'Field must be selected',
30 decimal: 'Field must be decimal number',
31 defined: 'Field must be defined',
32 email: 'Field must be email',
33 greaterThanValue: 'Field must have a value greater than {thanValue}',
34 greaterOrEqualsThanValue: 'Field must have a value greater than or equal to {thanValue}',
35 lessThanValue: 'Field must have a value less than {thanValue}',
36 lessOrEqualsThanValue: 'Field must have a value less than or equal to {thanValue}',
37 minValue: 'Field must have a minimum value of {thanValue}',
38 maxValue: 'Field must have a maximum value of {thanValue}',
39 nickname: 'Invalid field for username',
40 onlyNumber: 'Field must be numeric',
41 password: 'Field not allowed for password',
MediumSecret Pattern
Hardcoded password in dist/esm/helpers/language.js
dist/esm/helpers/language.jsView on unpkg · L41 42 strReqLength: 'Field must be {length} characters',
43 required: 'Field is required',
44 strMinlength: 'Field must have minimum {length} characters',
45 strMaxlength: 'Field must have maximum {length} characters',
46 textonly: 'Field only allows characters (no space)',
47 _unknown: 'Invalid field {error}'
50 alphabetic: 'Field only allows characters',
51 alphanumber: 'Field only allows characters and number',
52 checked: 'Field must be selected',
53 decimal: 'Field must be decimal number',
54 defined: 'Field must be defined',
55 email: 'Field must be email',
56 greaterThanValue: 'Field must have a value greater than {thanValue}',
57 greaterOrEqualsThanValue: 'Field must have a value greater than or equal to {thanValue}',
58 lessThanValue: 'Field must have a value less than {thanValue}',
59 lessOrEqualsThanValue: 'Field must have a value less than or equal to {thanValue}',
60 minValue: 'Field must have a minimum value of {thanValue}',
61 maxValue: 'Field must have a maximum value of {thanValue}',
62 nickname: 'Invalid field for username',
63 onlyNumber: 'Field must be numeric',
64 password: 'Field not allowed for password',
MediumSecret Pattern
Hardcoded password in dist/esm/helpers/language.js
dist/esm/helpers/language.jsView on unpkg · L64 65 strReqLength: 'Field must be {length} characters',
66 required: 'Field is required',
67 strMinlength: 'Field must have minimum {length} characters',
68 strMaxlength: 'Field must have maximum {length} characters',
69 textonly: 'Field only allows characters (no space)',
70 _unknown: 'Invalid field {error}'
73 alphabetic: 'Field only allows characters',
74 alphanumber: 'Field only allows characters and number',
75 checked: 'Field must be selected',
76 decimal: 'Field must be decimal number',
77 defined: 'Field must be defined',
78 email: 'Field must be email',
79 greaterThanValue: 'Field must have a value greater than {thanValue}',
80 greaterOrEqualsThanValue: 'Field must have a value greater than or equal to {thanValue}',
81 lessThanValue: 'Field must have a value less than {thanValue}',
82 lessOrEqualsThanValue: 'Field must have a value less than or equal to {thanValue}',
83 minValue: 'Field must have a minimum value of {thanValue}',
84 maxValue: 'Field must have a maximum value of {thanValue}',
85 nickname: 'Invalid field for username',
86 onlyNumber: 'Field must be numeric',
87 password: 'Field not allowed for password',
MediumSecret Pattern
Hardcoded password in dist/esm/helpers/language.js
dist/esm/helpers/language.jsView on unpkg · L87 88 strReqLength: 'Field must be {length} characters',
89 required: 'Field is required',
90 strMinlength: 'Field must have minimum {length} characters',
91 strMaxlength: 'Field must have maximum {length} characters',
92 textonly: 'Field only allows characters (no space)',
93 _unknown: 'Invalid field {error}'
96let _msgErrorsI18n = i18n(errors);
97export function setErrorsI18n(dictionary) {
98 _msgErrorsI18n = i18n(Object.entries(errors).reduce((errors, [key, value]) => {
99 // Merge keys from dictionary in errors i18n
107export function msgErrorsI18n(key, language, interpolators) {