diff -r a80a66ba52d6 -r 9f6f46dbe3ae i18n/mki18n.py --- a/i18n/mki18n.py Fri Oct 28 13:06:52 2022 +0800 +++ b/i18n/mki18n.py Fri Oct 28 14:07:13 2022 +0800 @@ -80,11 +80,9 @@ # - import os import sys import re -from builtins import str as text import wx @@ -515,7 +513,7 @@ makePO(appDirPath, option['domain'], option['verbose']) exit_code = 0 except IOError as e: - printUsage(text(e) + '\n You must write a file app.fil that contains the list of all files to parse.') + printUsage(str(e) + '\n You must write a file app.fil that contains the list of all files to parse.') if option['mo']: makeMO(appDirPath, option['moTarget'], option['domain'], option['verbose'], option['forceEnglish']) exit_code = 0