2570a028ea
第二、三阶段功能: 数据增强(第一阶段): - GPU频率: NVIDIA nvidia-smi clocks.gr, Intel gt/gt0/rps_act_freq_mhz - 显存频率: NVIDIA nvidia-smi clocks.mem - 功耗: NVIDIA nvidia-smi power.draw, AMD hwmon power1_average - 风扇转速: NVIDIA nvidia-smi fan.speed, AMD hwmon fan1_input - 任务栏图标根据最高温度变色(≥80°C红/≥60°C橙) - readGpuStats 每次刷新前重置统计字段,避免残留旧值 交互提升(第二阶段): - 温度告警: GPU温度≥80°C时通过D-Bus发送桌面通知,30秒冷却 - 右键菜单: 使用Qt.labs.platform原生菜单+MenuHelper,支持刷新和GPU切换 - 迷你趋势图: Canvas绘制近60秒温度走势折线 - 英文翻译: 新增en.ts,23条全部翻译 高级功能(第三阶段): - NVIDIA进程列表: nvidia-smi --query-compute-apps查询,弹框中显示进程名和显存占用 - GPU切换: pkexec prime-select set <mode>,弹框按钮+右键菜单,仅PRIME模式显示 其他改进: - 自定义深色主题tooltip替代系统默认白色tooltip - 第一张卡片tooltip显示在下方避免被裁剪 - CMakeLists.txt lupdate添加C++源文件提取tr()翻译 - gpuStats格式扩展为9字段: temp|gpuUsage|memUsage|memUsed|memTotal|gpuClock|memClock|powerDraw|fanSpeed
133 lines
5.3 KiB
XML
133 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE TS>
|
|
<TS version="2.1" language="zh_TW">
|
|
<context>
|
|
<name>GraphicsDriverApplet</name>
|
|
<message>
|
|
<location filename="../graphicsdriverapplet.cpp" line="564"/>
|
|
<source>GPU Temperature Alert</source>
|
|
<translation>GPU 溫度警報</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../graphicsdriverapplet.cpp" line="565"/>
|
|
<source>%1 temperature reached %2°C, please check cooling</source>
|
|
<translation>%1 溫度已達 %2°C,請檢查散熱</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>driverview</name>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="24"/>
|
|
<location filename="../package/driverview.qml" line="25"/>
|
|
<location filename="../package/driverview.qml" line="364"/>
|
|
<location filename="../package/driverview.qml" line="802"/>
|
|
<source>Unknown</source>
|
|
<translation>未知</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="23"/>
|
|
<location filename="../package/driverview.qml" line="77"/>
|
|
<location filename="../package/driverview.qml" line="615"/>
|
|
<location filename="../package/driverview.qml" line="830"/>
|
|
<source>No GPU detected</source>
|
|
<translation>未偵測到顯示卡</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="175"/>
|
|
<source>Graphics Driver Manager</source>
|
|
<translation>顯示卡驅動管理</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="198"/>
|
|
<source>Current Driver:</source>
|
|
<translation>目前驅動:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="640"/>
|
|
<source>GPU Processes</source>
|
|
<translation>GPU 行程</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="681"/>
|
|
<source>NVIDIA</source>
|
|
<translation>NVIDIA</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="702"/>
|
|
<source>Intel</source>
|
|
<translation>Intel</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="723"/>
|
|
<source>On-Demand</source>
|
|
<translation>按需</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="744"/>
|
|
<location filename="../package/driverview.qml" line="885"/>
|
|
<source>Refresh</source>
|
|
<translation>重新整理</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="892"/>
|
|
<source>Switch to NVIDIA</source>
|
|
<translation>切換到 NVIDIA</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="900"/>
|
|
<source>Switch to Intel</source>
|
|
<translation>切換到 Intel</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="908"/>
|
|
<source>Switch to On-Demand</source>
|
|
<translation>切換到按需模式</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="362"/>
|
|
<source>GPU: </source>
|
|
<translation>顯示卡名稱:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="363"/>
|
|
<source>Driver: </source>
|
|
<translation>驅動:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="364"/>
|
|
<source>Version: </source>
|
|
<translation>版本號:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="426"/>
|
|
<source>Primary</source>
|
|
<translation>主顯</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="259"/>
|
|
<source>PRIME mode: the integrated GPU handles display, the discrete GPU renders on demand. 3D apps use PRIME Render Offload to invoke the discrete GPU.</source>
|
|
<translation>PRIME 模式:核顯負責日常顯示,獨顯按需渲染。運行 3D 應用時通過 PRIME Render Offload 調用獨顯。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="261"/>
|
|
<source>Bumblebee mode: a legacy dual-GPU solution, now deprecated.</source>
|
|
<translation>Bumblebee 模式:舊版雙 GPU 方案,已淘汰。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="263"/>
|
|
<source>Solo mode: only one GPU detected.</source>
|
|
<translation>Solo 模式:僅偵測到一塊 GPU。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="265"/>
|
|
<source>Hybrid mode: dual GPU detected, but no known switching solution found.</source>
|
|
<translation>Hybrid 模式:偵測到雙 GPU,但未發現已知切換方案。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml" line="527"/>
|
|
<source>Fan</source>
|
|
<translation>風扇</translation>
|
|
</message>
|
|
</context>
|
|
</TS>
|