mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
added utf-8 encoding to avoid translation problem
This commit is contained in:
parent
a8aa683270
commit
1d101cf26b
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
|
||||
def translate(self, text):
|
||||
with open("./translation.json") as f:
|
||||
with open("./translation.json", encoding="utf-8") as f:
|
||||
translation = json.load(f)
|
||||
if self.language in translation:
|
||||
_lang_trad = translation[self.language]
|
||||
|
|
Loading…
Reference in a new issue