Fix translations strings for form settings

[MAILPOET-2455]
This commit is contained in:
Rostislav Wolny
2019-11-25 16:44:27 +01:00
committed by Jack Kitterhing
parent c2823f3f68
commit f024c57ed7
3 changed files with 5 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ export default () => {
className="mailpoet-form-success-types__control"
onChange={onSuccessTypeChange}
selected={settings.on_success || 'message'}
label={MailPoet.I18n.t('settingsAfterSubmit')}
label={`${MailPoet.I18n.t('settingsAfterSubmit')}`}
options={[
{
label: MailPoet.I18n.t('settingsShowMessage'),

View File

@@ -45,7 +45,7 @@ export default () => {
const addFormPhpIframeHint = ReactStringReplace(
MailPoet.I18n.t('addFormPhpIframeHint'),
/%s(.*?)%s/g,
/\[link\](.*?)\[\/link\]/g,
(match) => {
if (match === 'PHP') {
return (<a key="exportPHP" href="#" onClick={(e) => exportLinkClicked(e, 'php')}>{match}</a>);