From 174a3e0976c6b0933e176724f31544ebddae772e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 Jan 2026 09:44:13 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/translate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/translate.py b/scripts/translate.py index 4c8600168..9eda7b390 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -136,7 +136,9 @@ def translate_page( ) break # Exit loop if no errors except ValueError as e: - print(f"Translation check failed on attempt {attempt_no}/{MAX_ATTEMPTS}: {e}") + print( + f"Translation check failed on attempt {attempt_no}/{MAX_ATTEMPTS}: {e}" + ) continue # Retry if not reached max attempts else: # Max retry attempts reached print(f"Translation failed for {out_path} after {MAX_ATTEMPTS} attempts")