- Your JSON object is invalid. Please make sure you provide the correct syntax for your
- JSON object.
+
+ Your JSON object is invalid. Please make sure you provide the correct syntax for
+ your JSON object.
+
diff --git a/src/features/Auth/Login/Login.tsx b/src/features/Auth/Login/Login.tsx
index 9816dc6c..4ea78e3d 100644
--- a/src/features/Auth/Login/Login.tsx
+++ b/src/features/Auth/Login/Login.tsx
@@ -3,6 +3,7 @@ import React from 'react';
import styles from './Login.module.scss';
import useLoginUrl from '@site/src/hooks/useLoginUrl';
import Footer from '@site/src/components/Footer';
+import Translate from '@docusaurus/Translate';
export const Login = () => {
const { getUrl } = useLoginUrl();
@@ -16,10 +17,12 @@ export const Login = () => {
- Log in to your Deriv account to get the API token and start using our API.
+
+ Log in to your Deriv account to get the API token and start using our API.
+
diff --git a/src/features/Endpoint/Endpoint.tsx b/src/features/Endpoint/Endpoint.tsx
index 0600810b..a6bec1be 100644
--- a/src/features/Endpoint/Endpoint.tsx
+++ b/src/features/Endpoint/Endpoint.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import { useForm } from 'react-hook-form';
import { Button, Text } from '@deriv/ui';
import styles from './Endpoint.module.scss';
+import Translate from '@docusaurus/Translate';
const default_endpoint = {
app_id: '35014',
@@ -45,7 +46,7 @@ const EndPoint = () => {
- You can earn commission by adding a markup to the price of each trade. Enter your
- markup percentage here.
+
+ You can earn commission by adding a markup to the price of each trade. Enter
+ your markup percentage here.
+
- NOTE: Markup is only available for real accounts
+
+ NOTE: Markup is only available for real accounts
+
@@ -160,11 +171,15 @@ const AppForm = ({
placeholder=' '
disabled={disableMarkup}
/>
-
+
- If you don‘t want to earn a markup, enter 0 here. Otherwise, enter a number
- up to 5. Maximum: 5.00%.
+
+ If you don‘t want to earn a markup, enter 0 here. Otherwise, enter a
+ number up to 5. Maximum: 5.00%.
+
{errors && errors?.app_markup_percentage && (
@@ -174,11 +189,15 @@ const AppForm = ({
-
OAuth details
+
+ OAuth details
+
- This allows clients to log in to your app using their Deriv accounts without an
- API token.
+
+ This allows clients to log in to your app using their Deriv accounts without an
+ API token.
+
- *Please note that this URL will be used as the OAuth redirect URL for the OAuth
- authorization.
+
+ *Please note that this URL will be used as the OAuth redirect URL for the OAuth
+ authorization.
+
- By registering your application, you acknowledge that you‘ve read and accepted
- the Deriv API{' '}
+
+ By registering your application, you acknowledge that you‘ve read and
+ accepted the Deriv API
+
- terms and conditions
+
+ terms and conditions
+
);
};
diff --git a/src/features/dashboard/components/NoApps/index.tsx b/src/features/dashboard/components/NoApps/index.tsx
index b6153a36..51fa47ed 100644
--- a/src/features/dashboard/components/NoApps/index.tsx
+++ b/src/features/dashboard/components/NoApps/index.tsx
@@ -2,6 +2,7 @@ import React, { useCallback } from 'react';
import styles from './no-apps.module.scss';
import { Button, Text } from '@deriv/ui';
import useAppManager from '@site/src/hooks/useAppManager';
+import Translate from '@docusaurus/Translate';
const NoApps = () => {
const { updateCurrentTab } = useAppManager();
@@ -16,11 +17,13 @@ const NoApps = () => {
- To see your details reflected, please register your app via the registration form.
+
+ To see your details reflected, please register your app via the registration form.
+
diff --git a/src/features/dashboard/manage-tokens/index.tsx b/src/features/dashboard/manage-tokens/index.tsx
index d1d66048..ced1968a 100644
--- a/src/features/dashboard/manage-tokens/index.tsx
+++ b/src/features/dashboard/manage-tokens/index.tsx
@@ -3,12 +3,13 @@ import { Text } from '@deriv/ui';
import styles from './manage-tokens.module.scss';
import ApiTokenForm from '../components/ApiTokenForm/api-token.form';
import ApiTokenTable from '../components/ApiTokenTable';
+import Translate from '@docusaurus/Translate';
const ApiToken = () => {
return (
- API Token Manager
+ API Token Manager
diff --git a/src/features/dashboard/register-app/index.tsx b/src/features/dashboard/register-app/index.tsx
index b60df013..0240c488 100644
--- a/src/features/dashboard/register-app/index.tsx
+++ b/src/features/dashboard/register-app/index.tsx
@@ -7,6 +7,7 @@ import { RegisterAppDialogError } from '../components/Dialogs/RegisterAppDialogE
import { RegisterAppDialogSuccess } from '../components/Dialogs/RegisterAppDialogSuccess';
import { IRegisterAppForm } from '../types';
import useAuthContext from '@site/src/hooks/useAuthContext';
+import Translate from '@docusaurus/Translate';
const AppRegistration = () => {
const { is_loading, send: registerApp, error, clear, data } = useWS('app_register');
@@ -45,7 +46,7 @@ const AppRegistration = () => {
return (
<>
>
);