@sap/cds 9.3.1 → 9.4.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/CHANGELOG.md +63 -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/middlewares/errors.js +2 -1
- 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/common/generic/input.js +12 -2
- 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 +2 -2
- 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=Wprowad\u017A warto\u015B\u0107 z zakresu mi\u0119dzy {1} a {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Wprowad\u017A warto\u015B\u0107 odpowiadaj\u0105c\u0105 wzorcowi {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Wprowad\u017A jedn\u0105 z dozwolonych warto\u015Bci: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Podaj brakuj\u0105c\u0105 warto\u015B\u0107.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=Obiekt docelowy z tym kluczem nie istnieje.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Wyst\u0105pi\u0142o wiele b\u0142\u0119d\u00F3w; zobacz szczeg\u00F3\u0142y poni\u017Cej.
|
|
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=Czynno\u015B\u0107 "{0}" wymaga, aby element "{1}" mia\u0142 warto\u015B\u0107 "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=Czynno\u015B\u0107 "{0}" wymaga, aby element "{1}" mia\u0142 jedn\u0105 z nast\u0119puj\u0105cych warto\u015Bci: {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=Insira um valor entre {1} e {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Insira um valor que corresponda ao padr\u00E3o {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Insira um dos valores permitidos: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Forne\u00E7a o valor ausente.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=N\u00E3o existe o destino com essa chave.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Ocorreram v\u00E1rios erros, veja os detalhes abaixo.
|
|
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=A a\u00E7\u00E3o "{0}" exige que "{1}" seja "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=A a\u00E7\u00E3o "{0}" exige que "{1}" seja um dos seguintes valores: {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=Introduce\u021Bi o valoare \u00EEntre {1} \u0219i {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Introduce\u021Bi o valoare care corespunde cu modelul {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Introduce\u021Bi una dintre valorile permise: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Furniza\u021Bi valoarea lips\u0103.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=\u021Ainta cu aceast\u0103 cheie nu exist\u0103.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Au ap\u0103rut mai multe erori, consulta\u021Bi detaliile mai jos.
|
|
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=Ac\u021Biunea "{0}" necesit\u0103 ca "{1}" s\u0103 fie "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=Ac\u021Biunea "{0}" necesit\u0103 ca "{1}" s\u0103 fie una dintre urm\u0103toarele valori: {2}.
|