You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->email_subject = \esc_html__( 'Your Progress Planner test message!', 'progress-planner' );
115
-
// translators: %s the admin URL.
116
-
$this->email_content = sprintf( \esc_html__( 'You just used Progress Planner to verify if sending email works on your website. The good news; it does! Click %s to mark Ravi\'s Recommendation as completed.', 'progress-planner' ), '<a href="' . \admin_url( 'admin.php?page=progress-planner&prpl_complete_task=' . $this->get_task_id() ) . '" target="_blank">' . \esc_html__( 'here', 'progress-planner' ) . '</a>' );
122
+
// translators: %1$s <br><br> tags, %2$s the admin URL.
123
+
$this->email_content = sprintf( \esc_html__( 'You just used Progress Planner to verify if sending email works on your website. %1$s The good news; it does! Click %2$s to mark Ravi\'s Recommendation as completed.', 'progress-planner' ), '<br><br>', '<a href="' . \admin_url( 'admin.php?page=progress-planner&prpl_complete_task=' . $this->get_task_id() ) . '" target="_blank">' . \esc_html__( 'here', 'progress-planner' ) . '</a>', '<a href="' . \admin_url( 'admin.php?page=progress-planner&prpl_complete_task=' . $this->get_task_id() ) . '" target="_blank">' . \esc_html__( 'here', 'progress-planner' ) . '</a>' );
117
124
}
118
125
119
126
/**
@@ -154,9 +161,10 @@ public function enqueue_scripts() {
@@ -319,7 +327,7 @@ public function the_popover_content() {
319
327
printf(
320
328
/* translators: %s is a link to the troubleshooting guide. */
321
329
\esc_html__( 'There are a few common reasons why your email might not be sending. Check the %s to find out what’s causing the issue and how to fix it.', 'progress-planner' ),
\esc_html_e( 'We\'re sorry to hear you did not receive our confirmation email yet. On some websites, it make take up to a few hours to send email. That\'s why we strongly advise you to check back in a few hours from now.', 'progress-planner' );
425
+
?>
426
+
</p>
427
+
<p>
428
+
<?php
429
+
\esc_html_e( 'If you already waited a couple of hours and you still didn\'t get our email, your email might not be working well. If you haven\'t already, you may need to install a plugin to handle email for you.', 'progress-planner' );
<p><?php\esc_html_e( 'Your website is using a plugin that filters emails.', 'progress-planner' ); ?></p>
433
+
<p>
434
+
<?php
435
+
\esc_html_e( 'We\'ve detected you\'re most likely already running an SMTP plugin. Please check its documentation to help you in troubleshooting.', 'progress-planner' );
436
+
?>
437
+
</p>
416
438
<?phpelse : ?>
417
-
<p><?php\esc_html_e( 'Your website is not using a plugin that filters emails.', 'progress-planner' ); ?></p>
439
+
<p>
440
+
<?php
441
+
printf(
442
+
/* translators: %s is a link to the troubleshooting guide. */
443
+
\esc_html__( 'We\'ve not detected an SMTP plugin on your site. Installing one may help resolving the email problem. You can read more about this at %s.', 'progress-planner' ),
<button class="prpl-button" data-action="openTroubleshootingGuide"><?php\esc_html_e( 'Take me to your troubleshooting guide', 'progress-planner' ); ?></button>
0 commit comments