testdef: mark forgotten strings for translation (#73332)
This commit is contained in:
parent
7c2a797d5c
commit
e8a00e8835
|
@ -226,9 +226,9 @@ class TestDef(sql.TestDef):
|
|||
if field.convert_value_to_str:
|
||||
value = field.convert_value_to_str(value)
|
||||
|
||||
error_msg = 'Invalid value "%s"' % value if value else _('Empty value')
|
||||
error_msg = _('Invalid value "%s"') % value if value else _('Empty value')
|
||||
raise TestError(
|
||||
'%(error)s for field "%(label)s": %(details)s.'
|
||||
_('%(error)s for field "%(label)s": %(details)s.')
|
||||
% {
|
||||
'error': error_msg,
|
||||
'label': field.label,
|
||||
|
|
Loading…
Reference in New Issue