微调翻译
This commit is contained in:
parent
74830669e8
commit
e2ddfd3453
Binary file not shown.
|
@ -748,11 +748,6 @@
|
||||||
<source>START</source>
|
<source>START</source>
|
||||||
<translation>开始测试(Enter)</translation>
|
<translation>开始测试(Enter)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="form_maininterface.ui" line="147"/>
|
|
||||||
<source>Enter</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.ui" line="161"/>
|
<location filename="form_maininterface.ui" line="161"/>
|
||||||
<source>PrePage</source>
|
<source>PrePage</source>
|
||||||
|
@ -803,6 +798,11 @@
|
||||||
<source>DevInfo:</source>
|
<source>DevInfo:</source>
|
||||||
<translation>设备信息:</translation>
|
<translation>设备信息:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="form_maininterface.ui" line="147"/>
|
||||||
|
<source>Return</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.ui" line="154"/>
|
<location filename="form_maininterface.ui" line="154"/>
|
||||||
<source>SHOWIMG</source>
|
<source>SHOWIMG</source>
|
||||||
|
@ -824,7 +824,7 @@
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="65"/>
|
<location filename="form_maininterface.cpp" line="65"/>
|
||||||
<source>Device type:</source>
|
<source>Device type:</source>
|
||||||
<translation>设备型号:</translation>
|
<translation>设备类型:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="65"/>
|
<location filename="form_maininterface.cpp" line="65"/>
|
||||||
|
@ -913,6 +913,19 @@
|
||||||
<translation>休眠时间:%1分钟
|
<translation>休眠时间:%1分钟
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="form_maininterface.cpp" line="267"/>
|
||||||
|
<source>sleep time:%1
|
||||||
|
</source>
|
||||||
|
<translation>休眠时间:%1
|
||||||
|
</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="form_maininterface.cpp" line="267"/>
|
||||||
|
<location filename="form_maininterface.cpp" line="595"/>
|
||||||
|
<source>Not sleeping</source>
|
||||||
|
<translation>不休眠</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="268"/>
|
<location filename="form_maininterface.cpp" line="268"/>
|
||||||
<source>speed mode:%1PPM
|
<source>speed mode:%1PPM
|
||||||
|
@ -926,36 +939,36 @@
|
||||||
<translation>设备型号:%1</translation>
|
<translation>设备型号:%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="706"/>
|
<location filename="form_maininterface.cpp" line="726"/>
|
||||||
<location filename="form_maininterface.cpp" line="791"/>
|
<location filename="form_maininterface.cpp" line="797"/>
|
||||||
<source>device history scan count:</source>
|
<source>device history scan count:</source>
|
||||||
<translation>设备历史扫描张数:</translation>
|
<translation>设备历史扫描张数:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="763"/>
|
<location filename="form_maininterface.cpp" line="654"/>
|
||||||
<location filename="form_maininterface.cpp" line="768"/>
|
<location filename="form_maininterface.cpp" line="658"/>
|
||||||
<location filename="form_maininterface.cpp" line="773"/>
|
<location filename="form_maininterface.cpp" line="662"/>
|
||||||
<location filename="form_maininterface.cpp" line="778"/>
|
<location filename="form_maininterface.cpp" line="666"/>
|
||||||
<source>Prompt</source>
|
<source>Prompt</source>
|
||||||
<translation>提示</translation>
|
<translation>提示</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="763"/>
|
<location filename="form_maininterface.cpp" line="654"/>
|
||||||
<source>No paper</source>
|
<source>No paper</source>
|
||||||
<translation>无纸</translation>
|
<translation>无纸</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="768"/>
|
<location filename="form_maininterface.cpp" line="658"/>
|
||||||
<source>Device is sleeping</source>
|
<source>Device is sleeping</source>
|
||||||
<translation>设备处于休眠模式</translation>
|
<translation>设备处于休眠模式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="773"/>
|
<location filename="form_maininterface.cpp" line="662"/>
|
||||||
<source>Counting mode</source>
|
<source>Counting mode</source>
|
||||||
<translation>设备处于计数模式</translation>
|
<translation>设备处于计数模式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="778"/>
|
<location filename="form_maininterface.cpp" line="666"/>
|
||||||
<source>Other error</source>
|
<source>Other error</source>
|
||||||
<translation>其他错误</translation>
|
<translation>其他错误</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1020,8 +1033,8 @@
|
||||||
<translation type="vanished">Pid:</translation>
|
<translation type="vanished">Pid:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="form_maininterface.cpp" line="700"/>
|
<location filename="form_maininterface.cpp" line="720"/>
|
||||||
<location filename="form_maininterface.cpp" line="785"/>
|
<location filename="form_maininterface.cpp" line="791"/>
|
||||||
<source>device roller count:</source>
|
<source>device roller count:</source>
|
||||||
<translation>设备滚轴张数:</translation>
|
<translation>设备滚轴张数:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -264,7 +264,7 @@ void Form_mainInterface::on_testGetDevCfgInfo(int vid, int pid, int sleepTime, i
|
||||||
QString str = (tr("please verify the configuration of the device:") + "\n\t");
|
QString str = (tr("please verify the configuration of the device:") + "\n\t");
|
||||||
str.append(tr("vid:%1\n\t").arg(QString::fromStdString(buf)));
|
str.append(tr("vid:%1\n\t").arg(QString::fromStdString(buf)));
|
||||||
str.append(tr("pid:%1\n\t").arg(QString::fromStdString(buf2)));
|
str.append(tr("pid:%1\n\t").arg(QString::fromStdString(buf2)));
|
||||||
str.append(tr("sleep time:%1minute\n\t").arg(QString::number(sleepTime)));
|
str.append(sleepTime > 0 ? tr("sleep time:%1minute\n\t").arg(QString::number(sleepTime)) : tr("sleep time:%1\n\t").arg(tr("Not sleeping")));
|
||||||
str.append(tr("speed mode:%1PPM\n\t").arg(QString::number(speedMode)));
|
str.append(tr("speed mode:%1PPM\n\t").arg(QString::number(speedMode)));
|
||||||
str.append(tr("device serial number:%1\n\t").arg(devSn));
|
str.append(tr("device serial number:%1\n\t").arg(devSn));
|
||||||
str.append(tr("device firmware number:%1\n\t").arg(devFw));
|
str.append(tr("device firmware number:%1\n\t").arg(devFw));
|
||||||
|
@ -592,7 +592,7 @@ QString Form_mainInterface::getSleepTime()
|
||||||
sane_io_control(m_handle, IO_CTRL_CODE_GET_POWER_LEVEL, &sleepTime, &len2);
|
sane_io_control(m_handle, IO_CTRL_CODE_GET_POWER_LEVEL, &sleepTime, &len2);
|
||||||
|
|
||||||
if (sleepTime > 99999 || sleepTime == -1)
|
if (sleepTime > 99999 || sleepTime == -1)
|
||||||
return QString::number(0);
|
return tr("Not sleeping");
|
||||||
|
|
||||||
return QString::number(sleepTime / 60) + tr(" minute");
|
return QString::number(sleepTime / 60) + tr(" minute");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue