@@ -27,7 +27,7 @@ const SelectListPlaceholder = () => {
27
27
icon = { Icon }
28
28
label = { __ ( 'Mailchimp Block' , 'mailchimp' ) }
29
29
instructions = { __ (
30
- 'Please select the Mailchimp list in block settings sidebar.' ,
30
+ 'Please select the Mailchimp list in the block settings sidebar.' ,
31
31
'mailchimp' ,
32
32
) }
33
33
/>
@@ -95,7 +95,7 @@ export const BlockEdit = (props) => {
95
95
setError ( '' ) ;
96
96
setIsLoading ( true ) ;
97
97
98
- // Fetch data from your API
98
+ // Fetch data from API.
99
99
apiFetch ( { path : `/mailchimp/v1/list-data/${ listId } ` } )
100
100
. then ( ( data ) => {
101
101
if ( replaceBlocks ) {
@@ -245,7 +245,7 @@ export const BlockEdit = (props) => {
245
245
< RichText
246
246
className = "mailchimp-block__header mc_custom_border_hdr"
247
247
tagName = "h2"
248
- placeholder = { __ ( 'Enter a header. ' , 'mailchimp' ) }
248
+ placeholder = { __ ( 'Enter a header (optional) ' , 'mailchimp' ) }
249
249
value = { header }
250
250
onChange = { ( header ) => setAttributes ( { header } ) }
251
251
/>
@@ -255,7 +255,7 @@ export const BlockEdit = (props) => {
255
255
< RichText
256
256
className = "mailchimp-block__sub-header"
257
257
tagName = "h3"
258
- placeholder = { __ ( 'Enter a sub header. ' , 'mailchimp' ) }
258
+ placeholder = { __ ( 'Enter a sub header (optional) ' , 'mailchimp' ) }
259
259
value = { sub_header }
260
260
onChange = { ( sub_header ) => setAttributes ( { sub_header } ) }
261
261
/>
@@ -292,7 +292,7 @@ export const BlockEdit = (props) => {
292
292
id = "mc_signup_submit"
293
293
className = "button"
294
294
tagName = "button"
295
- placeholder = { __ ( 'Enter a button text.' , 'mailchimp' ) }
295
+ placeholder = { __ ( 'Enter button text.' , 'mailchimp' ) }
296
296
value = { submit_text }
297
297
onChange = { ( submit_text ) =>
298
298
setAttributes ( { submit_text } )
@@ -359,12 +359,12 @@ export const BlockEdit = (props) => {
359
359
</ PanelBody >
360
360
< PanelBody title = { __ ( 'Form Settings' , 'mailchimp' ) } initialOpen = { false } >
361
361
< ToggleControl
362
- label = { __ ( 'Double Opt-In ' , 'mailchimp' ) }
362
+ label = { __ ( 'Double opt-in ' , 'mailchimp' ) }
363
363
checked = { double_opt_in }
364
364
className = "mailchimp-double-opt-in"
365
365
onChange = { ( ) => setAttributes ( { double_opt_in : ! double_opt_in } ) }
366
366
help = { __ (
367
- "Before new your subscribers are added via the plugin , they'll need to confirm their email address." ,
367
+ "Before new subscribers are added to your list , they'll need to confirm their email address." ,
368
368
'mailchimp' ,
369
369
) }
370
370
__nextHasNoMarginBottom
@@ -379,20 +379,20 @@ export const BlockEdit = (props) => {
379
379
} )
380
380
}
381
381
help = { __ (
382
- "If an existing subscriber fills out this form, we will update their information with what's provided." ,
382
+ "If an existing subscriber submits the form, their information will be updated with what's provided." ,
383
383
'mailchimp' ,
384
384
) }
385
385
__nextHasNoMarginBottom
386
386
/>
387
387
< ToggleControl
388
- label = { __ ( 'Include Unsubscribe link' , 'mailchimp' ) }
388
+ label = { __ ( 'Include unsubscribe link' , 'mailchimp' ) }
389
389
checked = { show_unsubscribe_link }
390
390
className = "mailchimp-unsubscribe-link"
391
391
onChange = { ( ) =>
392
392
setAttributes ( { show_unsubscribe_link : ! show_unsubscribe_link } )
393
393
}
394
394
help = { __ (
395
- "We'll automatically add a link to your list's unsubscribe form." ,
395
+ "Automatically add a link to your list's unsubscribe form." ,
396
396
'mailchimp' ,
397
397
) }
398
398
__nextHasNoMarginBottom
0 commit comments