mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-08 10:28:57 -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.options.data == self.FALLBACK_OPTION_VALUE
|
||||
) and not field.data:
|
||||
raise ValidationError('Can’t be empty')
|
||||
raise ValidationError('Cannot be empty')
|
||||
|
||||
if self.options.data != self.FALLBACK_OPTION_VALUE:
|
||||
field.data = ''
|
||||
|
||||
Reference in New Issue
Block a user