微调翻译
This commit is contained in:
parent
6a05de52ac
commit
0ff0e7c9b0
Binary file not shown.
|
@ -95,7 +95,7 @@
|
|||
<message>
|
||||
<location filename="dialog_inputserialnum.ui" line="88"/>
|
||||
<source>devType :</source>
|
||||
<translation>设备型号:</translation>
|
||||
<translation>设备类型:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_inputserialnum.ui" line="101"/>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include"test_base.h"
|
||||
#include"test_base.h"
|
||||
#include<string>
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
|
@ -177,7 +177,7 @@ class test
|
|||
/* 设置休眠 */
|
||||
int test_dormancy(void* data)
|
||||
{
|
||||
const wchar_t sleep_buf[8] = { 0,5,10,30,60,120,240 };
|
||||
const wchar_t sleep_buf[8] = { 0,5,10,20,30,60,120,240 };
|
||||
int sleep_time = *((int*)data);
|
||||
SANE_Power power;
|
||||
unsigned int len = sizeof(SANE_Power);
|
||||
|
@ -187,6 +187,7 @@ class test
|
|||
if (sleep_buf[i] == sleep_time)
|
||||
{
|
||||
power = (SANE_Power)i;
|
||||
break;
|
||||
}
|
||||
else
|
||||
power = SANE_POWER_NONE;
|
||||
|
|
Loading…
Reference in New Issue