update placeholder strings to have required star

This commit is contained in:
Abhinav 2022-01-29 10:59:45 +05:30
parent 0940d38f58
commit ad3dc5d65f
2 changed files with 15 additions and 12 deletions

View file

@ -226,7 +226,9 @@ export function AbuseReportForm({ show, close, url }: Iprops) {
<Form.Group controlId="reportForm.email">
<Form.Control
type="text"
placeholder={constants.ENTER_EMAIL}
placeholder={
constants.ENTER_EMAIL_ADDRESS
}
value={values.email}
onChange={handleChange('email')}
isInvalid={Boolean(

View file

@ -627,19 +627,20 @@ const englishConstants = {
MALICIOUS_CONTENT: 'contains malicious content',
COPYRIGHT:
'infringes on the copyright of someone I am authorized to represent',
SELECT_REASON: 'select a reason',
ENTER_FULL_NAME: 'full name',
ENTER_EMAIL_ADDRESS: 'email*',
SELECT_REASON: 'select a reason*',
ENTER_FULL_NAME: 'full name*',
ENTER_DIGITAL_SIGNATURE:
'typing your full name in this box will act as your digital signature',
ENTER_ON_BEHALF_OF: 'I am reporting on behalf of',
ENTER_ADDRESS: 'address',
ENTER_JOB_TITLE: 'job title',
ENTER_CITY: 'city',
ENTER_PHONE: 'phone number',
'typing your full name in this box will act as your digital signature*',
ENTER_ON_BEHALF_OF: 'I am reporting on behalf of*',
ENTER_ADDRESS: 'address*',
ENTER_JOB_TITLE: 'job title*',
ENTER_CITY: 'city*',
ENTER_PHONE: 'phone number*',
ENTER_STATE: 'state',
ENTER_POSTAL_CODE: 'zip/postal code',
ENTER_COUNTRY: 'country',
ENTER_STATE: 'state*',
ENTER_POSTAL_CODE: 'zip/postal code*',
ENTER_COUNTRY: 'country*',
JUDICIAL_DESCRIPTION: () => (
<>
By checking the following boxes, I state{' '}