From 950d23ed46516fbe807aa8db0cfb0ea16c15586e Mon Sep 17 00:00:00 2001
From: Farabi <102643568+farabi-deriv@users.noreply.github.com>
Date: Thu, 14 Sep 2023 20:56:35 +0800
Subject: [PATCH] fix: localize issue (#10084)
---
.../components/dashboard/dbot-tours/config/index.tsx | 10 ++++++----
.../dbot-tours/mobile-tours/onboarding-tour.tsx | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/packages/bot-web-ui/src/components/dashboard/dbot-tours/config/index.tsx b/packages/bot-web-ui/src/components/dashboard/dbot-tours/config/index.tsx
index 70f3bfe4675f..6efce48b7ef4 100644
--- a/packages/bot-web-ui/src/components/dashboard/dbot-tours/config/index.tsx
+++ b/packages/bot-web-ui/src/components/dashboard/dbot-tours/config/index.tsx
@@ -482,7 +482,7 @@ export const DBOT_ONBOARDING_MOBILE: TMobileTourConfig[] = [
header: localize('Learn more with our tutorials'),
content: [
,
],
@@ -503,7 +503,9 @@ export const DBOT_ONBOARDING_MOBILE: TMobileTourConfig[] = [
{
header: localize('Check your bot’s performance'),
media: getUrlBase('/public/videos/dbot-mobile-onboarding-step-5.mp4'),
- content: [],
+ content: [
+ ,
+ ],
tour_step_key: 6,
},
{
@@ -511,7 +513,7 @@ export const DBOT_ONBOARDING_MOBILE: TMobileTourConfig[] = [
media: getUrlBase('/public/videos/dbot-mobile-onboarding-step-6.mp4'),
content: [
]}
/>,
@@ -551,7 +553,7 @@ export const tourDialogAction = is_mobile ? (
);
export const onboarding_tour_header = (
-
+
);
export const bot_builder_tour_header = is_mobile ? (
diff --git a/packages/bot-web-ui/src/components/dashboard/dbot-tours/mobile-tours/onboarding-tour.tsx b/packages/bot-web-ui/src/components/dashboard/dbot-tours/mobile-tours/onboarding-tour.tsx
index a79166418ad6..4547334acc03 100644
--- a/packages/bot-web-ui/src/components/dashboard/dbot-tours/mobile-tours/onboarding-tour.tsx
+++ b/packages/bot-web-ui/src/components/dashboard/dbot-tours/mobile-tours/onboarding-tour.tsx
@@ -111,7 +111,7 @@ const OnboardingTour = observer(() => {
line_height='s'
size='xxs'
>
- {localize(data)}
+ {data}
);
})}