Skip to content

Commit

Permalink
Update WooPay theme checkbox copy in settings page (#9843)
Browse files Browse the repository at this point in the history
  • Loading branch information
malithsen authored Dec 4, 2024
1 parent 60cd891 commit 0d80007
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-change-woopay-theming-settings-copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: update

WooPay theming copy in the settings page
22 changes: 20 additions & 2 deletions client/settings/express-checkout-settings/woopay-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const WooPaySettings = ( { section } ) => {
<div className="woopay-global-theme-support">
<h4>
{ __(
'WooPay Global Theme Support',
'Checkout theme',
'woocommerce-payments'
) }
</h4>
Expand All @@ -227,9 +227,27 @@ const WooPaySettings = ( { section } ) => {
updateIsWooPayGlobalThemeSupportEnabled
}
label={ __(
'Enable WooPay Global Theme Support',
'Enable global theme support',
'woocommerce-payments'
) }
help={ interpolateComponents( {
mixedString: __(
'When enabled, WooPay checkout will be themed with your store’s brand colors and fonts. ' +
'{{docs}}Learn more {{/docs}}',
'woocommerce-payments'
),
components: {
docs: (
/* eslint-disable-next-line jsx-a11y/anchor-has-content */
<a
target="_blank"
rel="noreferrer"
// eslint-disable-next-line max-len
href="https://woocommerce.com/document/woopay-merchant-documentation/#checkout-appearance"
/>
),
},
} ) }
/>
</div>
</div>
Expand Down

0 comments on commit 0d80007

Please sign in to comment.