direct was removed, and the translation for rules and global was replaced

This commit is contained in:
coolcoala
2025-07-26 06:51:51 +03:00
parent 72704f9dc9
commit 0a0b5b6612
2 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@
"Proxy Provider": "Провайдер прокси",
"Update All": "Обновить все",
"Update At": "Обновлено в",
"rule": "правила",
"global": "глобальный",
"rule": "По правилам",
"global": "Глобально",
"direct": "прямой",
"script": "скриптовый",
"locate": "Местоположение",

View File

@@ -23,7 +23,7 @@ const ProxyPage = () => {
);
const { verge } = useVerge();
const modeList = ["rule", "global", "direct"];
const modeList = ["rule", "global"];
const curMode = clashConfig?.mode?.toLowerCase();
const onChangeMode = useLockFn(async (mode: string) => {
@@ -58,7 +58,7 @@ const ProxyPage = () => {
variant={mode === curMode ? "default" : "ghost"}
size="sm"
onClick={() => onChangeMode(mode)}
className="capitalize px-3 py-1 h-auto"
className="px-3 py-1 h-auto"
>
{t(mode)}
</Button>