@@ -78,3 +78,244 @@ progressSearching = "Searching for resources"
78
78
foundResourceManifest = " Found resource manifest: #{path}"
79
79
adapterFound = " Resource adapter '#{adapter}' found"
80
80
resourceFound = " Resource '#{resource}' found"
81
+
82
+ [dscresources .commandResource ]
83
+ invokeGet = " Invoking get for '#{resource}'"
84
+ invokeGetUsing = " Invoking get '#{resource}' using '#{executable}'"
85
+ verifyOutputUsing = " Verifying output of get '#{resource}' using '#{executable}'"
86
+ groupGetResponse = " Group get response: #{response}"
87
+ failedParseJson = " Failed to parse JSON from get #{executable}|#{stdout}|#{stderr} -> #{err}"
88
+ invokeSet = " Invoking set for '#{resource}'"
89
+ noPretest = " No pretest, invoking test on '#{resource}'"
90
+ syntheticWhatIf = " cannot process what-if execution type, as resource implements pre-test and does not support what-if"
91
+ setGetCurrent = " Getting current state for set by invoking get on '#{resource}' using '#{executable}'"
92
+ setVerifyGet = " Verifying output of get on '#{resource}' using '#{executable}'"
93
+ setVerifyOutput = " Verifying output of #{operation} '#{resource}' using '#{executable}'"
94
+ setUnexpectedOutput = " Command did not return expected actual output"
95
+ setUnexpectedDiff = " Command did not return expected diff output"
96
+ invokeTest = " Invoking test for '#{resource}'"
97
+ testSyntheticTest = " Resource '#{resource}' does not implement test, performing synthetic test"
98
+ invokeTestUsing = " Invoking test on '#{resource}' using '{executable}'"
99
+ testVerifyOutput = " Verifying output of test on '#{resource}' using '#{executable}'"
100
+ testGroupTestResponse = " Import resource kind, returning group test response"
101
+ testNoActualState = " No actual state returned"
102
+ testNoDiff = " No diff properties returned"
103
+ invokeDeleteUsing = " Invoking delete on '#{resource}' using '#{executable}'"
104
+ invokeValidateConfig = " Invoking validate on '#{resource}' using '#{config}'"
105
+ invokeVaalidateUsing = " Invoking validate on '#{resource}' using '#{executable}'"
106
+ exportNotSupported = " Export is not supported by resource '#{resource}'"
107
+ exportVerifyOutput = " Verifying output of export on '#{resource}' using '#{executable}'"
108
+ resolveNotSupported = " Resolve is not supported by resource '#{resource}'"
109
+ invokeResolveUsing = " Invoking resolve on '#{resource}' using '#{executable}'"
110
+ processChildStdout = " child process did not have a handle to stdout"
111
+ processChildStderr = " child process did not have a handle to stderr"
112
+ processChildStdin = " child process did not have a handle to stdin"
113
+ processWriteStdin = " could not write to stdin"
114
+ processChildId = " Can't get child process id"
115
+ processChildExit = " Process '#{executable}' id #{id} exited with code #{code}"
116
+ processChildTerminated = " Process '#{executable}' id #{id} terminated by signal"
117
+ processTerminated = " Process terminated by signal"
118
+ commandInvoke = " Invoking command '#{executable}' with args #{args}"
119
+ noArgs = " No args to process"
120
+ parseAsEnvVars = " Parsing input as environment variables"
121
+ parseAsStdin = " Parsing input as stdin"
122
+ noInput = " No input kind specified"
123
+ verifyJson = " Verify JSON for '#{resource}'"
124
+ validateJson = " Validating against JSON: #{json}"
125
+ resourceInvalidJson = " Resource reported input JSON is not valid"
126
+ invalidArrayKey = " Unsupported array value for key '#{key}'. Only string and number is supported."
127
+ invalidKey = " Unsupported value for key '#{key}'. Only string, bool, number, and array is supported."
128
+
129
+ [dscresources .dscresource ]
130
+ invokeGet = " Invoking get for '#{resource}'"
131
+ customResourceNotSupported = " Custom resource not supported"
132
+ invokeSet = " Invoking set for '#{resource}'"
133
+ invokeTest = " Invoking test for '#{resource}'"
134
+ invokeDelete = " Invoking delete for '#{resource}'"
135
+ invokeValidate = " Invoking validate for '#{resource}'"
136
+ invokeSchema = " Invoking schema for '#{resource}'"
137
+ invokeExport = " Invoking export for '#{resource}'"
138
+ invokeResolve = " Invoking resolve for '#{resource}'"
139
+ subDiff = " diff: sub diff for '#{key}'"
140
+ diffArray = " diff: arrays differ for '#{key}'"
141
+ diffNotArray = " diff: '#{key}' is not an array"
142
+ diffKeyMissing = " diff: key '#{key}' missing"
143
+ diffKeyNotObject = " diff: key '#{key}' is not an object"
144
+ diffArraySize = " diff: arrays have different lengths"
145
+ diffMissingItem = " diff: actual array missing expected item"
146
+
147
+ [functions ]
148
+ invalidArgType = " Invalid argument type"
149
+ invalidArguments = " Invalid argument(s)"
150
+ unknownFunction = " Unknown function '#{name}'"
151
+ noArgsAccepted = " Function '#{name}' does not accept arguments"
152
+ invalidArgCount = " Function '#{name}' requires exactly #{count} arguments"
153
+ minArgsRequired = " Function '#{name}' requires at least #{count} arguments"
154
+ argCountRequired = " Function '#{name}' requires between #{min_args} and #{max_args} arguments"
155
+ noArrayArgs = " Function '#{name}' does not accept array arguments, accepted types are: #{accepted_args_string}"
156
+ noBooleanArgs = " Function '#{name}' does not accept boolean arguments, accepted types are: #{accepted_args_string}"
157
+ noNumberArgs = " Function '#{name}' does not accept number arguments, accepted types are: #{accepted_args_string}"
158
+ noObjectArgs = " Function '#{name}' does not accept object arguments, accepted types are: #{accepted_args_string}"
159
+ noStringArgs = " Function '#{name}' does not accept string arguments, accepted types are: #{accepted_args_string}"
160
+
161
+ [functions .add ]
162
+ invoked = " add function"
163
+
164
+ [functions .concat ]
165
+ invoked = " concat function"
166
+ argsMustBeStrings = " Arguments must all be strings"
167
+ argsMustBeArrays = " Arguments must all be arrays"
168
+ onlyArraysOfStrings = " Arguments must all be arrays of strings"
169
+
170
+ [functions .createArray ]
171
+ invoked = " createArray function"
172
+ argsMustAllBeArrays = " Arguments must all be arrays"
173
+ argsMustAllBeIntegers = " Arguments must all be integers"
174
+ argsMustAllBeObjects = " Arguments must all be objects"
175
+ argsMustAllBeStrings = " Arguments must all be strings"
176
+
177
+ [functions .div ]
178
+ invoked = " div function"
179
+ divideByZero = " Cannot divide by zero"
180
+
181
+ [functions .envvar ]
182
+ notFound = " Environment variable not found"
183
+
184
+ [functions .int ]
185
+ invalidInput = " invalid input string"
186
+ parseStringError = " unable to parse string to int"
187
+ castError = " unable to cast to int"
188
+ parseNumError = " unable to parse number to int"
189
+
190
+ [functions .max ]
191
+ emptyArray = " Array cannot be empty"
192
+ integersOnly = " Array must contain only integers"
193
+ noMax = " Unable to find max value"
194
+
195
+ [functions .min ]
196
+ invoked = " min function"
197
+ emptyArray = " Array cannot be empty"
198
+ integersOnly = " Input must only contain integers"
199
+ noMin = " Unable to find min value"
200
+
201
+ [functions .mod ]
202
+ divideByZero = " Cannot divide by zero"
203
+
204
+ [functions .mul ]
205
+ invoked = " mul function"
206
+
207
+ [functions .parameters ]
208
+ invoked = " parameters function"
209
+ traceKey = " parameters key: #{key}"
210
+ keyNotString = " Parameter '#{key}' is not a string"
211
+ keyNotFound = " Parameter '#{key}' not found in context"
212
+
213
+ [functions .path ]
214
+ traceArgs = " Executing path function with args: #{args}"
215
+ argsMustBeStrings = " Arguments must all be strings"
216
+
217
+ [functions .reference ]
218
+ invoked = " reference function"
219
+ keyNotFound = " Invalid resourceId or resource has not executed yet: #{key}"
220
+
221
+ [functions .resourceId ]
222
+ incorrectTypeFormat = " Type argument must contain exactly one slash"
223
+ invalidFirstArgType = " Invalid argument type for first parameter"
224
+ incorrectNameFormat = " Name argument cannot contain a slash"
225
+ invalidSecondArgType = " Invalid argument type for second parameter"
226
+
227
+ [functions .sub ]
228
+ invoked = " sub function"
229
+
230
+ [functions .systemRoot ]
231
+ invoked = " systemRoot function"
232
+
233
+ [functions .variables ]
234
+ invoked = " variables function"
235
+ keyNotFound = " Variable '#{key}' does not exist or has not been initialized yet"
236
+
237
+ [parser .expression ]
238
+ functionNodeNotFound = " Function node not found"
239
+ parsingFunction = " Parsing function '#{name}'"
240
+ parsingAccessor = " Parsing accessor '#{name}'"
241
+ accessorParsingError = " Error parsing accessor"
242
+ parsingMemberAccessor = " Parsing member accessor '#{name}'"
243
+ memberNotFound = " Member name not found"
244
+ parsingIndexAccessor = " Parsing index accessor '#{index}'"
245
+ indexNotFound = " Index value not found"
246
+ invalidAccessorKind = " Invalid accessor kind: '#{kind}'"
247
+ functionResult = " Function results: #{results}"
248
+ evalAccessors = " Evaluating accessors"
249
+ memberNameNotFound = " Member '#{member}' not found"
250
+ accessOnNonObject = " Member access on non-object value"
251
+ expressionResult = " Expression result: #{result}"
252
+ indexNotValid = " Index is not a valid number"
253
+ indexOutOfBounds = " Index is out of bounds"
254
+ indexOnNonArray = " Index access on non-array value"
255
+ invalidIndexType = " Invalid index type"
256
+
257
+ [parser .functions ]
258
+ foundErrorNode = " Found error node parsing function"
259
+ nameNodeNotFound = " Function name node not found"
260
+ functionName = " Function name: '#{name}'"
261
+ argIsExpression = " Argument is an expression"
262
+ argIsValue = " Argument is a value: '#{value}'"
263
+ unknownArgType = " Unknown argument type '#{kind}'"
264
+
265
+ [parser ]
266
+ parsingStatement = " Parsing statement: #{statement}"
267
+ failedToParse = " Unable to parse: #{statement}"
268
+ failedToParseRoot = " Unable to parse statement root: #{statement}"
269
+ invalidStatement = " Invalid statement: #{statement}"
270
+ failedToParseStringLiteral = " Unable to parse string literal"
271
+ parsingStringLiteral = " Parsing string literal: #{value}"
272
+ failedToParseEscapedStringLiteral = " Unable to parse escaped string literal"
273
+ parsingEscapedStringLiteral = " Parsing escaped string literal: #{value}"
274
+ parsingExpression = " Parsing expression"
275
+ unknownExpressionType = " Unknown expression type: #{kind}"
276
+
277
+ [dscerror ]
278
+ adapterNotFound = " Adapter not found"
279
+ booleanConversion = " Function boolean argument conversion"
280
+ exitCode = " exit code"
281
+ commandResource = " Command: Resource"
282
+ commandExecutable = " Command: Executable"
283
+ manifestDescription = " manifest description"
284
+ commandOperation = " Command: Operation"
285
+ forExecutable = " for executable"
286
+ function = " Function"
287
+ error = " error"
288
+ integerConversion = " Function integer argument conversion"
289
+ invalidConfiguration = " Invalid configuration"
290
+ unsupportedManifestVersion = " Unsupported manifest version"
291
+ mustBe = " Must be"
292
+ invalidFunctionParameterCount = " Invalid function parameter count for"
293
+ expected = " expected"
294
+ got = " got"
295
+ language = " Language"
296
+ manifest = " Manifest"
297
+ missingManifest = " Missing manifest"
298
+ adapterBasedResource = " Adapter based resource"
299
+ missingRequires = " missing 'requires' property for resource"
300
+ schemaMissing = " Schema missing from manifest"
301
+ notImplemented = " Not implemented"
302
+ notSupported = " Not supported"
303
+ numberConversion = " Number conversion"
304
+ operation = " Operation"
305
+ parser = " Parser"
306
+ progress = " Progress"
307
+ resourceNotFound = " Resource not found"
308
+ resourceManifestNotFound = " Resource manifest not found"
309
+ schema = " Schema"
310
+ schemaNotAvailable = " No Schema found and `validate` is not supported"
311
+ securityContext = " Security context"
312
+ utf8Conversion = " UTF-8 conversion"
313
+ unkonwn = " Unknown"
314
+ validation = " Validation"
315
+ setting = " Setting"
316
+
317
+ [util ]
318
+ foundSetting = " Found setting '#{name}' in #{path}"
319
+ notFoundSetting = " Setting '#{name}' not found in #{path}"
320
+ failedToGetExePath = " Can't get 'dsc' executable path"
321
+ settingNotFound = " Setting '#{name}' not found"
0 commit comments