diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 10 | ||||
-rw-r--r-- | module/plugins/hoster/MegaDebridEu.py | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 04e5a8698..f017acd92 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -14,7 +14,7 @@ from module.plugins.Hook import Expose, Hook, threaded class UpdateManager(Hook): __name__ = "UpdateManager" - __version__ = "0.30" + __version__ = "0.31" __description__ = """Check for updates""" __config__ = [("activated", "bool", "Activated", True), ("mode", "pyLoad + plugins;plugins only", "Check updates for", "pyLoad + plugins"), @@ -101,7 +101,7 @@ class UpdateManager(Hook): try: return getURL(self.SERVER_URL, get={'v': self.core.api.getServerVersion()}).splitlines() except: - self.logWarning(_("Not able to connect server to get updates")) + self.logWarning(_("Unable to contact server to get updates")) @Expose def updatePlugins(self): @@ -115,7 +115,7 @@ class UpdateManager(Hook): if not data: r = False elif data[0] == "None": - self.logInfo(_("No pyLoad version available")) + self.logInfo(_("No new pyLoad version available")) updates = data[1:] r = self._updatePlugins(updates) elif onlyplugin: @@ -194,7 +194,7 @@ class UpdateManager(Hook): else: raise Exception(_("Version mismatch")) except Exception, e: - self.logError(_("Error when updating plugin %s") % filename, str(e)) + self.logError(_("Error updating plugin %s") % filename, str(e)) if blacklist: removed = self.removePlugins(map(lambda x: x.split('|'), blacklist)) @@ -237,7 +237,7 @@ class UpdateManager(Hook): if isfile(pyc): remove(pyc) except Exception, e: - self.logError("Error when deleting %s" % id, str(e)) + self.logError("Error deleting %s" % id, str(e)) else: removed.append(id) diff --git a/module/plugins/hoster/MegaDebridEu.py b/module/plugins/hoster/MegaDebridEu.py index 46eb0eb11..23c698710 100644 --- a/module/plugins/hoster/MegaDebridEu.py +++ b/module/plugins/hoster/MegaDebridEu.py @@ -23,7 +23,7 @@ from module.common.json_layer import json_loads class MegaDebridEu(Hoster): __name__ = "MegaDebridEu" - __version__ = "0.3" + __version__ = "0.4" __type__ = "hoster" __pattern__ = r'^https?://(?:w{3}\d+\.mega-debrid.eu|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/download/file/[^/]+/.+$' __description__ = """mega-debrid.eu hoster plugin""" @@ -46,7 +46,7 @@ class MegaDebridEu(Hoster): self.exitOnFail(_("Please enter your %s account or deactivate this plugin") % "Mega-debrid.eu") else: if not self.connectToApi(): - self.exitOnFail(_("Impossible to connect to %s") % "Mega-debrid.eu") + self.exitOnFail(_("Unable to connect to %s") % "Mega-debrid.eu") self.logDebug("Old URL: %s" % pyfile.url) new_url = self.debridLink(pyfile.url) @@ -86,7 +86,7 @@ class MegaDebridEu(Hoster): debridedLink = response["debridLink"][1:-1] return debridedLink else: - self.exitOnFail(_("Impossible to debrid %s") % linkToDebrid) + self.exitOnFail("Unable to debrid %s" % linkToDebrid) def exitOnFail(self, msg): """ |