diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 350a760296..3fbfe0d895 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ jobs: i18n: name: i18n Validation runs-on: ubuntu-latest + continue-on-error: true strategy: fail-fast: false matrix: diff --git a/scripts/validate_translation.py b/scripts/validate_translation.py index 9c76d83cfd..985127a78d 100755 --- a/scripts/validate_translation.py +++ b/scripts/validate_translation.py @@ -396,8 +396,16 @@ def quick_check() -> int: print(f"Missing: {len(missing)}") print(f"Untranslated: {len(untranslated)}") - # Only fail on missing keys, untranslated is acceptable - return 0 if not missing else 1 + # Exit codes: + # 0 = OK + # 1 = generic error + # 2 = missing string in translation + # 3 = non translated string (same as source) + if missing: + return 2 + if untranslated: + return 3 + return 0 def show_diff(category: str) -> int: