From e2287fae585cebfbc3385b792951f1b8dff06fc6 Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 1 Apr 2026 00:58:24 +0200 Subject: [PATCH] fix(i18n): treat untranslated as soft warning, not failure --- scripts/validate_translation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/validate_translation.py b/scripts/validate_translation.py index a5920eeb..f8632fe6 100755 --- a/scripts/validate_translation.py +++ b/scripts/validate_translation.py @@ -402,11 +402,13 @@ def quick_check() -> int: # 0 = OK # 1 = generic error # 2 = missing string in translation - # 3 = non translated string (same as source) + # 3 = untranslated (soft warning - not a failure) if missing: return 2 + # untranslated is a soft warning, not a failure - translations exist, just not localized if untranslated: - return 3 + print_warning(f"{len(untranslated)} untranslated keys (non-critical)") + return 0 return 0