--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/PromtEngine.py Sat Oct 03 18:10:49 2020 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/PromtEngine.py Sat Oct 03 18:11:45 2020 +0200 @@ -94,7 +94,7 @@ try: responseDict = json.loads(response) except ValueError: - return self.tr("Invalid response received"), False + return self.tr("Promt: Invalid response received"), False if "d" in responseDict: responseDict = responseDict["d"] @@ -104,7 +104,8 @@ if responseDict["errCode"] == 0: if responseDict["ptsDirCode"] == "": result = self.tr( - "This direction of translation is not available.") + "Promt: This direction of translation is not" + " available.") ok = False else: result = responseDict["errMessage"]