final changes

This commit is contained in:
souldbminersmwc
2026-03-22 19:25:47 -04:00
parent bc06d65b72
commit 6bd3ba7b3d
23 changed files with 2098 additions and 406 deletions

View File

@@ -7,11 +7,11 @@ SOURCE_DIR = os.path.join("overlay", "src", "ui", "gui")
OUTPUT_FILE = os.path.join("overlay", "lang", "en.json")
IGNORED_PREFIXES = (
"/", "\\",
"sysclk", "hocclk", "horizonoc",
"\\u",
"/",
"sysclk", "hocclk", "horizonoc"
)
UNTRANSLATABLE = {
# Developers
"Souldbminer",
@@ -108,8 +108,8 @@ def should_include(s: str) -> bool:
stripped = s.strip()
# --- Skip strings 4 characters or less ---
if len(stripped) <= 4:
# --- Skip strings 5 characters or less ---
if len(stripped) <= 5:
return False
# --- Prefix filters ---