mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
src/i18n.py: Fix encoding issue with Python 3.
This commit is contained in:
parent
f1165333e5
commit
306105abad
@ -166,7 +166,7 @@ class _PluginInternationalization:
|
|||||||
self.translations = {}
|
self.translations = {}
|
||||||
for line in translationFile:
|
for line in translationFile:
|
||||||
line = line[0:-1] # Remove the ending \n
|
line = line[0:-1] # Remove the ending \n
|
||||||
line = line.decode('utf8', errors='replace')
|
line = line
|
||||||
|
|
||||||
if line.startswith(MSGID):
|
if line.startswith(MSGID):
|
||||||
# Don't check if step is WAITING_FOR_MSGID
|
# Don't check if step is WAITING_FOR_MSGID
|
||||||
|
Loading…
Reference in New Issue
Block a user