From d0f907f3492aef92c23884f122279a0ffc31061c Mon Sep 17 00:00:00 2001 From: wonfen Date: Thu, 14 Nov 2024 03:01:37 +0800 Subject: [PATCH] chore: update info & i18n --- src/components/setting/setting-clash.tsx | 27 +++++++++-------------- src/components/setting/setting-system.tsx | 4 +++- src/components/setting/setting-verge.tsx | 6 +++++ src/locales/fa.json | 4 +++- src/locales/ru.json | 6 +++-- src/locales/zh.json | 6 +++-- 6 files changed, 31 insertions(+), 22 deletions(-) diff --git a/src/components/setting/setting-clash.tsx b/src/components/setting/setting-clash.tsx index 9ef77c0..3881f52 100644 --- a/src/components/setting/setting-clash.tsx +++ b/src/components/setting/setting-clash.tsx @@ -1,19 +1,10 @@ import { useRef } from "react"; import { useTranslation } from "react-i18next"; -import { - TextField, - Select, - MenuItem, - Typography, - Tooltip, - IconButton, -} from "@mui/material"; - +import { TextField, Select, MenuItem, Typography } from "@mui/material"; import { SettingsRounded, ShuffleRounded, LanRounded, - InfoRounded, } from "@mui/icons-material"; import { DialogRef, Notice, Switch } from "@/components/base"; import { useClash } from "@/hooks/use-clash"; @@ -122,11 +113,10 @@ const SettingClash = ({ onError }: Props) => { - - - - + } > { - + + } + > { } + extra={ + + } > { backupRef.current?.open()} label={t("Backup Setting")} + extra={ + + } />