多语支持

This commit is contained in:
2026-03-22 12:33:04 +08:00
parent 5d6053ae2c
commit 1de688b792
20 changed files with 892 additions and 72 deletions

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AppTitle" xml:space="preserve"><value>Chromebox 风扇温控</value></data>
<data name="TabMonitor" xml:space="preserve"><value>监控</value></data>
<data name="TabCurve" xml:space="preserve"><value>曲线</value></data>
<data name="TabAdvanced" xml:space="preserve"><value>高级</value></data>
<data name="StatusStarting" xml:space="preserve"><value>启动中…</value></data>
<data name="StatusRunning" xml:space="preserve"><value>运行中</value></data>
<data name="StatusPaused" xml:space="preserve"><value>已暂停</value></data>
<data name="StatusFailSafe" xml:space="preserve"><value>安全模式</value></data>
<data name="GridColTemp" xml:space="preserve"><value>温度 (°C)</value></data>
<data name="GridColDuty" xml:space="preserve"><value>占空比 0100</value></data>
<data name="BtnSaveApply" xml:space="preserve"><value>保存并应用</value></data>
<data name="BtnRestoreDefault" xml:space="preserve"><value>恢复默认曲线</value></data>
<data name="LblEctoolPath" xml:space="preserve"><value>ectool 路径</value></data>
<data name="LblPollInterval" xml:space="preserve"><value>轮询间隔 (ms)</value></data>
<data name="LblRpmEvery" xml:space="preserve"><value>每 N 轮读 RPM</value></data>
<data name="LblFanRpmArgs" xml:space="preserve"><value>读转速参数 (空格分隔)</value></data>
<data name="LblFanDutyArgs" xml:space="preserve"><value>读占空比参数 (空=跳过)</value></data>
<data name="LblAutoFanArgs" xml:space="preserve"><value>恢复自动风扇参数</value></data>
<data name="LblTempSource" xml:space="preserve"><value>温度来源</value></data>
<data name="LblFailCount" xml:space="preserve"><value>连续失败进入安全模式 (次)</value></data>
<data name="LblFailPct" xml:space="preserve"><value>安全模式固定占空比 (%)</value></data>
<data name="ChkFailAuto" xml:space="preserve"><value>安全模式使用 autofanctrl不用固定占空比</value></data>
<data name="LblFailStrategy" xml:space="preserve"><value>安全模式策略</value></data>
<data name="LblChartMin" xml:space="preserve"><value>图表保留时长 (分钟)</value></data>
<data name="LblChartPoints" xml:space="preserve"><value>图表最大点数</value></data>
<data name="BtnSaveAdvanced" xml:space="preserve"><value>保存高级设置</value></data>
<data name="TrayOpen" xml:space="preserve"><value>打开主窗口</value></data>
<data name="TrayPause" xml:space="preserve"><value>暂停控制</value></data>
<data name="TrayResume" xml:space="preserve"><value>恢复控制</value></data>
<data name="TrayAbout" xml:space="preserve"><value>关于</value></data>
<data name="TrayExit" xml:space="preserve"><value>退出</value></data>
<data name="AboutMessage" xml:space="preserve"><value>Chromebox 风扇温控
使用 LibreHardwareMonitor 读取 CPU 温度,通过 crosec ectool 控制风扇。
请以管理员身份运行。</value></data>
<data name="ErrRpmArgsEmpty" xml:space="preserve"><value>读转速参数不能为空。</value></data>
<data name="ErrAutoFanArgsEmpty" xml:space="preserve"><value>恢复自动风扇参数不能为空。</value></data>
<data name="MsgSaved" xml:space="preserve"><value>已保存。</value></data>
<data name="LabelTemp" xml:space="preserve"><value>温度:</value></data>
<data name="LabelTargetDuty" xml:space="preserve"><value>目标占空比:</value></data>
<data name="LabelRpm" xml:space="preserve"><value>转速:</value></data>
<data name="ChartTemp" xml:space="preserve"><value>温度 (°C)</value></data>
<data name="ChartTime" xml:space="preserve"><value>时间 (s)</value></data>
<data name="ChartDuty" xml:space="preserve"><value>占空比 (%)</value></data>
<data name="ChartRpm" xml:space="preserve"><value>转速</value></data>
<data name="LegendCelsius" xml:space="preserve"><value>°C</value></data>
<data name="LegendDuty" xml:space="preserve"><value>占空比 %</value></data>
<data name="CurveChartDuty" xml:space="preserve"><value>占空比 (%)</value></data>
<data name="CurveChartTemp" xml:space="preserve"><value>温度 (°C)</value></data>
<data name="LblLanguage" xml:space="preserve"><value>语言</value></data>
<data name="LangAuto" xml:space="preserve"><value>跟随系统</value></data>
<data name="LangEn" xml:space="preserve"><value>English</value></data>
<data name="LangZhHans" xml:space="preserve"><value>简体中文</value></data>
<data name="LangZhHant" xml:space="preserve"><value>繁体中文</value></data>
<data name="MsgRestartToApplyLanguage" xml:space="preserve"><value>语言已更改,请重启应用以生效。</value></data>
</root>