From befd7a027c1d6c1adaf4778503a44fe5ae6600fd Mon Sep 17 00:00:00 2001 From: Cooliokid956 <68075390+Cooliokid956@users.noreply.github.com> Date: Sat, 28 Mar 2026 10:52:44 -0500 Subject: [PATCH] something for readability --- autogen/check_languages.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autogen/check_languages.py b/autogen/check_languages.py index cc504a199..22f1ef6cf 100644 --- a/autogen/check_languages.py +++ b/autogen/check_languages.py @@ -21,20 +21,20 @@ for file in os.listdir(os.fsencode(LANG_DIR)): sections = {} for section in DEF_LANG.sections(): - warnings = { "Missing": [], "Extra": [] } + warnings = { "Missing": [], "Extra:": [] } if lang.has_section(section): entries = list(dict.fromkeys(lang.options(section) + DEF_LANG.options(section))) for entry in entries: if lang.has_option(section, entry): if not DEF_LANG.has_option(section, entry): - warnings["Extra"].append(entry) + warnings["Extra:"].append(entry) else: warnings["Missing"].append(entry) else: warnings["Missing"].append("Section") - if len(warnings["Extra"] + warnings["Missing"]) > 0: + if len(warnings["Extra:"] + warnings["Missing"]) > 0: sections[section] = warnings if len(sections) > 0: @@ -45,7 +45,7 @@ for file in os.listdir(os.fsencode(LANG_DIR)): s = " " for level, entries in warnings.items(): if len(entries) > 0: - print(f"{s}{level}: " + ", ".join(entries)) + print(f"{s}{level} " + ", ".join(entries)) s = " " print()