微调翻译

This commit is contained in:
yangjiaxuan 2023-07-25 15:49:47 +08:00
parent 6a05de52ac
commit 0ff0e7c9b0
3 changed files with 4 additions and 3 deletions

View File

@ -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"/>

View File

@ -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;