Skip to content

Commit 8f03c97

Browse files
authored
Fix dropped parenthesis in Ch2 localization
1 parent 13512f3 commit 8f03c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def process_line(
208208
# Highlight localized strings
209209
line = re.sub(
210210
r'([A-Za-z0-9_]+loc\((?:\d+, )?)"((?:[^"\\]|\\.)+)(", "[a-z0-9_-]+")\)', # noqa: E501
211-
lambda matches: matches[1] + highlight_text(matches),
211+
lambda matches: matches[1] + highlight_text(matches) + ')',
212212
line,
213213
flags=re.IGNORECASE
214214
)

0 commit comments

Comments
 (0)