From 2d5d6078526a88930c54e58122f61f349d7ee4c9 Mon Sep 17 00:00:00 2001 From: Bruce Zhang Date: Thu, 18 Dec 2025 15:26:59 +0800 Subject: [PATCH 1/3] New translations en.ts (Chinese Simplified) --- fastocr/i18n/zh_cn.ts | 265 ++++++++++++++++++++---------------------- 1 file changed, 125 insertions(+), 140 deletions(-) diff --git a/fastocr/i18n/zh_cn.ts b/fastocr/i18n/zh_cn.ts index 40bc6fe..318b36c 100644 --- a/fastocr/i18n/zh_cn.ts +++ b/fastocr/i18n/zh_cn.ts @@ -1,219 +1,204 @@ - - + + ActionWizard - Back - 上一步 + + Back + 上一步 - Next - 下一步 + + + Next + 下一步 - Ok - 完成 + + Ok + 完成 - - - AppTray - - Capture - 捕获 - - - Capture (Other Languages) - 捕获(其他语言) - - - Auto detect - 自动识别 - - - Japanese - 日语 - - - Korean - 韩语 - - - French - 法语 - - - Spanish - 西班牙语 - - - Germany - 德语 - - - Russian - 俄语 - - - Setting - 设置 - - - Quit - 退出 - - - + + Setting - Default backend - 默认后端 - - - BaiduOCR - 百度文字识别服务 + + General + General - YoudaoOCR - 有道 OCR 识别服务 + + Run at system start + Run at system start - Face++OCR - Face++ OCR 识别服务 + + Icon theme + 图标主题 - Icon theme - 图标主题 + + Auto Select + 自动 - Auto Select - 自动 + + Light + 亮色 - Light - 亮色 + + Dark + 暗色 - Dark - 暗色 + + Working mode + 工作模式 - Working mode - 工作模式 + + Copy to clipboard automatic + Copy to clipboard automatic - Copy to clipboard - 复制到系统剪贴板 + + Show notification to copy (Cannot click on notifications on some platforms) + Show notification to copy (Cannot click on notifications on some platforms) - Show notification only - 仅显示通知 + + Default text backend + Default text backend - APP_ID - APP_ID + + + BaiduOCR + 百度文字识别服务 - API_KEY - API_KEY + + + YoudaoOCR + 有道 OCR 识别服务 - SECRET_KEY - SECRET_KEY + + + Face++OCR + Face++ OCR 识别服务 - Languages - 语言 + + PaddleOCR + PaddleOCR - Japanese - 日语 + + Default formula backend + Default formula backend - Korean - 韩语 + + Mathpix + Mathpix - French - 法语 + + + APP_ID + APP_ID - Spanish - 西班牙语 + + + API_KEY + API_KEY - Germany - 德语 + + SECRET_KEY + SECRET_KEY - Russian - 俄语 + + Languages + 语言 - Use accurate mode - 使用高精度模式 + + Default language + Default language - SEC_KEY - SEC_KEY + + Use accurate mode + 使用高精度模式 - API_SEC - API_SEC + + SEC_KEY + SEC_KEY - Save - 保存 + + API_SEC + API_SEC - Apply - 应用 + + Mathpix OCR + Mathpix OCR - Close - 关闭 + + App ID + App ID - Open in editor - 手动编辑 + + App Key + App Key - - - main - FastOCR Setting - FastOCR 设置 + + Save + 保存 - Setting - 设置 + + Apply + 应用 - About - 关于 + + Close + 关闭 - Actions - 动作 - - - - About - - System - 系统 + + Open in editor + 手动编辑 + + + main - Kernel - 内核 + + FastOCR Setting + FastOCR 设置 - Platform - 平台 + + Setting + 设置 - Desktop - 桌面 + + Actions + 动作 - + From 06fa3183ef323c39d1be0dd5c6dfff33fdb0dfdb Mon Sep 17 00:00:00 2001 From: Bruce Zhang Date: Thu, 18 Dec 2025 15:35:09 +0800 Subject: [PATCH 2/3] New translations en.ts (Chinese Simplified) --- fastocr/i18n/zh_CN.ts | 204 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 fastocr/i18n/zh_CN.ts diff --git a/fastocr/i18n/zh_CN.ts b/fastocr/i18n/zh_CN.ts new file mode 100644 index 0000000..318b36c --- /dev/null +++ b/fastocr/i18n/zh_CN.ts @@ -0,0 +1,204 @@ + + + + + ActionWizard + + + Back + 上一步 + + + + + Next + 下一步 + + + + Ok + 完成 + + + + Setting + + + General + General + + + + Run at system start + Run at system start + + + + Icon theme + 图标主题 + + + + Auto Select + 自动 + + + + Light + 亮色 + + + + Dark + 暗色 + + + + Working mode + 工作模式 + + + + Copy to clipboard automatic + Copy to clipboard automatic + + + + Show notification to copy (Cannot click on notifications on some platforms) + Show notification to copy (Cannot click on notifications on some platforms) + + + + Default text backend + Default text backend + + + + + BaiduOCR + 百度文字识别服务 + + + + + YoudaoOCR + 有道 OCR 识别服务 + + + + + Face++OCR + Face++ OCR 识别服务 + + + + PaddleOCR + PaddleOCR + + + + Default formula backend + Default formula backend + + + + Mathpix + Mathpix + + + + + APP_ID + APP_ID + + + + + API_KEY + API_KEY + + + + SECRET_KEY + SECRET_KEY + + + + Languages + 语言 + + + + Default language + Default language + + + + Use accurate mode + 使用高精度模式 + + + + SEC_KEY + SEC_KEY + + + + API_SEC + API_SEC + + + + Mathpix OCR + Mathpix OCR + + + + App ID + App ID + + + + App Key + App Key + + + + Save + 保存 + + + + Apply + 应用 + + + + Close + 关闭 + + + + Open in editor + 手动编辑 + + + + main + + + FastOCR Setting + FastOCR 设置 + + + + Setting + 设置 + + + + Actions + 动作 + + + From 111b1c06bd35d0d5ed24f3ca80a15c9c67a8dd96 Mon Sep 17 00:00:00 2001 From: Bruce Zhang Date: Thu, 18 Dec 2025 16:09:30 +0800 Subject: [PATCH 3/3] merge master --- fastocr/data/i18n.pro | 2 +- fastocr/i18n/en.qm | 1 + fastocr/i18n/zh_CN.qm | Bin 2649 -> 2505 bytes fastocr/i18n/zh_CN.ts | 246 +++++++++++++++++++++--------------------- 4 files changed, 125 insertions(+), 124 deletions(-) create mode 100644 fastocr/i18n/en.qm diff --git a/fastocr/data/i18n.pro b/fastocr/data/i18n.pro index 2e59d5f..2e74977 100644 --- a/fastocr/data/i18n.pro +++ b/fastocr/data/i18n.pro @@ -1,4 +1,4 @@ lupdate_only { SOURCES = ../qml/main.qml ../qml/component/*.qml - TRANSLATIONS = ../i18n/en.ts + TRANSLATIONS = ../i18n/en.ts ../i18n/zh_CN.ts } diff --git a/fastocr/i18n/en.qm b/fastocr/i18n/en.qm new file mode 100644 index 0000000..be651ee --- /dev/null +++ b/fastocr/i18n/en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/fastocr/i18n/zh_CN.qm b/fastocr/i18n/zh_CN.qm index db7fa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,204 @@ - + ActionWizard - - Back - 上一步 + + Back + 上一步 - - - Next - 下一步 + + + Next + 下一步 - - Ok - 完成 + + Ok + 完成 - - + + Setting - - General - General + + General + General - - Run at system start - Run at system start + + Run at system start + Run at system start - - Icon theme - 图标主题 + + Icon theme + 图标主题 - - Auto Select - 自动 + + Auto Select + 自动 - - Light - 亮色 + + Light + 亮色 - - Dark - 暗色 + + Dark + 暗色 - - Working mode - 工作模式 + + Working mode + 工作模式 - - Copy to clipboard automatic - Copy to clipboard automatic + + Copy to clipboard automatic + Copy to clipboard automatic - - Show notification to copy (Cannot click on notifications on some platforms) - Show notification to copy (Cannot click on notifications on some platforms) + + Show notification to copy (Cannot click on notifications on some platforms) + Show notification to copy (Cannot click on notifications on some platforms) - - Default text backend - Default text backend + + Default text backend + Default text backend - - - BaiduOCR - 百度文字识别服务 + + + BaiduOCR + 百度文字识别服务 - - - YoudaoOCR - 有道 OCR 识别服务 + + + YoudaoOCR + 有道 OCR 识别服务 - - - Face++OCR - Face++ OCR 识别服务 + + + Face++OCR + Face++ OCR 识别服务 - - PaddleOCR - PaddleOCR + + PaddleOCR + PaddleOCR - - Default formula backend - Default formula backend + + Default formula backend + Default formula backend - - Mathpix - Mathpix + + Mathpix + Mathpix - - - APP_ID - APP_ID + + + APP_ID + APP_ID - - - API_KEY - API_KEY + + + API_KEY + API_KEY - - SECRET_KEY - SECRET_KEY + + SECRET_KEY + SECRET_KEY - - Languages - 语言 + + Languages + 语言 - - Default language - Default language + + Default language + Default language - - Use accurate mode - 使用高精度模式 + + Use accurate mode + 使用高精度模式 - - SEC_KEY - SEC_KEY + + SEC_KEY + SEC_KEY - - API_SEC - API_SEC + + API_SEC + API_SEC - - Mathpix OCR - Mathpix OCR + + Mathpix OCR + Mathpix OCR - - App ID - App ID + + App ID + App ID - - App Key - App Key + + App Key + App Key - - Save - 保存 + + Save + 保存 - - Apply - 应用 + + Apply + 应用 - - Close - 关闭 + + Close + 关闭 - - Open in editor - 手动编辑 + + Open in editor + 手动编辑 - - + + main - - FastOCR Setting - FastOCR 设置 + + FastOCR Setting + FastOCR 设置 - - Setting - 设置 + + Setting + 设置 - - Actions - 动作 + + Actions + 动作 - +