Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

fix #199 #318

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/toLocale.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@
else:
data['localization'][locale] = {"description": data["description"]}

with open(filePath, 'w') as f:
json.dump(data, f, indent=2)
with open(filePath, 'w', encoding='utf-8') as f:
json.dump(data, f, indent=2, ensure_ascii=False)
print("The localization has been updated")