diff --git a/src/locales/en.json b/src/locales/en.json index 604bc78..31a21b0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -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", diff --git a/src/locales/fa.json b/src/locales/fa.json index 6acc9df..f8d18ff 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -251,6 +251,9 @@ "Open Dev Tools": "باز کردن ابزارهای توسعه‌دهنده", "Exit": "خروج", "Verge Version": "نسخه Verge", + "TG Channel": "کانال تلگرام", + "Doc": "سند", + "Source Code": "کد منبع", "ReadOnly": "فقط خواندنی", "ReadOnlyMessage": "نمی‌توان در ویرایشگر فقط خواندنی ویرایش کرد", diff --git a/src/locales/ru.json b/src/locales/ru.json index 432170a..3c2cf98 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -251,6 +251,9 @@ "Open Dev Tools": "Открыть инструменты разработчика", "Exit": "Выход", "Verge Version": "Версия Verge", + "TG Channel": "Канал Telegram", + "Doc": "документ", + "Source Code": "Исходный код", "ReadOnly": "Только для чтения", "ReadOnlyMessage": "Невозможно редактировать в режиме только для чтения", diff --git a/src/locales/zh.json b/src/locales/zh.json index 2c7bd4c..be0bbd4 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -251,6 +251,9 @@ "Open Dev Tools": "打开开发者工具", "Exit": "退出", "Verge Version": "Verge 版本", + "TG Channel": "Telegram 频道", + "Doc": "文档", + "Source Code": "源代码", "ReadOnly": "只读", "ReadOnlyMessage": "无法在只读模式下编辑", diff --git a/src/pages/settings.tsx b/src/pages/settings.tsx index adf7538..b14b009 100644 --- a/src/pages/settings.tsx +++ b/src/pages/settings.tsx @@ -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 = () => { + + + @@ -43,7 +55,7 @@ const SettingPage = () => {