Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 1b105c4

Browse files
authored
Merge pull request #3700 from mitra-deriv/fix-missing-strings
Mitra/fix missing strings
2 parents e08afe6 + 7be5a18 commit 1b105c4

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

src/indexPage/react-components/binary-landing/Card.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ import { translate } from '../../../common/i18n';
44
const CardSection = () => {
55
const cardContentArray = [
66
{
7-
title : 'Trade multipliers',
8-
content: 'Amplify your potential profit without risking more than your stake.',
7+
title : translate('Trade multipliers'),
8+
content: translate('Amplify your potential profit without risking more than your stake.'),
99
img : 'image/multiplier.png',
1010
},
1111
{
12-
title : 'Peer-to-peer payments',
13-
content: 'Exchange your local currency with fellow traders to get funds in and out of your account with Deriv P2P.',
12+
title : translate('Peer-to-peer payments'),
13+
content: translate('Exchange your local currency with fellow traders to get funds in and out of your account with Deriv P2P.'),
1414
img : 'image/p2p.png',
1515
},
1616
{
17-
title : 'Learn with Deriv Academy',
18-
content: 'Enjoy complimentary articles and videos to help you learn the ropes of online trading.',
17+
title : translate('Learn with Deriv Academy'),
18+
content: translate('Enjoy complimentary articles and videos to help you learn the ropes of online trading.'),
1919
img : 'image/academy.png',
2020
},
2121
{
22-
title : 'Crash/Boom indices',
23-
content: 'Predict and potentially gain from exciting spikes and dips. Only available with multipliers on DTrader.',
22+
title : translate('Crash/Boom indices'),
23+
content: translate('Predict and potentially gain from exciting spikes and dips. Only available with multipliers on DTrader.'),
2424
img : 'image/crashboom.png',
2525
},
2626
]

src/indexPage/react-components/binary-landing/Carousel.jsx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,52 @@ import { translate } from '../../../common/i18n';
55
const carouselContentArray = [
66
{
77
url : 'https://smarttrader.deriv.com/',
8-
action_text : 'Check it out',
8+
action_text : translate('Check it out'),
99
img : 'image/landing-carousel/smart-trader.png',
10-
platform_title : 'SmartTrader',
11-
platform_description: 'Our classic options trading platform',
10+
platform_title : translate('SmartTrader'),
11+
platform_description: translate('Our classic options trading platform'),
1212
},
1313
{
1414
url : 'https://bot.deriv.com/',
15-
action_text : 'Check it out',
15+
action_text : translate('Check it out'),
1616
img : 'image/landing-carousel/binary-bot.png',
17-
platform_title : 'Binary Bot',
18-
platform_description: 'Our classic automated trading platform',
17+
platform_title : translate('Binary Bot'),
18+
platform_description: translate('Our classic automated trading platform'),
1919
},
2020
{
2121
url : 'https://deriv.com/dmt5/',
22-
action_text : 'Learn more',
22+
action_text : translate('Learn more'),
2323
img : 'image/landing-carousel/mt5.png',
24-
platform_title : 'Deriv MT5',
25-
platform_description: 'The world-famous CFD trading platform',
24+
platform_title : translate('Deriv MT5'),
25+
platform_description: translate('The world-famous CFD trading platform'),
2626
},
2727
{
2828
url : 'https://deriv.com/dtrader/',
29-
action_text : 'Learn more',
29+
action_text : translate('Learn more'),
3030
img : 'image/landing-carousel/dtrader.png',
31-
platform_title : 'DTrader',
32-
platform_description: 'Our flagship options and multipliers trading platform',
31+
platform_title : translate('DTrader'),
32+
platform_description: translate('Our flagship options and multipliers trading platform'),
3333
},
3434
{
3535
url : 'https://deriv.com/dbot/',
36-
action_text : 'Learn more',
36+
action_text : translate('Learn more'),
3737
img : 'image/landing-carousel/dbot.png',
38-
platform_title : 'DBot',
39-
platform_description: 'Our next generation automated trading platform',
38+
platform_title : translate('DBot'),
39+
platform_description: translate('Our next generation automated trading platform'),
4040
},
4141
{
4242
url : 'https://deriv.com/landing/deriv-go/',
43-
action_text : 'Learn more',
43+
action_text : translate('Learn more'),
4444
img : 'image/landing-carousel/deriv-go.png',
45-
platform_title : 'Deriv GO',
46-
platform_description: 'Trade on-the-go with our mobile trading platform',
45+
platform_title : translate('Deriv GO'),
46+
platform_description: translate('Trade on-the-go with our mobile trading platform'),
4747
},
4848
{
4949
url : 'https://deriv.com/derivx/',
50-
action_text : 'Learn more',
50+
action_text : translate('Learn more'),
5151
img : 'image/landing-carousel/derivX.png',
52-
platform_title : 'Deriv X',
53-
platform_description: 'Our customisable CFD trading platform',
52+
platform_title : translate('Deriv X'),
53+
platform_description: translate('Our customisable CFD trading platform'),
5454
},
5555
]
5656

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy