@impelsys/validatorjs 3.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/.eslintrc.js +27 -0
  2. package/CONTRIBUTE.md +34 -0
  3. package/LICENSE +20 -0
  4. package/README.md +607 -0
  5. package/dist/lang/ar.js +66 -0
  6. package/dist/lang/az.js +104 -0
  7. package/dist/lang/be.js +105 -0
  8. package/dist/lang/bg.js +105 -0
  9. package/dist/lang/bs.js +106 -0
  10. package/dist/lang/ca.js +40 -0
  11. package/dist/lang/cs.js +107 -0
  12. package/dist/lang/cy.js +106 -0
  13. package/dist/lang/da.js +51 -0
  14. package/dist/lang/de.js +46 -0
  15. package/dist/lang/el.js +43 -0
  16. package/dist/lang/en.js +54 -0
  17. package/dist/lang/es.js +40 -0
  18. package/dist/lang/et.js +106 -0
  19. package/dist/lang/eu.js +106 -0
  20. package/dist/lang/fa.js +42 -0
  21. package/dist/lang/fi.js +51 -0
  22. package/dist/lang/fr.js +40 -0
  23. package/dist/lang/hr.js +106 -0
  24. package/dist/lang/hu.js +106 -0
  25. package/dist/lang/id.js +51 -0
  26. package/dist/lang/it.js +41 -0
  27. package/dist/lang/ja.js +54 -0
  28. package/dist/lang/ka.js +106 -0
  29. package/dist/lang/ko.js +106 -0
  30. package/dist/lang/lt.js +106 -0
  31. package/dist/lang/lv.js +106 -0
  32. package/dist/lang/mk.js +106 -0
  33. package/dist/lang/mn.js +106 -0
  34. package/dist/lang/ms.js +106 -0
  35. package/dist/lang/nb_NO.js +42 -0
  36. package/dist/lang/nl.js +51 -0
  37. package/dist/lang/pl.js +42 -0
  38. package/dist/lang/pt.js +110 -0
  39. package/dist/lang/pt_BR.js +105 -0
  40. package/dist/lang/ro.js +51 -0
  41. package/dist/lang/ru.js +40 -0
  42. package/dist/lang/se.js +106 -0
  43. package/dist/lang/sl.js +106 -0
  44. package/dist/lang/sq.js +106 -0
  45. package/dist/lang/sr.js +106 -0
  46. package/dist/lang/sv.js +105 -0
  47. package/dist/lang/tr.js +51 -0
  48. package/dist/lang/ua.js +40 -0
  49. package/dist/lang/uk.js +106 -0
  50. package/dist/lang/vi.js +42 -0
  51. package/dist/lang/zh.js +42 -0
  52. package/dist/lang/zh_TW.js +42 -0
  53. package/dist/validator.js +2183 -0
  54. package/package.json +78 -0
  55. package/src/async.js +81 -0
  56. package/src/attributes.js +199 -0
  57. package/src/errors.js +77 -0
  58. package/src/lang/ar.js +63 -0
  59. package/src/lang/az.js +101 -0
  60. package/src/lang/be.js +102 -0
  61. package/src/lang/bg.js +102 -0
  62. package/src/lang/bs.js +103 -0
  63. package/src/lang/ca.js +37 -0
  64. package/src/lang/cs.js +104 -0
  65. package/src/lang/cy.js +103 -0
  66. package/src/lang/da.js +48 -0
  67. package/src/lang/de.js +43 -0
  68. package/src/lang/el.js +40 -0
  69. package/src/lang/en.js +51 -0
  70. package/src/lang/es.js +37 -0
  71. package/src/lang/et.js +103 -0
  72. package/src/lang/eu.js +103 -0
  73. package/src/lang/fa.js +39 -0
  74. package/src/lang/fi.js +48 -0
  75. package/src/lang/fr.js +37 -0
  76. package/src/lang/hr.js +103 -0
  77. package/src/lang/hu.js +103 -0
  78. package/src/lang/id.js +48 -0
  79. package/src/lang/it.js +38 -0
  80. package/src/lang/ja.js +51 -0
  81. package/src/lang/ka.js +103 -0
  82. package/src/lang/ko.js +103 -0
  83. package/src/lang/lt.js +103 -0
  84. package/src/lang/lv.js +103 -0
  85. package/src/lang/mk.js +103 -0
  86. package/src/lang/mn.js +103 -0
  87. package/src/lang/ms.js +103 -0
  88. package/src/lang/nb_NO.js +39 -0
  89. package/src/lang/nl.js +48 -0
  90. package/src/lang/pl.js +39 -0
  91. package/src/lang/pt.js +107 -0
  92. package/src/lang/pt_BR.js +102 -0
  93. package/src/lang/ro.js +48 -0
  94. package/src/lang/ru.js +37 -0
  95. package/src/lang/se.js +47 -0
  96. package/src/lang/sl.js +103 -0
  97. package/src/lang/sq.js +103 -0
  98. package/src/lang/sr.js +103 -0
  99. package/src/lang/sv.js +102 -0
  100. package/src/lang/tr.js +48 -0
  101. package/src/lang/ua.js +37 -0
  102. package/src/lang/uk.js +103 -0
  103. package/src/lang/vi.js +39 -0
  104. package/src/lang/zh.js +39 -0
  105. package/src/lang/zh_TW.js +39 -0
  106. package/src/lang.js +78 -0
  107. package/src/messages.js +152 -0
  108. package/src/rules.js +864 -0
  109. package/src/validator.js +662 -0
@@ -0,0 +1,102 @@
1
+ module.exports = {
2
+ accepted: "O campo :attribute deve ser aceito.",
3
+ active_url: "O campo :attribute deve conter uma URL válida.",
4
+ after: "O campo :attribute deve conter uma data posterior a :date.",
5
+ after_or_equal: "O campo :attribute deve conter uma data superior ou igual a :date.",
6
+ alpha: "O campo :attribute deve conter apenas letras.",
7
+ alpha_dash: "O campo :attribute deve conter apenas letras, números e traços.",
8
+ alpha_num: "O campo :attribute deve conter apenas letras e números .",
9
+ array: "O campo :attribute deve conter um array.",
10
+ before: "O campo :attribute deve conter uma data anterior a :date.",
11
+ before_or_equal: "O campo :attribute deve conter uma data inferior ou igual a :date.",
12
+ between: {
13
+ numeric: "O campo :attribute deve conter um número entre :min e :max.",
14
+ file: "O campo :attribute deve conter um arquivo de :min a :max kilobytes.",
15
+ string: "O campo :attribute deve conter entre :min a :max caracteres.",
16
+ array: "O campo :attribute deve conter de :min a :max itens."
17
+ },
18
+ boolean: "O campo :attribute deve conter o valor verdadeiro ou falso.",
19
+ confirmed: "A confirmação para o campo :attribute não coincide.",
20
+ date: "O campo :attribute não contém uma data válida.",
21
+ date_format: "A data informada para o campo :attribute não respeita o formato :format.",
22
+ different: "Os campos :attribute e :other devem conter valores diferentes.",
23
+ digits: "O campo :attribute deve conter :digits dígitos.",
24
+ digits_between: "O campo :attribute deve conter entre :min a :max dígitos.",
25
+ dimensions: "O valor informado para o campo :attribute não é uma dimensão de imagem válida.",
26
+ distinct: "O campo :attribute contém um valor duplicado.",
27
+ email: "O campo :attribute não contém um endereço de email válido.",
28
+ exists: "O valor selecionado para o campo :attribute é inválido.",
29
+ file: "O campo :attribute deve conter um arquivo.",
30
+ filled: "O campo :attribute é obrigatório.",
31
+ gt: {
32
+ numeric: "O campo :attribute deve ser maior que :value.",
33
+ file: "O arquivo :attribute deve ser maior que :value kilobytes.",
34
+ string: "O campo :attribute deve ser maior que :value caracteres.",
35
+ array: "O campo :attribute deve ter mais que :value itens."
36
+ },
37
+ gte: {
38
+ numeric: "O campo :attribute deve ser maior ou igual a :value.",
39
+ file: "O arquivo :attribute deve ser maior ou igual a :value kilobytes.",
40
+ string: "O campo :attribute deve ser maior ou igual a :value caracteres.",
41
+ array: "O campo :attribute deve ter :value itens ou mais."
42
+ },
43
+ hex: "The :attribute field should have hexadecimal format",
44
+ image: "O campo :attribute deve conter uma imagem.",
45
+ in: "O campo :attribute não contém um valor válido.",
46
+ in_array: "O campo :attribute não existe em :other.",
47
+ integer: "O campo :attribute deve conter um número inteiro.",
48
+ ip: "O campo :attribute deve conter um IP válido.",
49
+ ipv4: "O campo :attribute deve conter um IPv4 válido.",
50
+ ipv6: "O campo :attribute deve conter um IPv6 válido.",
51
+ json: "O campo :attribute deve conter uma string JSON válida.",
52
+ lt: {
53
+ numeric: "O campo :attribute deve ser menor que :value.",
54
+ file: "O arquivo :attribute ser menor que :value kilobytes.",
55
+ string: "O campo :attribute deve ser menor que :value caracteres.",
56
+ array: "O campo :attribute deve ter menos que :value itens."
57
+ },
58
+ lte: {
59
+ numeric: "O campo :attribute deve ser menor ou igual a :value.",
60
+ file: "O arquivo :attribute ser menor ou igual a :value kilobytes.",
61
+ string: "O campo :attribute deve ser menor ou igual a :value caracteres.",
62
+ array: "O campo :attribute não deve ter mais que :value itens."
63
+ },
64
+ max: {
65
+ numeric: "O campo :attribute não pode conter um valor superior a :max.",
66
+ file: "O campo :attribute não pode conter um arquivo com mais de :max kilobytes.",
67
+ string: "O campo :attribute não pode conter mais de :max caracteres.",
68
+ array: "O campo :attribute deve conter no máximo :max itens."
69
+ },
70
+ mimes: "O campo :attribute deve conter um arquivo do tipo: :values.",
71
+ mimetypes: "O campo :attribute deve conter um arquivo do tipo: :values.",
72
+ min: {
73
+ numeric: "O campo :attribute deve conter um número superior ou igual a :min.",
74
+ file: "O campo :attribute deve conter um arquivo com no mínimo :min kilobytes.",
75
+ string: "O campo :attribute deve conter no mínimo :min caracteres.",
76
+ array: "O campo :attribute deve conter no mínimo :min itens."
77
+ },
78
+ not_in: "O campo :attribute contém um valor inválido.",
79
+ not_regex: "O formato do valor :attribute é inválido.",
80
+ numeric: "O campo :attribute deve conter um valor numérico.",
81
+ present: "O campo :attribute deve estar presente.",
82
+ regex: "O formato do valor informado no campo :attribute é inválido.",
83
+ required: "O campo :attribute é obrigatório.",
84
+ required_if: "O campo :attribute é obrigatório quando o valor do campo :other é igual a :value.",
85
+ required_unless: "O campo :attribute é obrigatório a menos que :other esteja presente em :values.",
86
+ required_with: "O campo :attribute é obrigatório quando :values está presente.",
87
+ required_with_all: "O campo :attribute é obrigatório quando um dos :values está presente.",
88
+ required_without: "O campo :attribute é obrigatório quando :values não está presente.",
89
+ required_without_all: "O campo :attribute é obrigatório quando nenhum dos :values está presente.",
90
+ same: "Os campos :attribute e :other devem conter valores iguais.",
91
+ size: {
92
+ numeric: "O campo :attribute deve conter o número :size.",
93
+ file: "O campo :attribute deve conter um arquivo com o tamanho de :size kilobytes.",
94
+ string: "O campo :attribute deve conter :size caracteres.",
95
+ array: "O campo :attribute deve conter :size itens."
96
+ },
97
+ string: "O campo :attribute deve ser uma string.",
98
+ timezone: "O campo :attribute deve conter um fuso horário válido.",
99
+ unique: "O valor informado para o campo :attribute já está em uso.",
100
+ uploaded: "Falha no Upload do arquivo :attribute.",
101
+ url: "O formato da URL informada para o campo :attribute é inválido."
102
+ };
package/src/lang/ro.js ADDED
@@ -0,0 +1,48 @@
1
+ module.exports = {
2
+ accepted: ':attribute trebuie acceptat.',
3
+ after: ':attribute trebuie să fie după :after.',
4
+ after_or_equal: ':attribute trebuie să fie egal sau după :after_or_equal.',
5
+ alpha: 'Câmpul :attribute rebuie să conțină numai caractere alfabetice.',
6
+ alpha_dash: 'Câmpul:attribute poate conține numai caractere alfanumerice, precum și liniuțe și subliniere.',
7
+ alpha_num: 'Câmpul :attribute trebuie să fie alfanumeric.',
8
+ before: ':attribute trebuie să fie înainte :before.',
9
+ before_or_equal: ':attribute trebuie să fie egal sau înainte :before_or_equal.',
10
+ between: ':attribute trebuie să fie între :min și :max.',
11
+ confirmed: 'Confirmarea :attribute nu se potrivește.',
12
+ email: 'Formatul :attribute nu este valid.',
13
+ date: ':attribute nu este un format de dată valid.',
14
+ def: 'Atributul :attribute are erori.',
15
+ digits: ':attribute trebuie să aibă :digits cifre.',
16
+ digits_between: 'Câmpul :attribute trebuie să aibă între :min și :max cifre.',
17
+ different: ':attribute și :different trebuie sa fie diferite.',
18
+ in: 'Atributul selectat :attribute nu este valid.',
19
+ integer: ':attribute trebuie să fie un număr întreg.',
20
+ hex: 'Câmpul :attribute trebuie să aibă format hexazecimal.',
21
+ min: {
22
+ numeric: ':attribute trebuie să fie mai mare de :min.',
23
+ string: ':attribute trebuie să contină cel puțin :min caractere.'
24
+ },
25
+ max: {
26
+ numeric: ':attribute nu trebuie să fie mai mare de :max.',
27
+ string: ':attribute poate să contină maxim :max caractere.'
28
+ },
29
+ not_in: ':attribute selectat nu este valid.',
30
+ numeric: ':attribute trebuie sa fie un număr.',
31
+ present: ':attribute trebuie sa fie prezent(dar poate fi gol).',
32
+ required: ' Câmpul :attribute este obligatoriu.',
33
+ required_if: 'Câmpul :attribute este obligatoriu cănd :other este :value.',
34
+ required_unless: 'Câmpul :attribute este obligatoriu cănd :other nu este :value.',
35
+ required_with: 'Câmpul :attribute este obligatoriu cănd :field este completat.',
36
+ required_with_all: 'Câmpul :attribute este obligatoriu cănd :fields sunt completate.',
37
+ required_without: 'Câmpul :attribute este obligatoriu cănd :field nu este completat.',
38
+ required_without_all: 'Câmpul :attribute este obligatoriu cănd :fields nu sunt completate.',
39
+ same: 'Câmpurile :attribute și :same trebuie să fie egale.',
40
+ size: {
41
+ numeric: ':attribute trebuie să fie :size.',
42
+ string: ':attribute trebuie să contina :size caractere.'
43
+ },
44
+ string: ':attribute trebuie să fie un contina doar caractere alfabetice.',
45
+ url: 'Formatul :attribute nu este valid.',
46
+ regex: 'Formatul :attribute nu este valid.',
47
+ attributes: {}
48
+ };
package/src/lang/ru.js ADDED
@@ -0,0 +1,37 @@
1
+ module.exports = {
2
+ accepted: 'Вы должны принять :attribute.',
3
+ alpha: 'Поле :attribute может содержать только буквы.',
4
+ alpha_dash: 'Поле :attribute может содержать только буквы, цифры, дефисы и символы подчёркивания.',
5
+ alpha_num: 'Поле :attribute может содержать только буквы и цифры.',
6
+ between: 'Поле :attribute должно быть между :min и :max.',
7
+ confirmed: 'Поле :attribute не совпадает с подтверждением.',
8
+ email: 'Поле :attribute должно быть действительным электронным адресом.',
9
+ def: 'Поле :attribute содержит ошибки.',
10
+ digits: 'Длина цифрового поля :attribute должна быть :digits.',
11
+ digits_between: 'Длинна цифрового поля :attribute должна быть от :min до :max знаков.',
12
+ different: 'Поля :attribute и :different должны различаться.',
13
+ in: 'Выбранное значение для :attribute ошибочно.',
14
+ integer: 'Поле :attribute должно быть целым числом.',
15
+ hex: 'Поле :attribute должно иметь шестнадцатеричный формат',
16
+ min: {
17
+ numeric: 'Значение поля :attribute должно быть больше или равно :min.',
18
+ string: 'Количество символов в поле :attribute должно быть не менее :min.'
19
+ },
20
+ max: {
21
+ numeric: 'Значение поля :attribute должно быть меньше или равно :max.',
22
+ string: 'Количество символов в поле :attribute не может превышать :max.'
23
+ },
24
+ not_in: 'Выбранное значение для :attribute ошибочно.',
25
+ numeric: 'Поле :attribute должно быть числом.',
26
+ present: 'Поле :attribute должно присутствовать (но может быть пустым).',
27
+ required: 'Поле :attribute обязательно для заполнения.',
28
+ required_if: 'Поле :attribute требуется когда значения поля :other равно :value.',
29
+ same: 'Значение :attribute должно совпадать с :same.',
30
+ size: {
31
+ numeric: 'Значение поля :attribute должно быть равным :size.',
32
+ string: 'Количество символов в поле :attribute должно быть равно :size.'
33
+ },
34
+ url: 'Поле :attribute должно содержать валидный URL.',
35
+ regex: 'Неверный формат поля :attribute.',
36
+ attributes: {}
37
+ };
package/src/lang/se.js ADDED
@@ -0,0 +1,47 @@
1
+ module.exports = {
2
+ accepted: ':attribute måste vara accepterat.',
3
+ after: ':attribute måste vara efter :after.',
4
+ after_or_equal: ':attribute måste vara samtidigt eller efter :after_or_equal.',
5
+ alpha: ':attribute får bara bestå av bokstäver.',
6
+ alpha_dash: ':attribute får bara bestå av alfanumeriska tecken, bindestreck och understreck.',
7
+ alpha_num: ':attribute får bara bestå av alfanumeriska tecken',
8
+ before: ':attribute måste vara före :before.',
9
+ before_or_equal: ':attribute måste vara samtidigt eller före :before_or_equal.',
10
+ between: ':attribute måste vara mellan :min och :max.',
11
+ confirmed: ':attribute stämmer inte överens med bekräftelsefältet.',
12
+ email: 'Felaktigt format för :attribute.',
13
+ date: ':attribute är inte ett giltigt datum.',
14
+ def: 'Attributet :attribute innehåller fel.',
15
+ digits: ':attribute ska innehålla :digits siffror.',
16
+ different: ':attribute och :different måste vara olika.',
17
+ in: 'Det valda :attribute är ogiltigt.',
18
+ integer: ':attribute måste vara ett heltal.',
19
+ hex: ':attribute måste vara i hexadecimalt format',
20
+ min: {
21
+ numeric: ':attribute måste vara minst :min.',
22
+ string: ':attribute måste vara minst :min tecken.'
23
+ },
24
+ max: {
25
+ numeric: ':attribute får inte vara högre än :max.',
26
+ string: ':attribute får inte innehålla fler än :max tecken.'
27
+ },
28
+ not_in: 'Det valda attributet :attribute är ogiltigt',
29
+ numeric: ':attribute måste vara en siffra.',
30
+ present: ':attribute måste vara tillgängligt.',
31
+ required: ':attribute måste vara ifyllt.',
32
+ required_if: ':attribute måste vara ifyllt när :other är :value.',
33
+ required_unless: ':attribute måste vara ifyllt när :other inte är :value.',
34
+ required_with: ':attribute måste vara ifyllt när :field är ifyllt.',
35
+ required_with_all: ':attribute måste vara ifyllt när :fields är ifyllda.',
36
+ required_without: ':attribute måste vara ifyllt när :field inte är ifyllt.',
37
+ required_without_all: ':attribute måste vara ifyllt när ingen av :fields är ifyllda.',
38
+ same: ':attribute och :same måste matcha.',
39
+ size: {
40
+ numeric: ':attribute måste vara :size.',
41
+ string: ':attribute måste vara :size tecken lång.'
42
+ },
43
+ string: ':attribute måste vara en sträng.',
44
+ url: ':attribute formatet är ogiltigt.',
45
+ regex: ':attribute formatet är ogiltigt.',
46
+ attributes: {}
47
+ };
package/src/lang/sl.js ADDED
@@ -0,0 +1,103 @@
1
+ module.exports = {
2
+ accepted: ":attribute mora biti sprejet.",
3
+ active_url: ":attribute ni pravilen.",
4
+ after: ":attribute mora biti za datumom :date.",
5
+ after_or_equal: ":attribute mora biti za ali enak :date.",
6
+ alpha: ":attribute lahko vsebuje samo črke.",
7
+ alpha_dash: ":attribute lahko vsebuje samo črke, številke in črtice.",
8
+ alpha_num: ":attribute lahko vsebuje samo črke in številke.",
9
+ attributes: {},
10
+ array: ":attribute mora biti polje.",
11
+ before: ":attribute mora biti pred datumom :date.",
12
+ before_or_equal: ":attribute mora biti pred ali enak :date.",
13
+ between: {
14
+ numeric: ":attribute mora biti med :min in :max.",
15
+ file: ":attribute mora biti med :min in :max kilobajti.",
16
+ string: ":attribute mora biti med :min in :max znaki.",
17
+ array: ":attribute mora imeti med :min in :max elementov."
18
+ },
19
+ boolean: ":attribute polje mora biti 1 ali 0",
20
+ confirmed: ":attribute potrditev se ne ujema.",
21
+ date: ":attribute ni veljaven datum.",
22
+ date_format: ":attribute se ne ujema z obliko :format.",
23
+ different: ":attribute in :other mora biti drugačen.",
24
+ digits: ":attribute mora imeti :digits cifer.",
25
+ digits_between: ":attribute mora biti med :min in :max ciframi.",
26
+ dimensions: ":attribute ima napačne dimenzije slike.",
27
+ distinct: ":attribute je duplikat.",
28
+ email: ":attribute mora biti veljaven e-poštni naslov.",
29
+ exists: "izbran :attribute je neveljaven.",
30
+ file: ":attribute mora biti datoteka.",
31
+ filled: ":attribute mora biti izpolnjen.",
32
+ gt: {
33
+ numeric: "The :attribute must be greater than :value.",
34
+ file: "The :attribute must be greater than :value kilobytes.",
35
+ string: "The :attribute must be greater than :value characters.",
36
+ array: "The :attribute must have more than :value items."
37
+ },
38
+ gte: {
39
+ numeric: "The :attribute must be greater than or equal :value.",
40
+ file: "The :attribute must be greater than or equal :value kilobytes.",
41
+ string: "The :attribute must be greater than or equal :value characters.",
42
+ array: "The :attribute must have :value items or more."
43
+ },
44
+ hex: "The :attribute field should have hexadecimal format",
45
+ image: ":attribute mora biti slika.",
46
+ in: "izbran :attribute je neveljaven.",
47
+ in_array: ":attribute ne obstaja v :other.",
48
+ integer: ":attribute mora biti število.",
49
+ ip: ":attribute mora biti veljaven IP naslov.",
50
+ ipv4: ":attribute mora biti veljaven IPv4 naslov.",
51
+ ipv6: ":attribute mora biti veljaven IPv6 naslov.",
52
+ json: ":attribute mora biti veljaven JSON tekst.",
53
+ lt: {
54
+ numeric: "The :attribute must be less than :value.",
55
+ file: "The :attribute must be less than :value kilobytes.",
56
+ string: "The :attribute must be less than :value characters.",
57
+ array: "The :attribute must have less than :value items."
58
+ },
59
+ lte: {
60
+ numeric: "The :attribute must be less than or equal :value.",
61
+ file: "The :attribute must be less than or equal :value kilobytes.",
62
+ string: "The :attribute must be less than or equal :value characters.",
63
+ array: "The :attribute must not have more than :value items."
64
+ },
65
+ max: {
66
+ numeric: ":attribute ne sme biti večje od :max.",
67
+ file: ":attribute ne sme biti večje :max kilobajtov.",
68
+ string: ":attribute ne sme biti večje :max znakov.",
69
+ array: ":attribute ne smejo imeti več kot :max elementov."
70
+ },
71
+ mimes: ":attribute mora biti datoteka tipa: :values.",
72
+ mimetypes: ":attribute mora biti datoteka tipa: :values.",
73
+ min: {
74
+ numeric: ":attribute mora biti vsaj dolžine :min.",
75
+ file: ":attribute mora imeti vsaj :min kilobajtov.",
76
+ string: ":attribute mora imeti vsaj :min znakov.",
77
+ array: ":attribute mora imeti vsaj :min elementov."
78
+ },
79
+ not_in: "izbran :attribute je neveljaven.",
80
+ not_regex: "The :attribute format is invalid.",
81
+ numeric: ":attribute mora biti število.",
82
+ present: "Polje :attribute mora biti prisotno.",
83
+ regex: "Format polja :attribute je neveljaven.",
84
+ required: "Polje :attribute je obvezno.",
85
+ required_if: "Polje :attribute je obvezno, če je :other enak :value.",
86
+ required_unless: "Polje :attribute je obvezno, razen če je :other v :values.",
87
+ required_with: "Polje :attribute je obvezno, če je :values prisoten.",
88
+ required_with_all: "Polje :attribute je obvezno, če so :values prisoten.",
89
+ required_without: "Polje :attribute je obvezno, če :values ni prisoten.",
90
+ required_without_all: "Polje :attribute je obvezno, če :values niso prisotni.",
91
+ same: "Polje :attribute in :other se morata ujemati.",
92
+ size: {
93
+ numeric: ":attribute mora biti :size.",
94
+ file: ":attribute mora biti :size kilobajtov.",
95
+ string: ":attribute mora biti :size znakov.",
96
+ array: ":attribute mora vsebovati :size elementov."
97
+ },
98
+ string: ":attribute mora biti tekst.",
99
+ timezone: ":attribute mora biti časovna cona.",
100
+ unique: ":attribute je že zaseden.",
101
+ uploaded: "Nalaganje :attribute ni uspelo.",
102
+ url: ":attribute format je neveljaven."
103
+ };
package/src/lang/sq.js ADDED
@@ -0,0 +1,103 @@
1
+ module.exports = {
2
+ accepted: ":attribute duhet të pranohet.",
3
+ active_url: ":attribute nuk është adresë e saktë.",
4
+ after: ":attribute duhet të jetë datë pas :date.",
5
+ after_or_equal: "The :attribute must be a date after or equal to :date.",
6
+ alpha: ":attribute mund të përmbajë vetëm shkronja.",
7
+ alpha_dash: ":attribute mund të përmbajë vetëm shkronja, numra, dhe viza.",
8
+ alpha_num: ":attribute mund të përmbajë vetëm shkronja dhe numra.",
9
+ attributes: {},
10
+ array: ":attribute duhet të jetë një bashkësi (array).",
11
+ before: ":attribute duhet të jetë datë para :date.",
12
+ before_or_equal: "The :attribute must be a date before or equal to :date.",
13
+ between: {
14
+ numeric: ":attribute duhet të jetë midis :min - :max.",
15
+ file: ":attribute duhet të jetë midis :min - :max kilobajtëve.",
16
+ string: ":attribute duhet të jetë midis :min - :max karaktereve.",
17
+ array: ":attribute duhet të jetë midis :min - :max elementëve."
18
+ },
19
+ boolean: "Fusha :attribute duhet të jetë e vërtetë ose e gabuar",
20
+ confirmed: ":attribute konfirmimi nuk përputhet.",
21
+ date: ":attribute nuk është një datë e saktë.",
22
+ date_format: ":attribute nuk i përshtatet formatit :format.",
23
+ different: ":attribute dhe :other duhet të jenë të ndryshme.",
24
+ digits: ":attribute duhet të jetë :digits shifra.",
25
+ digits_between: ":attribute duhet të jetë midis :min dhe :max shifra.",
26
+ dimensions: "The :attribute has invalid image dimensions.",
27
+ distinct: "The :attribute field has a duplicate value.",
28
+ email: ":attribute formati është i pasaktë.",
29
+ exists: ":attribute përzgjedhur është i/e pasaktë.",
30
+ file: "The :attribute must be a file.",
31
+ filled: "Fusha :attribute është e kërkuar.",
32
+ gt: {
33
+ numeric: "The :attribute must be greater than :value.",
34
+ file: "The :attribute must be greater than :value kilobytes.",
35
+ string: "The :attribute must be greater than :value characters.",
36
+ array: "The :attribute must have more than :value items."
37
+ },
38
+ gte: {
39
+ numeric: "The :attribute must be greater than or equal :value.",
40
+ file: "The :attribute must be greater than or equal :value kilobytes.",
41
+ string: "The :attribute must be greater than or equal :value characters.",
42
+ array: "The :attribute must have :value items or more."
43
+ },
44
+ hex: "The :attribute field should have hexadecimal format",
45
+ image: ":attribute duhet të jetë imazh.",
46
+ in: ":attribute përzgjedhur është i/e pasaktë.",
47
+ in_array: "The :attribute field does not exist in :other.",
48
+ integer: ":attribute duhet të jetë numër i plotë.",
49
+ ip: ":attribute duhet të jetë një IP adresë e saktë.",
50
+ ipv4: "The :attribute must be a valid IPv4 address.",
51
+ ipv6: "The :attribute must be a valid IPv6 address.",
52
+ json: "The :attribute must be a valid JSON string.",
53
+ lt: {
54
+ numeric: "The :attribute must be less than :value.",
55
+ file: "The :attribute must be less than :value kilobytes.",
56
+ string: "The :attribute must be less than :value characters.",
57
+ array: "The :attribute must have less than :value items."
58
+ },
59
+ lte: {
60
+ numeric: "The :attribute must be less than or equal :value.",
61
+ file: "The :attribute must be less than or equal :value kilobytes.",
62
+ string: "The :attribute must be less than or equal :value characters.",
63
+ array: "The :attribute must not have more than :value items."
64
+ },
65
+ max: {
66
+ numeric: ":attribute nuk mund të jetë më tepër se :max.",
67
+ file: ":attribute nuk mund të jetë më tepër se :max kilobajtë.",
68
+ string: ":attribute nuk mund të jetë më tepër se :max karaktere.",
69
+ array: ":attribute nuk mund të ketë më tepër se :max elemente."
70
+ },
71
+ mimes: ":attribute duhet të jetë një dokument i tipit: :values.",
72
+ mimetypes: ":attribute duhet të jetë një dokument i tipit: :values.",
73
+ min: {
74
+ numeric: ":attribute nuk mund të jetë më pak se :min.",
75
+ file: ":attribute nuk mund të jetë më pak se :min kilobajtë.",
76
+ string: ":attribute nuk mund të jetë më pak se :min karaktere.",
77
+ array: ":attribute nuk mund të ketë më pak se :min elemente."
78
+ },
79
+ not_in: ":attribute përzgjedhur është i/e pasaktë.",
80
+ not_regex: "The :attribute format is invalid.",
81
+ numeric: ":attribute duhet të jetë një numër.",
82
+ present: "The :attribute field must be present.",
83
+ regex: "Formati i :attribute është i pasaktë.",
84
+ required: "Fusha :attribute është e kërkuar.",
85
+ required_if: "Fusha :attribute është e kërkuar kur :other është :value.",
86
+ required_unless: "The :attribute field is required unless :other is in :values.",
87
+ required_with: "Fusha :attribute është e kërkuar kur :values ekziston.",
88
+ required_with_all: "Fusha :attribute është e kërkuar kur :values ekziston.",
89
+ required_without: "Fusha :attribute është e kërkuar kur :values nuk ekziston.",
90
+ required_without_all: "Fusha :attribute është e kërkuar kur nuk ekziston asnjë nga :values.",
91
+ same: ":attribute dhe :other duhet të përputhen.",
92
+ size: {
93
+ numeric: ":attribute duhet të jetë :size.",
94
+ file: ":attribute duhet të jetë :size kilobajtë.",
95
+ string: ":attribute duhet të jetë :size karaktere.",
96
+ array: ":attribute duhet të ketë :size elemente."
97
+ },
98
+ string: ":attribute duhet të jetë varg.",
99
+ timezone: ":attribute duhet të jetë zonë e saktë.",
100
+ unique: ":attribute është marrë tashmë.",
101
+ uploaded: "The :attribute failed to upload.",
102
+ url: "Formati i :attribute është i pasaktë."
103
+ };
package/src/lang/sr.js ADDED
@@ -0,0 +1,103 @@
1
+ module.exports = {
2
+ accepted: "Polje :attribute mora biti prihvaćeno.",
3
+ active_url: "Polje :attribute nije validan URL.",
4
+ after: "Polje :attribute mora biti datum posle :date.",
5
+ after_or_equal: "The :attribute must be a date after or equal to :date.",
6
+ alpha: "Polje :attribute može sadržati samo slova.",
7
+ alpha_dash: "Polje :attribute može sadržati samo slova, brojeve i povlake.",
8
+ alpha_num: "Polje :attribute može sadržati samo slova i brojeve.",
9
+ attributes: {},
10
+ array: "Polje :attribute mora sadržati nekih niz stavki.",
11
+ before: "Polje :attribute mora biti datum pre :date.",
12
+ before_or_equal: "The :attribute must be a date before or equal to :date.",
13
+ between: {
14
+ numeric: "Polje :attribute mora biti između :min - :max.",
15
+ file: "Fajl :attribute mora biti između :min - :max kilobajta.",
16
+ string: "Polje :attribute mora biti između :min - :max karaktera.",
17
+ array: "Polje :attribute mora biti između :min - :max stavki."
18
+ },
19
+ boolean: "Polje :attribute mora biti tačno ili netačno",
20
+ confirmed: "Potvrda polja :attribute se ne poklapa.",
21
+ date: "Polje :attribute nije važeći datum.",
22
+ date_format: "Polje :attribute ne odgovora prema formatu :format.",
23
+ different: "Polja :attribute i :other moraju biti različita.",
24
+ digits: "Polje :attribute mora sadržati :digits šifri.",
25
+ digits_between: "Polje :attribute mora biti izemđu :min i :max šifri.",
26
+ dimensions: "The :attribute has invalid image dimensions.",
27
+ distinct: "The :attribute field has a duplicate value.",
28
+ email: "Format polja :attribute nije validan.",
29
+ exists: "Odabrano polje :attribute nije validno.",
30
+ file: "The :attribute must be a file.",
31
+ filled: "Polje :attribute je obavezno.",
32
+ gt: {
33
+ numeric: "The :attribute must be greater than :value.",
34
+ file: "The :attribute must be greater than :value kilobytes.",
35
+ string: "The :attribute must be greater than :value characters.",
36
+ array: "The :attribute must have more than :value items."
37
+ },
38
+ gte: {
39
+ numeric: "The :attribute must be greater than or equal :value.",
40
+ file: "The :attribute must be greater than or equal :value kilobytes.",
41
+ string: "The :attribute must be greater than or equal :value characters.",
42
+ array: "The :attribute must have :value items or more."
43
+ },
44
+ hex: "The :attribute field should have hexadecimal format",
45
+ image: "Polje :attribute mora biti slika.",
46
+ in: "Odabrano polje :attribute nije validno.",
47
+ in_array: "The :attribute field does not exist in :other.",
48
+ integer: "Polje :attribute mora biti broj.",
49
+ ip: "Polje :attribute mora biti validna IP adresa.",
50
+ ipv4: "The :attribute must be a valid IPv4 address.",
51
+ ipv6: "The :attribute must be a valid IPv6 address.",
52
+ json: "The :attribute must be a valid JSON string.",
53
+ lt: {
54
+ numeric: "The :attribute must be less than :value.",
55
+ file: "The :attribute must be less than :value kilobytes.",
56
+ string: "The :attribute must be less than :value characters.",
57
+ array: "The :attribute must have less than :value items."
58
+ },
59
+ lte: {
60
+ numeric: "The :attribute must be less than or equal :value.",
61
+ file: "The :attribute must be less than or equal :value kilobytes.",
62
+ string: "The :attribute must be less than or equal :value characters.",
63
+ array: "The :attribute must not have more than :value items."
64
+ },
65
+ max: {
66
+ numeric: "Polje :attribute mora biti manje od :max.",
67
+ file: "Polje :attribute mora biti manje od :max kilobajta.",
68
+ string: "Polje :attribute mora sadržati manje od :max karaktera.",
69
+ array: "Polje :attribute ne smije da image više od :max stavki."
70
+ },
71
+ mimes: "Polje :attribute mora biti fajl tipa: :values.",
72
+ mimetypes: "Polje :attribute mora biti fajl tipa: :values.",
73
+ min: {
74
+ numeric: "Polje :attribute mora biti najmanje :min.",
75
+ file: "Fajl :attribute mora biti najmanje :min kilobajta.",
76
+ string: "Polje :attribute mora sadržati najmanje :min karaktera.",
77
+ array: "Polje :attribute mora sadrzati najmanje :min stavku."
78
+ },
79
+ not_in: "Odabrani element polja :attribute nije validan.",
80
+ not_regex: "The :attribute format is invalid.",
81
+ numeric: "Polje :attribute mora biti broj.",
82
+ present: "The :attribute field must be present.",
83
+ regex: "Format polja :attribute nije validan.",
84
+ required: "Polje :attribute je obavezno.",
85
+ required_if: "Polje :attribute je potrebno kada polje :other sadrži :value.",
86
+ required_unless: "The :attribute field is required unless :other is in :values.",
87
+ required_with: "Polje :attribute je potrebno kada polje :values je prisutan.",
88
+ required_with_all: "Polje :attribute je obavezno kada je :values prikazano.",
89
+ required_without: "Polje :attribute je potrebno kada polje :values nije prisutan.",
90
+ required_without_all: "Polje :attribute je potrebno kada nijedan od sledeći polja :values nisu prisutni.",
91
+ same: "Polja :attribute i :other se moraju poklapati.",
92
+ size: {
93
+ numeric: "Polje :attribute mora biti :size.",
94
+ file: "Fajl :attribute mora biti :size kilobajta.",
95
+ string: "Polje :attribute mora biti :size karaktera.",
96
+ array: "Polje :attribute mora sadržati :size stavki."
97
+ },
98
+ string: "Polje :attribute mora sadržati slova.",
99
+ timezone: "Polje :attribute mora biti ispravna vremenska zona.",
100
+ unique: "Polje :attribute već postoji.",
101
+ uploaded: "The :attribute failed to upload.",
102
+ url: "Format polja :attribute ne važi."
103
+ };
package/src/lang/sv.js ADDED
@@ -0,0 +1,102 @@
1
+ module.exports = {
2
+ accepted: ":attribute måste accepteras.",
3
+ active_url: ":attribute är inte en giltig webbadress.",
4
+ after: ":attribute måste vara ett datum efter den :date.",
5
+ after_or_equal: ":attribute måste vara ett datum senare eller samma dag som :date.",
6
+ alpha: ":attribute får endast innehålla bokstäver.",
7
+ alpha_dash: ":attribute får endast innehålla bokstäver, siffror och bindestreck.",
8
+ alpha_num: ":attribute får endast innehålla bokstäver och siffror.",
9
+ array: ":attribute måste vara en array.",
10
+ before: ":attribute måste vara ett datum innan den :date.",
11
+ before_or_equal: ":attribute måste vara ett datum före eller samma dag som :date.",
12
+ between: {
13
+ numeric: ":attribute måste vara en siffra mellan :min och :max.",
14
+ file: ":attribute måste vara mellan :min till :max kilobyte stor.",
15
+ string: ":attribute måste innehålla :min till :max tecken.",
16
+ array: ":attribute måste innehålla mellan :min - :max objekt."
17
+ },
18
+ boolean: ":attribute måste vara sant eller falskt.",
19
+ confirmed: ":attribute bekräftelsen matchar inte.",
20
+ date: ":attribute är inte ett giltigt datum.",
21
+ date_format: ":attribute matchar inte formatet :format.",
22
+ different: ":attribute och :other får inte vara lika.",
23
+ digits: ":attribute måste vara :digits tecken.",
24
+ digits_between: ":attribute måste vara mellan :min och :max tecken.",
25
+ dimensions: ":attribute har felaktiga bilddimensioner.",
26
+ distinct: ":attribute innehåller fler än en repetition av samma element.",
27
+ email: ":attribute måste innehålla en korrekt e-postadress.",
28
+ exists: ":attribute är ogiltigt.",
29
+ file: ":attribute måste vara en fil.",
30
+ filled: ":attribute är obligatoriskt.",
31
+ gt: {
32
+ numeric: ":attribute måste vara större än :value.",
33
+ file: ":attribute måste vara större än :value kilobyte stor.",
34
+ string: ":attribute måste vara längre än :value tecken.",
35
+ array: ":attribute måste innehålla fler än :value objekt."
36
+ },
37
+ gte: {
38
+ numeric: ":attribute måste vara lika med eller större än :value.",
39
+ file: ":attribute måste vara lika med eller större än :value kilobyte stor.",
40
+ string: ":attribute måste vara lika med eller längre än :value tecken.",
41
+ array: ":attribute måste innehålla lika många eller fler än :value objekt."
42
+ },
43
+ hex: "The :attribute field should have hexadecimal format",
44
+ image: ":attribute måste vara en bild.",
45
+ in: ":attribute är ogiltigt.",
46
+ in_array: ":attribute finns inte i :other.",
47
+ integer: ":attribute måste vara en siffra.",
48
+ ip: ":attribute måste vara en giltig IP-adress.",
49
+ ipv4: ":attribute måste vara en giltig IPv4-adress.",
50
+ ipv6: ":attribute måste vara en giltig IPv6-adress.",
51
+ json: ":attribute måste vara en giltig JSON-sträng.",
52
+ lt: {
53
+ numeric: ":attribute måste vara mindre än :value.",
54
+ file: ":attribute måste vara mindre än :value kilobyte stor.",
55
+ string: ":attribute måste vara kortare än :value tecken.",
56
+ array: ":attribute måste innehålla färre än :value objekt."
57
+ },
58
+ lte: {
59
+ numeric: ":attribute måste vara lika med eller mindre än :value.",
60
+ file: ":attribute måste vara lika med eller mindre än :value kilobyte stor.",
61
+ string: ":attribute måste vara lika med eller kortare än :value tecken.",
62
+ array: ":attribute måste innehålla lika många eller färre än :value objekt."
63
+ },
64
+ max: {
65
+ numeric: ":attribute får inte vara större än :max.",
66
+ file: ":attribute får max vara :max kilobyte stor.",
67
+ string: ":attribute får max innehålla :max tecken.",
68
+ array: ":attribute får inte innehålla mer än :max objekt."
69
+ },
70
+ mimes: ":attribute måste vara en fil av typen: :values.",
71
+ mimetypes: ":attribute måste vara en fil av typen: :values.",
72
+ min: {
73
+ numeric: ":attribute måste vara större än :min.",
74
+ file: ":attribute måste vara minst :min kilobyte stor.",
75
+ string: ":attribute måste innehålla minst :min tecken.",
76
+ array: ":attribute måste innehålla minst :min objekt."
77
+ },
78
+ not_in: ":attribute är ogiltigt.",
79
+ not_regex: "Formatet för :attribute är ogiltigt.",
80
+ numeric: ":attribute måste vara en siffra.",
81
+ present: ":attribute måste finnas med.",
82
+ regex: ":attribute har ogiltigt format.",
83
+ required: ":attribute är obligatoriskt.",
84
+ required_if: ":attribute är obligatoriskt när :other är :value.",
85
+ required_unless: ":attribute är obligatoriskt när inte :other finns bland :values.",
86
+ required_with: ":attribute är obligatoriskt när :values är ifyllt.",
87
+ required_with_all: ":attribute är obligatoriskt när :values är ifyllt.",
88
+ required_without: ":attribute är obligatoriskt när :values ej är ifyllt.",
89
+ required_without_all: ":attribute är obligatoriskt när ingen av :values är ifyllt.",
90
+ same: ":attribute och :other måste vara lika.",
91
+ size: {
92
+ numeric: ":attribute måste vara :size.",
93
+ file: ":attribute får endast vara :size kilobyte stor.",
94
+ string: ":attribute måste innehålla :size tecken.",
95
+ array: ":attribute måste innehålla :size objekt."
96
+ },
97
+ string: ":attribute måste vara en sträng.",
98
+ timezone: ":attribute måste vara en giltig tidszon.",
99
+ unique: ":attribute används redan.",
100
+ uploaded: ":attribute kunde inte laddas upp.",
101
+ url: ":attribute har ett ogiltigt format."
102
+ };