Skip to content

Commit

Permalink
chore: improve messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Sep 20, 2023
1 parent deff49a commit 1bc5a3f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/blocks/blocks/form/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,19 @@ const Inspector = ({

{ 'subscribe' === formOptions.action && (
<div style={{ marginBottom: '10px' }}>
{ __( 'Automatically adds the client to your selected contact list, skipping the usual email alert. Ideal for newsletter sign-up forms. ', 'otter-blocks' ) }
{ __( 'Add users to the contact list and skip email alerts for each submission. Ideal for news letter sign-up forms.', 'otter-blocks' ) }
</div>
) }

{
'subscribe' === formOptions.action &&
( 'email' === formOptions.submissionsSaveLocation || ! Boolean( window?.otterPro?.isActive ) ) &&
(
<div style={{ marginBottom: '10px' }}>
{ __( 'By skipping the email notification you will lose the data from other fields. If this is a problem, we recommend switching to Database saving or using Submit & Subscribe Action', 'otter-blocks' ) }
</div>
)
}
</Fragment>
) }
</Fragment>
Expand Down

0 comments on commit 1bc5a3f

Please sign in to comment.