From d5dceef84b2f3bb355fb019f1e738e64e36858e2 Mon Sep 17 00:00:00 2001 From: mahdiyeh-deriv <82078941+mahdiyeh-deriv@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:29:45 +0330 Subject: [PATCH] fix: localize (#7720) Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com> --- .../onboarding-new/static-dashboard.tsx | 32 ++++++++++++------- .../components/options/options-accounts.tsx | 8 +++-- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/packages/appstore/src/components/onboarding-new/static-dashboard.tsx b/packages/appstore/src/components/onboarding-new/static-dashboard.tsx index 862c26bcd9d6..4fd3f331e51e 100644 --- a/packages/appstore/src/components/onboarding-new/static-dashboard.tsx +++ b/packages/appstore/src/components/onboarding-new/static-dashboard.tsx @@ -239,7 +239,9 @@ const StaticDashboard = ({ type='all' platform='options' appname={is_eu_account_title} - description='Get a real Deriv account, start trading and manage your funds.' + description={localize( + 'Get a real Deriv account, start trading and manage your funds.' + )} currency={currency} has_account={has_account} is_blurry={is_blurry} @@ -261,7 +263,7 @@ const StaticDashboard = ({ @@ -268,7 +268,9 @@ const OptionsAccounts = (props: TOptionsAccountsProps & RouteComponentProps) => appname={is_eu_account_title} disabled={false} onClickGet={() => ui.openRealAccountSignup()} - description={`Get a real ${is_eu_title} account, start trading and manage your funds.`} + description={localize( + `Get a real ${is_eu_title} account, start trading and manage your funds.` + )} /> )} @@ -290,7 +292,7 @@ const OptionsAccounts = (props: TOptionsAccountsProps & RouteComponentProps) => footer={ }