@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=Vnesite vrednost med {1} in {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Vnesite vrednost, ki ustreza vzorcu {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Vnesite eno od dovoljenih vrednosti: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Navedite manjkajo\u010Do vrednost.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=Cilj s tem klju\u010Dem ne obstaja.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Pri\u0161lo je do ve\u010D napak; detajli so na voljo spodaj.
|
|
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=Za akcijo "{0}" mora biti "{1}" "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=Za akcijo "{0}" mora biti "{1}" ena od naslednjih vrednosti: {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=Ange ett v\u00E4rde mellan {1} och {2}.
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=Ange ett v\u00E4rde som matchar m\u00F6nstret {1}.
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=Ange ett av de till\u00E5tna v\u00E4rdena: {1}.
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=Ange saknat v\u00E4rde.
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=M\u00E5l med den h\u00E4r nyckeln finns inte.
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=Flera fel uppstod, se detaljerna nedan.
|
|
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=\u00C5tg\u00E4rd "{0}" kr\u00E4ver att "{1}" \u00E4r "{2}".
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=\u00C5tg\u00E4rd "{0}" kr\u00E4ver att "{1}" \u00E4r ett av f\u00F6ljande v\u00E4rden: {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=\u0E1B\u0E49\u0E2D\u0E19\u0E04\u0E48\u0E32\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07 {1} \u0E16\u0E36\u0E07 {2}
|
|
5
|
+
#XMSG: Enter a valuematching the pattern /^abc/.
|
|
6
|
+
ASSERT_FORMAT=\u0E1B\u0E49\u0E2D\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A {1}
|
|
7
|
+
#XMSG: Enter one of the allowed values: High,Medium,Low. // Implementation still provides 2 values
|
|
8
|
+
ASSERT_ENUM=\u0E1B\u0E49\u0E2D\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E04\u0E48\u0E32: {1}
|
|
9
|
+
#XMSG: Provide the missing value. // Error text displayed on a field, in case a mandatory value is not set.
|
|
10
|
+
ASSERT_MANDATORY=\u0E23\u0E30\u0E1A\u0E38\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E02\u0E32\u0E14\u0E2B\u0E32\u0E22\u0E44\u0E1B
|
|
11
|
+
#XMSG: Target with this key doesn't exist.
|
|
12
|
+
ASSERT_TARGET=\u0E44\u0E21\u0E48\u0E21\u0E35\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22\u0E17\u0E35\u0E48\u0E21\u0E35\u0E04\u0E35\u0E22\u0E4C\u0E19\u0E35\u0E49
|
|
13
|
+
|
|
14
|
+
# Aggregating Error
|
|
15
|
+
|
|
16
|
+
#XMSG
|
|
17
|
+
MULTIPLE_ERRORS=\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E40\u0E01\u0E34\u0E14\u0E02\u0E36\u0E49\u0E19\u0E2B\u0E25\u0E32\u0E22\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E14\u0E39\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14\u0E14\u0E49\u0E32\u0E19\u0E25\u0E48\u0E32\u0E07
|
|
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=\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23 "{0}" \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "{1}" \u0E40\u0E1B\u0E47\u0E19 "{2}"
|
|
193
|
+
#XMSG: Action "cancelTravel" requires "travelStatus" to be one of the following values: Open,Accepted.
|
|
194
|
+
INVALID_FLOW_TRANSITION_MULTI=\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23 "{0}" \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "{1}" \u0E40\u0E1B\u0E47\u0E19\u0E04\u0E48\u0E32\u0E43\u0E14\u0E04\u0E48\u0E32\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E19\u0E35\u0E49: {2}
|