mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 23:18:42 +08:00
chore: Add Translation
This commit is contained in:
1 parent
a68005d4ab
commit
096c148228
3 files changed
+24
-3
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Button, ButtonGroup, Tooltip } from "@mui/material";
|
||||
import { checkService } from "@/services/cmds";
|
||||
import { useVerge } from "@/hooks/use-verge";
|
||||
@@ -25,11 +26,13 @@ export const StackModeSwitch = (props: Props) => {
|
||||
}
|
||||
);
|
||||
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<Tooltip
|
||||
title={
|
||||
isWIN && (serviceStatus !== "active" || !enable_service_mode)
|
||||
? "System and Mixed modes must be used in service mode"
|
||||
? t("System and Mixed Can Only be Used in Service Mode")
|
||||
: ""
|
||||
}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user