1
1
import React from 'react' ;
2
2
import { Text } from '@deriv/ui' ;
3
3
import styles from './ApiFeatures.module.scss' ;
4
+ import Translate from '@docusaurus/Translate' ;
4
5
export const ApiFeatures = ( ) => {
5
6
return (
6
7
< article className = { styles . FeaturesContainer } data-testid = 'api-features' >
7
8
< section className = { styles . FeatureText } >
8
9
< header >
9
10
< Text type = 'heading-2' as = { 'h2' } bold aria-level = { 1 } >
10
- Deriv API features
11
+ < Translate > Deriv API features</ Translate >
11
12
</ Text >
12
13
< 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 >
15
18
</ Text >
16
19
< Text type = 'paragraph-1' className = { styles . FeatureParagraph } role = { 'note' } >
17
20
{ "With our API, you'll be able to:" }
@@ -21,23 +24,31 @@ export const ApiFeatures = () => {
21
24
< ul className = { styles . FeatureList } >
22
25
< li className = { styles . FeatureOptions } >
23
26
< 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 >
25
30
</ li >
26
31
< li className = { styles . FeatureOptions } >
27
32
< 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 >
29
36
</ li >
30
37
< li className = { styles . FeatureOptions } >
31
38
< 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 >
33
42
</ li >
34
43
< li className = { styles . FeatureOptions } >
35
44
< img src = '/img/checklist-icon-grey.svg' > </ img >
36
45
< div className = { styles . FeatureContent } > { "Manage user's accounts" } </ div >
37
46
</ li >
38
47
< li className = { styles . FeatureOptions } >
39
48
< 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 >
41
52
</ li >
42
53
< li className = { styles . FeatureOptions } >
43
54
< img src = '/img/checklist-icon-grey.svg' > </ img >
0 commit comments