mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-16 16:15:23 -04:00
fix(translations): add newline at end of JSON file and output file
This commit is contained in:
@@ -546,6 +546,7 @@ def main():
|
|||||||
output_path = script_dir / "settings_search_index.json"
|
output_path = script_dir / "settings_search_index.json"
|
||||||
with open(output_path, "w", encoding="utf-8") as f:
|
with open(output_path, "w", encoding="utf-8") as f:
|
||||||
json.dump(all_entries, f, indent=2, ensure_ascii=False)
|
json.dump(all_entries, f, indent=2, ensure_ascii=False)
|
||||||
|
f.write("\n")
|
||||||
|
|
||||||
print(f"Found {len(settings_entries)} searchable settings")
|
print(f"Found {len(settings_entries)} searchable settings")
|
||||||
print(f"Found {len(tab_entries)} tab entries")
|
print(f"Found {len(tab_entries)} tab entries")
|
||||||
|
|||||||
Reference in New Issue
Block a user