mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
Merge branch 'feat-add-unified-delay' into fix-migrate-tauri2-errors
This commit is contained in:
commit
20d163cf3a
|
@ -1,11 +1,19 @@
|
|||
import { useRef } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { TextField, Select, MenuItem, Typography } from "@mui/material";
|
||||
import {
|
||||
TextField,
|
||||
Select,
|
||||
MenuItem,
|
||||
Typography,
|
||||
Tooltip,
|
||||
IconButton,
|
||||
} 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";
|
||||
|
@ -111,7 +119,16 @@ const SettingClash = ({ onError }: Props) => {
|
|||
</GuardState>
|
||||
</SettingItem>
|
||||
|
||||
<SettingItem label={t("Unified Delay")}>
|
||||
<SettingItem
|
||||
label={t("Unified Delay")}
|
||||
extra={
|
||||
<Tooltip title={t("Unified Delay Info")} placement="top">
|
||||
<IconButton color="inherit" size="small">
|
||||
<InfoRounded fontSize="inherit" sx={{ opacity: 0.75 }} />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
}
|
||||
>
|
||||
<GuardState
|
||||
value={unifiedDelay ?? false}
|
||||
valueProps="checked"
|
||||
|
|
|
@ -247,6 +247,7 @@
|
|||
"Mac Address": "MAC Address",
|
||||
"IPv6": "IPv6",
|
||||
"Unified Delay": "Unified Delay",
|
||||
"Unified Delay Info": "When unified delay is turned on, two delay tests will be performed to eliminate the delay differences between different types of nodes caused by connection handshakes, etc",
|
||||
"Log Level": "Log Level",
|
||||
"Port Config": "Port Config",
|
||||
"Random Port": "Random Port",
|
||||
|
|
|
@ -242,6 +242,7 @@
|
|||
"Mac Address": "آدرس MAC",
|
||||
"IPv6": "IPv6",
|
||||
"Unified Delay": "معادلDELAY",
|
||||
"Unified Delay Info": "معادلDELAY را فعال کنید تا ترافیک شبکه به سرعت رسید",
|
||||
"Log Level": "سطح لاگ",
|
||||
"Port Config": "پیکربندی پورت",
|
||||
"Random Port": "پورت تصادفی",
|
||||
|
|
|
@ -245,6 +245,7 @@
|
|||
"Mac Address": "MAC адрес",
|
||||
"IPv6": "IPv6",
|
||||
"Unified Delay": "Общий задержка",
|
||||
"Unified Delay Info": "Когда унифицированная задержка включена, будут выполнены два теста задержки, чтобы устранить различия в задержке между разными типами узлов, вызванные подтверждением соединения и т. д",
|
||||
"Log Level": "Уровень логов",
|
||||
"Port Config": "Настройка порта",
|
||||
"Random Port": "Случайный порт",
|
||||
|
|
|
@ -247,6 +247,7 @@
|
|||
"Mac Address": "MAC 地址",
|
||||
"IPv6": "IPv6",
|
||||
"Unified Delay": "统一延时",
|
||||
"Unified Delay Info": "开启统一延迟时,会进行两次延迟测试,以消除连接握手等带来的不同类型节点的延迟差异",
|
||||
"Log Level": "日志等级",
|
||||
"Port Config": "端口设置",
|
||||
"Random Port": "随机端口",
|
||||
|
|
Loading…
Reference in New Issue
Block a user