359 lines
12 KiB
XML
359 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE TS>
|
|
<TS version="2.1" language="zh_CN">
|
|
<context>
|
|
<name>About</name>
|
|
<message>
|
|
<location filename="../forms/about.ui" line="26"/>
|
|
<source>About</source>
|
|
<translation>关于</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>BusMonitor</name>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="29"/>
|
|
<source>Bus Monitor</source>
|
|
<translation>总线监视器</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="48"/>
|
|
<source>Raw Data</source>
|
|
<translation>原始数据</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="135"/>
|
|
<location filename="../forms/busmonitor.ui" line="138"/>
|
|
<source>Clear</source>
|
|
<translation>清空</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="150"/>
|
|
<location filename="../forms/busmonitor.ui" line="153"/>
|
|
<source>Exit</source>
|
|
<translation>退出</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="162"/>
|
|
<location filename="../forms/busmonitor.ui" line="165"/>
|
|
<source>Save</source>
|
|
<translation>保存</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/busmonitor.ui" line="181"/>
|
|
<source>Start-Stop Monitor</source>
|
|
<translation>开始-停止监视器</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>MainWindow</name>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="26"/>
|
|
<source>Modbus Master</source>
|
|
<translation>Modbus 主机</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="67"/>
|
|
<source>Modbus Mode</source>
|
|
<translation>Modbus 模式</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="94"/>
|
|
<source>Slave ID</source>
|
|
<translation>从机 ID</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="130"/>
|
|
<source>Scan Rate (ms)</source>
|
|
<translation>扫描速率(毫秒)</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="181"/>
|
|
<source>Function Code</source>
|
|
<translation>功能码</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="197"/>
|
|
<source>Format</source>
|
|
<translation>格式</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="211"/>
|
|
<source>Binary</source>
|
|
<translation>二进制</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="216"/>
|
|
<source>Decimal</source>
|
|
<translation>十进制</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="221"/>
|
|
<source>Hex</source>
|
|
<translation>十六进制</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="229"/>
|
|
<source>Start Address</source>
|
|
<translation>起始地址</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="249"/>
|
|
<location filename="../src/mainwindow.cpp" line="187"/>
|
|
<source>Number of Coils</source>
|
|
<translation>线圈数量</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="284"/>
|
|
<source>Add Items</source>
|
|
<translation>增加项目</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="310"/>
|
|
<source>Clear Items</source>
|
|
<translation>清除项目</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="373"/>
|
|
<source>File</source>
|
|
<translation>文件</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="379"/>
|
|
<source>Options</source>
|
|
<translation>选项</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="388"/>
|
|
<source>Help</source>
|
|
<translation>帮助</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="394"/>
|
|
<source>View</source>
|
|
<translation>视图</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="400"/>
|
|
<source>Commands</source>
|
|
<translation>命令</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="441"/>
|
|
<source>Exit</source>
|
|
<translation>退出</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="477"/>
|
|
<source>About...</source>
|
|
<translation>关于...</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="489"/>
|
|
<source>Bus Monitor</source>
|
|
<translation>总线监视器</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="501"/>
|
|
<source>Settings...</source>
|
|
<translation>设置...</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="513"/>
|
|
<source>Read / Write</source>
|
|
<translation>读/写</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="525"/>
|
|
<source>Connect</source>
|
|
<translation>连接</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="538"/>
|
|
<source>Scan</source>
|
|
<translation>扫描</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/mainwindow.ui" line="547"/>
|
|
<source>Reset Counters</source>
|
|
<translation>重置计数器</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/mainwindow.cpp" line="50"/>
|
|
<location filename="../src/mainwindow.cpp" line="510"/>
|
|
<source>Packets : </source>
|
|
<translation>包:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/mainwindow.cpp" line="52"/>
|
|
<location filename="../src/mainwindow.cpp" line="511"/>
|
|
<source>Errors : </source>
|
|
<translation>错误:</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/mainwindow.cpp" line="188"/>
|
|
<source>Number of Registers</source>
|
|
<translation>寄存器数量</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/mainwindow.cpp" line="403"/>
|
|
<location filename="../src/mainwindow.cpp" line="429"/>
|
|
<source>Request failed
|
|
Add items to Registers Table.</source>
|
|
<translation>请求失败\n向寄存器表加入项目。</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>ModbusAdapter</name>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="50"/>
|
|
<source>Connection failed
|
|
Could not connect to serial port.</source>
|
|
<translation>连接失败
|
|
无法连接串口。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="79"/>
|
|
<source>Connection failed
|
|
Wrong IP Address.</source>
|
|
<translation>连接失败
|
|
IP地址错误。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="97"/>
|
|
<source>Connection failed
|
|
Could not connect to TCP port.</source>
|
|
<translation>连接失败
|
|
无法连接TCP口。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="232"/>
|
|
<source>Read data failed.
|
|
Slave threw exception > </source>
|
|
<translation>读数据失败
|
|
从机抛出异常 > </translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="239"/>
|
|
<source>Read data failed.
|
|
Number of registers returned does not match number of registers requested!. [</source>
|
|
<translation>读数据失败
|
|
返回的寄存器数量与请求的不匹配! [</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="318"/>
|
|
<source>Write data failed.
|
|
Slave threw exception > </source>
|
|
<translation>写数据失败
|
|
从机抛出异常 > </translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/modbusadapter.cpp" line="325"/>
|
|
<source>Write data failed.
|
|
Number of registers returned does not match number of registers requested!. [</source>
|
|
<translation>写数据失败
|
|
返回的寄存器数量与请求的不匹配! [</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>RegistersDataDelegate</name>
|
|
<message>
|
|
<location filename="../src/registersdatadelegate.cpp" line="92"/>
|
|
<source>Set value failed
|
|
Value is greater than 65535.</source>
|
|
<translation>设置值失败
|
|
该值大于65535。</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../src/registersdatadelegate.cpp" line="97"/>
|
|
<source>Set value failed
|
|
Value is smaller than -32768.</source>
|
|
<translation>设置值失败\n该值小于-32768。</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>Settings</name>
|
|
<message>
|
|
<location filename="../forms/settings.ui" line="32"/>
|
|
<source>Settings</source>
|
|
<translation>设置</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settings.ui" line="96"/>
|
|
<source>Max No Of Bus Monitor Lines</source>
|
|
<translation>监视器行数上限</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settings.ui" line="106"/>
|
|
<source>Response Timeout (sec)</source>
|
|
<translation>响应超时(秒)</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>SettingsModbusRTU</name>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="26"/>
|
|
<source>Modbus RTU Settings</source>
|
|
<translation>Modbus RTU设置</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="47"/>
|
|
<source>Serial port</source>
|
|
<translation>串口</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="154"/>
|
|
<source>Baud</source>
|
|
<translation>波特</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="167"/>
|
|
<source>Data Bits</source>
|
|
<translation>数据位数</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="197"/>
|
|
<source>Stop Bits</source>
|
|
<translation>停止位数</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="232"/>
|
|
<source>Parity</source>
|
|
<translation>奇偶</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="249"/>
|
|
<source>None</source>
|
|
<translation>无</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="254"/>
|
|
<source>Odd</source>
|
|
<translation>奇</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbusrtu.ui" line="259"/>
|
|
<source>Even</source>
|
|
<translation>偶</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>SettingsModbusTCP</name>
|
|
<message>
|
|
<location filename="../forms/settingsmodbustcp.ui" line="26"/>
|
|
<source>Modbus TCP Settings</source>
|
|
<translation>Modbus TCP设置</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbustcp.ui" line="41"/>
|
|
<source>Slave IP</source>
|
|
<translation>从机IP</translation>
|
|
</message>
|
|
<message>
|
|
<location filename="../forms/settingsmodbustcp.ui" line="48"/>
|
|
<source>TCP Port</source>
|
|
<translation>TCP口</translation>
|
|
</message>
|
|
</context>
|
|
</TS>
|