forked from microsoft/pyright
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsimplified.nls.en-us.json
94 lines (94 loc) · 6.54 KB
/
simplified.nls.en-us.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"Diagnostic": {
"argAssignment": "Argument does not match parameter type",
"argAssignmentFunction": "Argument does not match parameter type in function \"{functionName}\"",
"argAssignmentParam": "Argument does not match parameter type for parameter \"{paramName}\"",
"argAssignmentParamFunction": "Argument does not match parameter type for parameter \"{paramName}\"",
"argMissingForParam": "Argument missing for parameter {name}",
"argMissingForParams": "Arguments missing for parameters {names}",
"argMorePositionalExpectedCount": "Expected {expected} more positional arguments",
"argMorePositionalExpectedOne": "Expected 1 more positional argument",
"argPositional": "Expected positional argument",
"argPositionalExpectedOne": "Expected 1 positional argument",
"assignmentTargetExpr": "Expression cannot be assignment target",
"booleanIsLowerCase": "\"{name}\" is not defined, did you mean \"{booleanName}\"?",
"breakOutsideLoop": "\"break\" can be used only within a \"while\" or \"for\" loop",
"constructorNoArgs": "Expected no arguments to \"{type}\" constructor",
"continueOutsideLoop": "\"continue\" can be used only within a \"while\" or \"for\" loop",
"delTargetExpr": "Expression cannot be deleted",
"duplicateParam": "Duplicate parameter \"{name}\"",
"expectedAssignRightHandExpr": "Expected expression to the right of \"=\"",
"expectedBinaryRightHandExpr": "Expected expression to the right of operator",
"expectedClassName": "Missing class name",
"expectedCloseBrace": "Missing closing bracket \"}\"",
"expectedCloseBracket": "Missing closing bracket \"]\"",
"expectedCloseParen": "Missing closing bracket \")\"",
"expectedColon": "Missing colon \":\"",
"expectedDelExpr": "Missing expression after \"del\"",
"expectedElse": "Missing \"else\"",
"expectedEqualityOperator": "Expected equality operator, did you mean \"==\"?",
"expectedExpr": "Missing expression",
"expectedFunctionName": "Missing function name after \"def\"",
"expectedIdentifier": "Missing identifier",
"expectedImport": "Missing \"import\"",
"expectedImportAlias": "Missing symbol after \"as\"",
"expectedImportSymbols": "Expected one or more symbol names after import",
"expectedIn": "Missing \"in\"",
"expectedIndentedBlock": "Indent missing",
"expectedInExpr": "Missing expression after \"in\"",
"expectedMemberName": "Missing member name after \".\"",
"expectedModuleName": "Missing module name",
"expectedNamedParameter": "Keyword parameter must follow \"*\"",
"expectedNewlineOrSemicolon": "Unexpected extra content\nStatements must be one per line",
"expectedOpenParen": "Missing opening bracket \"(\"",
"expectedParamName": "Missing parameter name",
"expectedSliceIndex": "Missing index or slice",
"expectedYieldExpr": "Expected expression in yield statement",
"globalReassignment": "\"{name}\" is assigned before global declaration",
"globalRedefinition": "\"{name}\" was already declared global",
"importResolveFailure": "Module \"{importName}\" could not be found",
"importSymbolUnknown": "\"{name}\" not found in module \"{moduleName}\"",
"inconsistentIndent": "Indent does not match the previous line",
"inconsistentTabs": "Inconsistent use of tabs and spaces for indents",
"instanceMethodSelfParam": "Instance methods need a \"self\" parameter",
"invalidIdentifierChar": "Invalid character in identifier",
"invalidTokenChars": "Invalid character \"{text}\" in token",
"memberAccess": "Cannot access member \"{name}\" for type \"{type}\"",
"memberDelete": "Cannot delete member \"{name}\" for type \"{type}\"",
"memberSet": "Cannot assign member \"{name}\" for type \"{type}\"",
"moduleNotCallable": "Module is not callable",
"moduleUnknownMember": "\"{name}\" is not a known member of module \"{module}\"",
"microbitVersionApiUnsupported": "\"{name}\" is not supported on a {device}",
"nonDefaultAfterDefault": "Non-default argument follows default argument",
"noOverload": "Arguments do not match parameter types",
"objectNotCallable": "Object is not callable",
"obscuredClassDeclaration": "Class \"{name}\" clashes with another declaration with the same name",
"obscuredFunctionDeclaration": "Function \"{name}\" clashes with another declaration with the same name",
"obscuredMethodDeclaration": "Method \"{name}\" clashes with another declaration with the same name",
"obscuredParameterDeclaration": "Parameter \"{name}\" clashes with another declaration with the same name",
"obscuredVariableDeclaration": "Declaration \"{name}\" clashes with another declaration with the same name",
"paramAfterKwargsParam": "Parameter cannot follow \"**\" parameter",
"paramAlreadyAssigned": "Parameter \"{name}\" is already assigned",
"paramNameMissing": "No parameter named \"{name}\"",
"positionArgAfterNamedArg": "Positional argument cannot appear after keyword arguments",
"returnOutsideFunction": "\"return\" can only be used within a function",
"stringUnsupportedEscape": "Unsupported escape sequence in string literal",
"stringUnterminated": "String is not closed — missing quotation mark",
"symbolIsUndefined": "\"{name}\" is not defined",
"trailingCommaInFromImport": "Trailing comma not allowed without surrounding parentheses",
"tupleIndexOutOfRange": "Index {index} is out of range for type {type}",
"typeNotIterable": "Type is not iterable",
"typeNotSupportBinaryOperator": "Operator \"{operator}\" not supported for this combination of types",
"typeNotSupportBinaryOperatorBidirectional": "Operator \"{operator}\" not supported for this combination of types",
"unaccessedClass": "Class \"{name}\" is unused",
"unaccessedFunction": "Function \"{name}\" is unused",
"unaccessedImport": "Import \"{name}\" is unused",
"unaccessedSymbol": "\"{name}\" is unused",
"unaccessedVariable": "Variable \"{name}\" is unused",
"unexpectedIndent": "Unexpected indent",
"unreachableCode": "Code is unreachable\nThe logic of your program means this code will never run"
},
"DiagnosticAddendum": {
"tupleSizeMismatch": "Element size mismatch; expected {expected} but received {received}"
}
}