Browse Source

🎨 Auto format

pull/14749/head
github-actions[bot] 6 months ago
parent
commit
174a3e0976
  1. 4
      scripts/translate.py

4
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")

Loading…
Cancel
Save