better error message
This commit is contained in:
@ -689,9 +689,9 @@ class Settings(object):
|
||||
calc_properties.setdefault(action, []).extend(msg)
|
||||
else:
|
||||
if not inverse:
|
||||
msg = _('the value of "{0}" is {1}')
|
||||
msg = _('the value of "{0}" is "{1}"')
|
||||
else:
|
||||
msg = _('the value of "{0}" is not {1}')
|
||||
msg = _('the value of "{0}" is not "{1}"')
|
||||
calc_properties.setdefault(action, []).append(msg.format(option.impl_get_display_name(), display_list(expected, 'or')))
|
||||
else:
|
||||
calc_properties.add(action)
|
||||
|
Reference in New Issue
Block a user