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

Translation 7005 deriv ez translation #5795

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fe16683
chore: remove deriv ez
mayuran-deriv Oct 10, 2023
f2d1f89
fix: deriv ez updated from help center
mayuran-deriv Oct 11, 2023
d0b34a2
Merge branch 'master' of github.com:binary-com/deriv-com into mayuran…
mayuran-deriv Oct 11, 2023
396559a
fix: pr comments
mayuran-deriv Oct 11, 2023
5c1eba6
Merge branch 'master' of github.com:binary-com/deriv-com into transla…
mayuran-deriv Oct 19, 2023
e969661
fix: translation issues
mayuran-deriv Oct 19, 2023
02f1bf9
auto-pull-translation
mayuran-deriv Oct 19, 2023
204cf25
translation: 📚 sync translations from crowdin feature branch
DerivFE Oct 19, 2023
4ce4cbe
chore: trigger vercel
mayuran-deriv Oct 19, 2023
e08ec87
Merge branch 'translation-7005-deriv-ez_translation' of github.com:ma…
mayuran-deriv Oct 19, 2023
11dca8a
Merge branch 'master' of github.com:binary-com/deriv-com into transla…
mayuran-deriv Oct 20, 2023
fab013d
fix: scroll issue
mayuran-deriv Oct 21, 2023
a3036eb
auto-pull-translation
mayuran-deriv Oct 23, 2023
399ea0f
Merge branch 'master' of github.com:binary-com/deriv-com into transla…
mayuran-deriv Oct 23, 2023
cc7b33d
auto-pull-translation
mayuran-deriv Oct 23, 2023
591d500
translation: 📚 sync translations from crowdin feature branch
DerivFE Oct 23, 2023
01cad54
fix: scroll add
mayuran-deriv Oct 23, 2023
ffbdacc
fix: add height
mayuran-deriv Oct 23, 2023
ecf5deb
Merge branch 'master' into translation-7005-deriv-ez_translation
mitra-deriv Oct 31, 2023
7e2de8a
empty: :rocket: to redeploy and trigger build
mitra-deriv Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 7 additions & 83 deletions crowdin/messages.json

Large diffs are not rendered by default.

30 changes: 0 additions & 30 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ exports.onCreatePage = ({ page, actions }) => {
const is_p2p = /responsible/g.test(page.path)
const who_we_are = /who-we-are/g.test(page.path)
const is_cfds = /cfds/g.test(page.path)
const is_deriv_ez = /deriv-ez/g.test(page.path)
const is_options = /options/g.test(page.path)

if (is_careers) {
Expand Down Expand Up @@ -172,20 +171,6 @@ exports.onCreatePage = ({ page, actions }) => {
})
}

if (is_deriv_ez) {
createRedirect({
fromPath: `/derivez/`,
toPath: `/deriv-ez/`,
redirectInBrowser: true,
isPermanent: true,
})
createRedirect({
fromPath: `/derivez`,
toPath: `/deriv-ez/`,
redirectInBrowser: true,
isPermanent: true,
})
}
const is_english = process.env.GATSBY_LANGUAGE === 'en'

Object.keys(is_english ? language_config_en : language_config).map((lang) => {
Expand Down Expand Up @@ -356,21 +341,6 @@ exports.onCreatePage = ({ page, actions }) => {
})
}

if (is_deriv_ez) {
createRedirect({
fromPath: `/${lang}/derivez/`,
toPath: `/${lang}/deriv-ez/`,
redirectInBrowser: true,
isPermanent: true,
})
createRedirect({
fromPath: `/${lang}/derivez`,
toPath: `/${lang}/deriv-ez/`,
redirectInBrowser: true,
isPermanent: true,
})
}

return current_page
})
}
Expand Down
16 changes: 0 additions & 16 deletions src/components/custom/other-platforms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import Community from 'images/svg/menu/community.svg'
import Contact from 'images/svg/menu/contact.svg'
import DerivedFX from 'images/svg/custom/derived-fx.svg'
import DerivX from 'images/svg/custom/deriv-x.svg'
import { DerivEzLogoRed } from 'images/svg/deriv-ez'
import { DbotIcon } from 'images/svg/dbot'
import DMT5 from 'images/svg/dmt5/dmt5-icon.svg'
import BinaryBot from 'images/svg/binarybot-icon.svg'
Expand Down Expand Up @@ -423,21 +422,6 @@ export const NavPlatform = ({ onClick, is_ppc, is_ppc_redirect }: NavPlatformPro
onClick={onClick}
to="/derivx/"
/>
<NavCard
aria_label="Derivez"
Icon={() => (
<img
src={DerivEzLogoRed}
alt={localize('_t_Deriv EZ trading paltform_t_')}
width="32"
height="32"
/>
)}
content="_t_Trade on global markets from anywhere with our mobile-first CFD trading platform._t_"
title="_t_Deriv EZ_t_"
onClick={onClick}
to="/deriv-ez/"
/>
<NavCard
aria_label="SmartTrader"
Icon={() => (
Expand Down
18 changes: 0 additions & 18 deletions src/components/elements/off-canvas-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import API from 'images/svg/menu/developers.svg'
import Diagonal from 'images/svg/elements/pink-right-diagonal.svg'
import DMT5 from 'images/svg/dmt5/dmt5-icon.svg'
import DerivX from 'images/svg/custom/deriv-x.svg'
import { DerivEzLogoRed } from 'images/svg/deriv-ez'
import DTrader from 'images/svg/dtrader/dtrader-icon.svg'
import DerivGo from 'images/svg/deriv-go/deriv-go-icon.svg'
import Forex from 'images/svg/custom/forex-nav.svg'
Expand Down Expand Up @@ -277,23 +276,6 @@ export const OffCanvasMenuWrapper = (props: OffCanvasMenuWrapperProps) => {
to="/derivx/"
/>
</Flex>
<Flex mb="2rem">
<NavCard
aria_label="Derivez"
Icon={() => (
<img
src={DerivEzLogoRed}
alt={localize('_t_Deriv EZ trading paltform_t_')}
width="32"
height="32"
/>
)}
content="_t_Trade on global markets from anywhere with our mobile-first CFD trading platform._t_"
title="_t_Deriv EZ_t_"
onClick={handleArrowClick}
to="/deriv-ez/"
/>
</Flex>
</>
)}
<Flex mb="2rem">
Expand Down
21 changes: 6 additions & 15 deletions src/features/components/templates/footer/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,9 @@ const platformsLinks: SmartFooterLink[] = [
is_row: true,
},
},

{
id: 2,
data: {
text: '_t_Deriv EZ_t_',
url: { type: 'internal', to: '/deriv-ez/' },
},
visibility: {
is_row: true,
},
},
{
id: 3,
data: {
text: '_t_Deriv GO_t_',
url: { type: 'internal', to: '/deriv-go/' },
Expand All @@ -167,14 +158,14 @@ const platformsLinks: SmartFooterLink[] = [
},
},
{
id: 4,
id: 3,
data: {
text: '_t_Deriv Trader_t_',
url: { type: 'internal', to: '/dtrader/' },
},
},
{
id: 5,
id: 4,
data: {
text: '_t_SmartTrader_t_',
url: { type: 'company', url_name: 'smart_trader', target: '_blank' },
Expand All @@ -184,7 +175,7 @@ const platformsLinks: SmartFooterLink[] = [
},
},
{
id: 6,
id: 5,
data: {
text: '_t_Deriv Bot_t_',
url: { type: 'internal', to: '/dbot/' },
Expand All @@ -194,7 +185,7 @@ const platformsLinks: SmartFooterLink[] = [
},
},
{
id: 7,
id: 6,
data: {
text: '_t_Binary Bot_t_',
url: { type: 'company', url_name: 'binary_bot', target: '_blank' },
Expand All @@ -204,7 +195,7 @@ const platformsLinks: SmartFooterLink[] = [
},
},
{
id: 8,
id: 7,
data: {
text: '_t_Deriv cTrader_t_',
url: { type: 'internal', to: '/deriv-ctrader/' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Smarttrader from 'images/svg/custom/rebranding/smarttrader-icon.svg'
import DerivGo from 'images/svg/custom/rebranding/deriv-go-icon.svg'
import DMT5 from 'images/svg/custom/rebranding/dmt5-icon.svg'
import DTrader from 'images/svg/custom/rebranding/dtrader-icon.svg'
import DerivEZ from 'images/svg/custom/rebranding/deriv-ez-icon.svg'
import DerivBot from 'images/svg/custom/rebranding/deriv-bot-icon.svg'

export const tradeTypesContent: SmartNavContent[] = [
Expand Down Expand Up @@ -120,23 +119,6 @@ export const tradingPlatformsContent: SmartNavContent[] = [
},
{
id: 2,
data: {
aria_label: 'Derivez',
icon: {
src: DerivEZ,
alt: 'Deriv EZ trading paltform',
},
content:
'_t_Trade on global markets from anywhere with our mobile-first CFD trading platform._t_',
title: '_t_Deriv EZ_t_',
url: { type: 'internal', to: '/deriv-ez/' },
},
visibility: {
is_row: true,
},
},
{
id: 3,
data: {
aria_label: 'SmartTrader',
icon: {
Expand All @@ -152,7 +134,7 @@ export const tradingPlatformsContent: SmartNavContent[] = [
},
},
{
id: 4,
id: 3,
data: {
aria_label: 'Deriv Trader',
icon: {
Expand All @@ -168,7 +150,7 @@ export const tradingPlatformsContent: SmartNavContent[] = [
},
},
{
id: 5,
id: 4,
data: {
aria_label: 'Deriv cTrader',
icon: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

&_scrollable_menu {
@media screen and (max-height: 975px) {
block-size: 85vh;
block-size: 77vh;
padding-block-end: 3rem;
overflow: auto;
}
Expand Down
66 changes: 0 additions & 66 deletions src/features/pages/deriv-ez/app-banner/data.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/features/pages/deriv-ez/app-banner/index.tsx

This file was deleted.

This file was deleted.

Loading
Loading