Split text into two lines

[MAILPOET-1522]
This commit is contained in:
Pavel Dohnal
2018-10-15 11:27:42 +02:00
parent d01805a911
commit 57203a6917
2 changed files with 6 additions and 2 deletions

View File

@@ -14,7 +14,10 @@ const NewSubscriberNotificationAnnouncement = props => (
<div className="new_subscriber_notification_announcement">
<h1>{MailPoet.I18n.t('announcementHeader')}</h1>
<img src={props.imageUrl} width="600px" height="460px" alt="" />
<p>{MailPoet.I18n.t('announcementParagraph')}</p>
<p>
{MailPoet.I18n.t('announcementParagraph1')}<br />
{MailPoet.I18n.t('announcementParagraph2')}
</p>
</div>
</InAppAnnouncement>
);

View File

@@ -201,6 +201,7 @@
<%= localize({
'reinstallConfirmation': __('Are you sure? All of your MailPoet data will be permanently erased (newsletters, statistics, subscribers, etc.).'),
'announcementHeader': __('Get notified when someone subscribes'),
'announcementParagraph': __('Its been a popular feature request from our users, we hope you get lots of emails about all your new subscribers! (You can turn this feature off if its too many emails.)'),
'announcementParagraph1': __('Its been a popular feature request from our users, we hope you get lots of emails about all your new subscribers!'),
'announcementParagraph2': __('(You can turn this feature off if its too many emails.)'),
}) %>
<% endblock %>