chore: Shorten text to prevent Windows tooltip truncation.

This commit is contained in:
wonfen 2024-08-22 03:41:16 +08:00
parent 592167ffb7
commit aa8f6f4ad6

View File

@ -297,11 +297,11 @@ impl Tray {
}; };
let _ = tray.set_tooltip(&format!( let _ = tray.set_tooltip(&format!(
"Clash Verge {version}\n{}: {}\n{}: {}\n{}: {}", "Clash Verge {version}\n{}: {}\n{}: {}\n{}: {}",
t!("System Proxy", "系统代理"), t!("SysProxy", "系统代理"),
switch_map[system_proxy], switch_map[system_proxy],
t!("TUN Mode", "Tun 模式"), t!("TUN", "Tun模式"),
switch_map[tun_mode], switch_map[tun_mode],
t!("Curent Profile", "当前订阅"), t!("Profile", "当前订阅"),
current_profile_name current_profile_name
)); ));