Translation updates. Almost done I think.

This commit is contained in:
Storm Dragon
2026-02-27 23:55:31 -05:00
parent 566c87c7c2
commit 18a09882b8
46 changed files with 1542 additions and 602 deletions

View File

@@ -34,7 +34,13 @@ def parse_ini(path: Path) -> Dict[str, str]:
if not key:
continue
full_key = key if not section or "." in key else f"{section}.{key}"
if not section:
full_key = key
elif section == "messages":
full_key = key if "." in key else f"{section}.{key}"
else:
section_prefix = f"{section}."
full_key = key if key.startswith(section_prefix) else f"{section_prefix}{key}"
result[full_key] = unescape_ini_value(value)
return result