From 4953542229356dce5ffca91fab88cad11ee8d07e Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 26 Oct 2014 19:34:15 +0100 Subject: Translation support for error method logging --- module/plugins/Plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/Plugin.py') 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() -- cgit v1.2.3