Feature: add tooltips to all settings-dialog inputs
Every edit box, combo box and radio button on the master settings dialog now explains itself on hover. The tips use explicit line breaks so long explanations do not run on one wide line. The dialog uses MFC's built-in tooltip support (EnableToolTips + OnToolHitTest + TTN_NEEDTEXT) instead of a hand-rolled CToolTipCtrl relay. OnToolHitTest hits controls by rectangle, which covers combo boxes (mouse messages target their internal edit child) and controls disabled at runtime (FRP port/token while FRP is off); the framework then translates the relay and shows the tip. Two details make the tips behave: the thread tooltip gets a max tip width (otherwise it draws one line and ignores the breaks), and the read-only max-connections field is lifted above its group box in z-order, because the relay's child-window lookup otherwise resolves the group box instead of the field. The 14 texts are translated in the en_US, de_DE and zh_TW packs. The listen-port tip warns that deployed clients keep the old port, and the report-interval/detect tips say the value is pushed after OK (Apply only saves). The UDP-params tip covers the 0/1 aliases and the restart requirement. Co-Authored-By: deepseek-flash
This commit is contained in:
1 parent
dfac2b5179
commit
8a507f784f
6 files changed
+167
-15
No files matched your search
@@ -2236,7 +2236,20 @@ KCP
|
||||
无法确定主控的公网地址,不能切换到实验传输=Cannot determine the master's public address; cannot switch to an experimental transport
|
||||
主控没有配置该传输的监听端口:请在设置的 ghost/UDPOption 里加上对应条目=The master has no listening port for this transport; add a matching ghost/UDPOption entry in Settings
|
||||
确定把选中主机切到测试传输吗?\n(UDP/KCP 为实验协议,可能不稳定;客户端立即断线重连,300 秒内连不上会自动回退到切换前的入口)=Switch the selected hosts to an experimental transport?\n(UDP/KCP are experimental and may be unstable; clients reconnect immediately and revert to the previous entry if unreachable for 300 seconds)
|
||||
UDP 协议参数与监听端口按顺序一一对应:例如监听端口填 6543;7543,这里就填 UDP;KCP。=UDP params map to listen ports in order; for ports 6543;7543 enter UDP;KCP.
|
||||
与监听端口按顺序一一对应。\n例如监听端口填 6543;7543,这里就填 UDP;KCP。\n0 表示 UDP,1 表示 KCP;未填写的端口按 UDP 处理。\n修改后需重启主控生效。=Maps to the listen ports in order.\nFor ports 6543;7543 enter UDP;KCP here.\n0 means UDP, 1 means KCP; missing entries default to UDP.\nRestart the master for changes to take effect.
|
||||
客户端连接主控所用的地址。\n有公网 IP 填公网 IP;使用 FRP 填 frps 的公网 IP/域名;\n仅局域网测试可填内网 IP。\n修改只影响之后生成/分发的客户端;若已绑定授权,改地址可能导致授权失效。=The address clients use to reach the master.\nUse the public IP; behind FRP use the frps public IP/domain;\nfor LAN tests the private IP is fine.\nOnly affects newly generated clients; changing a licensed address may invalidate the license.
|
||||
主控监听的端口,可填多个,用英文分号分隔。\n例如 6543;7543。每个端口同时监听 TCP 和 UDP;\nKCP 端口由右侧「UDP 协议参数」按顺序指定。\n已分发的客户端仍指向旧端口:改端口后需重启主控,\n并重新生成/分发客户端。=Ports the master listens on; multiple ports separated by semicolons.\nE.g. 6543;7543. Each port listens on both TCP and UDP;\nthe KCP port is chosen by UDP Params on the right, in order.\nDeployed clients still target the old port: restart the master\nand regenerate/redistribute clients after changing it.
|
||||
启用后主控在本机启动 frpc,\n把监听端口映射到 frps 的公网端口;\n需要填写服务端口和 token。\n仅 64 位主控支持,切换开关需重启主控生效。=Starts frpc on this machine and maps the listen ports\nto the public frps ports; fill in the FRP port and token.\n64-bit master only; restart the master after toggling.
|
||||
frps 的 server_port(frps.ini 的 bind_port),默认 7000。\n它不是主控映射出去的监听端口。仅启用 FRP 时可填。=The frps server_port (bind_port in frps.ini), default 7000.\nThis is not the mapped listen port. Enabled only when FRP is on.
|
||||
frpc 与 frps 共享的认证 token,\n必须与 frps.ini 中的 token 一致;\n留空表示服务端未启用 token。仅启用 FRP 时可填。=Auth token shared by frpc and frps; must match frps.ini.\nLeave empty if the server has no token. Enabled only when FRP is on.
|
||||
当前授权允许的最大同时在线客户端数,由口令/授权决定,只读。=Maximum simultaneous clients allowed by the license; read-only.
|
||||
是:允许在远程会话中切换目标机的多个显示器;\n否:只使用主显示器。对新开的屏幕会话生效。=Yes: switch between the target's monitors in a session;\nNo: primary monitor only. Applies to new screen sessions.
|
||||
屏幕捕获方式:\nGDI 兼容性最好,支持窗口捕获;\nDXGI 桌面复制更快更省 CPU(Win8+,部分远程会话/驱动下拿不到帧会自动回退);\nVIRTUAL 使用虚拟桌面捕获。对新开的屏幕会话生效。=Capture method:\nGDI is the most compatible and supports window capture;\nDXGI Desktop Duplication is faster and lighter (Win8+; falls back when no frame is available);\nVIRTUAL captures a virtual desktop. Applies to new screen sessions.
|
||||
远程画面编码方式:\n算法自适应(按带宽自动选择)、屏幕差异(省流量)、\nH264(画面更流畅,需客户端支持)、灰度 / RGBA→RGB565(极低带宽)。\n对新开的屏幕会话生效。=Screen encoding:\nAdaptive (picks by bandwidth), screen diff (low traffic),\nH264 (smoother, client support required), grayscale / RGBA->RGB565 (very low bandwidth).\nApplies to new screen sessions.
|
||||
客户端上报活动窗口/心跳的间隔(秒),默认 5。\n数值越小越及时,流量和 CPU 越高;点确定后下发给在线客户端。=Interval (seconds) for active-window/heartbeat reports, default 5.\nSmaller is fresher but costs traffic/CPU; sent to online clients after OK.
|
||||
选择在客户端上检测的软件:\n「摄像头」检测摄像头占用,「电报」检测 Telegram 是否运行。\n结果显示在在线列表的「摄像头」列;点确定后下发给在线客户端。=Software to detect on clients:\nCamera detects camera use; Telegram detects whether Telegram runs.\nThe result shows in the Camera column; sent to online clients after OK.
|
||||
把多个显示器按 N×N 网格拼成一个逻辑屏(2×2~5×5),\n用于多屏集中查看;「无」表示关闭。=Tile multiple monitors into an N x N logical screen (2x2 to 5x5)\nfor a combined view; None disables it.
|
||||
主控 Web 服务的端口,默认 8080。\n用于 Web 控制台、远程控制,以及以下载方式分发上线载荷;\n填 -1 或 0 表示不启用。修改后需重启主控生效。=Port of the master web service, default 8080.\nUsed by the web console, remote control and payload downloads;\n-1 or 0 disables it. Restart the master for changes to take effect.
|
||||
; ===== Status Bar TLS/MCP =====
|
||||
TLS: 有=TLS: Yes
|
||||
TLS: 无=TLS: No
|
||||
|
||||
Reference in new issue
Block a user