summaryrefslogtreecommitdiff
path: root/frontend/src/components/settings/pages/general/RemoteDebugging.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/settings/pages/general/RemoteDebugging.tsx')
-rw-r--r--frontend/src/components/settings/pages/general/RemoteDebugging.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/frontend/src/components/settings/pages/general/RemoteDebugging.tsx b/frontend/src/components/settings/pages/general/RemoteDebugging.tsx
index db604c69..60d57d91 100644
--- a/frontend/src/components/settings/pages/general/RemoteDebugging.tsx
+++ b/frontend/src/components/settings/pages/general/RemoteDebugging.tsx
@@ -1,19 +1,17 @@
import { Field, Toggle } from 'decky-frontend-lib';
+import { useTranslation } from 'react-i18next';
import { FaChrome } from 'react-icons/fa';
import { useSetting } from '../../../../utils/hooks/useSetting';
export default function RemoteDebuggingSettings() {
const [allowRemoteDebugging, setAllowRemoteDebugging] = useSetting<boolean>('cef_forward', false);
+ const { t } = useTranslation();
return (
<Field
- label="Allow Remote CEF Debugging"
- description={
- <span style={{ whiteSpace: 'pre-line' }}>
- Allows unauthenticated access to the CEF debugger to anyone in your network.
- </span>
- }
+ label={t('RemoteDebugging.remote_cef.label')}
+ description={<span style={{ whiteSpace: 'pre-line' }}>{t('RemoteDebugging.remote_cef.desc')}</span>}
icon={<FaChrome style={{ display: 'block' }} />}
>
<Toggle