9e474de717
- switchGpu切换前写入备份文件(.gpu-switch-backup)记录之前模式 - init()检测未确认的切换,启动30秒自动回退计时器 - QML弹出'显示是否正常'确认覆盖层,支持手动确认/回退/超时自动回退 - confirmSwitchSuccess()用户确认正常后删除备份 - restoreFromBackup()自动恢复之前模式并发送通知 - primeOffloadEnabled属性检测当前PRIME offload状态 - switchGpu改用environment.d方式,不需要root/pkexec - 翻译更新:回退确认相关8条新增
238 lines
9.5 KiB
XML
238 lines
9.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE TS>
|
|
<TS version="2.1" language="zh_CN">
|
|
<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>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Settings</source>
|
|
<translation>设置</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>General Settings</source>
|
|
<translation>常规设置</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Show notification when GPU temperature exceeds threshold</source>
|
|
<translation>GPU 温度超过阈值时显示通知</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Alert Temperature Threshold</source>
|
|
<translation>告警温度阈值</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Temperature Trend</source>
|
|
<translation>温度趋势</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Switch to</source>
|
|
<translation>切换到</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Switch to NVIDIA discrete GPU for maximum performance. Higher power consumption.</source>
|
|
<translation>切换到 NVIDIA 独显以获得最高性能,功耗较高。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Switch to integrated GPU for power saving. NVIDIA GPU will be disabled.</source>
|
|
<translation>切换到核显以节省功耗,NVIDIA 独显将被禁用。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Hybrid mode: integrated GPU for display, NVIDIA for on-demand rendering.</source>
|
|
<translation>混合模式:核显负责显示,NVIDIA 按需渲染。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Auto-cancel if not confirmed</source>
|
|
<translation>未确认将自动取消</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Cancel</source>
|
|
<translation>取消</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Confirm</source>
|
|
<translation>确认</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Integrated</source>
|
|
<translation>核显</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Display OK?</source>
|
|
<translation>显示是否正常?</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>GPU mode was changed. If display is abnormal, it will auto-revert in %1s.</source>
|
|
<translation>GPU 模式已切换。如果显示异常,将在 %1 秒后自动回退。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Revert</source>
|
|
<translation>回退</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Display OK</source>
|
|
<translation>显示正常</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>GPU Mode Switched</source>
|
|
<translation>GPU 模式已切换</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Switched to %1 mode. Please re-login to take effect.</source>
|
|
<translation>已切换到 %1 模式,请重新登录生效。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>GPU Mode Restored</source>
|
|
<translation>GPU 模式已恢复</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../package/driverview.qml"/>
|
|
<source>Reverted to %1 mode. Please re-login to take effect.</source>
|
|
<translation>已恢复到 %1 模式,请重新登录生效。</translation>
|
|
</message>
|
|
</context>
|
|
</TS>
|