11import React from 'react' ;
22import { Text } from '@deriv/ui' ;
33import styles from './ApiFeatures.module.scss' ;
4+ import Translate from '@docusaurus/Translate' ;
45export const ApiFeatures = ( ) => {
56 return (
67 < article className = { styles . FeaturesContainer } data-testid = 'api-features' >
78 < section className = { styles . FeatureText } >
89 < header >
910 < Text type = 'heading-2' as = { 'h2' } bold aria-level = { 1 } >
10- Deriv API features
11+ < Translate > Deriv API features</ Translate >
1112 </ Text >
1213 < Text type = 'paragraph-1' className = { styles . FeatureParagraph } role = 'definition' >
13- Deriv API gives you full access to all the trading functionalities of DTrader and allows
14- you to build your own comprehensive trading systems and analysis tools.
14+ < Translate >
15+ Deriv API gives you full access to all the trading functionalities of DTrader and
16+ allows you to build your own comprehensive trading systems and analysis tools.
17+ </ Translate >
1518 </ Text >
1619 < Text type = 'paragraph-1' className = { styles . FeatureParagraph } role = { 'note' } >
1720 { "With our API, you'll be able to:" }
@@ -21,23 +24,31 @@ export const ApiFeatures = () => {
2124 < ul className = { styles . FeatureList } >
2225 < li className = { styles . FeatureOptions } >
2326 < img src = '/img/checklist-icon-grey.svg' > </ img >
24- < div className = { styles . FeatureContent } > Trade digital options and multipliers</ div >
27+ < div className = { styles . FeatureContent } >
28+ < Translate > Trade digital options and multipliers</ Translate >
29+ </ div >
2530 </ li >
2631 < li className = { styles . FeatureOptions } >
2732 < img src = '/img/checklist-icon-grey.svg' > </ img >
28- < div className = { styles . FeatureContent } > Monitor real-time pricing</ div >
33+ < div className = { styles . FeatureContent } >
34+ < Translate > Monitor real-time pricing</ Translate >
35+ </ div >
2936 </ li >
3037 < li className = { styles . FeatureOptions } >
3138 < img src = '/img/checklist-icon-grey.svg' > </ img >
32- < div className = { styles . FeatureContent } > Buy/sell contracts</ div >
39+ < div className = { styles . FeatureContent } >
40+ < Translate > Buy/sell contracts</ Translate >
41+ </ div >
3342 </ li >
3443 < li className = { styles . FeatureOptions } >
3544 < img src = '/img/checklist-icon-grey.svg' > </ img >
3645 < div className = { styles . FeatureContent } > { "Manage user's accounts" } </ div >
3746 </ li >
3847 < li className = { styles . FeatureOptions } >
3948 < img src = '/img/checklist-icon-grey.svg' > </ img >
40- < div className = { styles . FeatureContent } > Monitor existing contracts</ div >
49+ < div className = { styles . FeatureContent } >
50+ < Translate > Monitor existing contracts</ Translate >
51+ </ div >
4152 </ li >
4253 < li className = { styles . FeatureOptions } >
4354 < img src = '/img/checklist-icon-grey.svg' > </ img >
0 commit comments