Fix translations strings for form settings
[MAILPOET-2455]
This commit is contained in:
committed by
Jack Kitterhing
parent
c2823f3f68
commit
f024c57ed7
@@ -95,7 +95,7 @@ export default () => {
|
|||||||
className="mailpoet-form-success-types__control"
|
className="mailpoet-form-success-types__control"
|
||||||
onChange={onSuccessTypeChange}
|
onChange={onSuccessTypeChange}
|
||||||
selected={settings.on_success || 'message'}
|
selected={settings.on_success || 'message'}
|
||||||
label={MailPoet.I18n.t('settingsAfterSubmit')}
|
label={`${MailPoet.I18n.t('settingsAfterSubmit')}…`}
|
||||||
options={[
|
options={[
|
||||||
{
|
{
|
||||||
label: MailPoet.I18n.t('settingsShowMessage'),
|
label: MailPoet.I18n.t('settingsShowMessage'),
|
||||||
|
@@ -45,7 +45,7 @@ export default () => {
|
|||||||
|
|
||||||
const addFormPhpIframeHint = ReactStringReplace(
|
const addFormPhpIframeHint = ReactStringReplace(
|
||||||
MailPoet.I18n.t('addFormPhpIframeHint'),
|
MailPoet.I18n.t('addFormPhpIframeHint'),
|
||||||
/%s(.*?)%s/g,
|
/\[link\](.*?)\[\/link\]/g,
|
||||||
(match) => {
|
(match) => {
|
||||||
if (match === 'PHP') {
|
if (match === 'PHP') {
|
||||||
return (<a key="exportPHP" href="#" onClick={(e) => exportLinkClicked(e, 'php')}>{match}</a>);
|
return (<a key="exportPHP" href="#" onClick={(e) => exportLinkClicked(e, 'php')}>{match}</a>);
|
||||||
|
@@ -34,9 +34,9 @@
|
|||||||
'formSaved': __('Form saved.'),
|
'formSaved': __('Form saved.'),
|
||||||
'addFormWidgetHint': __('Add this form to your sidebar or footer on the [link]Widgets page[/link].'),
|
'addFormWidgetHint': __('Add this form to your sidebar or footer on the [link]Widgets page[/link].'),
|
||||||
'addFormShortcodeHint': __('Copy and paste this [link]shortcode[/link] on to a post or page.'),
|
'addFormShortcodeHint': __('Copy and paste this [link]shortcode[/link] on to a post or page.'),
|
||||||
'addFormPhpIframeHint': __('%sPHP%s and %siFrame%s versions are also available.'),
|
'addFormPhpIframeHint': __('[link]PHP[/link] and [link]iFrame[/link] versions are also available.'),
|
||||||
'settingsListLabel': __('This form adds the subscribers to these lists:'),
|
'settingsListLabel': __('This form adds the subscribers to these lists'),
|
||||||
'settingsAfterSubmit': __('After submit...'),
|
'settingsAfterSubmit': __('After submit'),
|
||||||
'settingsShowMessage': __('Show message'),
|
'settingsShowMessage': __('Show message'),
|
||||||
'settingsGoToPage': __('Go to Page'),
|
'settingsGoToPage': __('Go to Page'),
|
||||||
'settingsPleaseSelectList': __('Please select a list')
|
'settingsPleaseSelectList': __('Please select a list')
|
||||||
|
Reference in New Issue
Block a user