ProcessNetMonitor v1.15.0 — 多语言支持 + 文字标签自动适配
新增
- 多语言支持(issue #10):插件 UI 跟随 TrafficMonitor 主程序语言自动切换,也可在插件「选项」中手动选择(重启后保持);内置 English,中文为默认兜底,未翻译的 key 自动显示中文原文
- 文字标签全量自动 px 适配:表格列头、汇总行、设置页控件均按当前语言实测宽度双向伸缩,切换语言无需手动适配;详情窗口宽度跟随内容自动调整,用户手动拉伸过后锁定不再自动收缩
- IP 归属地接入多语言:中文界面显示中文国家名(ISO 3166 映射 + 国内省市展开);其他语言界面直接使用 ip2region 数据原文(国外字段为英文,国内段显示 China)
- 详情窗口:初始高度固定 800(按 DPI 缩放),手动拉伸的宽高会被记住
修复
- 历史流量「今日」凌晨无数据:本地午夜计算误用
_mkgmtime,东时区用户凌晨查询区间倒置(起点晚于终点),改用mktime;day 层聚合同步改为自然日对齐 - 设置页切换语言后标签折断换行/出现省略号(测量字体口径 +
BS_PUSHBUTTON判定 +SS_ENDELLIPSIS修改控件文本三个问题) - 构建脚本
BUILD FAILED (x86)括号破坏 if 块,导致构建成功也返回失败 - 窗口最小化时保存配置可能写入垃圾尺寸
版本说明(3 个产物)
| 文件 | 说明 |
|---|---|
ProcessNetMonitor.dll
| x64(64 位 TrafficMonitor 使用) |
ProcessNetMonitor_x86.dll
| x86(32 位 TrafficMonitor 使用) |
ProcessNetMonitor-lang-v1.15.0.zip
| 完整安装包(x64 + x86 DLL + 语言文件,非中文用户下载,解压到 plugins 目录即可用) Complete bundle (x64 + x86 DLLs + language files, for non-Chinese users; extract into the plugins/ folder, ready to use) |
选择与你的 TrafficMonitor 主程序位数一致的 DLL,放入 TM 的 plugins/ 目录(或插件管理界面安装)。
语言包(可选下载):非中文用户如需英文界面,请下载 ProcessNetMonitor-lang-v1.15.0.zip:内含 x64/x86 两个 DLL 与 ProcessNetMonitor/lang/ 语言文件目录,解压到 TrafficMonitor 的 plugins/ 目录即可使用(最终结构为 plugins/ProcessNetMonitor.dll、plugins/ProcessNetMonitor_x86.dll、plugins/ProcessNetMonitor/lang/English.ini),插件会自动扫描加载语言文件。
For non-Chinese users: if you want an English UI, download ProcessNetMonitor-lang-v1.15.0.zip. It contains both x64 and x86 DLLs plus the language files under ProcessNetMonitor/lang/. Extract it into TrafficMonitor's plugins/ folder (final structure: plugins/ProcessNetMonitor.dll, plugins/ProcessNetMonitor_x86.dll, plugins/ProcessNetMonitor/lang/English.ini), then restart TrafficMonitor. The plugin will detect the language automatically.
安装前提
- Windows 10/11(推荐 64 位)
- TrafficMonitor 主程序(插件版)
- 插件以管理员权限运行时可启用 ETW 内核采集(更准);普通权限自动回退传统采集并提示
已知说明
- TUN 代理模式下,走代理的应用流量归属代理进程(如 mihomo),应用侧 TUN 重复流量不显示(与 AppNetworkCounter 一致)
- 代理进程与应用之间的虚拟转发流量(TUN 用户态)无法通过内核 ETW 观测,不显示
- 与 AppNetworkCounter 等 ETW 工具共用时:先启动的一方占用 NT Kernel Logger;后启动的 TM 进入附加模式(悬浮窗有黄色警告提示)
- ETW 占用者检测为尽力而为(Windows 无官方 API,普通权限下为已知工具名单识别)
- 历史流量如有旧版本残留的虚高数据,请在详情窗口点击「清除历史」重置
- IP 归属地库(ip2region)首次使用时自动下载,失败会提示;可关闭或配置代理