From e806844980d657fbbcff60b58a87ede28ec8d693 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Sun, 26 Oct 2025 21:20:22 +0100 Subject: [PATCH] Remove report messages for invalid ignore entries Eliminates the addition of report messages when ignore entries reference missing reference keys, streamlining the reporting output in the translation sync script. --- .github/scripts/sync_translations.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/scripts/sync_translations.py b/.github/scripts/sync_translations.py index 466867f5e..63a4eefdc 100644 --- a/.github/scripts/sync_translations.py +++ b/.github/scripts/sync_translations.py @@ -597,16 +597,6 @@ def main() -> None: invalid_for_locale = invalid_ignore_entries.get(locale_key, []) if invalid_for_locale: - if args.check or args.dry_run: - report.append( - "- Ignore entries referencing missing reference keys: " - + f"`{', '.join(invalid_for_locale)}` (update `scripts/ignore_locales.toml`)" - ) - else: - report.append( - "- Removed ignore entries referencing missing reference keys: " - + f"`{', '.join(invalid_for_locale)}`" - ) ignored_paths -= set(invalid_for_locale) stats, success, dupes, total_ref_leaves, translated_ignored_paths = (