@sap/cds 9.3.1 → 9.4.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.
- package/CHANGELOG.md +54 -3
- package/_i18n/i18n_vi.properties +113 -0
- package/_i18n/messages.properties +106 -17
- package/_i18n/messages_ar.properties +194 -0
- package/_i18n/messages_bg.properties +194 -0
- package/_i18n/messages_cs.properties +194 -0
- package/_i18n/messages_da.properties +194 -0
- package/_i18n/messages_de.properties +194 -0
- package/_i18n/messages_el.properties +194 -0
- package/_i18n/messages_en.properties +194 -0
- package/_i18n/messages_en_US_saptrc.properties +194 -0
- package/_i18n/messages_es.properties +194 -0
- package/_i18n/messages_es_MX.properties +194 -0
- package/_i18n/messages_fi.properties +194 -0
- package/_i18n/messages_fr.properties +194 -0
- package/_i18n/messages_he.properties +194 -0
- package/_i18n/messages_hr.properties +194 -0
- package/_i18n/messages_hu.properties +194 -0
- package/_i18n/messages_it.properties +194 -0
- package/_i18n/messages_ja.properties +194 -0
- package/_i18n/messages_kk.properties +194 -0
- package/_i18n/messages_ko.properties +194 -0
- package/_i18n/messages_ms.properties +194 -0
- package/_i18n/messages_nl.properties +194 -0
- package/_i18n/messages_no.properties +194 -0
- package/_i18n/messages_pl.properties +194 -0
- package/_i18n/messages_pt.properties +194 -0
- package/_i18n/messages_ro.properties +194 -0
- package/_i18n/messages_ru.properties +194 -0
- package/_i18n/messages_sh.properties +194 -0
- package/_i18n/messages_sk.properties +194 -0
- package/_i18n/messages_sl.properties +194 -0
- package/_i18n/messages_sv.properties +194 -0
- package/_i18n/messages_th.properties +194 -0
- package/_i18n/messages_tr.properties +194 -0
- package/_i18n/messages_uk.properties +194 -0
- package/_i18n/messages_vi.properties +194 -0
- package/_i18n/messages_zh_CN.properties +194 -0
- package/_i18n/messages_zh_TW.properties +194 -0
- package/bin/serve.js +9 -1
- package/common.cds +9 -1
- package/lib/compile/cds-compile.js +1 -0
- package/lib/compile/etc/properties.js +1 -0
- package/lib/compile/for/flows.js +70 -4
- package/lib/compile/for/nodejs.js +1 -1
- package/lib/compile/minify.js +84 -56
- package/lib/compile/to/csn.js +2 -0
- package/lib/compile/to/yaml.js +1 -1
- package/lib/env/cds-requires.js +3 -0
- package/lib/i18n/bundles.js +8 -1
- package/lib/i18n/files.js +5 -1
- package/lib/i18n/index.js +1 -5
- package/lib/i18n/localize.js +4 -2
- package/lib/index.js +1 -1
- package/lib/ql/SELECT.js +16 -19
- package/lib/req/validate.js +10 -5
- package/lib/srv/bindings.js +1 -1
- package/lib/srv/cds-serve.js +1 -1
- package/lib/srv/middlewares/auth/ias-auth.js +3 -2
- package/lib/srv/middlewares/auth/jwt-auth.js +3 -2
- package/lib/srv/protocols/hcql.js +8 -6
- package/lib/srv/srv-dispatch.js +4 -8
- package/lib/srv/srv-handlers.js +28 -1
- package/lib/utils/colors.js +54 -49
- package/libx/_runtime/common/generic/flows.js +79 -12
- package/libx/_runtime/fiori/lean-draft.js +10 -2
- package/libx/_runtime/messaging/common-utils/connections.js +31 -18
- package/libx/_runtime/messaging/enterprise-messaging-utils/registerEndpoints.js +2 -2
- package/libx/_runtime/messaging/redis-messaging.js +1 -1
- package/libx/_runtime/ucl/Service.js +5 -5
- package/libx/http/body-parser.js +10 -1
- package/libx/odata/ODataAdapter.js +10 -7
- package/libx/odata/middleware/error.js +3 -0
- package/libx/odata/parse/afterburner.js +13 -16
- package/libx/odata/parse/multipartToJson.js +3 -1
- package/libx/rest/middleware/parse.js +1 -1
- package/package.json +1 -1
- package/server.js +1 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Input Validation
|
|
2
|
+
|
|
3
|
+
#XMSG: Enter a value between 0 and 100. // Implementation still provides 3 values
|
|
4
|
+
ASSERT_RANGE={1} ile {2} aras\u0131nda bir de\u011Fer girin.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT={1} \u00F6rne\u011Fiyle e\u015Fle\u015Fen bir de\u011Fer girin.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=\u0130zin verilen de\u011Ferlerden birini girin: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Eksik de\u011Feri sa\u011Flay\u0131n.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=Bu anahtara sahip hedef mevcut de\u011Fil.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Birden fazla hata olu\u015Ftu, a\u015Fa\u011F\u0131daki ayr\u0131nt\u0131lara g\u00F6z at\u0131n.
|
|
18
|
+
|
|
19
|
+
# Input format
|
|
20
|
+
|
|
21
|
+
#NOTR
|
|
22
|
+
ASSERT_VALID_ELEMENT=Element is not valid
|
|
23
|
+
#NOTR
|
|
24
|
+
ASSERT_DATA_TYPE=Value {0} is not a valid {1}
|
|
25
|
+
#NOTR
|
|
26
|
+
ASSERT_ARRAY=Value must be an array
|
|
27
|
+
|
|
28
|
+
# Status Codes
|
|
29
|
+
|
|
30
|
+
#NOTR
|
|
31
|
+
400=Bad Request
|
|
32
|
+
#NOTR
|
|
33
|
+
401=Unauthorized
|
|
34
|
+
#NOTR
|
|
35
|
+
403=Forbidden
|
|
36
|
+
#NOTR
|
|
37
|
+
404=Not Found
|
|
38
|
+
#NOTR
|
|
39
|
+
405=Method Not Allowed
|
|
40
|
+
#NOTR
|
|
41
|
+
406=Not Acceptable
|
|
42
|
+
#NOTR
|
|
43
|
+
407=Proxy Authentication Required
|
|
44
|
+
#NOTR
|
|
45
|
+
408=Request Timeout
|
|
46
|
+
#NOTR
|
|
47
|
+
409=Conflict
|
|
48
|
+
#NOTR
|
|
49
|
+
410=Gone
|
|
50
|
+
#NOTR
|
|
51
|
+
411=Length Required
|
|
52
|
+
#NOTR
|
|
53
|
+
412=Precondition Failed
|
|
54
|
+
#NOTR
|
|
55
|
+
413=Payload Too Large
|
|
56
|
+
#NOTR
|
|
57
|
+
414=URI Too Long
|
|
58
|
+
#NOTR
|
|
59
|
+
415=Unsupported Media Type
|
|
60
|
+
#NOTR
|
|
61
|
+
416=Range Not Satisfiable
|
|
62
|
+
#NOTR
|
|
63
|
+
417=Expectation Failed
|
|
64
|
+
#NOTR
|
|
65
|
+
422=Unprocessable Content
|
|
66
|
+
#NOTR
|
|
67
|
+
424=Failed Dependency
|
|
68
|
+
#NOTR
|
|
69
|
+
428=Precondition Required
|
|
70
|
+
#NOTR
|
|
71
|
+
429=Too Many Requests
|
|
72
|
+
#NOTR
|
|
73
|
+
431=Request Header Fields Too Large
|
|
74
|
+
#NOTR
|
|
75
|
+
451=Unavailable For Legal Reasons
|
|
76
|
+
#NOTR
|
|
77
|
+
500=Internal Server Error
|
|
78
|
+
#NOTR
|
|
79
|
+
501=The server does not support the functionality required to fulfill the request
|
|
80
|
+
#NOTR
|
|
81
|
+
502=Bad Gateway
|
|
82
|
+
#NOTR
|
|
83
|
+
503=Service Unavailable
|
|
84
|
+
#NOTR
|
|
85
|
+
504=Gateway Timeout
|
|
86
|
+
|
|
87
|
+
# fragments
|
|
88
|
+
|
|
89
|
+
#NOTR
|
|
90
|
+
ENTITY=entity
|
|
91
|
+
#NOTR
|
|
92
|
+
TYPE=type
|
|
93
|
+
#NOTR
|
|
94
|
+
FUNCTION=function
|
|
95
|
+
#NOTR
|
|
96
|
+
ACTION=action
|
|
97
|
+
|
|
98
|
+
# db
|
|
99
|
+
|
|
100
|
+
#NOTR
|
|
101
|
+
NO_DATABASE_CONNECTION=No database connection
|
|
102
|
+
#NOTR
|
|
103
|
+
ENTITY_ALREADY_EXISTS=Entity already exists
|
|
104
|
+
#NOTR
|
|
105
|
+
ENTITY_LOCKED=Entity locked
|
|
106
|
+
#NOTR
|
|
107
|
+
UNIQUE_CONSTRAINT_VIOLATION=Unique constraint violation
|
|
108
|
+
#NOTR
|
|
109
|
+
FK_CONSTRAINT_VIOLATION=Foreign key constraint violation
|
|
110
|
+
|
|
111
|
+
# remote
|
|
112
|
+
|
|
113
|
+
#NOTR
|
|
114
|
+
INVALID_CONTENT_TYPE_ONLY_JSON=Invalid content type. Only "application/json" is supported.
|
|
115
|
+
|
|
116
|
+
# access control
|
|
117
|
+
|
|
118
|
+
#NOTR
|
|
119
|
+
INSERTABLE=insertable
|
|
120
|
+
#NOTR
|
|
121
|
+
READABLE=readable
|
|
122
|
+
#NOTR
|
|
123
|
+
UPDATABLE=updatable
|
|
124
|
+
#NOTR
|
|
125
|
+
DELETABLE=deletable
|
|
126
|
+
#NOTR
|
|
127
|
+
ENTITY_IS_INSERT_ONLY=Entity "{0}" is insert-only
|
|
128
|
+
#NOTR
|
|
129
|
+
ENTITY_IS_READ_ONLY=Entity "{0}" is read-only
|
|
130
|
+
#NOTR
|
|
131
|
+
ENTITY_IS_NOT_CRUD=Entity "{0}" is not {1}
|
|
132
|
+
#NOTR
|
|
133
|
+
ENTITY_IS_NOT_CRUD_VIA_NAVIGATION=Entity "{0}" is not {1} via navigation "{2}"
|
|
134
|
+
#NOTR
|
|
135
|
+
ENTITY_IS_AUTOEXPOSED=Entity "{0}" is not explicitly exposed as part of the service
|
|
136
|
+
#NOTR
|
|
137
|
+
ENTITY_IS_AUTOEXPOSE_READONLY=Entity "{0}" is explicitly exposed as readonly
|
|
138
|
+
#NOTR
|
|
139
|
+
EXPAND_IS_RESTRICTED=Navigation property "{0}" is not allowed for expand operation
|
|
140
|
+
|
|
141
|
+
# rest protocol adapter
|
|
142
|
+
|
|
143
|
+
#NOTR
|
|
144
|
+
INVALID_RESOURCE="{0}" is not a valid resource
|
|
145
|
+
#NOTR
|
|
146
|
+
INVALID_PARAMETER="{0}" is not a valid parameter
|
|
147
|
+
#NOTR
|
|
148
|
+
INVALID_PARAMETER_VALUE_TYPE=Parameter value for "{0}" must be of type "{1}"
|
|
149
|
+
#NOTR
|
|
150
|
+
INVALID_OPERATION_FOR_ENTITY=Entity "{0}" has no {1} "{2}"
|
|
151
|
+
#NOTR
|
|
152
|
+
NO_MATCHING_RESOURCE=The server has not found a resource matching the requested URI
|
|
153
|
+
#NOTR
|
|
154
|
+
INVALID_POST=POST is only allowed on resource collections and actions
|
|
155
|
+
#NOTR
|
|
156
|
+
INVALID_PUT=PUT is only allowed on a specific resource
|
|
157
|
+
#NOTR
|
|
158
|
+
INVALID_PATCH=PATCH is only allowed on a specific resource
|
|
159
|
+
#NOTR
|
|
160
|
+
INVALID_DELETE=DELETE is only supported on a specific resource
|
|
161
|
+
#NOTR
|
|
162
|
+
CRUD_VIA_NAVIGATION_NOT_SUPPORTED=CRUD via navigations is not yet supported
|
|
163
|
+
|
|
164
|
+
# OData protocol adapter
|
|
165
|
+
|
|
166
|
+
#NOTR
|
|
167
|
+
BATCH_TOO_MANY_REQ=Batch request contains too many requests
|
|
168
|
+
|
|
169
|
+
# draft
|
|
170
|
+
|
|
171
|
+
#NOTR
|
|
172
|
+
DRAFT_LOCKED_BY_ANOTHER_USER=The entity is locked by user "{0}"
|
|
173
|
+
#NOTR
|
|
174
|
+
DRAFT_ALREADY_EXISTS=A draft for this entity already exists
|
|
175
|
+
#NOTR
|
|
176
|
+
DRAFT_NOT_EXISTING=No draft for this entity exists
|
|
177
|
+
#NOTR
|
|
178
|
+
DRAFT_MODIFICATION_ONLY_VIA_ROOT=A draft-enabled entity can only be modified via its root entity
|
|
179
|
+
#NOTR
|
|
180
|
+
ACTIVE_MODIFICATION_VIA_DRAFT=Active entities cannot be modified via draft request
|
|
181
|
+
#NOTR
|
|
182
|
+
DRAFT_ACTIVE_DELETE_FORBIDDEN_DRAFT_EXISTS=Entity cannot be deleted because a draft exists
|
|
183
|
+
|
|
184
|
+
# singleton
|
|
185
|
+
|
|
186
|
+
#NOTR
|
|
187
|
+
SINGLETON_NOT_NULLABLE=The singleton entity is not nullable
|
|
188
|
+
|
|
189
|
+
# flows
|
|
190
|
+
|
|
191
|
+
#XMSG: Action "acceptTravel" requires "travelStatus" to be "Open".
|
|
192
|
+
INVALID_FLOW_TRANSITION_SINGLE="{0}" i\u015Flemi i\u00E7in "{1}", "{2}" olmal\u0131.
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI="{0}" i\u015Flemi i\u00E7in "{1}" \u015Fu de\u011Ferlerden biri olmal\u0131: {2}.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Input Validation
|
|
2
|
+
|
|
3
|
+
#XMSG: Enter a value between 0 and 100. // Implementation still provides 3 values
|
|
4
|
+
ASSERT_RANGE=\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0456\u0436 {1} \u0456 {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F, \u044F\u043A\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0454 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043E\u0434\u043D\u0435 \u0437 \u0434\u043E\u0437\u0432\u043E\u043B\u0435\u043D\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=\u0412\u043A\u0430\u0436\u0456\u0442\u044C \u0432\u0456\u0434\u0441\u0443\u0442\u043D\u0454 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=\u0426\u0456\u043B\u044C \u0437 \u0446\u0438\u043C \u043A\u043B\u044E\u0447\u0435\u043C \u043D\u0435 \u0456\u0441\u043D\u0443\u0454.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=\u0421\u0442\u0430\u043B\u0438\u0441\u044F \u0447\u0438\u0441\u043B\u0435\u043D\u043D\u0456 \u043F\u043E\u043C\u0438\u043B\u043A\u0438, \u0434\u0438\u0432. \u043F\u043E\u0434\u0440\u043E\u0431\u0438\u0446\u0456 \u043D\u0438\u0436\u0447\u0435.
|
|
18
|
+
|
|
19
|
+
# Input format
|
|
20
|
+
|
|
21
|
+
#NOTR
|
|
22
|
+
ASSERT_VALID_ELEMENT=Element is not valid
|
|
23
|
+
#NOTR
|
|
24
|
+
ASSERT_DATA_TYPE=Value {0} is not a valid {1}
|
|
25
|
+
#NOTR
|
|
26
|
+
ASSERT_ARRAY=Value must be an array
|
|
27
|
+
|
|
28
|
+
# Status Codes
|
|
29
|
+
|
|
30
|
+
#NOTR
|
|
31
|
+
400=Bad Request
|
|
32
|
+
#NOTR
|
|
33
|
+
401=Unauthorized
|
|
34
|
+
#NOTR
|
|
35
|
+
403=Forbidden
|
|
36
|
+
#NOTR
|
|
37
|
+
404=Not Found
|
|
38
|
+
#NOTR
|
|
39
|
+
405=Method Not Allowed
|
|
40
|
+
#NOTR
|
|
41
|
+
406=Not Acceptable
|
|
42
|
+
#NOTR
|
|
43
|
+
407=Proxy Authentication Required
|
|
44
|
+
#NOTR
|
|
45
|
+
408=Request Timeout
|
|
46
|
+
#NOTR
|
|
47
|
+
409=Conflict
|
|
48
|
+
#NOTR
|
|
49
|
+
410=Gone
|
|
50
|
+
#NOTR
|
|
51
|
+
411=Length Required
|
|
52
|
+
#NOTR
|
|
53
|
+
412=Precondition Failed
|
|
54
|
+
#NOTR
|
|
55
|
+
413=Payload Too Large
|
|
56
|
+
#NOTR
|
|
57
|
+
414=URI Too Long
|
|
58
|
+
#NOTR
|
|
59
|
+
415=Unsupported Media Type
|
|
60
|
+
#NOTR
|
|
61
|
+
416=Range Not Satisfiable
|
|
62
|
+
#NOTR
|
|
63
|
+
417=Expectation Failed
|
|
64
|
+
#NOTR
|
|
65
|
+
422=Unprocessable Content
|
|
66
|
+
#NOTR
|
|
67
|
+
424=Failed Dependency
|
|
68
|
+
#NOTR
|
|
69
|
+
428=Precondition Required
|
|
70
|
+
#NOTR
|
|
71
|
+
429=Too Many Requests
|
|
72
|
+
#NOTR
|
|
73
|
+
431=Request Header Fields Too Large
|
|
74
|
+
#NOTR
|
|
75
|
+
451=Unavailable For Legal Reasons
|
|
76
|
+
#NOTR
|
|
77
|
+
500=Internal Server Error
|
|
78
|
+
#NOTR
|
|
79
|
+
501=The server does not support the functionality required to fulfill the request
|
|
80
|
+
#NOTR
|
|
81
|
+
502=Bad Gateway
|
|
82
|
+
#NOTR
|
|
83
|
+
503=Service Unavailable
|
|
84
|
+
#NOTR
|
|
85
|
+
504=Gateway Timeout
|
|
86
|
+
|
|
87
|
+
# fragments
|
|
88
|
+
|
|
89
|
+
#NOTR
|
|
90
|
+
ENTITY=entity
|
|
91
|
+
#NOTR
|
|
92
|
+
TYPE=type
|
|
93
|
+
#NOTR
|
|
94
|
+
FUNCTION=function
|
|
95
|
+
#NOTR
|
|
96
|
+
ACTION=action
|
|
97
|
+
|
|
98
|
+
# db
|
|
99
|
+
|
|
100
|
+
#NOTR
|
|
101
|
+
NO_DATABASE_CONNECTION=No database connection
|
|
102
|
+
#NOTR
|
|
103
|
+
ENTITY_ALREADY_EXISTS=Entity already exists
|
|
104
|
+
#NOTR
|
|
105
|
+
ENTITY_LOCKED=Entity locked
|
|
106
|
+
#NOTR
|
|
107
|
+
UNIQUE_CONSTRAINT_VIOLATION=Unique constraint violation
|
|
108
|
+
#NOTR
|
|
109
|
+
FK_CONSTRAINT_VIOLATION=Foreign key constraint violation
|
|
110
|
+
|
|
111
|
+
# remote
|
|
112
|
+
|
|
113
|
+
#NOTR
|
|
114
|
+
INVALID_CONTENT_TYPE_ONLY_JSON=Invalid content type. Only "application/json" is supported.
|
|
115
|
+
|
|
116
|
+
# access control
|
|
117
|
+
|
|
118
|
+
#NOTR
|
|
119
|
+
INSERTABLE=insertable
|
|
120
|
+
#NOTR
|
|
121
|
+
READABLE=readable
|
|
122
|
+
#NOTR
|
|
123
|
+
UPDATABLE=updatable
|
|
124
|
+
#NOTR
|
|
125
|
+
DELETABLE=deletable
|
|
126
|
+
#NOTR
|
|
127
|
+
ENTITY_IS_INSERT_ONLY=Entity "{0}" is insert-only
|
|
128
|
+
#NOTR
|
|
129
|
+
ENTITY_IS_READ_ONLY=Entity "{0}" is read-only
|
|
130
|
+
#NOTR
|
|
131
|
+
ENTITY_IS_NOT_CRUD=Entity "{0}" is not {1}
|
|
132
|
+
#NOTR
|
|
133
|
+
ENTITY_IS_NOT_CRUD_VIA_NAVIGATION=Entity "{0}" is not {1} via navigation "{2}"
|
|
134
|
+
#NOTR
|
|
135
|
+
ENTITY_IS_AUTOEXPOSED=Entity "{0}" is not explicitly exposed as part of the service
|
|
136
|
+
#NOTR
|
|
137
|
+
ENTITY_IS_AUTOEXPOSE_READONLY=Entity "{0}" is explicitly exposed as readonly
|
|
138
|
+
#NOTR
|
|
139
|
+
EXPAND_IS_RESTRICTED=Navigation property "{0}" is not allowed for expand operation
|
|
140
|
+
|
|
141
|
+
# rest protocol adapter
|
|
142
|
+
|
|
143
|
+
#NOTR
|
|
144
|
+
INVALID_RESOURCE="{0}" is not a valid resource
|
|
145
|
+
#NOTR
|
|
146
|
+
INVALID_PARAMETER="{0}" is not a valid parameter
|
|
147
|
+
#NOTR
|
|
148
|
+
INVALID_PARAMETER_VALUE_TYPE=Parameter value for "{0}" must be of type "{1}"
|
|
149
|
+
#NOTR
|
|
150
|
+
INVALID_OPERATION_FOR_ENTITY=Entity "{0}" has no {1} "{2}"
|
|
151
|
+
#NOTR
|
|
152
|
+
NO_MATCHING_RESOURCE=The server has not found a resource matching the requested URI
|
|
153
|
+
#NOTR
|
|
154
|
+
INVALID_POST=POST is only allowed on resource collections and actions
|
|
155
|
+
#NOTR
|
|
156
|
+
INVALID_PUT=PUT is only allowed on a specific resource
|
|
157
|
+
#NOTR
|
|
158
|
+
INVALID_PATCH=PATCH is only allowed on a specific resource
|
|
159
|
+
#NOTR
|
|
160
|
+
INVALID_DELETE=DELETE is only supported on a specific resource
|
|
161
|
+
#NOTR
|
|
162
|
+
CRUD_VIA_NAVIGATION_NOT_SUPPORTED=CRUD via navigations is not yet supported
|
|
163
|
+
|
|
164
|
+
# OData protocol adapter
|
|
165
|
+
|
|
166
|
+
#NOTR
|
|
167
|
+
BATCH_TOO_MANY_REQ=Batch request contains too many requests
|
|
168
|
+
|
|
169
|
+
# draft
|
|
170
|
+
|
|
171
|
+
#NOTR
|
|
172
|
+
DRAFT_LOCKED_BY_ANOTHER_USER=The entity is locked by user "{0}"
|
|
173
|
+
#NOTR
|
|
174
|
+
DRAFT_ALREADY_EXISTS=A draft for this entity already exists
|
|
175
|
+
#NOTR
|
|
176
|
+
DRAFT_NOT_EXISTING=No draft for this entity exists
|
|
177
|
+
#NOTR
|
|
178
|
+
DRAFT_MODIFICATION_ONLY_VIA_ROOT=A draft-enabled entity can only be modified via its root entity
|
|
179
|
+
#NOTR
|
|
180
|
+
ACTIVE_MODIFICATION_VIA_DRAFT=Active entities cannot be modified via draft request
|
|
181
|
+
#NOTR
|
|
182
|
+
DRAFT_ACTIVE_DELETE_FORBIDDEN_DRAFT_EXISTS=Entity cannot be deleted because a draft exists
|
|
183
|
+
|
|
184
|
+
# singleton
|
|
185
|
+
|
|
186
|
+
#NOTR
|
|
187
|
+
SINGLETON_NOT_NULLABLE=The singleton entity is not nullable
|
|
188
|
+
|
|
189
|
+
# flows
|
|
190
|
+
|
|
191
|
+
#XMSG: Action "acceptTravel" requires "travelStatus" to be "Open".
|
|
192
|
+
INVALID_FLOW_TRANSITION_SINGLE=\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F "{0}" \u0432\u0438\u043C\u0430\u0433\u0430\u0454, \u0449\u043E\u0431 "{1}" \u0431\u0443\u0432 "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F "{0}" \u0432\u0438\u043C\u0430\u0433\u0430\u0454, \u0449\u043E\u0431 "{1}" \u043C\u0430\u0432 \u043E\u0434\u043D\u0435 \u0437 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: {2}.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Input Validation
|
|
2
|
+
|
|
3
|
+
#XMSG: Enter a value between 0 and 100. // Implementation still provides 3 values
|
|
4
|
+
ASSERT_RANGE=Nh\u00E2\u0323p m\u1ED9t s\u00F4\u0301 n\u1EB1m trong kho\u1EA3ng t\u1EEB {1} \u0111\u1EBFn {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Nh\u1EADp m\u1ED9t gi\u00E1 tr\u1ECB kh\u1EDBp v\u1EDBi m\u1EABu {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Nh\u1EADp m\u1ED9t trong c\u00E1c gi\u00E1 tr\u1ECB \u0111\u01B0\u1EE3c ph\u00E9p: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Cung c\u1EA5p gi\u00E1 tr\u1ECB b\u1ECB thi\u1EBFu.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=Phi\u00EAn b\u1EA3n \u0111\u00EDch c\u00F3 kh\u00F3a n\u00E0y kh\u00F4ng t\u1ED3n t\u1EA1i.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=\u0110\u00E3 x\u1EA3y ra nhi\u1EC1u l\u1ED7i, xem chi ti\u1EBFt b\u00EAn d\u01B0\u1EDBi.
|
|
18
|
+
|
|
19
|
+
# Input format
|
|
20
|
+
|
|
21
|
+
#NOTR
|
|
22
|
+
ASSERT_VALID_ELEMENT=Element is not valid
|
|
23
|
+
#NOTR
|
|
24
|
+
ASSERT_DATA_TYPE=Value {0} is not a valid {1}
|
|
25
|
+
#NOTR
|
|
26
|
+
ASSERT_ARRAY=Value must be an array
|
|
27
|
+
|
|
28
|
+
# Status Codes
|
|
29
|
+
|
|
30
|
+
#NOTR
|
|
31
|
+
400=Bad Request
|
|
32
|
+
#NOTR
|
|
33
|
+
401=Unauthorized
|
|
34
|
+
#NOTR
|
|
35
|
+
403=Forbidden
|
|
36
|
+
#NOTR
|
|
37
|
+
404=Not Found
|
|
38
|
+
#NOTR
|
|
39
|
+
405=Method Not Allowed
|
|
40
|
+
#NOTR
|
|
41
|
+
406=Not Acceptable
|
|
42
|
+
#NOTR
|
|
43
|
+
407=Proxy Authentication Required
|
|
44
|
+
#NOTR
|
|
45
|
+
408=Request Timeout
|
|
46
|
+
#NOTR
|
|
47
|
+
409=Conflict
|
|
48
|
+
#NOTR
|
|
49
|
+
410=Gone
|
|
50
|
+
#NOTR
|
|
51
|
+
411=Length Required
|
|
52
|
+
#NOTR
|
|
53
|
+
412=Precondition Failed
|
|
54
|
+
#NOTR
|
|
55
|
+
413=Payload Too Large
|
|
56
|
+
#NOTR
|
|
57
|
+
414=URI Too Long
|
|
58
|
+
#NOTR
|
|
59
|
+
415=Unsupported Media Type
|
|
60
|
+
#NOTR
|
|
61
|
+
416=Range Not Satisfiable
|
|
62
|
+
#NOTR
|
|
63
|
+
417=Expectation Failed
|
|
64
|
+
#NOTR
|
|
65
|
+
422=Unprocessable Content
|
|
66
|
+
#NOTR
|
|
67
|
+
424=Failed Dependency
|
|
68
|
+
#NOTR
|
|
69
|
+
428=Precondition Required
|
|
70
|
+
#NOTR
|
|
71
|
+
429=Too Many Requests
|
|
72
|
+
#NOTR
|
|
73
|
+
431=Request Header Fields Too Large
|
|
74
|
+
#NOTR
|
|
75
|
+
451=Unavailable For Legal Reasons
|
|
76
|
+
#NOTR
|
|
77
|
+
500=Internal Server Error
|
|
78
|
+
#NOTR
|
|
79
|
+
501=The server does not support the functionality required to fulfill the request
|
|
80
|
+
#NOTR
|
|
81
|
+
502=Bad Gateway
|
|
82
|
+
#NOTR
|
|
83
|
+
503=Service Unavailable
|
|
84
|
+
#NOTR
|
|
85
|
+
504=Gateway Timeout
|
|
86
|
+
|
|
87
|
+
# fragments
|
|
88
|
+
|
|
89
|
+
#NOTR
|
|
90
|
+
ENTITY=entity
|
|
91
|
+
#NOTR
|
|
92
|
+
TYPE=type
|
|
93
|
+
#NOTR
|
|
94
|
+
FUNCTION=function
|
|
95
|
+
#NOTR
|
|
96
|
+
ACTION=action
|
|
97
|
+
|
|
98
|
+
# db
|
|
99
|
+
|
|
100
|
+
#NOTR
|
|
101
|
+
NO_DATABASE_CONNECTION=No database connection
|
|
102
|
+
#NOTR
|
|
103
|
+
ENTITY_ALREADY_EXISTS=Entity already exists
|
|
104
|
+
#NOTR
|
|
105
|
+
ENTITY_LOCKED=Entity locked
|
|
106
|
+
#NOTR
|
|
107
|
+
UNIQUE_CONSTRAINT_VIOLATION=Unique constraint violation
|
|
108
|
+
#NOTR
|
|
109
|
+
FK_CONSTRAINT_VIOLATION=Foreign key constraint violation
|
|
110
|
+
|
|
111
|
+
# remote
|
|
112
|
+
|
|
113
|
+
#NOTR
|
|
114
|
+
INVALID_CONTENT_TYPE_ONLY_JSON=Invalid content type. Only "application/json" is supported.
|
|
115
|
+
|
|
116
|
+
# access control
|
|
117
|
+
|
|
118
|
+
#NOTR
|
|
119
|
+
INSERTABLE=insertable
|
|
120
|
+
#NOTR
|
|
121
|
+
READABLE=readable
|
|
122
|
+
#NOTR
|
|
123
|
+
UPDATABLE=updatable
|
|
124
|
+
#NOTR
|
|
125
|
+
DELETABLE=deletable
|
|
126
|
+
#NOTR
|
|
127
|
+
ENTITY_IS_INSERT_ONLY=Entity "{0}" is insert-only
|
|
128
|
+
#NOTR
|
|
129
|
+
ENTITY_IS_READ_ONLY=Entity "{0}" is read-only
|
|
130
|
+
#NOTR
|
|
131
|
+
ENTITY_IS_NOT_CRUD=Entity "{0}" is not {1}
|
|
132
|
+
#NOTR
|
|
133
|
+
ENTITY_IS_NOT_CRUD_VIA_NAVIGATION=Entity "{0}" is not {1} via navigation "{2}"
|
|
134
|
+
#NOTR
|
|
135
|
+
ENTITY_IS_AUTOEXPOSED=Entity "{0}" is not explicitly exposed as part of the service
|
|
136
|
+
#NOTR
|
|
137
|
+
ENTITY_IS_AUTOEXPOSE_READONLY=Entity "{0}" is explicitly exposed as readonly
|
|
138
|
+
#NOTR
|
|
139
|
+
EXPAND_IS_RESTRICTED=Navigation property "{0}" is not allowed for expand operation
|
|
140
|
+
|
|
141
|
+
# rest protocol adapter
|
|
142
|
+
|
|
143
|
+
#NOTR
|
|
144
|
+
INVALID_RESOURCE="{0}" is not a valid resource
|
|
145
|
+
#NOTR
|
|
146
|
+
INVALID_PARAMETER="{0}" is not a valid parameter
|
|
147
|
+
#NOTR
|
|
148
|
+
INVALID_PARAMETER_VALUE_TYPE=Parameter value for "{0}" must be of type "{1}"
|
|
149
|
+
#NOTR
|
|
150
|
+
INVALID_OPERATION_FOR_ENTITY=Entity "{0}" has no {1} "{2}"
|
|
151
|
+
#NOTR
|
|
152
|
+
NO_MATCHING_RESOURCE=The server has not found a resource matching the requested URI
|
|
153
|
+
#NOTR
|
|
154
|
+
INVALID_POST=POST is only allowed on resource collections and actions
|
|
155
|
+
#NOTR
|
|
156
|
+
INVALID_PUT=PUT is only allowed on a specific resource
|
|
157
|
+
#NOTR
|
|
158
|
+
INVALID_PATCH=PATCH is only allowed on a specific resource
|
|
159
|
+
#NOTR
|
|
160
|
+
INVALID_DELETE=DELETE is only supported on a specific resource
|
|
161
|
+
#NOTR
|
|
162
|
+
CRUD_VIA_NAVIGATION_NOT_SUPPORTED=CRUD via navigations is not yet supported
|
|
163
|
+
|
|
164
|
+
# OData protocol adapter
|
|
165
|
+
|
|
166
|
+
#NOTR
|
|
167
|
+
BATCH_TOO_MANY_REQ=Batch request contains too many requests
|
|
168
|
+
|
|
169
|
+
# draft
|
|
170
|
+
|
|
171
|
+
#NOTR
|
|
172
|
+
DRAFT_LOCKED_BY_ANOTHER_USER=The entity is locked by user "{0}"
|
|
173
|
+
#NOTR
|
|
174
|
+
DRAFT_ALREADY_EXISTS=A draft for this entity already exists
|
|
175
|
+
#NOTR
|
|
176
|
+
DRAFT_NOT_EXISTING=No draft for this entity exists
|
|
177
|
+
#NOTR
|
|
178
|
+
DRAFT_MODIFICATION_ONLY_VIA_ROOT=A draft-enabled entity can only be modified via its root entity
|
|
179
|
+
#NOTR
|
|
180
|
+
ACTIVE_MODIFICATION_VIA_DRAFT=Active entities cannot be modified via draft request
|
|
181
|
+
#NOTR
|
|
182
|
+
DRAFT_ACTIVE_DELETE_FORBIDDEN_DRAFT_EXISTS=Entity cannot be deleted because a draft exists
|
|
183
|
+
|
|
184
|
+
# singleton
|
|
185
|
+
|
|
186
|
+
#NOTR
|
|
187
|
+
SINGLETON_NOT_NULLABLE=The singleton entity is not nullable
|
|
188
|
+
|
|
189
|
+
# flows
|
|
190
|
+
|
|
191
|
+
#XMSG: Action "acceptTravel" requires "travelStatus" to be "Open".
|
|
192
|
+
INVALID_FLOW_TRANSITION_SINGLE=H\u00E0nh \u0111\u1ED9ng "{0}" y\u00EAu c\u1EA7u "{1}" ph\u1EA3i l\u00E0 "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=H\u00E0nh \u0111\u1ED9ng "{0}" y\u00EAu c\u1EA7u "{1}" ph\u1EA3i l\u00E0 m\u1ED9t trong c\u00E1c gi\u00E1 tr\u1ECB sau \u0111\u00E2y: {2}.
|