diff options
author | 2015-07-18 20:04:36 +0200 | |
---|---|---|
committer | 2015-07-18 20:04:36 +0200 | |
commit | 9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 (patch) | |
tree | 1a5167cea6492283bfb679c4efdb4c13534d844f /module/plugins/internal/MultiHook.py | |
parent | Reorder some functions (diff) | |
download | pyload-9e5d813d7721e351ac02ba72bdc473a7d77ba6b7.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/internal/MultiHook.py')
-rw-r--r-- | module/plugins/internal/MultiHook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/MultiHook.py b/module/plugins/internal/MultiHook.py index 2e99afa1c..7afe95705 100644 --- a/module/plugins/internal/MultiHook.py +++ b/module/plugins/internal/MultiHook.py @@ -76,7 +76,7 @@ class MultiHook(Hook): self.pluginmodule = self.core.pluginManager.loadModule(self.plugintype, self.pluginname) self.pluginclass = getattr(self.pluginmodule, self.pluginname) else: - self.log_warning("Hook plugin will be deactivated due missing plugin reference") + self.log_warning(_("Hook plugin will be deactivated due missing plugin reference")) self.set_config('activated', False) @@ -87,7 +87,7 @@ class MultiHook(Hook): self.account = None if not self.account and hasattr(self.pluginclass, "LOGIN_ACCOUNT") and self.pluginclass.LOGIN_ACCOUNT: - self.log_warning("Hook plugin will be deactivated due missing account reference") + self.log_warning(_("Hook plugin will be deactivated due missing account reference")) self.set_config('activated', False) |