Dont monkey patch _() into plugins

Plugins can import _() from plugins_i18n
This commit is contained in:
Philipp Hörist 2018-10-12 22:02:55 +02:00
parent e5fe30cb5b
commit c43714e4c2
1 changed files with 1 additions and 5 deletions

View File

@ -694,11 +694,7 @@ class PluginManager(metaclass=Singleton):
plugins_found.append(module_attr)
except TypeError:
# set plugin localization
try:
module_attr._ = plugins_i18n._
except AttributeError:
pass
pass
except configparser.NoOptionError:
# all fields are required
log.debug(