Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename 'deposit' to 'payout' in 'Overview' section modals #9623

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/update-9578-79-rename-deposit-overview-modal
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: update
Comment: Rename 'deposit' to 'payout' in modals within 'Overview' section. PR is a part of a larger renaming project.


Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const ProgressiveOnboardingEligibilityModal: React.FC = () => {
</h1>
<h2 className="wcpay-progressive-onboarding-eligibility-modal__subheading">
{ __(
'Start selling now and fast track the setup process, or continue the process to set up deposits with WooPayments.',
'Start selling now and fast track the setup process, or continue the process to set up payouts with WooPayments.',
'woocommerce-payments'
) }
</h2>
Expand Down Expand Up @@ -120,14 +120,14 @@ const ProgressiveOnboardingEligibilityModal: React.FC = () => {
{ __( 'Flexible process', 'woocommerce-payments' ) }
</h3>
{ __(
'You have a $5,000 balance limit or 30 days from your first transaction to verify and set up deposits in your account.',
'You have a $5,000 balance limit or 30 days from your first transaction to verify and set up payouts in your account.',
'woocommerce-payments'
) }
</div>
</div>
<div className="wcpay-progressive-onboarding-eligibility-modal__footer">
<Button variant="secondary" onClick={ handleSetup }>
{ __( 'Start receiving deposits', 'woocommerce-payments' ) }
{ __( 'Start receiving payouts', 'woocommerce-payments' ) }
</Button>
<Button variant="primary" onClick={ handlePaymentsOnly }>
{ __( 'Start selling', 'woocommerce-payments' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe( 'Progressive Onboarding Eligibility Modal', () => {

user.click(
screen.getByRole( 'button', {
name: 'Start receiving deposits',
name: 'Start receiving payouts',
} )
);

Expand Down
2 changes: 1 addition & 1 deletion client/overview/modal/reset-account/strings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
title: __( 'Reset account', 'woocommerce-payments' ),
description: isInTestModeOnboarding()
? __(
'In sandbox mode, you can reset your account and onboard again at any time. Please note that all current WooPayments account details, test transactions, and deposits history will be lost.',
'In sandbox mode, you can reset your account and onboard again at any time. Please note that all current WooPayments account details, test transactions, and payouts history will be lost.',
'woocommerce-payments'
)
: __(
Expand Down
2 changes: 1 addition & 1 deletion client/overview/modal/update-business-details/strings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
),

restrictedSoonDescription: __(
'Additional information is required to verify your business. Update by %s to avoid a disruption in deposits.',
'Additional information is required to verify your business. Update by %s to avoid a disruption in payouts.',
'woocommerce-payments'
),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ exports[`Overview: update business details modal renders correctly when opened f
class="wcpay-update-business-details-modal__body"
>
<p>
Additional information is required to verify your business. Update by 7pm Dec 31, 2021 to avoid a disruption in deposits.
Additional information is required to verify your business. Update by 7pm Dec 31, 2021 to avoid a disruption in payouts.
</p>
<div
class="components-notice is-warning"
Expand Down