activate-license.jsx
1 month ago
cached-websites.jsx
1 month ago
getting-started.jsx
1 month ago
index.jsx
1 month ago
manage-ads-across-multiple-installations.jsx
1 month ago
prevent-click-fraud.jsx
1 month ago
share-statistics.jsx
1 month ago
subscription-not-working.jsx
1 month ago
video-ads.jsx
1 month ago
activate-license.jsx
42 lines
| 1 | /** |
| 2 | * External Dependencies |
| 3 | */ |
| 4 | import { __, sprintf } from '@wordpress/i18n'; |
| 5 | |
| 6 | export function ActivateLicense() { |
| 7 | const p2 = sprintf( |
| 8 | /* translators: 1: link to purchase licenses page, 2: closing anchor tag */ |
| 9 | __( |
| 10 | 'Testing sites do not count towards your Advanced Ads site limit. We automatically detect testing sites based on the URL patterns in %1$sthis list%2$s.', |
| 11 | 'advanced-ads' |
| 12 | ), |
| 13 | '<a href="https://wpadvancedads.com/manual/purchase-licenses/#Test_sites?utm_source=advanced-ads&utm_medium=link&utm_campaign=plugin_support_faqs_getting_started" target="_blank" rel="noopener noreferrer">', |
| 14 | '</a>' |
| 15 | ); |
| 16 | |
| 17 | const p3 = sprintf( |
| 18 | /* translators: 1: link to purchase licenses page, 2: closing anchor tag */ |
| 19 | __( |
| 20 | 'If you are running the plugin on one of those URLs, the activation works even if you hit your limit. You can always manage license activations in %1$syour account%2$s.', |
| 21 | 'advanced-ads' |
| 22 | ), |
| 23 | '<a href="https://wpadvancedads.com/account/?utm_source=advanced-ads&utm_medium=link&utm_campaign=plugin_support_faqs_getting_started" target="_blank" rel="noopener noreferrer">', |
| 24 | '</a>' |
| 25 | ); |
| 26 | |
| 27 | return ( |
| 28 | <> |
| 29 | <p> |
| 30 | { __( |
| 31 | 'Many customers maintain a local, non-public site for testing, or troubleshooting purposes. This setup is particularly helpful for staging complex changes and verifying their expected behaviour before releasing it to the public.', |
| 32 | 'advanced-ads' |
| 33 | ) } |
| 34 | </p> |
| 35 | |
| 36 | <p dangerouslySetInnerHTML={ { __html: p2 } } /> |
| 37 | |
| 38 | <p dangerouslySetInnerHTML={ { __html: p3 } } /> |
| 39 | </> |
| 40 | ); |
| 41 | } |
| 42 |