Feature: Bring feature limits in line with the current menus
The "feature limits" dialog offered by 主控生成 had drifted well behind the UI: a whole 高级 menu, five toolbar buttons and a couple of dozen context menu entries could not be restricted at all, and several items were listed under names that no longer appear anywhere. The three tabs now follow the real resources. Menu items are listed in the order of IDR_MENU_MAIN and carry the same text minus accelerators; the toolbar covers all 19 IDR_TOOLBAR_MAIN buttons; the context menu lists the nested 实验功能 / 客户管理 / 远程控制 / 机器管理 / 客户代理 / 执行程序 entries individually and the two runtime-built ones (协议切换, 执行代码) as groups. That makes 57 / 19 / 46 items, each with its own bit; new bits were added at the end of each field so the existing positions stay put. Enforcement was extended to match, and while wiring it up one long-standing bug surfaced: DeleteMenu(MF_BYCOMMAND) only reaches items of the menu it is called on, so hiding an entry of a nested popup had always been a no-op. Nested items are now deleted through their own submenu handle, and a popup whose items are all hidden is removed together with its parent entry, so no empty popup is left behind. 协议切换 is inserted relative to where 实验功能 ended up, which keeps it next to it either way; 执行代码 is simply skipped when restricted. The missing labels were added to en_US, zh_TW and de_DE. Co-Authored-By: deepseek-flash
This commit is contained in:
1 parent
559681ea01
commit
8807321f1d
7 files changed
+529
-205
No files matched your search
@@ -1769,6 +1769,21 @@ H264
|
||||
标准代理端口=Standard Proxy Port
|
||||
测试运行=Test Run
|
||||
Ghost执行=Ghost Run
|
||||
通知=Notify
|
||||
压缩=Compress
|
||||
解压缩=Uncompress
|
||||
输入口令=Input Password
|
||||
导入口令=Import License
|
||||
口令生成=Auth Generate
|
||||
V2私钥设置=V2 Private Key
|
||||
测试 bin 文件=Test bin File
|
||||
解混淆+测试 bin 文件=Deobfuscate+Test bin
|
||||
迁移数据=Backup Data
|
||||
语言包目录=Language Pack Directory
|
||||
刷新插件=Refresh Plugins
|
||||
下级FRP代理设置=FRPS for Subordinates
|
||||
打开Web远程桌面=Open Web Remote Desktop
|
||||
虚拟屏幕(实验功能)=Virtual Screen (Experimental)
|
||||
使用天数:=Usage days:
|
||||
登录通知=Login Notify
|
||||
反馈=Feedback
|
||||
|
||||
Reference in new issue
Block a user