diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-26 19:34:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-26 19:34:15 +0100 |
commit | 4953542229356dce5ffca91fab88cad11ee8d07e (patch) | |
tree | ca4996c27e471e49bf10503d9bd1c01f2c9df963 /module/plugins/Plugin.py | |
parent | [PluginThread] Clean pyfile.error before task starting (diff) | |
download | pyload-4953542229356dce5ffca91fab88cad11ee8d07e.tar.xz |
Translation support for error method logging
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index cc2fc794e..279edff4d 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -313,9 +313,9 @@ class Plugin(Base): if not reason and not type: type = "unknown" - msg = "%s error" % type.strip().capitalize() if type else "Error" + msg = _("%s error") % type.strip().capitalize() if type else _("Error") msg += ": " + reason.strip() if reason else "" - msg += " | Plugin may be out of date" + msg += _(" | Plugin may be out of date") if self.core.debug: print_exc() |