Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: translations on questions
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinosG-deriv committed Feb 27, 2024
1 parent 945ccfb commit fed8c2f
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions src/features/pages/options/accumulator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Features, AccordionBlock } from '@deriv-com/blocks'
import { Text } from '@deriv/quill-design'
import * as styles from './accumulators_faq.module.scss'
import { accumulatorCards } from './data'
import { Localize } from 'components/localization'
import { Localize, localize } from 'components/localization'
import OptionsLayout from 'features/components/templates/options-layout'

const AccumulatorsOptions = () => {
Expand Down Expand Up @@ -39,7 +39,9 @@ const AccumulatorsOptions = () => {
</Text>
)
},
title: 'What markets can I trade with accumulator options?',
title: localize(
'_t_What markets can I trade with accumulator options?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -50,7 +52,9 @@ const AccumulatorsOptions = () => {
</Text>
)
},
title: 'Can I open multiple accumulator contracts at the same time?',
title: localize(
'_t_Can I open multiple accumulator contracts at the same time?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -61,7 +65,9 @@ const AccumulatorsOptions = () => {
</Text>
)
},
title: 'Can I change my growth rate after opening the contract?',
title: localize(
'_t_Can I change my growth rate after opening the contract?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -77,7 +83,9 @@ const AccumulatorsOptions = () => {
</div>
)
},
title: 'Can I open an accumulator contract at any time?',
title: localize(
'_t_Can I open an accumulator contract at any time?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -88,7 +96,9 @@ const AccumulatorsOptions = () => {
</Text>
)
},
title: 'Can I close an accumulator contract at any time?',
title: localize(
'_t_Can I close an accumulator contract at any time?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -107,7 +117,9 @@ const AccumulatorsOptions = () => {
</div>
)
},
title: 'Is the accumulated payout correlated with the direction of the underlying index?',
title: localize(
'_t_Is the accumulated payout correlated with the direction of the underlying index?_t_',
),
},
{
className: `${styles.accordion_border}`,
Expand All @@ -118,7 +130,9 @@ const AccumulatorsOptions = () => {
</Text>
)
},
title: 'Are accumulators available as a trade type on Deriv Bot?',
title: localize(
'_t_Are accumulators available as a trade type on Deriv Bot?_t_',
),
},
],
],
Expand Down

0 comments on commit fed8c2f

Please sign in to comment.