diff --git a/lib/Config/PluginActivatedHook.php b/lib/Config/PluginActivatedHook.php index a35aa1a690..4a50354fa2 100644 --- a/lib/Config/PluginActivatedHook.php +++ b/lib/Config/PluginActivatedHook.php @@ -3,8 +3,6 @@ namespace MailPoet\Config; class PluginActivatedHook { - - /** @var DeferredAdminNotices */ private $deferred_admin_notices; public function __construct(DeferredAdminNotices $deferred_admin_notices) { @@ -13,8 +11,7 @@ class PluginActivatedHook { public function action($plugin, $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')); } } - } \ No newline at end of file diff --git a/lib/Config/ServicesChecker.php b/lib/Config/ServicesChecker.php index 32e6eac752..6f0a4a8c95 100644 --- a/lib/Config/ServicesChecker.php +++ b/lib/Config/ServicesChecker.php @@ -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') );