From aa8f6f4ad689fe96754ae3eb6ee341901fb0288b Mon Sep 17 00:00:00 2001 From: wonfen Date: Thu, 22 Aug 2024 03:41:16 +0800 Subject: [PATCH] chore: Shorten text to prevent Windows tooltip truncation. --- src-tauri/src/core/tray.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src-tauri/src/core/tray.rs b/src-tauri/src/core/tray.rs index b0db804..d1b6fef 100644 --- a/src-tauri/src/core/tray.rs +++ b/src-tauri/src/core/tray.rs @@ -297,11 +297,11 @@ impl Tray { }; let _ = tray.set_tooltip(&format!( "Clash Verge {version}\n{}: {}\n{}: {}\n{}: {}", - t!("System Proxy", "系统代理"), + t!("SysProxy", "系统代理"), switch_map[system_proxy], - t!("TUN Mode", "Tun 模式"), + t!("TUN", "Tun模式"), switch_map[tun_mode], - t!("Curent Profile", "当前订阅"), + t!("Profile", "当前订阅"), current_profile_name ));