Fix missing translation for invalid parenthesis in multi-line statement
Fixes CODEOCEAN-12N
This commit is contained in:

committed by
Dominic Sauer

parent
94ad197ff3
commit
894ecf9d8c
@ -29,7 +29,7 @@ de:
|
|||||||
is not allowed: "\" ist nicht erlaubt"
|
is not allowed: "\" ist nicht erlaubt"
|
||||||
log_missing: true
|
log_missing: true
|
||||||
name: Syntax-Fehler
|
name: Syntax-Fehler
|
||||||
regex: '(?<what>invalid syntax|EOL while scanning string literal|EOF while scanning triple-quoted string literal|cannot assign to|expected an indented block|Missing parentheses in call to|closing parenthesis|expression cannot contain assignment, perhaps you meant|f-string expression part cannot include a backslash|f-string:|invalid character in identifier|invalid decimal literal|trailing comma not allowed without surrounding parentheses|unexpected EOF while parsing|unexpected character after line continuation character|unexpected indent|unexpected unindent|unindent does not match any outer indentation level|unmatched|inconsistent use of tabs and spaces in indentation|illegal target for annotation|positional argument follows keyword argument|leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers|cannot assign to comparison|non-default argument follows default argument|cannot use assignment expressions with) ?(?<what_exactly>function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:''(?<actual>[^''"]*)''\.*)? ?(?:(?<explanation>Did you mean|does not match opening parenthesis|is not allowed)(?: '')?)?(?:(?<suggestion>.*)(?:\?|''|"))? ?\((?<context>.*), line (?<line>\d*)\).*'
|
regex: '(?<what>invalid syntax|EOL while scanning string literal|EOF while scanning triple-quoted string literal|cannot assign to|expected an indented block|Missing parentheses in call to|closing parenthesis|expression cannot contain assignment, perhaps you meant|f-string expression part cannot include a backslash|f-string:|invalid character in identifier|invalid decimal literal|trailing comma not allowed without surrounding parentheses|unexpected EOF while parsing|unexpected character after line continuation character|unexpected indent|unexpected unindent|unindent does not match any outer indentation level|unmatched|inconsistent use of tabs and spaces in indentation|illegal target for annotation|positional argument follows keyword argument|leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers|cannot assign to comparison|non-default argument follows default argument|cannot use assignment expressions with) ?(?<what_exactly>function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:''(?<actual>[^''"]*)''\.*)? ?(?:(?<explanation>Did you mean|does not match opening parenthesis|is not allowed)(?: '')?)?(?:(?<suggestion>.*)(?:\?|''|"|'' on line \d+))? ?\((?<context>.*), line (?<line>\d*)\).*'
|
||||||
replacement: "%{what}%{what_exactly}%{actual}%{explanation}%{suggestion}"
|
replacement: "%{what}%{what_exactly}%{actual}%{explanation}%{suggestion}"
|
||||||
what:
|
what:
|
||||||
EOF while scanning triple-quoted string literal: Ein Kommentar mit drei Anführungszeichen wurde nicht geschlossen
|
EOF while scanning triple-quoted string literal: Ein Kommentar mit drei Anführungszeichen wurde nicht geschlossen
|
||||||
|
Reference in New Issue
Block a user