Skip to content

Commit

Permalink
Update verify_translations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment authored Dec 12, 2024
1 parent e39eed8 commit 8960ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verify_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def eprint(*args, **kwargs):
for LINE in f.readlines():
LINE = LINE.replace('\\"', '\'')

if len(LINE) <= 2 or LINE.removesuffix("\n").removesuffix(",").endswith("null"):
if len(LINE) <= 2 or LINE.removesuffix("\n").removesuffix(",").endswith("null") or "{0} {0} {0} " in LINE:
continue

results = re.match(r'^ +"([^"]+)" ?: ?"([^"]+)"', LINE)
Expand Down

0 comments on commit 8960ec1

Please sign in to comment.