Skip to content

Commit fea5ef4

Browse files
committed
chore: add localize function for important notes strings
1 parent c31f2e8 commit fea5ef4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/cfd/src/Helpers/constants.ts

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ const getTitle = (market_type: string, is_eu_user: boolean) => {
4242
const { is_staging, is_test_link } = getPlatformFromUrl();
4343

4444
const STRATEGY_PROVIDER_NOTES = [
45-
'When setting up a strategy, you have the option to impose fees.',
46-
'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.',
47-
'Free strategies do not require an ‘Account For Fees’.',
48-
'An account designated as a strategy provider is irreversible unless it remains inactive for 30 days.',
49-
'An account cannot simultaneously be a strategy provider and serve as an ‘Account For Fees’.',
45+
localize('When setting up a strategy, you have the option to impose fees.'),
46+
localize(
47+
'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.'
48+
),
49+
localize('Free strategies do not require an ‘Account For Fees’.'),
50+
localize('An account designated as a strategy provider is irreversible unless it remains inactive for 30 days.'),
51+
localize('An account cannot simultaneously be a strategy provider and serve as an ‘Account For Fees’.'),
5052
];
5153

5254
const REAL_DXTRADE_URL = 'https://dx.deriv.com';

0 commit comments

Comments
 (0)