Update description
[MAILPOET-2937]
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import ReactStringReplace from 'react-string-replace';
|
||||
import { t } from 'common/functions';
|
||||
import { useSetting } from 'settings/store/hooks';
|
||||
import { Label, Inputs, PagesSelect } from 'settings/components';
|
||||
@@ -11,9 +12,21 @@ export default function UnsubscribePage() {
|
||||
title={t('unsubscribeTitle')}
|
||||
description={(
|
||||
<>
|
||||
{t('unsubscribeDescription1')}
|
||||
<br />
|
||||
{t('unsubscribeDescription2')}
|
||||
{
|
||||
ReactStringReplace(
|
||||
t('unsubscribeDescription1'),
|
||||
'[mailpoet_page]',
|
||||
() => <code key="mp">[mailpoet_page]</code>
|
||||
)
|
||||
}
|
||||
<br /><br />
|
||||
{
|
||||
ReactStringReplace(
|
||||
t('unsubscribeDescription2'),
|
||||
'mailpoet_unsubscribe_confirmation_page',
|
||||
() => <code key="mpcp">mailpoet_unsubscribe_confirmation_page</code>
|
||||
)
|
||||
}
|
||||
</>
|
||||
)}
|
||||
htmlFor="subscription-pages-unsubscribe"
|
||||
|
@@ -64,8 +64,8 @@
|
||||
'leaveEmptyToDisplayAll': __('Leave this field empty to display all lists'),
|
||||
|
||||
'unsubscribeTitle': __('Unsubscribe page'),
|
||||
'unsubscribeDescription1': __('When your subscribers click the "Unsubscribe" link, they will be directed to this page.'),
|
||||
'unsubscribeDescription2': __('If you want to use a custom Unsubscribe page, simply paste this shortcode on to a WordPress page: [mailpoet_manage text="Manage your subscription"]'),
|
||||
'unsubscribeDescription1': __('When your subscribers click the “Unsubscribe” link, they will be directed to confirmation page. After confirming, the success page will be shown. These pages must contain [mailpoet_page] shortcode.'),
|
||||
'unsubscribeDescription2': __('You can use mailpoet_unsubscribe_confirmation_page filter to change confirmation sentence. The URL to confirm unsubscribing is sent as a 2nd parameter to the filter.'),
|
||||
|
||||
'statsNotifsTitle': _x('Stats notifications', 'name of a setting to automatically send statistics (newsletter open rate, click rate, etc) by email'),
|
||||
'statsNotifsDescription': _x(
|
||||
|
Reference in New Issue
Block a user