From b77da632efa1ad5a2721e1f9a31ddf93edfd16f9 Mon Sep 17 00:00:00 2001 From: Nuzhy-Deriv Date: Tue, 26 Dec 2023 11:08:24 +0800 Subject: [PATCH 1/3] fix: footer rescription for DIEL --- crowdin/messages.json | 1 + .../templates/footer/description.tsx | 57 +++++++++++++++++++ .../components/templates/footer/index.tsx | 16 ++++-- 3 files changed, 69 insertions(+), 5 deletions(-) diff --git a/crowdin/messages.json b/crowdin/messages.json index 22f517fe053..8d0f8709710 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -2108,6 +2108,7 @@ "1976014299": "For <0>oil, a deal for 10 lots for a price of USD 96 will pay out USD 0.05 in commission based on the following formula:", "1976889936": "Yes, you can select the duration of your Touch/No Touch contract. You can choose to open a contract for as short as 5 ticks to as long as 365 days (depending on the trading asset selected).", "1978148367": "Open a real account, make a deposit, and start trading for real. Trade forex, indices, commodities, and more.", + "1979304570": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<1>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<2>licence). Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission (<3>licence). Deriv (SVG) LLC has a registered office at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines. Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "1979503547": "Trading terms", "1980724783": "The point value is derived from the current digits of the asset. In this example, the digit is 5, so the point value is 0.00001.", "1981714597": "The world’s most popular digital currencies.", diff --git a/src/features/components/templates/footer/description.tsx b/src/features/components/templates/footer/description.tsx index b23a2599da2..33e17d212f0 100644 --- a/src/features/components/templates/footer/description.tsx +++ b/src/features/components/templates/footer/description.tsx @@ -94,3 +94,60 @@ export const DescriptionContentEU = () => { ) } + +export const DescriptionContentCPA = () => { + return ( + <> + + , + , + , + , + ]} + /> + + + , + , + , + ]} + /> + + + ) +} diff --git a/src/features/components/templates/footer/index.tsx b/src/features/components/templates/footer/index.tsx index 468535a80d8..f6a190a23eb 100644 --- a/src/features/components/templates/footer/index.tsx +++ b/src/features/components/templates/footer/index.tsx @@ -10,13 +10,13 @@ import { warnText, } from './data' import { DerivGoBannerAndAwards } from './banner-and-awards' -import { DescriptionContent, DescriptionContentEU } from './description' +import { DescriptionContent, DescriptionContentCPA, DescriptionContentEU } from './description' import useRegion from 'components/hooks/use-region' import { getLocationPathname } from 'common/utility' export const MainFooter = () => { const [is_career, setIsCareer] = useState(false) - const { is_eu } = useRegion() + const { is_eu, is_cpa_plan } = useRegion() useEffect(() => { const current_path = getLocationPathname() @@ -33,11 +33,17 @@ export const MainFooter = () => { return ( From 51f42eebe0cee710c2a498e9d8b57dbe738e3aec Mon Sep 17 00:00:00 2001 From: Nuzhy-Deriv Date: Tue, 26 Dec 2023 11:09:47 +0800 Subject: [PATCH 2/3] auto-pull-translation From 32e355d77a4de0117b262d70b5d07fe2430bb19f Mon Sep 17 00:00:00 2001 From: Nuzhy-Deriv Date: Tue, 26 Dec 2023 11:27:53 +0800 Subject: [PATCH 3/3] auto-pull-translation