translate plugins descriptions
This commit is contained in:
parent
627fe59cf1
commit
1cc1c2bb14
|
@ -472,6 +472,9 @@ class PluginManager(object):
|
||||||
for option in fields:
|
for option in fields:
|
||||||
if conf.get('info', option) is '':
|
if conf.get('info', option) is '':
|
||||||
raise ConfigParser.NoOptionError, 'field empty'
|
raise ConfigParser.NoOptionError, 'field empty'
|
||||||
|
if option == 'description':
|
||||||
|
setattr(module_attr, option, _(conf.get('info', option)))
|
||||||
|
continue
|
||||||
setattr(module_attr, option, conf.get('info', option))
|
setattr(module_attr, option, conf.get('info', option))
|
||||||
conf.remove_section('info')
|
conf.remove_section('info')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue