Removes escape character in translations
This commit is contained in:
@ -3,8 +3,6 @@
|
|||||||
namespace MailPoet\Config;
|
namespace MailPoet\Config;
|
||||||
|
|
||||||
class PluginActivatedHook {
|
class PluginActivatedHook {
|
||||||
|
|
||||||
/** @var DeferredAdminNotices */
|
|
||||||
private $deferred_admin_notices;
|
private $deferred_admin_notices;
|
||||||
|
|
||||||
public function __construct(DeferredAdminNotices $deferred_admin_notices) {
|
public function __construct(DeferredAdminNotices $deferred_admin_notices) {
|
||||||
@ -13,8 +11,7 @@ class PluginActivatedHook {
|
|||||||
|
|
||||||
public function action($plugin, $network_wide) {
|
public function action($plugin, $network_wide) {
|
||||||
if($plugin === plugin_basename(Env::$file) && $network_wide) {
|
if($plugin === plugin_basename(Env::$file) && $network_wide) {
|
||||||
$this->deferred_admin_notices->addNetworkAdminNotice(__('We noticed that you\'re using an unsupported environment. While MailPoet might work within a MultiSite environment, we don’t support it.', 'mailpoet'));
|
$this->deferred_admin_notices->addNetworkAdminNotice(__("We noticed that you're using an unsupported environment. While MailPoet might work within a MultiSite environment, we don’t support it.", 'mailpoet'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -40,7 +40,7 @@ class ServicesChecker {
|
|||||||
$date_time = new DateTime();
|
$date_time = new DateTime();
|
||||||
$date = $date_time->formatDate(strtotime($mss_key['data']['expire_at']));
|
$date = $date_time->formatDate(strtotime($mss_key['data']['expire_at']));
|
||||||
$error = Helpers::replaceLinkTags(
|
$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(),
|
'https://account.mailpoet.com?s=' . Subscriber::getTotalSubscribers(),
|
||||||
array('target' => '_blank')
|
array('target' => '_blank')
|
||||||
);
|
);
|
||||||
@ -93,7 +93,7 @@ class ServicesChecker {
|
|||||||
$date_time = new DateTime();
|
$date_time = new DateTime();
|
||||||
$date = $date_time->formatDate(strtotime($premium_key['data']['expire_at']));
|
$date = $date_time->formatDate(strtotime($premium_key['data']['expire_at']));
|
||||||
$error = Helpers::replaceLinkTags(
|
$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',
|
'https://account.mailpoet.com',
|
||||||
array('target' => '_blank')
|
array('target' => '_blank')
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user