diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 8e2c28a8958e141cf8024561c57ed6c632e34593..fe51e08689b66b37dff1394e875f7dfc6f77af25 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -22,10 +22,10 @@ fn main() -> std::io::Result<()> { } let menu = SystemTrayMenu::new() - .add_item(CustomMenuItem::new("open_window", "显示应用")) - .add_item(CustomMenuItem::new("restart_clash", "é‡å¯clash")) + .add_item(CustomMenuItem::new("open_window", "Show")) + .add_item(CustomMenuItem::new("restart_clash", "Restart Clash")) .add_native_item(SystemTrayMenuItem::Separator) - .add_item(CustomMenuItem::new("quit", "退出").accelerator("CmdOrControl+Q")); + .add_item(CustomMenuItem::new("quit", "Quit").accelerator("CmdOrControl+Q")); tauri::Builder::default() .manage(states::VergeState::default()) diff --git a/src/components/setting-clash.tsx b/src/components/setting-clash.tsx index db4ecb75b400351222bc0123ff9dd45b9592b5a9..d3fc013c649dd39d9e78888af11ff9e04918caa5 100644 --- a/src/components/setting-clash.tsx +++ b/src/components/setting-clash.tsx @@ -43,11 +43,11 @@ const SettingClash = ({ onError }: Props) => { return ( <List> <ListSubheader sx={{ background: "transparent" }}> - Clash设置 + Clash Setting </ListSubheader> <SettingItem> - <ListItemText primary="局域网连接" /> + <ListItemText primary="Allow Lan" /> <GuardState value={allowLan} valueProps="checked" @@ -75,7 +75,7 @@ const SettingClash = ({ onError }: Props) => { </SettingItem> <SettingItem> - <ListItemText primary="日志ç‰çº§" /> + <ListItemText primary="Log Level" /> <GuardState value={logLevel} onCatch={onError} @@ -94,7 +94,7 @@ const SettingClash = ({ onError }: Props) => { </SettingItem> <SettingItem> - <ListItemText primary="æ··åˆä»£ç†ç«¯å£" /> + <ListItemText primary="Mixed Port" /> <TextField size="small" value={mixedPort!} diff --git a/src/components/setting-verge.tsx b/src/components/setting-verge.tsx index 29728349b3bc0d3e706ed042a1d8956b4a277c78..bc578c730d65d0845ead343ab669f708bb9924de 100644 --- a/src/components/setting-verge.tsx +++ b/src/components/setting-verge.tsx @@ -39,10 +39,12 @@ const SettingVerge = ({ onError }: Props) => { return ( <List> - <ListSubheader sx={{ background: "transparent" }}>通用设置</ListSubheader> + <ListSubheader sx={{ background: "transparent" }}> + Common Setting + </ListSubheader> <SettingItem> - <ListItemText primary="外观主题" /> + <ListItemText primary="Theme Mode" /> <GuardState value={mode === "dark"} valueProps="checked" @@ -58,7 +60,7 @@ const SettingVerge = ({ onError }: Props) => { </SettingItem> <SettingItem> - <ListItemText primary="开机自å¯" /> + <ListItemText primary="Self Start" /> <GuardState value={startup} valueProps="checked" @@ -74,7 +76,7 @@ const SettingVerge = ({ onError }: Props) => { </SettingItem> <SettingItem> - <ListItemText primary="设置系统代ç†" /> + <ListItemText primary="System Proxy" /> <GuardState value={proxy} valueProps="checked" diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 3680322f63fc098733aaac6e4242bddf21045ff5..544e99ae1179334397272a04e369fe3b65ee0f1b 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -17,23 +17,23 @@ import Traffic from "../components/traffic"; const routers = [ { - label: "代ç†", + label: "Proxy", link: "/proxy", }, { - label: "é…ç½®", + label: "Profile", link: "/profile", }, { - label: "连接", + label: "Connections", link: "/connections", }, { - label: "日志", + label: "Log", link: "/log", }, { - label: "设置", + label: "Setting", link: "/setting", }, ];