From 894ecf9d8c104feef8223ada6182225ff0876f69 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 11 Jun 2024 20:42:23 +0200 Subject: [PATCH] Fix missing translation for invalid parenthesis in multi-line statement Fixes CODEOCEAN-12N --- config/locales/de/linter/error.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/de/linter/error.yml b/config/locales/de/linter/error.yml index 1424e136..485ac7bb 100644 --- a/config/locales/de/linter/error.yml +++ b/config/locales/de/linter/error.yml @@ -29,7 +29,7 @@ de: is not allowed: "\" ist nicht erlaubt" log_missing: true name: Syntax-Fehler - regex: '(?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) ?(?function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:''(?[^''"]*)''\.*)? ?(?:(?Did you mean|does not match opening parenthesis|is not allowed)(?: '')?)?(?:(?.*)(?:\?|''|"))? ?\((?.*), line (?\d*)\).*' + regex: '(?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) ?(?function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:''(?[^''"]*)''\.*)? ?(?:(?Did you mean|does not match opening parenthesis|is not allowed)(?: '')?)?(?:(?.*)(?:\?|''|"|'' on line \d+))? ?\((?.*), line (?\d*)\).*' replacement: "%{what}%{what_exactly}%{actual}%{explanation}%{suggestion}" what: EOF while scanning triple-quoted string literal: Ein Kommentar mit drei Anführungszeichen wurde nicht geschlossen