diff --git a/modules/twainui/TwainUI_zh_CN.qm b/modules/twainui/TwainUI_zh_CN.qm
index c1518ba7..4153bc81 100644
Binary files a/modules/twainui/TwainUI_zh_CN.qm and b/modules/twainui/TwainUI_zh_CN.qm differ
diff --git a/modules/twainui/TwainUI_zh_CN.ts b/modules/twainui/TwainUI_zh_CN.ts
index 927b1025..5e2d8bbd 100644
--- a/modules/twainui/TwainUI_zh_CN.ts
+++ b/modules/twainui/TwainUI_zh_CN.ts
@@ -1519,6 +1519,12 @@ Please make sure the two passwords are the same.
取消扫描
+
+
+
+ close
+ 关闭
+
Dialog_updateProgress
@@ -2777,78 +2783,78 @@ Are you sure to close?
删除配置
-
+
现有配置方案:
-
+
改名
-
+
删除
-
+
应用
-
+
删除所有配置
-
+
配置信息:
-
+
扫描
-
-
+
+
确定
-
+
取消
-
+
配置方案管理
-
+
区域裁剪
-
+
自定义色调曲线
-
+
请选择覆盖原来的配置:
-
+
,或者新增配置
-
+
保存配置
@@ -2882,82 +2888,82 @@ No: add new configuration
否
-
+
<h6><b>
-
+
覆盖原来配置:
-
+
新增配置
-
+
更名:
-
-
-
+
+
+
提示
-
+
配置名不能为空
-
-
+
+
配置名:
-
-
+
+
已存在
-
+
:</b></h6>
-
+
<p>
-
+
</p>
-
+
配置改名
-
-
+
+
确认删除配置
-
+
您确认要删除配置
-
+
?
@@ -2970,7 +2976,7 @@ No: add new configuration
’ 吗?
-
+
您确认要删除所有配置吗?
diff --git a/modules/twainui/TwainUI_zh_EN.qm b/modules/twainui/TwainUI_zh_EN.qm
index 8a9a757d..ed0b1482 100644
Binary files a/modules/twainui/TwainUI_zh_EN.qm and b/modules/twainui/TwainUI_zh_EN.qm differ
diff --git a/modules/twainui/TwainUI_zh_EN.ts b/modules/twainui/TwainUI_zh_EN.ts
index 95100c87..6218fad2 100644
--- a/modules/twainui/TwainUI_zh_EN.ts
+++ b/modules/twainui/TwainUI_zh_EN.ts
@@ -1396,6 +1396,12 @@ Please make sure the two passwords are the same.
取消扫描
+
+
+
+ close
+ Close
+
Dialog_updateProgress
@@ -2436,158 +2442,158 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
hg_settingdialog
-
+
Existing configuration plan:
-
+
Rename
-
+
Delete
-
+
Apply
-
+
Delete all configurations
-
+
Configuration information:
-
+
Scan
-
-
+
+
OK
-
+
Cancel
-
+
Configuration plan management
-
+
Regional crop
-
+
Custom tone curve
-
+
Please select overwrite original configuration:
-
+
, or add new configuration
-
+
Save configuration
-
+
Overwrite original configuration:
-
+
Add new configuration
-
+
Rename:
-
-
-
+
+
+
Prompt
-
+
Configuration name cannot be blank
-
-
+
+
Configuration name:
-
-
+
+
already exists
-
+
<h6><b>
-
+
:</b></h6>
-
+
<p>
-
+
</p>
-
+
Rename configuration
-
-
+
+
Delete configuration
-
+
Are you sure you want to delete configuration
-
+
?
@@ -2600,7 +2606,7 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
No
-
+
Are you sure you want to delete all configurations?
diff --git a/modules/twainui/dialog_progress_ui.ui b/modules/twainui/dialog_progress_ui.ui
index ef6a4d19..c0523b5b 100644
--- a/modules/twainui/dialog_progress_ui.ui
+++ b/modules/twainui/dialog_progress_ui.ui
@@ -76,7 +76,7 @@
-
- close
+ Close
diff --git a/modules/twainui/twainui.cpp b/modules/twainui/twainui.cpp
index 9f84602f..10d4218f 100644
--- a/modules/twainui/twainui.cpp
+++ b/modules/twainui/twainui.cpp
@@ -37,13 +37,7 @@ int choose_scanner(const std::vector &devs)
char *apply_current_config(const char *dev_name, SANE_Handle device, LPSANEAPI api)
{
- hg_settingdialog dlg(device, api, false, dev_name, nullptr);
- gb::sane_config_schm *cfgScheme = dlg.getCurScheme();
- dev_que::apply_scheme(api, device, cfgScheme);
-
- std::string name = cfgScheme->get_scheme_name();
- char *str = const_cast(name.c_str());
- return str;
+ return NULL;
}
void twain_ui_free(void *buf)