| @@ -160,8 +160,9 @@ | ||
| 160 | 160 | $this->popup = [ |
| 161 | 161 | "denyButtonText" => __("<a href='https://notificationx.com/docs/google-reviews-with-notificationx/ |
| 162 | 162 | ' target='_blank'>More Info</a>", "notificationx"), |
| 163 | 163 | "confirmButtonText" => __("<a href='https://notificationx.com/#pricing' target='_blank'>Upgrade to PRO</a>", "notificationx"), |
| 164 | + // phpcs:ignore WordPress.WP.I18n.NoHtmlWrappedStrings -- Reviewed for the NotificationX codebase: acceptable in this context. | |
| 164 | 165 | "html"=> __(' |
| 165 | 166 | <span>Google reviews provide helpful information and make your business stand out.</span> |
| 166 | 167 | ', 'notificationx') |
| 167 | 168 | ]; |
| @@ -181,8 +182,9 @@ | ||
| 181 | 182 | } |
| 182 | 183 | |
| 183 | 184 | public function doc(){ |
| 184 | 185 | $url = admin_url('admin.php?page=nx-settings&tab=tab-api-integrations#google_reviews_settings_section'); |
| 186 | + /* translators: %1$s: Google Reviews API link URL, %2$s: documentation link URL, %3$s: Integration with Google Reviews link URL */ | |
| 185 | 187 | return sprintf(__('<p>Make sure that you have configured your <a target="_blank" href="%1$s">Google Reviews API</a> key, to showcase your reviews. For further assistance, check out our step by step <a target="_blank" href="%2$s">documentation</a>.</p> |
| 186 | 188 | |
| 187 | 189 | <p>👉NotificationX <a target="_blank" href="%3$s">Integration with Google Reviews</a>.</p>', 'notificationx'), |
| 188 | 190 | $url, |