mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
chore: add TG link & descriptions
This commit is contained in:
parent
83b25920ea
commit
24f9573c05
|
@ -246,6 +246,9 @@
|
|||
"Open Dev Tools": "Open Dev Tools",
|
||||
"Exit": "Exit",
|
||||
"Verge Version": "Verge Version",
|
||||
"TG Channel": "Telegram Channel",
|
||||
"Doc": "Docs",
|
||||
"Source Code": "Source Code",
|
||||
|
||||
"ReadOnly": "ReadOnly",
|
||||
"ReadOnlyMessage": "Cannot edit in read-only editor",
|
||||
|
|
|
@ -251,6 +251,9 @@
|
|||
"Open Dev Tools": "باز کردن ابزارهای توسعهدهنده",
|
||||
"Exit": "خروج",
|
||||
"Verge Version": "نسخه Verge",
|
||||
"TG Channel": "کانال تلگرام",
|
||||
"Doc": "سند",
|
||||
"Source Code": "کد منبع",
|
||||
|
||||
"ReadOnly": "فقط خواندنی",
|
||||
"ReadOnlyMessage": "نمیتوان در ویرایشگر فقط خواندنی ویرایش کرد",
|
||||
|
|
|
@ -251,6 +251,9 @@
|
|||
"Open Dev Tools": "Открыть инструменты разработчика",
|
||||
"Exit": "Выход",
|
||||
"Verge Version": "Версия Verge",
|
||||
"TG Channel": "Канал Telegram",
|
||||
"Doc": "документ",
|
||||
"Source Code": "Исходный код",
|
||||
|
||||
"ReadOnly": "Только для чтения",
|
||||
"ReadOnlyMessage": "Невозможно редактировать в режиме только для чтения",
|
||||
|
|
|
@ -251,6 +251,9 @@
|
|||
"Open Dev Tools": "打开开发者工具",
|
||||
"Exit": "退出",
|
||||
"Verge Version": "Verge 版本",
|
||||
"TG Channel": "Telegram 频道",
|
||||
"Doc": "文档",
|
||||
"Source Code": "源代码",
|
||||
|
||||
"ReadOnly": "只读",
|
||||
"ReadOnlyMessage": "无法在只读模式下编辑",
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Box, ButtonGroup, Grid, IconButton } from "@mui/material";
|
|||
import { useLockFn } from "ahooks";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { BasePage, Notice } from "@/components/base";
|
||||
import { GitHub, HelpOutlineSharp } from "@mui/icons-material";
|
||||
import { GitHub, HelpOutlineSharp, Telegram } from "@mui/icons-material";
|
||||
import { openWebUrl } from "@/services/cmds";
|
||||
import SettingVerge from "@/components/setting/setting-verge";
|
||||
import SettingClash from "@/components/setting/setting-clash";
|
||||
|
@ -21,7 +21,11 @@ const SettingPage = () => {
|
|||
});
|
||||
|
||||
const toGithubDoc = useLockFn(() => {
|
||||
return openWebUrl("https://clash-verge-rev.github.io/guide/log.html");
|
||||
return openWebUrl("https://clash-verge-rev.github.io/index.html");
|
||||
});
|
||||
|
||||
const toTelegramChannel = useLockFn(() => {
|
||||
return openWebUrl("https://t.me/clash_verge_re");
|
||||
});
|
||||
|
||||
const mode = useThemeMode();
|
||||
|
@ -35,7 +39,15 @@ const SettingPage = () => {
|
|||
<IconButton
|
||||
size="medium"
|
||||
color="inherit"
|
||||
title="@clash-verge-rev/clash-verge-rev.github.io"
|
||||
title={t("TG Channel")}
|
||||
onClick={toTelegramChannel}
|
||||
>
|
||||
<Telegram fontSize="inherit" />
|
||||
</IconButton>
|
||||
<IconButton
|
||||
size="medium"
|
||||
color="inherit"
|
||||
title={t("Doc")}
|
||||
onClick={toGithubDoc}
|
||||
>
|
||||
<HelpOutlineSharp fontSize="inherit" />
|
||||
|
@ -43,7 +55,7 @@ const SettingPage = () => {
|
|||
<IconButton
|
||||
size="medium"
|
||||
color="inherit"
|
||||
title="@clash-verge-rev/clash-verge-rev"
|
||||
title={t("Source Code")}
|
||||
onClick={toGithubRepo}
|
||||
>
|
||||
<GitHub fontSize="inherit" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user