Refactor translation strings in form templates 1 and 3
[MAILPOET-3076]
This commit is contained in:
committed by
Veljko V
parent
8d08560760
commit
fedfc32910
@@ -17,7 +17,7 @@ class Template1BelowPages extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => $this->wp->wpStaticizeEmoji('🤞') . ' ' . _x('<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">Don’t miss these tips!</span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => $this->wp->wpStaticizeEmoji('🤞') . ' <span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '</span>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '40',
|
||||
@@ -120,7 +120,7 @@ class Template1BelowPages extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em><em><em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">We don’t spam! Read more in our <a href="#">privacy policy</a>.</span></em></em></em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . $this->replaceLinkTags(_x('We don’t spam! Read more in our [link]privacy policy[/link]', 'Text in a web form.', 'mailpoet'), "#") . '</span></em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -42,7 +42,7 @@ class Template1FixedBar extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => $this->wp->wpStaticizeEmoji('🤞') . ' ' . _x('<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">Don’t miss these tips!</span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => $this->wp->wpStaticizeEmoji('🤞') . ' <span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '</span>',
|
||||
'level' => '1',
|
||||
'align' => 'left',
|
||||
'font_size' => '28',
|
||||
@@ -57,7 +57,7 @@ class Template1FixedBar extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em><em><em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">We don’t spam! Read more in our <a href="#">privacy policy</a>.</span></em></em></em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . $this->replaceLinkTags(_x('We don’t spam! Read more in our [link]privacy policy[/link]', 'Text in a web form.', 'mailpoet'), "#") . '</span></em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'left',
|
||||
'font_size' => '13',
|
||||
|
@@ -42,7 +42,7 @@ class Template1Popup extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">Don’t miss these tips!</span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '</span>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '40',
|
||||
@@ -97,7 +97,7 @@ class Template1Popup extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">We don’t spam! Read more in our <a href="#">privacy policy</a>.</span></em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . $this->replaceLinkTags(_x('We don’t spam! Read more in our [link]privacy policy[/link]', 'Text in a web form.', 'mailpoet'), "#") . '</span></em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -42,7 +42,7 @@ class Template1SlideIn extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">Don’t miss these tips!</span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '</span>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '40',
|
||||
@@ -97,7 +97,7 @@ class Template1SlideIn extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em><em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">We don’t spam! Read more in our <a href="#">privacy policy</a>.</span></em></em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . $this->replaceLinkTags(_x('We don’t spam! Read more in our [link]privacy policy[/link]', 'Text in a web form.', 'mailpoet'), "#") . '</span></em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -42,7 +42,7 @@ class Template1Widget extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">Don’t miss these tips!</span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: BioRhyme" data-font="BioRhyme" class="mailpoet-has-font">' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '</span>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '25',
|
||||
@@ -97,7 +97,7 @@ class Template1Widget extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em><em><em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">We don’t spam! Read more in our <a href="#">privacy policy</a>.</span></em></em></em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">' . $this->replaceLinkTags(_x('We don’t spam! Read more in our [link]privacy policy[/link]', 'Text in a web form.', 'mailpoet'), "#") . '</span></em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -28,7 +28,7 @@ class Template3BelowPages extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>10% off, </strong></span><br><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>especially for you</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet') . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('10% off, <br>especially for you', 'Text in a web form. Keep HTML tags!', 'mailpoet') . '</strong></span>' . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '40',
|
||||
@@ -54,7 +54,7 @@ class Template3BelowPages extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!', 'Text in a web form.', 'mailpoet') . '</strong></span>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '20',
|
||||
@@ -140,7 +140,7 @@ class Template3BelowPages extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em>We don’t spam! Read our <a href="#">privacy policy</a> for more info.</em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em>' . $this->replaceLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '</em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'left',
|
||||
'font_size' => '',
|
||||
|
@@ -28,7 +28,7 @@ class Template3FixedBar extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>10% off,</strong> <strong>especially for you</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet') . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('10% off, <br>especially for you', 'Text in a web form. Keep HTML tags!', 'mailpoet') . '</strong></span>' . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'level' => '1',
|
||||
'align' => 'left',
|
||||
'font_size' => '30',
|
||||
@@ -43,7 +43,7 @@ class Template3FixedBar extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>Sign up to receive your exclusive discount,</strong></span><br><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>and keep up to date on our latest products & offers!</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('Sign up to receive your exclusive discount,<br>and keep up to date on our latest products & offers!', 'Text in a web form. Keep HTML tags!', 'mailpoet') . '</strong></span>',
|
||||
'level' => '2',
|
||||
'align' => 'left',
|
||||
'font_size' => '16',
|
||||
@@ -58,7 +58,7 @@ class Template3FixedBar extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em>We don’t spam! Read our <a href="#">privacy policy</a> for more info.</em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em>' . $this->replaceLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '</em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'left',
|
||||
'font_size' => '14',
|
||||
|
@@ -17,7 +17,7 @@ class Template3Popup extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<strong><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">10</span>%</strong>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<strong><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">10</span>%</strong>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '80',
|
||||
@@ -32,7 +32,7 @@ class Template3Popup extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>off, especially for you</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet') . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('off, especially for you', 'Text in a web form. Second line of "10% off, especially..."', 'mailpoet') . '</strong></span> ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'level' => '2',
|
||||
'align' => 'center',
|
||||
'font_size' => '25',
|
||||
@@ -47,7 +47,7 @@ class Template3Popup extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!', 'Text in a web form.', 'mailpoet') . '</strong></span>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '15',
|
||||
@@ -101,7 +101,7 @@ class Template3Popup extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em>We don’t spam! Read our <a href="#">privacy policy</a> for more info.</em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em>' . $this->replaceLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '</em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -17,7 +17,7 @@ class Template3SlideIn extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<strong><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">10</span>%</strong>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<strong><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">10</span>%</strong>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '80',
|
||||
@@ -32,7 +32,7 @@ class Template3SlideIn extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>off, especially for you</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet') . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('off, especially for you', 'Text in a web form. Second line of "10% off, especially..."', 'mailpoet') . '</strong></span> ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'level' => '2',
|
||||
'align' => 'center',
|
||||
'font_size' => '25',
|
||||
@@ -47,7 +47,7 @@ class Template3SlideIn extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!', 'Text in a web form.', 'mailpoet') . '</strong></span>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '15',
|
||||
@@ -101,7 +101,7 @@ class Template3SlideIn extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em>We don’t spam! Read our <a href="#">privacy policy</a> for more info.</em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em>' . $this->replaceLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '</em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '13',
|
||||
|
@@ -17,7 +17,7 @@ class Template3Widget extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>10% off,</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('10% off,', 'Text in a web form. First line of "10% off, especially for you."', 'mailpoet') . '</strong></span>',
|
||||
'level' => '1',
|
||||
'align' => 'center',
|
||||
'font_size' => '30',
|
||||
@@ -32,7 +32,7 @@ class Template3Widget extends FormTemplate {
|
||||
'type' => 'heading',
|
||||
'id' => 'heading',
|
||||
'params' => [
|
||||
'content' => _x('<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>especially for you</strong></span>', 'Text in a web form. Keep HTML tags!', 'mailpoet') . ' ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('especially for you', 'Text in a web form. Second line of "10% off, especially..."', 'mailpoet') . '</strong></span> ' . $this->wp->wpStaticizeEmoji('🎁'),
|
||||
'level' => '2',
|
||||
'align' => 'center',
|
||||
'font_size' => '18',
|
||||
@@ -47,7 +47,7 @@ class Template3Widget extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<strong><span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font">Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!</span></strong>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<span style="font-family: Montserrat" data-font="Montserrat" class="mailpoet-has-font"><strong>' . _x('Sign up to receive your exclusive discount, and keep up to date on our latest products & offers!', 'Text in a web form.', 'mailpoet') . '</strong></span>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'center',
|
||||
'font_size' => '14',
|
||||
@@ -101,7 +101,7 @@ class Template3Widget extends FormTemplate {
|
||||
'type' => 'paragraph',
|
||||
'id' => 'paragraph',
|
||||
'params' => [
|
||||
'content' => _x('<em>We don’t spam! Read our <a href="#">privacy policy</a> for more info.</em>', 'Text in a web form. Keep HTML tags!', 'mailpoet'),
|
||||
'content' => '<em>' . $this->replaceLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '</em>',
|
||||
'drop_cap' => '0',
|
||||
'align' => 'left',
|
||||
'font_size' => '13',
|
||||
|
Reference in New Issue
Block a user