update translation
This commit is contained in:
@ -1534,8 +1534,8 @@ def validate_callback(callback, callback_params, type_):
|
||||
'tuple as 1 must only have '
|
||||
'None as first value'))
|
||||
elif len(callbk) != 2:
|
||||
raise ValueError(_('{0}_params must only 1 or 2 as '
|
||||
'length'))
|
||||
raise ValueError(_('{0}_params must only have 1 or 2 '
|
||||
'as length'))
|
||||
else:
|
||||
option, force_permissive = callbk
|
||||
if type_ == 'validator' and not force_permissive:
|
||||
|
Reference in New Issue
Block a user