numerous improvements

This commit is contained in:
2026-01-05 11:47:35 -06:00
parent 5694c1ee67
commit fda9187e95
104 changed files with 4567 additions and 1070 deletions

View File

@@ -20,7 +20,7 @@ def main():
sys.exit(1)
try:
with open(en_path, "r", encoding="utf-8") as f:
with open(en_path, encoding="utf-8") as f:
en_data = json.load(f)
template = clear_values(en_data)
@@ -29,7 +29,7 @@ def main():
json.dump(template, f, indent=4, ensure_ascii=False)
print(
f"Successfully generated {out_path} with all keys from {en_path} (empty values)."
f"Successfully generated {out_path} with all keys from {en_path} (empty values).",
)
except Exception as e:
print(f"Error generating locale template: {e}")