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

Suisin/chore: add localize function for important notes strings #18064

Merged
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
12 changes: 7 additions & 5 deletions packages/cfd/src/Helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ const getTitle = (market_type: string, is_eu_user: boolean) => {
const { is_staging, is_test_link } = getPlatformFromUrl();

const STRATEGY_PROVIDER_NOTES = [
'When setting up a strategy, you have the option to impose fees.',
'For strategies where you impose fees, you must assign one of your existing accounts to process these fees. The same ‘Account For Fees’ can support multiple fee-based strategies.',
'Free strategies do not require an ‘Account For Fees’.',
'An account designated as a strategy provider is irreversible unless it remains inactive for 30 days.',
'An account cannot simultaneously be a strategy provider and serve as an ‘Account For Fees’.',
localize('When setting up a strategy, you have the option to impose fees.'),
localize(
'For strategies where you impose fees, you must assign one of your existing accounts to process these fees. The same ‘Account For Fees’ can support multiple fee-based strategies.'
),
localize('Free strategies do not require an ‘Account For Fees’.'),
localize('An account designated as a strategy provider is irreversible unless it remains inactive for 30 days.'),
localize('An account cannot simultaneously be a strategy provider and serve as an ‘Account For Fees’.'),
];

const REAL_DXTRADE_URL = 'https://dx.deriv.com';
Expand Down
Loading