Every page, the tray's menu and tooltip, and the notifications, as Windows' display language is (GetUserDefaultUILanguage) or as chosen in Settings > This app. English stays the key in the code: tr()/trf() (i18n.rs) look it up in the page's own RU table. What the service says and proxy-ctl stay English. Changing the language rebuilds the window on the same page. That needed the window's handle untyped: gpui-kit's Root holds the view, so the typed handle was always None, and the tray's Open made a second window rather than raising the first (fixed too). An AmneziaWG outbound no longer shows its kind twice. tools/screenshots.sh takes SHOT_LANGUAGE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
845 B
TOML
33 lines
845 B
TOML
[package]
|
|
name = "ps-gui"
|
|
description = "Proxy Suite for Windows: the desktop app"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "proxy-suite"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
gpui-kit = { version = "0.8.1", features = ["tree-sitter"] }
|
|
gpui-tray = { version = "0.3", default-features = false, features = ["gpui-kit", "menu-state"] }
|
|
ps-client.workspace = true
|
|
ps-ipc.workspace = true
|
|
anyhow.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
async-channel = "2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { workspace = true, features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Registry",
|
|
"Win32_Networking_WinInet",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_Globalization",
|
|
] }
|