Update/39325 typo in core profiler data sharing copy (#39327)

* Fix grammar in data-sharing agreement copy

* Add changelog

* Put ,

* Add brackets

* Move learn more link inside the bracket

* Update test snapshot

* Fix grammar

* Update test snapshot
This commit is contained in:
Moon 2023-07-25 04:13:13 +09:00 committed by GitHub
parent 615393be39
commit b8a8d48474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 19 deletions

View File

@ -71,7 +71,7 @@ export const IntroOptIn = ( {
className="core-profiler__checkbox"
label={ interpolateComponents( {
mixedString: __(
'I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings. {{link}}Learn more about usage tracking{{/link}}.',
'I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings. {{link}}Learn more about usage tracking.{{/link}})',
'woocommerce'
),
components: {

View File

@ -451,15 +451,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-1"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>
@ -596,15 +596,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-1"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>
@ -971,15 +971,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-3"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>
@ -1116,15 +1116,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-3"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>
@ -1878,15 +1878,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-2"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>
@ -2023,15 +2023,15 @@ Object {
class="components-checkbox-control__label"
for="inspector-checkbox-control-2"
>
I agree to share my data to tailor my store setup experience and get more relevant content. WooCommerce never rent or sell your data and you can opt out at any time in WooCommerce settings.
I agree to share my data to tailor my store setup experience and get more relevant content (WooCommerce will never rent or sell your data, and you can opt out at any time in WooCommerce settings.
<a
data-link-type="external"
href="https://woocommerce.com/usage-tracking?utm_medium=product"
target="_blank"
>
Learn more about usage tracking
Learn more about usage tracking.
</a>
.
)
</label>
</div>
</div>

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Fix grammar in data-sharing agreement copy