quival 0.2.2 → 0.2.3
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.
- package/dist/locales/en.js +175 -0
- package/dist/locales/en.min.js +6 -0
- package/dist/locales/ms.js +175 -0
- package/dist/locales/ms.min.js +6 -0
- package/dist/quival.js +3036 -0
- package/dist/quival.min.js +6 -0
- package/package.json +12 -3
- package/rollup.config.js +79 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quival v0.2.3 (https://github.com/apih/quival)
|
|
3
|
+
* (c) 2023 Mohd Hafizuddin M Marzuki <hafizuddin_83@yahoo.com>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
this.quival = this.quival || {};
|
|
7
|
+
this.quival.locales = this.quival.locales || {};
|
|
8
|
+
this.quival.locales.en = (function () {
|
|
9
|
+
'use strict';
|
|
10
|
+
|
|
11
|
+
var en = {
|
|
12
|
+
/**
|
|
13
|
+
* Default error messages
|
|
14
|
+
*/
|
|
15
|
+
accepted: 'The :attribute field must be accepted.',
|
|
16
|
+
accepted_if: 'The :attribute field must be accepted when :other is :value.',
|
|
17
|
+
active_url: 'The :attribute field must be a valid URL.',
|
|
18
|
+
after: 'The :attribute field must be a date after :date.',
|
|
19
|
+
after_or_equal: 'The :attribute field must be a date after or equal to :date.',
|
|
20
|
+
alpha: 'The :attribute field must only contain letters.',
|
|
21
|
+
alpha_dash: 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
|
|
22
|
+
alpha_num: 'The :attribute field must only contain letters and numbers.',
|
|
23
|
+
array: 'The :attribute field must be an array.',
|
|
24
|
+
ascii: 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
|
|
25
|
+
before: 'The :attribute field must be a date before :date.',
|
|
26
|
+
before_or_equal: 'The :attribute field must be a date before or equal to :date.',
|
|
27
|
+
between: {
|
|
28
|
+
array: 'The :attribute field must have between :min and :max items.',
|
|
29
|
+
file: 'The :attribute field must be between :min and :max kilobytes.',
|
|
30
|
+
numeric: 'The :attribute field must be between :min and :max.',
|
|
31
|
+
string: 'The :attribute field must be between :min and :max characters.',
|
|
32
|
+
},
|
|
33
|
+
boolean: 'The :attribute field must be true or false.',
|
|
34
|
+
confirmed: 'The :attribute field confirmation does not match.',
|
|
35
|
+
current_password: 'The password is incorrect.',
|
|
36
|
+
date: 'The :attribute field must be a valid date.',
|
|
37
|
+
date_equals: 'The :attribute field must be a date equal to :date.',
|
|
38
|
+
date_format: 'The :attribute field must match the format :format.',
|
|
39
|
+
decimal: 'The :attribute field must have :decimal decimal places.',
|
|
40
|
+
declined: 'The :attribute field must be declined.',
|
|
41
|
+
declined_if: 'The :attribute field must be declined when :other is :value.',
|
|
42
|
+
different: 'The :attribute field and :other must be different.',
|
|
43
|
+
digits: 'The :attribute field must be :digits digits.',
|
|
44
|
+
digits_between: 'The :attribute field must be between :min and :max digits.',
|
|
45
|
+
dimensions: 'The :attribute field has invalid image dimensions.',
|
|
46
|
+
distinct: 'The :attribute field has a duplicate value.',
|
|
47
|
+
doesnt_end_with: 'The :attribute field must not end with one of the following: :values.',
|
|
48
|
+
doesnt_start_with: 'The :attribute field must not start with one of the following: :values.',
|
|
49
|
+
email: 'The :attribute field must be a valid email address.',
|
|
50
|
+
ends_with: 'The :attribute field must end with one of the following: :values.',
|
|
51
|
+
enum: 'The selected :attribute is invalid.',
|
|
52
|
+
exists: 'The selected :attribute is invalid.',
|
|
53
|
+
file: 'The :attribute field must be a file.',
|
|
54
|
+
filled: 'The :attribute field must have a value.',
|
|
55
|
+
gt: {
|
|
56
|
+
array: 'The :attribute field must have more than :value items.',
|
|
57
|
+
file: 'The :attribute field must be greater than :value kilobytes.',
|
|
58
|
+
numeric: 'The :attribute field must be greater than :value.',
|
|
59
|
+
string: 'The :attribute field must be greater than :value characters.',
|
|
60
|
+
},
|
|
61
|
+
gte: {
|
|
62
|
+
array: 'The :attribute field must have :value items or more.',
|
|
63
|
+
file: 'The :attribute field must be greater than or equal to :value kilobytes.',
|
|
64
|
+
numeric: 'The :attribute field must be greater than or equal to :value.',
|
|
65
|
+
string: 'The :attribute field must be greater than or equal to :value characters.',
|
|
66
|
+
},
|
|
67
|
+
image: 'The :attribute field must be an image.',
|
|
68
|
+
in: 'The selected :attribute is invalid.',
|
|
69
|
+
in_array: 'The :attribute field must exist in :other.',
|
|
70
|
+
integer: 'The :attribute field must be an integer.',
|
|
71
|
+
ip: 'The :attribute field must be a valid IP address.',
|
|
72
|
+
ipv4: 'The :attribute field must be a valid IPv4 address.',
|
|
73
|
+
ipv6: 'The :attribute field must be a valid IPv6 address.',
|
|
74
|
+
json: 'The :attribute field must be a valid JSON string.',
|
|
75
|
+
lowercase: 'The :attribute field must be lowercase.',
|
|
76
|
+
lt: {
|
|
77
|
+
array: 'The :attribute field must have less than :value items.',
|
|
78
|
+
file: 'The :attribute field must be less than :value kilobytes.',
|
|
79
|
+
numeric: 'The :attribute field must be less than :value.',
|
|
80
|
+
string: 'The :attribute field must be less than :value characters.',
|
|
81
|
+
},
|
|
82
|
+
lte: {
|
|
83
|
+
array: 'The :attribute field must not have more than :value items.',
|
|
84
|
+
file: 'The :attribute field must be less than or equal to :value kilobytes.',
|
|
85
|
+
numeric: 'The :attribute field must be less than or equal to :value.',
|
|
86
|
+
string: 'The :attribute field must be less than or equal to :value characters.',
|
|
87
|
+
},
|
|
88
|
+
mac_address: 'The :attribute field must be a valid MAC address.',
|
|
89
|
+
max: {
|
|
90
|
+
array: 'The :attribute field must not have more than :max items.',
|
|
91
|
+
file: 'The :attribute field must not be greater than :max kilobytes.',
|
|
92
|
+
numeric: 'The :attribute field must not be greater than :max.',
|
|
93
|
+
string: 'The :attribute field must not be greater than :max characters.',
|
|
94
|
+
},
|
|
95
|
+
max_digits: 'The :attribute field must not have more than :max digits.',
|
|
96
|
+
mimes: 'The :attribute field must be a file of type: :values.',
|
|
97
|
+
mimetypes: 'The :attribute field must be a file of type: :values.',
|
|
98
|
+
min: {
|
|
99
|
+
array: 'The :attribute field must have at least :min items.',
|
|
100
|
+
file: 'The :attribute field must be at least :min kilobytes.',
|
|
101
|
+
numeric: 'The :attribute field must be at least :min.',
|
|
102
|
+
string: 'The :attribute field must be at least :min characters.',
|
|
103
|
+
},
|
|
104
|
+
min_digits: 'The :attribute field must have at least :min digits.',
|
|
105
|
+
missing: 'The :attribute field must be missing.',
|
|
106
|
+
missing_if: 'The :attribute field must be missing when :other is :value.',
|
|
107
|
+
missing_unless: 'The :attribute field must be missing unless :other is :value.',
|
|
108
|
+
missing_with: 'The :attribute field must be missing when :values is present.',
|
|
109
|
+
missing_with_all: 'The :attribute field must be missing when :values are present.',
|
|
110
|
+
multiple_of: 'The :attribute field must be a multiple of :value.',
|
|
111
|
+
not_in: 'The selected :attribute is invalid.',
|
|
112
|
+
not_regex: 'The :attribute field format is invalid.',
|
|
113
|
+
numeric: 'The :attribute field must be a number.',
|
|
114
|
+
password: {
|
|
115
|
+
letters: 'The :attribute field must contain at least one letter.',
|
|
116
|
+
mixed: 'The :attribute field must contain at least one uppercase and one lowercase letter.',
|
|
117
|
+
numbers: 'The :attribute field must contain at least one number.',
|
|
118
|
+
symbols: 'The :attribute field must contain at least one symbol.',
|
|
119
|
+
uncompromised: 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
|
|
120
|
+
},
|
|
121
|
+
present: 'The :attribute field must be present.',
|
|
122
|
+
prohibited: 'The :attribute field is prohibited.',
|
|
123
|
+
prohibited_if: 'The :attribute field is prohibited when :other is :value.',
|
|
124
|
+
prohibited_unless: 'The :attribute field is prohibited unless :other is in :values.',
|
|
125
|
+
prohibits: 'The :attribute field prohibits :other from being present.',
|
|
126
|
+
regex: 'The :attribute field format is invalid.',
|
|
127
|
+
required: 'The :attribute field is required.',
|
|
128
|
+
required_array_keys: 'The :attribute field must contain entries for: :values.',
|
|
129
|
+
required_if: 'The :attribute field is required when :other is :value.',
|
|
130
|
+
required_if_accepted: 'The :attribute field is required when :other is accepted.',
|
|
131
|
+
required_unless: 'The :attribute field is required unless :other is in :values.',
|
|
132
|
+
required_with: 'The :attribute field is required when :values is present.',
|
|
133
|
+
required_with_all: 'The :attribute field is required when :values are present.',
|
|
134
|
+
required_without: 'The :attribute field is required when :values is not present.',
|
|
135
|
+
required_without_all: 'The :attribute field is required when none of :values are present.',
|
|
136
|
+
same: 'The :attribute field must match :other.',
|
|
137
|
+
size: {
|
|
138
|
+
array: 'The :attribute field must contain :size items.',
|
|
139
|
+
file: 'The :attribute field must be :size kilobytes.',
|
|
140
|
+
numeric: 'The :attribute field must be :size.',
|
|
141
|
+
string: 'The :attribute field must be :size characters.',
|
|
142
|
+
},
|
|
143
|
+
starts_with: 'The :attribute field must start with one of the following: :values.',
|
|
144
|
+
string: 'The :attribute field must be a string.',
|
|
145
|
+
timezone: 'The :attribute field must be a valid timezone.',
|
|
146
|
+
unique: 'The :attribute has already been taken.',
|
|
147
|
+
uploaded: 'The :attribute failed to upload.',
|
|
148
|
+
uppercase: 'The :attribute field must be uppercase.',
|
|
149
|
+
url: 'The :attribute field must be a valid URL.',
|
|
150
|
+
ulid: 'The :attribute field must be a valid ULID.',
|
|
151
|
+
uuid: 'The :attribute field must be a valid UUID.',
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Custom error messages
|
|
155
|
+
*/
|
|
156
|
+
custom: {
|
|
157
|
+
'attribute-name': {
|
|
158
|
+
'rule-name': 'custom-message',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Custom attributes
|
|
164
|
+
*/
|
|
165
|
+
attributes: {},
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Custom values
|
|
169
|
+
*/
|
|
170
|
+
values: {},
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
return en;
|
|
174
|
+
|
|
175
|
+
})();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quival v0.2.3 (https://github.com/apih/quival)
|
|
3
|
+
* (c) 2023 Mohd Hafizuddin M Marzuki <hafizuddin_83@yahoo.com>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
this.quival=this.quival||{},this.quival.locales=this.quival.locales||{},this.quival.locales.en=function(){"use strict";return{accepted:"The :attribute field must be accepted.",accepted_if:"The :attribute field must be accepted when :other is :value.",active_url:"The :attribute field must be a valid URL.",after:"The :attribute field must be a date after :date.",after_or_equal:"The :attribute field must be a date after or equal to :date.",alpha:"The :attribute field must only contain letters.",alpha_dash:"The :attribute field must only contain letters, numbers, dashes, and underscores.",alpha_num:"The :attribute field must only contain letters and numbers.",array:"The :attribute field must be an array.",ascii:"The :attribute field must only contain single-byte alphanumeric characters and symbols.",before:"The :attribute field must be a date before :date.",before_or_equal:"The :attribute field must be a date before or equal to :date.",between:{array:"The :attribute field must have between :min and :max items.",file:"The :attribute field must be between :min and :max kilobytes.",numeric:"The :attribute field must be between :min and :max.",string:"The :attribute field must be between :min and :max characters."},boolean:"The :attribute field must be true or false.",confirmed:"The :attribute field confirmation does not match.",current_password:"The password is incorrect.",date:"The :attribute field must be a valid date.",date_equals:"The :attribute field must be a date equal to :date.",date_format:"The :attribute field must match the format :format.",decimal:"The :attribute field must have :decimal decimal places.",declined:"The :attribute field must be declined.",declined_if:"The :attribute field must be declined when :other is :value.",different:"The :attribute field and :other must be different.",digits:"The :attribute field must be :digits digits.",digits_between:"The :attribute field must be between :min and :max digits.",dimensions:"The :attribute field has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",doesnt_end_with:"The :attribute field must not end with one of the following: :values.",doesnt_start_with:"The :attribute field must not start with one of the following: :values.",email:"The :attribute field must be a valid email address.",ends_with:"The :attribute field must end with one of the following: :values.",enum:"The selected :attribute is invalid.",exists:"The selected :attribute is invalid.",file:"The :attribute field must be a file.",filled:"The :attribute field must have a value.",gt:{array:"The :attribute field must have more than :value items.",file:"The :attribute field must be greater than :value kilobytes.",numeric:"The :attribute field must be greater than :value.",string:"The :attribute field must be greater than :value characters."},gte:{array:"The :attribute field must have :value items or more.",file:"The :attribute field must be greater than or equal to :value kilobytes.",numeric:"The :attribute field must be greater than or equal to :value.",string:"The :attribute field must be greater than or equal to :value characters."},image:"The :attribute field must be an image.",in:"The selected :attribute is invalid.",in_array:"The :attribute field must exist in :other.",integer:"The :attribute field must be an integer.",ip:"The :attribute field must be a valid IP address.",ipv4:"The :attribute field must be a valid IPv4 address.",ipv6:"The :attribute field must be a valid IPv6 address.",json:"The :attribute field must be a valid JSON string.",lowercase:"The :attribute field must be lowercase.",lt:{array:"The :attribute field must have less than :value items.",file:"The :attribute field must be less than :value kilobytes.",numeric:"The :attribute field must be less than :value.",string:"The :attribute field must be less than :value characters."},lte:{array:"The :attribute field must not have more than :value items.",file:"The :attribute field must be less than or equal to :value kilobytes.",numeric:"The :attribute field must be less than or equal to :value.",string:"The :attribute field must be less than or equal to :value characters."},mac_address:"The :attribute field must be a valid MAC address.",max:{array:"The :attribute field must not have more than :max items.",file:"The :attribute field must not be greater than :max kilobytes.",numeric:"The :attribute field must not be greater than :max.",string:"The :attribute field must not be greater than :max characters."},max_digits:"The :attribute field must not have more than :max digits.",mimes:"The :attribute field must be a file of type: :values.",mimetypes:"The :attribute field must be a file of type: :values.",min:{array:"The :attribute field must have at least :min items.",file:"The :attribute field must be at least :min kilobytes.",numeric:"The :attribute field must be at least :min.",string:"The :attribute field must be at least :min characters."},min_digits:"The :attribute field must have at least :min digits.",missing:"The :attribute field must be missing.",missing_if:"The :attribute field must be missing when :other is :value.",missing_unless:"The :attribute field must be missing unless :other is :value.",missing_with:"The :attribute field must be missing when :values is present.",missing_with_all:"The :attribute field must be missing when :values are present.",multiple_of:"The :attribute field must be a multiple of :value.",not_in:"The selected :attribute is invalid.",not_regex:"The :attribute field format is invalid.",numeric:"The :attribute field must be a number.",password:{letters:"The :attribute field must contain at least one letter.",mixed:"The :attribute field must contain at least one uppercase and one lowercase letter.",numbers:"The :attribute field must contain at least one number.",symbols:"The :attribute field must contain at least one symbol.",uncompromised:"The given :attribute has appeared in a data leak. Please choose a different :attribute."},present:"The :attribute field must be present.",prohibited:"The :attribute field is prohibited.",prohibited_if:"The :attribute field is prohibited when :other is :value.",prohibited_unless:"The :attribute field is prohibited unless :other is in :values.",prohibits:"The :attribute field prohibits :other from being present.",regex:"The :attribute field format is invalid.",required:"The :attribute field is required.",required_array_keys:"The :attribute field must contain entries for: :values.",required_if:"The :attribute field is required when :other is :value.",required_if_accepted:"The :attribute field is required when :other is accepted.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"The :attribute field is required when :values is present.",required_with_all:"The :attribute field is required when :values are present.",required_without:"The :attribute field is required when :values is not present.",required_without_all:"The :attribute field is required when none of :values are present.",same:"The :attribute field must match :other.",size:{array:"The :attribute field must contain :size items.",file:"The :attribute field must be :size kilobytes.",numeric:"The :attribute field must be :size.",string:"The :attribute field must be :size characters."},starts_with:"The :attribute field must start with one of the following: :values.",string:"The :attribute field must be a string.",timezone:"The :attribute field must be a valid timezone.",unique:"The :attribute has already been taken.",uploaded:"The :attribute failed to upload.",uppercase:"The :attribute field must be uppercase.",url:"The :attribute field must be a valid URL.",ulid:"The :attribute field must be a valid ULID.",uuid:"The :attribute field must be a valid UUID.",custom:{"attribute-name":{"rule-name":"custom-message"}},attributes:{},values:{}}}();
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quival v0.2.3 (https://github.com/apih/quival)
|
|
3
|
+
* (c) 2023 Mohd Hafizuddin M Marzuki <hafizuddin_83@yahoo.com>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
this.quival = this.quival || {};
|
|
7
|
+
this.quival.locales = this.quival.locales || {};
|
|
8
|
+
this.quival.locales.ms = (function () {
|
|
9
|
+
'use strict';
|
|
10
|
+
|
|
11
|
+
var ms = {
|
|
12
|
+
/**
|
|
13
|
+
* Default error messages
|
|
14
|
+
*/
|
|
15
|
+
accepted: 'Medan :attribute mesti diterima.',
|
|
16
|
+
accepted_if: 'Medan :attribute mesti diterima apabila :other ialah :value.',
|
|
17
|
+
active_url: 'Medan :attribute mesti URL yang sah.',
|
|
18
|
+
after: 'Medan :attribute mesti tarikh selepas :date.',
|
|
19
|
+
after_or_equal: 'Medan :attribute mesti tarikh selepas atau sama dengan :date.',
|
|
20
|
+
alpha: 'Medan :attribute hanya boleh mengandungi huruf.',
|
|
21
|
+
alpha_dash: 'Medan :attribute hanya boleh mengandungi huruf, nombor, tanda sengkang, dan garis bawah.',
|
|
22
|
+
alpha_num: 'Medan :attribute hanya boleh mengandungi huruf dan nombor.',
|
|
23
|
+
array: 'Medan :attribute mesti jujukan.',
|
|
24
|
+
ascii: 'Medan :attribute hanya boleh mengandungi abjad, angka dan simbol berjenis bait tunggal.',
|
|
25
|
+
before: 'Medan :attribute mesti tarikh sebelum :date.',
|
|
26
|
+
before_or_equal: 'Medan :attribute mesti tarikh sebelum atau sama dengan :date.',
|
|
27
|
+
between: {
|
|
28
|
+
array: 'Medan :attribute mesti mempunyai antara :min dan :max item.',
|
|
29
|
+
file: 'Medan :attribute mesti antara :min dan :max kilobait.',
|
|
30
|
+
numeric: 'Medan :attribute mesti antara :min dan :max.',
|
|
31
|
+
string: 'Medan :attribute mesti antara :min dan :max huruf.',
|
|
32
|
+
},
|
|
33
|
+
boolean: 'Medan :attribute mesti benar atau salah.',
|
|
34
|
+
confirmed: 'Pengesahan medan :attribute tidak sepadan.',
|
|
35
|
+
current_password: 'Kata laluan tidak sah.',
|
|
36
|
+
date: 'Medan :attribute mesti tarikh yang sah.',
|
|
37
|
+
date_equals: 'Medan :attribute mesti bersamaan dengan :date.',
|
|
38
|
+
date_format: 'Medan :attribute mesti sepadan dengan format :format.',
|
|
39
|
+
decimal: 'Medan :attribute mesti mempunyai :decimal tempat perpuluhan.',
|
|
40
|
+
declined: 'Medan :attribute mesti ditolak.',
|
|
41
|
+
declined_if: 'Medan :attribute mesti ditolak apabila :other adalah :value.',
|
|
42
|
+
different: 'Medan :attribute dan :other mesti berbeza.',
|
|
43
|
+
digits: 'Medan :attribute mesti mengandungi :digits digit.',
|
|
44
|
+
digits_between: 'Medan :attribute mesti mengandungi antara :min dan :max digit.',
|
|
45
|
+
dimensions: 'Medan :attribute mempunyai dimensi imej yang tidak sah.',
|
|
46
|
+
distinct: 'Medan :attribute mempunyai nilai yang berulang.',
|
|
47
|
+
doesnt_end_with: 'Medan :attribute tidak boleh berakhir dengan salah satu daripada berikut: :values.',
|
|
48
|
+
doesnt_start_with: 'Medan :attribute tidak boleh bermula dengan salah satu daripada berikut: :values.',
|
|
49
|
+
email: 'Medan :attribute mesti alamat emel yang sah.',
|
|
50
|
+
ends_with: 'Medan :attribute mesti berakhir dengan salah satu daripada berikut: :values.',
|
|
51
|
+
enum: 'Nilai :attribute yang dipilih tidak sah.',
|
|
52
|
+
exists: 'Nilai :attribute yang dipilih tidak sah.',
|
|
53
|
+
file: 'Medan :attribute mesti fail.',
|
|
54
|
+
filled: 'Medan :attribute mesti mempunyai nilai.',
|
|
55
|
+
gt: {
|
|
56
|
+
array: 'Medan :attribute mesti mempunyai lebih daripada :value item.',
|
|
57
|
+
file: 'Medan :attribute mesti lebih besar daripada :value kilobait.',
|
|
58
|
+
numeric: 'Medan :attribute mesti lebih besar daripada :value.',
|
|
59
|
+
string: 'Medan :attribute mesti lebih besar daripada :value huruf.',
|
|
60
|
+
},
|
|
61
|
+
gte: {
|
|
62
|
+
array: 'Medan :attribute mesti mempunyai :value item atau lebih.',
|
|
63
|
+
file: 'Medan :attribute mesti lebih besar daripada atau sama dengan :value kilobait.',
|
|
64
|
+
numeric: 'Medan :attribute mesti lebih besar daripada atau sama dengan :value.',
|
|
65
|
+
string: 'Medan :attribute mesti lebih besar daripada atau sama dengan :value huruf.',
|
|
66
|
+
},
|
|
67
|
+
image: 'Medan :attribute mesti imej.',
|
|
68
|
+
in: 'Nilai :attribute yang dipilih tidak sah.',
|
|
69
|
+
in_array: 'Medan :attribute mesti wujud dalam :other.',
|
|
70
|
+
integer: 'Medan :attribute mesti nombor bulat.',
|
|
71
|
+
ip: 'Medan :attribute mesti alamat IP yang sah.',
|
|
72
|
+
ipv4: 'Medan :attribute mesti alamat IPv4 yang sah.',
|
|
73
|
+
ipv6: 'Medan :attribute mesti alamat IPv6 yang sah.',
|
|
74
|
+
json: 'Medan :attribute mesti rentetan JSON yang sah.',
|
|
75
|
+
lowercase: 'Medan :attribute mesti dalam huruf kecil.',
|
|
76
|
+
lt: {
|
|
77
|
+
array: 'Medan :attribute mesti mempunyai kurang daripada :value item.',
|
|
78
|
+
file: 'Medan :attribute mesti kurang daripada :value kilobait.',
|
|
79
|
+
numeric: 'Medan :attribute mesti kurang daripada :value.',
|
|
80
|
+
string: 'Medan :attribute mesti kurang daripada :value huruf.',
|
|
81
|
+
},
|
|
82
|
+
lte: {
|
|
83
|
+
array: 'Medan :attribute tidak boleh mempunyai lebih daripada :value item.',
|
|
84
|
+
file: 'Medan :attribute mesti kurang daripada atau sama dengan :value kilobait.',
|
|
85
|
+
numeric: 'Medan :attribute mesti kurang daripada atau sama dengan :value.',
|
|
86
|
+
string: 'Medan :attribute mesti kurang daripada atau sama dengan :value huruf.',
|
|
87
|
+
},
|
|
88
|
+
mac_address: 'Medan :attribute mesti alamat MAC yang sah.',
|
|
89
|
+
max: {
|
|
90
|
+
array: 'Medan :attribute tidak boleh mempunyai lebih daripada :max item.',
|
|
91
|
+
file: 'Medan :attribute tidak boleh lebih besar daripada :max kilobait.',
|
|
92
|
+
numeric: 'Medan :attribute tidak boleh melebihi :max.',
|
|
93
|
+
string: 'Medan :attribute tidak boleh melebihi :max huruf.',
|
|
94
|
+
},
|
|
95
|
+
max_digits: 'Medan :attribute tidak boleh mempunyai lebih daripada :max digit.',
|
|
96
|
+
mimes: 'Medan :attribute mesti jenis fail: :values.',
|
|
97
|
+
mimetypes: 'Medan :attribute mesti jenis fail: :values.',
|
|
98
|
+
min: {
|
|
99
|
+
array: 'Medan :attribute mesti mempunyai sekurang-kurangnya :min item.',
|
|
100
|
+
file: 'Medan :attribute mesti sekurang-kurangnya :min kilobait.',
|
|
101
|
+
numeric: 'Medan :attribute mesti sekurang-kurangnya :min.',
|
|
102
|
+
string: 'Medan :attribute mesti sekurang-kurangnya :min huruf.',
|
|
103
|
+
},
|
|
104
|
+
min_digits: 'Medan :attribute mesti mempunyai sekurang-kurangnya :min digit.',
|
|
105
|
+
missing: 'Medan :attribute mesti tiada.',
|
|
106
|
+
missing_if: 'Medan :attribute mesti tiada apabila :other adalah :value.',
|
|
107
|
+
missing_unless: 'Medan :attribute mesti tiada kecuali :other adalah :value.',
|
|
108
|
+
missing_with: 'Medan :attribute mesti tiada apabila :values wujud.',
|
|
109
|
+
missing_with_all: 'Medan :attribute mesti tiada apabila :values wujud.',
|
|
110
|
+
multiple_of: 'Medan :attribute mesti gandaan :value.',
|
|
111
|
+
not_in: 'Nilai :attribute yang dipilih tidak sah.',
|
|
112
|
+
not_regex: 'Format medan :attribute tidak sah.',
|
|
113
|
+
numeric: 'Medan :attribute mesti nombor.',
|
|
114
|
+
password: {
|
|
115
|
+
letters: 'Medan :attribute mesti mengandungi sekurang-kurangnya satu huruf.',
|
|
116
|
+
mixed: 'Medan :attribute mesti mengandungi sekurang-kurangnya satu huruf besar dan satu huruf kecil.',
|
|
117
|
+
numbers: 'Medan :attribute mesti mengandungi sekurang-kurangnya satu nombor.',
|
|
118
|
+
symbols: 'Medan :attribute mesti mengandungi sekurang-kurangnya satu simbol.',
|
|
119
|
+
uncompromised: 'Nilai :attribute yang diberikan telah muncul dalam kebocoran data. Sila pilih :attribute yang berbeza.',
|
|
120
|
+
},
|
|
121
|
+
present: 'Medan :attribute mesti wujud.',
|
|
122
|
+
prohibited: 'Medan :attribute dilarang.',
|
|
123
|
+
prohibited_if: 'Medan :attribute dilarang apabila :other adalah :value.',
|
|
124
|
+
prohibited_unless: 'Medan :attribute dilarang melainkan :other berada dalam :values.',
|
|
125
|
+
prohibits: 'Medan :attribute melarang :other daripada wujud.',
|
|
126
|
+
regex: 'Format medan :attribute tidak sah.',
|
|
127
|
+
required: 'Medan :attribute diperlukan.',
|
|
128
|
+
required_array_keys: 'Medan :attribute mesti mengandungi entri untuk: :values.',
|
|
129
|
+
required_if: 'Medan :attribute diperlukan apabila :other adalah :value.',
|
|
130
|
+
required_if_accepted: 'Medan :attribute diperlukan apabila :other diterima.',
|
|
131
|
+
required_unless: 'Medan :attribute diperlukan melainkan :other berada dalam :values.',
|
|
132
|
+
required_with: 'Medan :attribute diperlukan apabila :values wujud.',
|
|
133
|
+
required_with_all: 'Medan :attribute diperlukan apabila semua :values wujud.',
|
|
134
|
+
required_without: 'Medan :attribute diperlukan apabila :values tidak wujud.',
|
|
135
|
+
required_without_all: 'Medan :attribute diperlukan apabila tiada satu pun daripada :values wujud.',
|
|
136
|
+
same: 'Medan :attribute mesti sepadan dengan :other.',
|
|
137
|
+
size: {
|
|
138
|
+
array: 'Medan :attribute mesti mengandungi :size item.',
|
|
139
|
+
file: 'Medan :attribute mesti :size kilobait.',
|
|
140
|
+
numeric: 'Medan :attribute mesti :size.',
|
|
141
|
+
string: 'Medan :attribute mesti :size huruf.',
|
|
142
|
+
},
|
|
143
|
+
starts_with: 'Medan :attribute mesti bermula dengan salah satu dari berikut: :values.',
|
|
144
|
+
string: 'Medan :attribute mesti perkataan / rentetan aksara.',
|
|
145
|
+
timezone: 'Medan :attribute mesti zon masa yang sah.',
|
|
146
|
+
unique: 'Medan :attribute telah wujud.',
|
|
147
|
+
uploaded: 'Medan :attribute gagal dimuat naik.',
|
|
148
|
+
uppercase: 'Medan :attribute mesti dalam huruf besar.',
|
|
149
|
+
url: 'Medan :attribute mesti URL yang sah.',
|
|
150
|
+
ulid: 'Medan :attribute mesti ULID yang sah.',
|
|
151
|
+
uuid: 'Medan :attribute mesti UUID yang sah.',
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Custom error messages
|
|
155
|
+
*/
|
|
156
|
+
custom: {
|
|
157
|
+
'attribute-name': {
|
|
158
|
+
'rule-name': 'custom-message',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Custom attributes
|
|
164
|
+
*/
|
|
165
|
+
attributes: {},
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Custom values
|
|
169
|
+
*/
|
|
170
|
+
values: {},
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
return ms;
|
|
174
|
+
|
|
175
|
+
})();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quival v0.2.3 (https://github.com/apih/quival)
|
|
3
|
+
* (c) 2023 Mohd Hafizuddin M Marzuki <hafizuddin_83@yahoo.com>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
this.quival=this.quival||{},this.quival.locales=this.quival.locales||{},this.quival.locales.ms=function(){"use strict";return{accepted:"Medan :attribute mesti diterima.",accepted_if:"Medan :attribute mesti diterima apabila :other ialah :value.",active_url:"Medan :attribute mesti URL yang sah.",after:"Medan :attribute mesti tarikh selepas :date.",after_or_equal:"Medan :attribute mesti tarikh selepas atau sama dengan :date.",alpha:"Medan :attribute hanya boleh mengandungi huruf.",alpha_dash:"Medan :attribute hanya boleh mengandungi huruf, nombor, tanda sengkang, dan garis bawah.",alpha_num:"Medan :attribute hanya boleh mengandungi huruf dan nombor.",array:"Medan :attribute mesti jujukan.",ascii:"Medan :attribute hanya boleh mengandungi abjad, angka dan simbol berjenis bait tunggal.",before:"Medan :attribute mesti tarikh sebelum :date.",before_or_equal:"Medan :attribute mesti tarikh sebelum atau sama dengan :date.",between:{array:"Medan :attribute mesti mempunyai antara :min dan :max item.",file:"Medan :attribute mesti antara :min dan :max kilobait.",numeric:"Medan :attribute mesti antara :min dan :max.",string:"Medan :attribute mesti antara :min dan :max huruf."},boolean:"Medan :attribute mesti benar atau salah.",confirmed:"Pengesahan medan :attribute tidak sepadan.",current_password:"Kata laluan tidak sah.",date:"Medan :attribute mesti tarikh yang sah.",date_equals:"Medan :attribute mesti bersamaan dengan :date.",date_format:"Medan :attribute mesti sepadan dengan format :format.",decimal:"Medan :attribute mesti mempunyai :decimal tempat perpuluhan.",declined:"Medan :attribute mesti ditolak.",declined_if:"Medan :attribute mesti ditolak apabila :other adalah :value.",different:"Medan :attribute dan :other mesti berbeza.",digits:"Medan :attribute mesti mengandungi :digits digit.",digits_between:"Medan :attribute mesti mengandungi antara :min dan :max digit.",dimensions:"Medan :attribute mempunyai dimensi imej yang tidak sah.",distinct:"Medan :attribute mempunyai nilai yang berulang.",doesnt_end_with:"Medan :attribute tidak boleh berakhir dengan salah satu daripada berikut: :values.",doesnt_start_with:"Medan :attribute tidak boleh bermula dengan salah satu daripada berikut: :values.",email:"Medan :attribute mesti alamat emel yang sah.",ends_with:"Medan :attribute mesti berakhir dengan salah satu daripada berikut: :values.",enum:"Nilai :attribute yang dipilih tidak sah.",exists:"Nilai :attribute yang dipilih tidak sah.",file:"Medan :attribute mesti fail.",filled:"Medan :attribute mesti mempunyai nilai.",gt:{array:"Medan :attribute mesti mempunyai lebih daripada :value item.",file:"Medan :attribute mesti lebih besar daripada :value kilobait.",numeric:"Medan :attribute mesti lebih besar daripada :value.",string:"Medan :attribute mesti lebih besar daripada :value huruf."},gte:{array:"Medan :attribute mesti mempunyai :value item atau lebih.",file:"Medan :attribute mesti lebih besar daripada atau sama dengan :value kilobait.",numeric:"Medan :attribute mesti lebih besar daripada atau sama dengan :value.",string:"Medan :attribute mesti lebih besar daripada atau sama dengan :value huruf."},image:"Medan :attribute mesti imej.",in:"Nilai :attribute yang dipilih tidak sah.",in_array:"Medan :attribute mesti wujud dalam :other.",integer:"Medan :attribute mesti nombor bulat.",ip:"Medan :attribute mesti alamat IP yang sah.",ipv4:"Medan :attribute mesti alamat IPv4 yang sah.",ipv6:"Medan :attribute mesti alamat IPv6 yang sah.",json:"Medan :attribute mesti rentetan JSON yang sah.",lowercase:"Medan :attribute mesti dalam huruf kecil.",lt:{array:"Medan :attribute mesti mempunyai kurang daripada :value item.",file:"Medan :attribute mesti kurang daripada :value kilobait.",numeric:"Medan :attribute mesti kurang daripada :value.",string:"Medan :attribute mesti kurang daripada :value huruf."},lte:{array:"Medan :attribute tidak boleh mempunyai lebih daripada :value item.",file:"Medan :attribute mesti kurang daripada atau sama dengan :value kilobait.",numeric:"Medan :attribute mesti kurang daripada atau sama dengan :value.",string:"Medan :attribute mesti kurang daripada atau sama dengan :value huruf."},mac_address:"Medan :attribute mesti alamat MAC yang sah.",max:{array:"Medan :attribute tidak boleh mempunyai lebih daripada :max item.",file:"Medan :attribute tidak boleh lebih besar daripada :max kilobait.",numeric:"Medan :attribute tidak boleh melebihi :max.",string:"Medan :attribute tidak boleh melebihi :max huruf."},max_digits:"Medan :attribute tidak boleh mempunyai lebih daripada :max digit.",mimes:"Medan :attribute mesti jenis fail: :values.",mimetypes:"Medan :attribute mesti jenis fail: :values.",min:{array:"Medan :attribute mesti mempunyai sekurang-kurangnya :min item.",file:"Medan :attribute mesti sekurang-kurangnya :min kilobait.",numeric:"Medan :attribute mesti sekurang-kurangnya :min.",string:"Medan :attribute mesti sekurang-kurangnya :min huruf."},min_digits:"Medan :attribute mesti mempunyai sekurang-kurangnya :min digit.",missing:"Medan :attribute mesti tiada.",missing_if:"Medan :attribute mesti tiada apabila :other adalah :value.",missing_unless:"Medan :attribute mesti tiada kecuali :other adalah :value.",missing_with:"Medan :attribute mesti tiada apabila :values wujud.",missing_with_all:"Medan :attribute mesti tiada apabila :values wujud.",multiple_of:"Medan :attribute mesti gandaan :value.",not_in:"Nilai :attribute yang dipilih tidak sah.",not_regex:"Format medan :attribute tidak sah.",numeric:"Medan :attribute mesti nombor.",password:{letters:"Medan :attribute mesti mengandungi sekurang-kurangnya satu huruf.",mixed:"Medan :attribute mesti mengandungi sekurang-kurangnya satu huruf besar dan satu huruf kecil.",numbers:"Medan :attribute mesti mengandungi sekurang-kurangnya satu nombor.",symbols:"Medan :attribute mesti mengandungi sekurang-kurangnya satu simbol.",uncompromised:"Nilai :attribute yang diberikan telah muncul dalam kebocoran data. Sila pilih :attribute yang berbeza."},present:"Medan :attribute mesti wujud.",prohibited:"Medan :attribute dilarang.",prohibited_if:"Medan :attribute dilarang apabila :other adalah :value.",prohibited_unless:"Medan :attribute dilarang melainkan :other berada dalam :values.",prohibits:"Medan :attribute melarang :other daripada wujud.",regex:"Format medan :attribute tidak sah.",required:"Medan :attribute diperlukan.",required_array_keys:"Medan :attribute mesti mengandungi entri untuk: :values.",required_if:"Medan :attribute diperlukan apabila :other adalah :value.",required_if_accepted:"Medan :attribute diperlukan apabila :other diterima.",required_unless:"Medan :attribute diperlukan melainkan :other berada dalam :values.",required_with:"Medan :attribute diperlukan apabila :values wujud.",required_with_all:"Medan :attribute diperlukan apabila semua :values wujud.",required_without:"Medan :attribute diperlukan apabila :values tidak wujud.",required_without_all:"Medan :attribute diperlukan apabila tiada satu pun daripada :values wujud.",same:"Medan :attribute mesti sepadan dengan :other.",size:{array:"Medan :attribute mesti mengandungi :size item.",file:"Medan :attribute mesti :size kilobait.",numeric:"Medan :attribute mesti :size.",string:"Medan :attribute mesti :size huruf."},starts_with:"Medan :attribute mesti bermula dengan salah satu dari berikut: :values.",string:"Medan :attribute mesti perkataan / rentetan aksara.",timezone:"Medan :attribute mesti zon masa yang sah.",unique:"Medan :attribute telah wujud.",uploaded:"Medan :attribute gagal dimuat naik.",uppercase:"Medan :attribute mesti dalam huruf besar.",url:"Medan :attribute mesti URL yang sah.",ulid:"Medan :attribute mesti ULID yang sah.",uuid:"Medan :attribute mesti UUID yang sah.",custom:{"attribute-name":{"rule-name":"custom-message"}},attributes:{},values:{}}}();
|