From d46cffb00f9a84e55acb783fe8c028a149765e68 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Tue, 28 Oct 2025 08:27:10 +0100 Subject: [PATCH] Update sync_translations.py --- .github/scripts/sync_translations.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/scripts/sync_translations.py b/.github/scripts/sync_translations.py index bac5a62e9..542ee424b 100644 --- a/.github/scripts/sync_translations.py +++ b/.github/scripts/sync_translations.py @@ -719,7 +719,13 @@ def main() -> None: print(f"{translated_pct:.2f}") sys.exit(0) + _target_rel_path = str(target_rel_path).replace("\\", "/").replace("//", "/") + report.append(f"#### 📄 File: `{target_rel_path}`") + if not _target_rel_path.endswith( + "en-GB/translation.json" + ) and not _target_rel_path.endswith("en-US/translation.json"): + report.append(f"💬 **Translated:** {translated_pct:.2f}%") if success: report.append("✅ **Passed:** All keys in sync.") else: @@ -740,7 +746,6 @@ def main() -> None: if dupes: report.append(f"- Duplicate keys ({len(dupes)}): `{', '.join(dupes)}`") - _target_rel_path = str(target_rel_path).replace("\\", "/").replace("//", "/") if not _target_rel_path.endswith("en-GB/translation.json"): if missing_abs > 0: report.append(