mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 18:13:11 -04:00
Replace negative contraction with Cannot
In accordance with style guide
This commit is contained in:
@@ -1422,7 +1422,7 @@ class BrandingOptionsEmail(StripWhitespaceForm):
|
|||||||
self.something_else_is_only_option or
|
self.something_else_is_only_option or
|
||||||
self.options.data == self.FALLBACK_OPTION_VALUE
|
self.options.data == self.FALLBACK_OPTION_VALUE
|
||||||
) and not field.data:
|
) and not field.data:
|
||||||
raise ValidationError('Can’t be empty')
|
raise ValidationError('Cannot be empty')
|
||||||
|
|
||||||
if self.options.data != self.FALLBACK_OPTION_VALUE:
|
if self.options.data != self.FALLBACK_OPTION_VALUE:
|
||||||
field.data = ''
|
field.data = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user