Removes escape character in translations

This commit is contained in:
Vlad
2017-09-11 19:23:16 -04:00
parent e9c55260c8
commit 9305beace3
2 changed files with 3 additions and 6 deletions

View File

@ -40,7 +40,7 @@ class ServicesChecker {
$date_time = new DateTime();
$date = $date_time->formatDate(strtotime($mss_key['data']['expire_at']));
$error = Helpers::replaceLinkTags(
__('Your newsletters are awesome! Don\'t forget to [link]upgrade your MailPoet email plan[/link] by %s to keep sending them to your subscribers.', 'mailpoet'),
__("Your newsletters are awesome! Don't forget to [link]upgrade your MailPoet email plan[/link] by %s to keep sending them to your subscribers.", 'mailpoet'),
'https://account.mailpoet.com?s=' . Subscriber::getTotalSubscribers(),
array('target' => '_blank')
);
@ -93,7 +93,7 @@ class ServicesChecker {
$date_time = new DateTime();
$date = $date_time->formatDate(strtotime($premium_key['data']['expire_at']));
$error = Helpers::replaceLinkTags(
__('Your License Key is expiring! Don\'t forget to [link]renew your license[/link] by %s to keep enjoying automatic updates and Premium support.', 'mailpoet'),
__("Your License Key is expiring! Don't forget to [link]renew your license[/link] by %s to keep enjoying automatic updates and Premium support.", 'mailpoet'),
'https://account.mailpoet.com',
array('target' => '_blank')
);