Skip to content

Commit

Permalink
fix: localize issue (binary-com#10084)
Browse files Browse the repository at this point in the history
  • Loading branch information
farabi-deriv committed Sep 14, 2023
1 parent e042e20 commit 950d23e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export const DBOT_ONBOARDING_MOBILE: TMobileTourConfig[] = [
header: localize('Learn more with our tutorials'),
content: [
<Localize
key='import-or-choose-your-bot'
key='learn-more-with-our-tutorials'
i18n_default_text='Explore the video guides and FAQs to build your bot in the tutorials tab.'
/>,
],
Expand All @@ -503,15 +503,17 @@ export const DBOT_ONBOARDING_MOBILE: TMobileTourConfig[] = [
{
header: localize('Check your bot’s performance'),
media: getUrlBase('/public/videos/dbot-mobile-onboarding-step-5.mp4'),
content: [<Localize key='use-these-shortcuts' i18n_default_text='See how your bot is doing in real-time.' />],
content: [
<Localize key='check-your-bots-performance' i18n_default_text='See how your bot is doing in real-time.' />,
],
tour_step_key: 6,
},
{
header: localize('Run your bot'),
media: getUrlBase('/public/videos/dbot-mobile-onboarding-step-6.mp4'),
content: [
<Localize
key='use-these-shortcuts'
key='run-your-bot'
i18n_default_text='Click <0>Run</0> when you want to start trading, and click <0>Stop</0> when you want to stop.'
components={[<strong key={0} />]}
/>,
Expand Down Expand Up @@ -551,7 +553,7 @@ export const tourDialogAction = is_mobile ? (
);

export const onboarding_tour_header = (
<Localize key='tour-dialog-action-desktop' i18n_default_text='Get started on Deriv Bot' />
<Localize key='onboarding-tour-header' i18n_default_text='Get started on Deriv Bot' />
);

export const bot_builder_tour_header = is_mobile ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OnboardingTour = observer(() => {
line_height='s'
size='xxs'
>
{localize(data)}
{data}
</Text>
);
})}
Expand Down

0 comments on commit 950d23e

Please sign in to comment.