Update default form copy

[MAILPOET-2592]
This commit is contained in:
Pavel Dohnal
2020-01-07 16:08:45 +01:00
committed by Rostislav Wolný
parent 67f9890e24
commit e4cae403ad
3 changed files with 5 additions and 15 deletions

View File

@ -16,7 +16,7 @@ class DefaultForm {
}
public function getName() {
return WPFunctions::get()->_x('A GDPR friendly form', 'default name of form (GDPR friendly) to capture emails', 'mailpoet');
return WPFunctions::get()->_x('My first form', 'default name of form (GDPR friendly) to capture emails', 'mailpoet');
}
public function getBody() {
@ -39,18 +39,6 @@ class DefaultForm {
'params' => ['label' => WPFunctions::get()->_x('Email', 'Form label', 'mailpoet'), 'required' => 'true'],
'position' => '2',
],
[
'type' => 'html',
'name' => WPFunctions::get()->_x('Custom text or HTML', 'Form label', 'mailpoet'),
'id' => 'html',
'unique' => '0',
'static' => '0',
'params' => [
'text' => WPFunctions::get()->__('We keep your data private and share your data only with third parties that make this service possible. See our Privacy Policy for more information.', 'mailpoet'),
'nl2br' => '0',
],
'position' => '3',
],
[
'type' => 'submit',
'name' => WPFunctions::get()->_x('Submit', 'Form label', 'mailpoet'),
@ -58,7 +46,7 @@ class DefaultForm {
'unique' => '0',
'static' => '1',
'params' => ['label' => WPFunctions::get()->_x('Subscribe!', 'Form label', 'mailpoet')],
'position' => '4',
'position' => '3',
],
];
}