diff --git a/app/scanner/Scanner_zh_CN.qm b/app/scanner/Scanner_zh_CN.qm
index b8af3195..49d5ba3e 100644
Binary files a/app/scanner/Scanner_zh_CN.qm and b/app/scanner/Scanner_zh_CN.qm differ
diff --git a/app/scanner/Scanner_zh_CN.ts b/app/scanner/Scanner_zh_CN.ts
index 81d88145..f6a3ee9a 100644
--- a/app/scanner/Scanner_zh_CN.ts
+++ b/app/scanner/Scanner_zh_CN.ts
@@ -365,43 +365,43 @@
默认配置
-
-
+
+
默认配置方案
-
-
-
-
+
+
+
+
例如.“%1%2”
-
+
确定
-
+
取消
-
+
文件夹路径
-
-
+
+
提示
-
-
+
+
配置方案已存在
@@ -612,36 +612,36 @@ Page range will be "Chosen Pages".
多页保存(TIFF/PDF/OFD/GIF)
-
-
-
+
+
+
输入无效。
页码范围将是“被选页码”
-
+
英语
-
+
中文(简体)
-
+
中文(繁体)
-
+
日文
-
+
韩文
@@ -729,34 +729,34 @@ Page range will be 'Chosen Pages'.
请留下您的电话、QQ或者邮箱等联系方式(必填)。
-
-
-
+
+
+
错误
-
+
意见与建议不能为空哦
-
+
联系方式一栏不能为空哦
-
+
提示
-
+
提交成功
-
+
提交失败
@@ -1876,7 +1876,7 @@ Please make sure the two passwords are the same.
-
+
更新内容:
@@ -1891,19 +1891,19 @@ bug description:
-
+
当前为最新版本!版本号为:
-
-
+
+
发现新版本:
-
-
+
+
,当前版本为:
@@ -2077,355 +2077,355 @@ bug description:
旋转
-
+
用户
-
+
信息
-
+
设备
-
+
工具栏
-
+
打开...
-
+
插入本地文件...
-
+
保存
-
+
另存为...
-
+
导出...
-
+
关闭选中项
-
+
关闭所有项
-
+
图像信息
-
+
退出
-
+
扫描设置...
-
+
扫描
-
+
扫描单张
-
-
+
+
扫描至...
-
+
全屏显示
-
+
适应视图框尺寸
-
+
适应视图框宽度
-
+
真实大小
-
+
放大
-
+
缩小
-
+
工具栏
-
+
状态栏
-
+
缩略图栏
-
+
色彩信息
-
+
上一张
-
+
下一张
-
+
第一张
-
+
最后一张
-
+
跳转至...
-
+
上一页
-
+
下一页
-
+
第一页
-
+
最后一页
-
+
亮度/对比度/伽马...
-
+
左旋转90度
-
+
右旋转90度
-
+
旋转180度
-
+
多页旋转...
-
+
裁剪/纠偏/消除黑框...
-
+
登录...
-
+
密码修改...
-
+
登出
-
+
日志管理...
-
+
缓存设置...
-
+
耗材状态...
-
+
帮助
-
+
关于...
-
+
从扫描插入...
-
+
清除滚轴计数
-
+
图像编辑...
-
+
书籍排序
-
+
自动保存
-
+
检查更新...
-
+
意见反馈...
-
+
导出设备日志
-
+
导出驱动日志
-
+
删除选中项
-
+
文本增强
-
+
华高扫描软件
-
+
多列显示
-
+
移动到...
-
+
插入文件
-
-
-
+
+
+
没有发现扫描仪
-
-
-
-
-
+
+
+
+
+
询问
-
+
图像已被修改。
是否保存修改?
-
+
文件已丢失,是否删除?
@@ -2451,17 +2451,17 @@ bug description:
扫描完成
-
+
清空并启动扫描
-
+
不清空并启动扫描
-
+
图像列表中已存在图像。
@@ -2476,12 +2476,12 @@ Do you want to clear?
磁盘空间不足,请删除不需要的文件,以保证有足够的空间
-
+
打开图片
-
+
插入图片
@@ -2494,275 +2494,285 @@ Do you want to clear?
保存失败
-
+
黑白
-
+
256级灰度
-
+
24位彩色
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
请手动唤醒设备
-
+
紫光扫描软件
-
-
+
+
+ 扫描软件
+
+
+
+
默认配置方案
-
+
显示缩略图栏
-
+
隐藏缩略图栏
-
+
取消
-
-
-
+
+
+
保存成功
-
-
+
+
图片名在列表中已存在
-
+
请至少选中一张图片再进行导出
-
+
文件名
-
+
文件路径
-
+
文件大小
-
+
创建时间
-
+
修改时间
-
+
访问时间
-
+
格式
-
+
宽度
-
+
高度
-
+
深度
-
+
色彩模式
-
+
每英寸像素点
-
+
打印尺寸
-
+
帧
-
+
无
-
+
黑白
-
+
灰度
-
+
彩色
-
+
不支持
-
+
警告
-
+
设备正在运行!
请先结束扫描。
-
+
+
+ 关于
+
+
+
无法访问当前缓存路径:%1
请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径。
-
+
无法访问当前缓存路径:%1
请尝试在【扫描到】更改缓存路径。
-
+
图像处理失败
-
+
OCR初始化错误
-
+
OCR错误
-
+
文件不存在
-
+
加载动态库失败
-
+
文件数据错误
-
+
图像格式处理错误
-
+
内存不足
-
+
错误
-
-
+
+
语言切换成功,下次启动软件时生效!
-
+
您确定彻底删除选中项文件?
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
已唤醒设备
-
+
就绪
@@ -2772,7 +2782,7 @@ Please finish scanning first.
请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径
-
+
文件访问权限不足
@@ -2785,46 +2795,46 @@ Please finish scanning first.
图像处理失败
-
+
您确定要断开设备:
-
+
吗?
-
-
+
+
关闭
-
+
提示
-
+
未获取到其他版本
-
-
+
+
设备不支持该操作
-
-
+
+
IO错误
-
-
+
+
错误
@@ -2839,17 +2849,17 @@ Continue to close?
是否继续关闭?
-
+
是否确定登出管理员账户?
-
+
确认操作
-
+
你确定要清除滚轴计数吗
@@ -2858,36 +2868,35 @@ Continue to close?
请重新进入关于界面以获取最新值
-
-
+
+
-
-
+
+
-
+
滚轴张数
-
+
打开扫描仪
-
-
+
华高扫描软件
-
-
+
+
成功
@@ -2904,22 +2913,22 @@ Continue to close?
失败
-
-
+
+
失败
-
-
-
+
+
+
警告
-
-
-
+
+
+
当前路径磁盘空间不足,
请重新选择路径或及时清理磁盘空间。
@@ -2929,119 +2938,119 @@ Continue to close?
配置丢失
-
+
应用配置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
启动失败
-
+
汉王扫描软件
-
+
立思辰扫描软件
-
+
沧田扫描软件
-
+
Microtek DocWizard EX 扫描软件
-
+
语言
-
+
简体中文
-
+
English
-
+
自动保存
-
+
切换图片时,不提醒,直接保存编辑过的图片
-
+
显示状态栏
-
+
隐藏状态栏
-
+
显示工具栏
-
+
隐藏工具栏
-
+
启用图像信息
-
+
关闭图像信息
-
+
启用自动保存
-
+
取消自动保存
-
+
切换图片时,自动保存编辑过的图像。若想取消,请取消勾选菜单项:图像->自动保存
@@ -3062,26 +3071,26 @@ Continue to close?
发现设备
-
+
重新连接
-
+
已经连接,但打开失败
-
-
+
+
存图失败:
-
-
-
-
+
+
+
+
创建文件夹失败:
@@ -3090,102 +3099,102 @@ Continue to close?
%1%2%3.%4
-
-
+
+
创建图片文件失败:
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
保存图片文件失败:
-
+
启动安装程序失败!
-
+
有图像未保存,确定关闭?
-
+
发现设备 : %1
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
提示
-
+
确定关闭应用软件?
-
+
确认操作
-
+
您确定要清除滚轴计数吗
-
-
-
+
+
+
提示
-
-
+
+
辊轴计数已置零
-
-
+
+
重置滚轴计数失败
-
+
错误
-
+
文档丢失!文档可能已被删除或被重命名。
@@ -3226,21 +3235,22 @@ Are you sure to close?
<p>%1</p><p>版本: %2<br>版权: © %3</p><p>%4%5%6%7%8%9</p>
-
-
+
+
关于 %1
-
-
+
+
+
<p>版本: %1</p>
<p>版本: %1</p>
-
-
+
+
<p>版权: © %1</p>
<p>版权: © %1</p>
@@ -3325,32 +3335,31 @@ Are you sure to close?
取消
-
+
恢复默认值
-
+
文本增强
-
- 应用到图像
+ 应用到图像
-
+
亮度
-
+
Gamma校正
-
+
对比度
diff --git a/app/scanner/Scanner_zh_EN.qm b/app/scanner/Scanner_zh_EN.qm
index 7a8106c4..558dcdf8 100644
Binary files a/app/scanner/Scanner_zh_EN.qm and b/app/scanner/Scanner_zh_EN.qm differ
diff --git a/app/scanner/Scanner_zh_EN.ts b/app/scanner/Scanner_zh_EN.ts
index 4d8b482a..05c05336 100644
--- a/app/scanner/Scanner_zh_EN.ts
+++ b/app/scanner/Scanner_zh_EN.ts
@@ -357,43 +357,43 @@
User custom pages
-
-
+
+
Default scheme
-
-
-
-
+
+
+
+
For example"%1%2"
-
+
OK
-
+
Cancel
-
+
Folder path
-
-
+
+
Prompt
-
-
+
+
The configuration scheme already exists
@@ -589,36 +589,36 @@ The page range will be “selected pages”
Cancel
-
-
-
+
+
+
Input invalid.
The page range will be “selected pages”
-
+
English
-
+
Simplified Chinese
-
+
Traditional Chinese
-
+
Japanese
-
+
Korean
@@ -698,34 +698,34 @@ The page range will be “selected pages”
Please leave a contact method, such as a phone number or E-mail address (required).
-
-
-
+
+
+
Error
-
+
Opinions and suggestions cannot be blank
-
+
The contact method field cannot be blank
-
+
Prompt
-
+
Submitted successfully.
-
+
Submission failed.
@@ -1743,24 +1743,24 @@ Please make sure the two passwords are the same.
Check for updates
-
+
Currently the latest version! The version number is:
-
-
+
+
New version discovered:
-
-
+
+
, the current version is:
-
+
Update content:
@@ -1912,439 +1912,439 @@ Please make sure the two passwords are the same.
Rotate
-
+
User
-
+
Information
-
+
Device
-
+
Toolbar
-
+
Open...
-
+
Insert local file...
-
+
Save
-
+
Save as...
-
+
Export...
-
+
Close selected item
-
+
Close all items
-
+
Image information...
-
+
Exit
-
+
Scan settings
-
+
Scan
-
+
Scan single page
-
-
+
+
Scan to...
-
+
Fullscreen display
-
+
Fit view box size
-
+
Fit view box width
-
+
Real size
-
+
Zoom in
-
+
Zoom out
-
+
ToolBar
-
+
Status bar
-
+
Thumbnail bar
-
+
Color information
-
+
Previous
-
+
Next
-
+
First
-
+
Last
-
+
Jump to...
-
+
Previous page
-
+
Next page
-
+
First page
-
+
Last page
-
+
Brightness/ contrast/ gamma...
-
+
Rotate 90 degrees left
-
+
Rotate 90 degrees right
-
+
Rotate 180 degrees
-
+
Rotate multiple pages...
-
+
Crop/ Deskew/ Remove black box...
-
+
Login...
-
+
Change password...
-
+
Logout
-
+
Log management...
-
+
Cache settings...
-
+
Consumable status...
-
+
Help
-
+
About...
-
+
Insert from scan...
-
+
Clear roller count
-
+
Image edit...
-
+
Book sorting
-
+
Auto save
-
+
Check for updates...
-
+
Opinions and feedback...
-
+
Export device log...
-
+
Export drive log...
-
+
Delete selected item
-
+
Enhance text
-
+
Hanvon scanning software
-
+
LANXUM scanning software
-
+
CUMTENN scanning software
-
+
Microtek DocWizard EX V1.0
-
+
HUAGOSCAN scanning software
-
+
Language
-
+
简体中文
-
+
English
-
+
Multi-column display
-
+
Move to...
-
+
Insert file
-
-
-
+
+
+
No scanner detected
-
+
Auto save
-
+
Do not show prompt and save the edited images directly when switching images.
-
+
Show status bar
-
+
Hide status bar
-
+
Show toolbar
-
+
Hide toolbar
-
+
Enable image information
-
+
Disable image information
-
+
Enable auto save
-
+
Cancel auto save
-
+
Save edited images automatically when switching images. If you want to cancel, please deselect the menu item: Auto save images.
-
-
-
-
-
+
+
+
+
+
Ask
-
+
Image modified, save changes?
@@ -2361,7 +2361,7 @@ Please make sure the two passwords are the same.
No
-
+
File lost; delete?
@@ -2370,17 +2370,17 @@ Please make sure the two passwords are the same.
Device discovered
-
+
Device discovered: %1
-
+
reconnect
-
+
connected, but failed to open
@@ -2390,394 +2390,404 @@ Please make sure the two passwords are the same.
disconnected
-
-
-
+
+
+
Insufficient disk space for the current path.
Please reselect a path or clear disk space immediately.
-
-
-
+
+
+
Warning
-
-
+
+
Failed to save image:
-
-
-
-
+
+
+
+
Failed to create folder:
-
-
+
+
Failed to create image file:
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
Failed to save image:
-
+
Black and white
-
+
Grayscale
-
+
Color
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Failed to start
-
+
UNI scanning software
-
-
+
+
Default scheme
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Please wake up the device manually
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Scanning software
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Device is awake
-
+
Show thumbnail bar
-
+
Hide thumbnail bar
-
+
Clear and start scan
-
+
Do not clear and start scan
-
+
Cancel
-
+
Image already exists in the list of images.
Clear?
-
+
Open image
-
+
Insert image
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
prompt
-
-
-
+
+
+
Saved successfully
-
-
+
+
Image name already exists in the list
-
+
Please select at least one image and then export
-
+
File name
-
+
File path
-
+
File size
-
+
Creation time
-
+
Modification time
-
+
Access time
-
+
Format
-
+
Width
-
+
Height
-
+
Depth
-
+
Color mode
-
+
Pixels per inch
-
+
Print size
-
+
Frame
-
+
None
-
+
Black and white
-
+
Gray scale
-
+
Color
-
+
Not supported
-
+
Warning
-
+
Device is currently running!
Please stop scanning first.
-
+
There are unsaved images; are you sure you want to close?
-
+
Are you sure you want to close?
-
+
Are you sure you want to log out of the administrator account?
-
+
Confirm operation
-
+
Are you sure you want to clear the roller count?
-
-
-
+
+
+
Prompt
-
-
+
+
Roller count reset to zero.
-
-
+
+
Failed to reset roller count.
-
+
Error
-
+
File lost! File may be deleted or renamed.
-
+
Confirm operation
-
+
Are you sure you want to clear the roller count?
-
+
+
+ About
+
+
+
Unable to access the current path:%1
Please try to log in to the administrator account in the [User] menu and go to the [Cache settings] to change the cache path.
-
+
Unable to access the current path:%1
Please try to change the cache path in [Scan to].
@@ -2791,76 +2801,76 @@ Please try to change the cache path in [Scan to].
<p>%1</p><p>Version: %2<br>Copyright: © %3</p><p>%4%5%6%7%8%9</p>
-
-
+
+
About %1
-
-
+
+
+
<p>Version: %1</p>
-
-
+
+
<p>Copyright: © %1</p>
-
-
+
+
<p>%1: <a href='%2'>%3</a>
-
-
+
+
<p>%1: %2
-
+
Number of rollers
-
+
Open scanner
-
-
+
HUAGOSCAN scanning software
-
-
+
+
successfully
-
+
Ready
-
-
+
+
failed
-
-
+
+
Error
-
+
Failed to start!
@@ -2870,106 +2880,106 @@ Please try to change the cache path in [Scan to].
Please go to “Scan to” and change the accessible scan folder and then perform the scan.
-
+
Insufficient file access permissions
-
+
Image processing failed
-
+
OCR initialization error
-
+
OCR failed
-
+
File does not exist
-
+
Failed to load dynamic library
-
+
File data error
-
+
Image format processing error
-
+
Insufficient memory
-
+
Failed
-
+
Apply configuration
-
+
Are you sure you want to disconnect device:
-
+
?
-
-
+
+
Close
-
+
Prompt
-
+
No other versions obtained
-
-
+
+
Device does not support this operation
-
-
+
+
IO error
-
-
+
+
The language switch is successful and takes effect the next time the software is started!
-
+
Are you sure to delete the selected file completely?
@@ -3041,32 +3051,31 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
Cancel
-
+
Restore defaults
-
+
Enhance text
-
- Apply to image
+ Apply to image
-
+
Brightness
-
+
Gamma correction
-
+
Contrast
diff --git a/app/scanner/VersionDll.cpp b/app/scanner/VersionDll.cpp
index 13490694..d5e84de6 100644
--- a/app/scanner/VersionDll.cpp
+++ b/app/scanner/VersionDll.cpp
@@ -63,8 +63,8 @@ HGResult VersionDll::Load()
strcat(dllPath, "ZJVersion.dll");
#elif defined(OEM_ZIGUANG)
strcat(dllPath, "ZGVersion.dll");
- #elif defined(OEM_HUAGAO_NEU)
- strcat(dllPath, "HGNeuVersion.dll");
+ #elif defined(OEM_NEUTRAL)
+ strcat(dllPath, "NEUVersion.dll");
#else
strcat(dllPath, "HGVersion.dll");
#endif
@@ -79,8 +79,8 @@ HGResult VersionDll::Load()
strcpy(dllPath, "libZjVersion.so");
#elif defined(OEM_ZIGUANG)
strcpy(dllPath, "libZgVersion.so");
- #elif defined(OEM_HUAGAO_NEU)
- strcat(dllPath, "libHGNeuVersion.so");
+ #elif defined(OEM_NEUTRAL)
+ strcat(dllPath, "libNeuVersion.so");
#else
strcpy(dllPath, "libHGVersion.so");
#endif
diff --git a/app/scanner/dialog_aquireinto.cpp b/app/scanner/dialog_aquireinto.cpp
index 31a72230..1f7ce89b 100644
--- a/app/scanner/dialog_aquireinto.cpp
+++ b/app/scanner/dialog_aquireinto.cpp
@@ -239,7 +239,7 @@ void Dialog_AquireInto::setCfgBaseOnSection(QString section)
ui->lineEdit_fileName->setText(getCfgValue(section2.c_str(), "namePrefix", QString("ZJScan")));
#elif defined(OEM_ZIGUANG)
ui->lineEdit_fileName->setText(getCfgValue(section2.c_str(), "namePrefix", QString("ZGScan")));
-#elif defined(OEM_HUAGAO_NEU)
+#elif defined(OEM_NEUTRAL)
ui->lineEdit_fileName->setText(getCfgValue(section2.c_str(), "namePrefix", QString("Scan")));
#else
ui->lineEdit_fileName->setText(getCfgValue(section2.c_str(), "namePrefix", QString("HGScan")));
diff --git a/app/scanner/dialog_feedback.cpp b/app/scanner/dialog_feedback.cpp
index 1eb642b4..0cce5094 100644
--- a/app/scanner/dialog_feedback.cpp
+++ b/app/scanner/dialog_feedback.cpp
@@ -35,8 +35,8 @@ void Dialog_Feedback::on_pbtn_submit_clicked()
oemName = HGVERSION_OEMNAME_MICROTEK;
#elif defined(OEM_ZIGUANG)
oemName = HGVERSION_OEMNAME_UNIS;
-#elif defined(OEM_HUAGAO_NEU)
- oemName = HGVERSION_OEMNAME_HUAGAO_NEU;
+#elif defined(OEM_NEUTRAL)
+ oemName = HGVERSION_OEMNAME_NEUTRAL;
#else
oemName = HGVERSION_OEMNAME_HUAGO;
#endif
diff --git a/app/scanner/dialog_upgrade.cpp b/app/scanner/dialog_upgrade.cpp
index c6df5804..715d5ae5 100644
--- a/app/scanner/dialog_upgrade.cpp
+++ b/app/scanner/dialog_upgrade.cpp
@@ -29,8 +29,8 @@ Dialog_upgrade::Dialog_upgrade(class VersionDll *versionDll, HGVersionInfo *vers
oemName = HGVERSION_OEMNAME_MICROTEK;
#elif defined(OEM_ZIGUANG)
oemName = HGVERSION_OEMNAME_UNIS;
-#elif defined(OEM_HUAGAO_NEU)
- oemName = HGVERSION_OEMNAME_HUAGAO_NEU;
+#elif defined(OEM_NEUTRAL)
+ oemName = HGVERSION_OEMNAME_NEUTRAL;
#else
oemName = HGVERSION_OEMNAME_HUAGO;
#endif
diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp
index 0e4c2e6c..b5c6d4b8 100644
--- a/app/scanner/mainwindow.cpp
+++ b/app/scanner/mainwindow.cpp
@@ -120,10 +120,10 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
this->setWindowIcon(QIcon(":images/image_rsc/logo/uniscan.ico"));
this->setWindowTitle(tr("UniScan"));
m_oemName = HGVERSION_OEMNAME_UNIS;
-#elif defined(OEM_HUAGO_NEU)
+#elif defined(OEM_NEUTRAL)
this->setWindowIcon(QIcon(":images/image_rsc/logo/RightWay_logo.ico"));
this->setWindowTitle(tr("Scan"));
- m_oemName = HGVERSION_OEMNAME_HUAGO_NEU;
+ m_oemName = HGVERSION_OEMNAME_NEUTRAL;
#else
this->setWindowIcon(QIcon(":images/image_rsc/logo/logo.ico"));
this->setWindowTitle(tr("HuaGoScan"));
@@ -143,7 +143,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
ui->actionact_update->setVisible(false);
ui->act_feedback->setVisible(false);
-#if !defined(OEM_HANWANG) && !defined(OEM_LISICHENG) && !defined(OEM_CANGTIAN) && !defined(OEM_ZHONGJING) && !defined(OEM_ZIGUANG) && !defined(OEM_HUAGAO_NEU)
+#if !defined(OEM_HANWANG) && !defined(OEM_LISICHENG) && !defined(OEM_CANGTIAN) && !defined(OEM_ZHONGJING) && !defined(OEM_ZIGUANG) && !defined(OEM_NEUTRAL)
if (m_versionDll->IsValid())
{
ui->actionact_update->setVisible(true);
@@ -372,7 +372,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
m_password = "microtek";
#elif defined(OEM_ZIGUANG)
m_password = "uniscan";
- #elif defined(OEM_HUAGAO_NEU)
+ #elif defined(OEM_NEUTRAL)
m_password = "scan";
#else
m_password = "huagoscan";
@@ -3264,8 +3264,8 @@ void MainWindow::on_act_help_triggered()
QString filename = QApplication::applicationDirPath() + "/MicrotekScan_App_Help_manual.pdf";
#elif defined(OEM_ZIGUANG)
QString filename = QApplication::applicationDirPath() + "/UniScan_App_Help_manual.pdf";
- #elif defined(OEM_HUAGAO_NEU)
- QString filename = QApplication::applicationDirPath() + "/HGScan_App_Help_manual.pdf";
+ #elif defined(OEM_NEUTRAL)
+ QString filename = QApplication::applicationDirPath() + "/NeuScan_App_Help_manual.pdf";
#else
QString filename = QApplication::applicationDirPath() + "/HuaGoScan_App_Help_manual.pdf";
#endif
@@ -3295,8 +3295,8 @@ void MainWindow::on_act_help_triggered()
filename = QApplication::applicationDirPath() + "/../../entries/help/MicrotekScan_App_Help_manual.pdf";
#elif defined(OEM_ZIGUANG)
filename = QApplication::applicationDirPath() + "/../../entries/help/UniScan_App_Help_manual.pdf";
-#elif defined(OEM_HUAGAO_NEU)
- filename = QApplication::applicationDirPath() + "/../../entries/help/HGScan_App_Help_manual.pdf";
+#elif defined(OEM_NEUTRAL)
+ filename = QApplication::applicationDirPath() + "/../../entries/help/NeuScan_App_Help_manual.pdf";
#else
filename = QApplication::applicationDirPath() + "/../../entries/help/HuaGoScan_App_Help_manual.pdf";
#endif
@@ -3313,8 +3313,8 @@ void MainWindow::on_act_help_triggered()
filename = QApplication::applicationDirPath() + "/../doc/MicrotekScan_App_Help_manual.pdf";
#elif defined(OEM_ZIGUANG)
filename = QApplication::applicationDirPath() + "/../doc/UniScan_App_Help_manual.pdf";
-#elif defined(OEM_HUAGAO_NEU)
- filename = QApplication::applicationDirPath() + "/../doc/HGScan_App_Help_manual.pdf";
+#elif defined(OEM_NEUTRAL)
+ filename = QApplication::applicationDirPath() + "/../doc/NeuScan_App_Help_manual.pdf";
#else
filename = QApplication::applicationDirPath() + "/../doc/HuaGoScan_App_Help_manual.pdf";
#endif
@@ -3424,6 +3424,10 @@ void MainWindow::on_act_about_triggered()
content += *iter;
++iter;
}
+#else
+#ifdef OEM_NEUTRAL
+ title = tr("about");
+ content = tr("
Version: %1
").arg(QString::fromStdString(about->version));
#else
title = tr("about %1").arg(QString::fromStdString(about->title));
content = tr("Version: %1
").arg(QString::fromStdString(about->version));
@@ -3444,6 +3448,7 @@ void MainWindow::on_act_about_triggered()
}
content += "";
}
+#endif
#endif
}
free(about);
diff --git a/build.bat b/build.bat
index 34fc3199..88f77494 100644
--- a/build.bat
+++ b/build.bat
@@ -32,10 +32,17 @@ if "%OEM%" == "hw" (
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGSolution.pro
MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
) else (
- %QT_PATH%/msvc2017_64/bin/qmake -r -tp vc HGSolution.pro
- MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
- %QT_PATH%/msvc2017/bin/qmake -r -tp vc HGSolution.pro
- MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
+ if "%OEM%" == "neu" (
+ %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGSolution.pro
+ MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
+ %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGSolution.pro
+ MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
+ ) else (
+ %QT_PATH%/msvc2017_64/bin/qmake -r -tp vc HGSolution.pro
+ MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
+ %QT_PATH%/msvc2017/bin/qmake -r -tp vc HGSolution.pro
+ MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release
+ )
)
)
)
diff --git a/build2/qt/HGDemo/HGDemo.pro b/build2/qt/HGDemo/HGDemo.pro
index 7fc2d230..5ce5ec1d 100644
--- a/build2/qt/HGDemo/HGDemo.pro
+++ b/build2/qt/HGDemo/HGDemo.pro
@@ -36,7 +36,7 @@ if (contains(DEFINES, OEM_HANWANG)) {
if (contains(DEFINES, OEM_ZIGUANG)) {
RC_ICONS = ../../../app/demo/image_rsc/logo/uniscan.ico
} else {
- if (contains(DEFINES, OEM_HUAGAO_NEU)) {
+ if (contains(DEFINES, OEM_NEUTRAL)) {
RC_ICONS = ../../../app/demo/image_rsc/logo/RightWay_logo.ico
} else {
RC_ICONS = ../../../app/demo/image_rsc/logo/logo.ico
diff --git a/build2/qt/HGFWUpgrade/HGFWUpgrade.pro b/build2/qt/HGFWUpgrade/HGFWUpgrade.pro
index c97c6485..ebb55864 100644
--- a/build2/qt/HGFWUpgrade/HGFWUpgrade.pro
+++ b/build2/qt/HGFWUpgrade/HGFWUpgrade.pro
@@ -36,7 +36,7 @@ if (contains(DEFINES, OEM_HANWANG)) {
if (contains(DEFINES, OEM_ZIGUANG)) {
RC_ICONS = ../../../app/fwupgrade/image_rsc/logo/uniscan.ico
} else {
- if (contains(DEFINES, OEM_HUAGAO_NEU)) {
+ if (contains(DEFINES, OEM_NEUTRAL)) {
RC_ICONS = ../../../app/fwupgrade/image_rsc/logo/RightWay_logo.ico
} else {
RC_ICONS = ../../../app/fwupgrade/image_rsc/logo/logo.ico
diff --git a/build2/qt/HGOEM.pri b/build2/qt/HGOEM.pri
index d7221f2e..9fdfd25c 100644
--- a/build2/qt/HGOEM.pri
+++ b/build2/qt/HGOEM.pri
@@ -31,11 +31,11 @@ if (contains(DEFINES, OEM_HANWANG)) {
OEM_PREFIX3 = zg
OEM_NAME = unis
} else {
- if (contains(DEFINES, OEM_HUAGAO_NEU)) {
- OEM_PREFIX = HGNeu
- OEM_PREFIX2 = HGNeu
- OEM_PREFIX3 = hgneu
- OEM_NAME = huagaoneu
+ if (contains(DEFINES, OEM_NEUTRAL)) {
+ OEM_PREFIX = NEU
+ OEM_PREFIX2 = Neu
+ OEM_PREFIX3 = neu
+ OEM_NAME = neutral
} else {
OEM_PREFIX = HG
OEM_PREFIX2 = HG
diff --git a/build2/qt/HGScanner/HGScanner.pro b/build2/qt/HGScanner/HGScanner.pro
index 13eb1779..db6b1a2f 100644
--- a/build2/qt/HGScanner/HGScanner.pro
+++ b/build2/qt/HGScanner/HGScanner.pro
@@ -41,9 +41,9 @@ if (contains(DEFINES, OEM_HANWANG)) {
RC_ICONS = ../../../app/scanner/image_rsc/logo/uniscan.ico
TARGET = UniScan
} else {
- if (contains(DEFINES, OEM_HUAGAO_NEU)) {
+ if (contains(DEFINES, OEM_NEUTRAL)) {
RC_ICONS = ../../../app/scanner/image_rsc/logo/RightWay_logo.ico
- TARGET = HGScan
+ TARGET = NeuScan
} else {
RC_ICONS = ../../../app/scanner/image_rsc/logo/logo.ico
TARGET = HuaGoScan
diff --git a/build2/qt/HGUpgrade/HGUpgrade.pro b/build2/qt/HGUpgrade/HGUpgrade.pro
index 7fcdde89..a02cd090 100644
--- a/build2/qt/HGUpgrade/HGUpgrade.pro
+++ b/build2/qt/HGUpgrade/HGUpgrade.pro
@@ -36,7 +36,7 @@ if (contains(DEFINES, OEM_HANWANG)) {
if (contains(DEFINES, OEM_ZIGUANG)) {
RC_ICONS = ../../../app/upgrade/image_rsc/logo/uniscan.ico
} else {
- if (contains(DEFINES, OEM_HUAGAO_NEU)) {
+ if (contains(DEFINES, OEM_NEUTRAL)) {
RC_ICONS = ../../../app/upgrade/image_rsc/logo/RightWay_logo.ico
} else {
RC_ICONS = ../../../app/upgrade/image_rsc/logo/logo.ico
diff --git a/doc/scanner/HGScan_App_Help_manual.pdf b/doc/scanner/NeuScan_App_Help_manual.pdf
similarity index 100%
rename from doc/scanner/HGScan_App_Help_manual.pdf
rename to doc/scanner/NeuScan_App_Help_manual.pdf
diff --git a/doc/scanner/HGScan_scanSettings_Help_manual.pdf b/doc/scanner/NeuScan_scanSettings_Help_manual.pdf
similarity index 100%
rename from doc/scanner/HGScan_scanSettings_Help_manual.pdf
rename to doc/scanner/NeuScan_scanSettings_Help_manual.pdf
diff --git a/modules/version/HGVersion.h b/modules/version/HGVersion.h
index 01246196..85929276 100644
--- a/modules/version/HGVersion.h
+++ b/modules/version/HGVersion.h
@@ -9,7 +9,7 @@ HG_DECLARE_HANDLE(HGVersionMgr);
#define HGVERSION_APPNAME_SCANNER "Scanner"
#define HGVERSION_OEMNAME_HUAGO "Huago"
-#define HGVERSION_OEMNAME_HUAGAO_NEU "HuagoNeu"
+#define HGVERSION_OEMNAME_NEUTRAL "Neutral"
#define HGVERSION_OEMNAME_HANVON "Hanvon"
#define HGVERSION_OEMNAME_LANXUM "Lanxum"
#define HGVERSION_OEMNAME_CUMTENN "Cumtenn"