diff --git a/app/scantool/Scantool_zh_CN.qm b/app/scantool/Scantool_zh_CN.qm index bd6e6237..596f6df0 100644 Binary files a/app/scantool/Scantool_zh_CN.qm and b/app/scantool/Scantool_zh_CN.qm differ diff --git a/app/scantool/Scantool_zh_CN.ts b/app/scantool/Scantool_zh_CN.ts index 2993f62e..82c29b32 100644 --- a/app/scantool/Scantool_zh_CN.ts +++ b/app/scantool/Scantool_zh_CN.ts @@ -162,33 +162,41 @@ Form_DeviceConfig - + Default 恢复默认 - + Custom gamma 自定义色调曲线 - + + + Prompt 提示 - - - - - - - - - + + + + + + + + + The funtion is unsupported 此版本不支持该功能 + + + + This function may cause a decrease in the speed of drawing. + 此功能可能会导致出图速度降低. + Form_SaveParam @@ -381,23 +389,24 @@ 用户自定义页数 - - - - + + + + e.g. '%1%2' 例如.“%1%2” + Browse directory - 文件夹路径 + 文件夹路径 MainWindow - + Scan Tool 扫描工具 @@ -427,106 +436,107 @@ 选择设备 - + Show 打开 - + Exit 退出 - + Device Type 设备类型 - + Button Id 按键ID - + Device Config 设备配置 - + Save Param 保存参数 - - - + + + Manual 手动 - - - + + + Button 1 按键 1 - - - + + + Button 2 按键 2 - - - + + + Button 3 按键 3 - - - + + + Button 4 按键 4 - - - + + + Button 5 按键 5 - - - - - - + + + + + + + Tips 提示 - - - + + + Device is offline 设备已断开 - + binary 黑白 - + gray 256级灰度 - + rgb 24位彩色 @@ -535,13 +545,13 @@ 不支持打开设备 %1 - - + + No item selected 请选择配置项 - + Device type mismatch 设备类型不匹配 @@ -550,12 +560,12 @@ 手动扫描配置不可被删除 - + Question 询问 - + Are you sure you want to remove the item? 确认删除配置项? diff --git a/app/scantool/form_deviceconfig.cpp b/app/scantool/form_deviceconfig.cpp index 51629eec..5f6ff18d 100644 --- a/app/scantool/form_deviceconfig.cpp +++ b/app/scantool/form_deviceconfig.cpp @@ -886,6 +886,13 @@ void Form_DeviceConfig::on_string_list_comboBoxClicked() return; } + bool ok = false; + if ((deviceConfigEx->name == SANE_STD_OPT_NAME_TEXT_DIRECTION) && + 0 == strcmp(to_default_language(comboBox->currentText().toStdString().c_str(), &ok), OPTION_VALUE_WGFX_ZDWBFXSB)) + { + QMessageBox::information(this, tr("Prompt"), tr("This function may cause a decrease in the speed of drawing.")); + } + deviceConfigEx->stringValue = currentText; if ((method & SANE_INFO_RELOAD_OPTIONS) == SANE_INFO_RELOAD_OPTIONS) { @@ -1378,6 +1385,11 @@ void Form_DeviceConfig::on_checkedClicked() return; } + if (currentState && (deviceConfigEx->name == SANE_STD_OPT_NAME_RID_MORR)) + { + QMessageBox::information(this, tr("Prompt"), tr("This function may cause a decrease in the speed of drawing.")); + } + deviceConfigEx->boolValue = currentState; if ((method & SANE_INFO_RELOAD_OPTIONS) == SANE_INFO_RELOAD_OPTIONS) {