Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4d2234a

Browse files
committed
chore: translate added to text
1 parent 6b591cb commit 4d2234a

File tree

1 file changed

+2
-1
lines changed
  • src/features/Apiexplorer/RequestJSONBox

1 file changed

+2
-1
lines changed

src/features/Apiexplorer/RequestJSONBox/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import RequestResponseRenderer from '../RequestResponseRenderer';
55
import style from './RequestJSONBox.module.scss';
66
import SubscribeRenderer from '../SubscribeRenderer';
77
import { TSocketSubscribableEndpointNames } from '@site/src/configs/websocket/types';
8+
import Translate from '@docusaurus/Translate';
89

910
interface TRequestJSONBox<T extends TSocketEndpointNames> {
1011
handleChange: React.ChangeEventHandler<HTMLTextAreaElement>;
@@ -27,7 +28,7 @@ function RequestJSONBox<T extends TSocketEndpointNames>({
2728
<div className={style.playgroundBox}>
2829
<div className={style.formContent}>
2930
<label htmlFor='playground-request' className={style.inlineLabel}>
30-
Request JSON
31+
<Translate>Request JSON</Translate>
3132
</label>
3233
<textarea
3334
id='playground-request'

0 commit comments

Comments
 (0)