add OptionInformation support

This commit is contained in:
2020-10-03 22:10:32 +02:00
parent 246ac25791
commit 5eba872969
21 changed files with 23 additions and 19 deletions

View File

@ -422,6 +422,8 @@ class Variable(Common):
if hasattr(param, 'suffix'):
value['suffix'] = param.suffix
return self.build_param(value)
elif param.type == 'information':
return f'ParamInformation("{param.text}")'
raise LoaderError(_('unknown param type {}').format(param.type))
def populate_value(self,