Skip to content
This repository was archived by the owner on Sep 7, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src-tauri/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub fn check_service_available() -> Result<(), Error> {
"iflytek_ocr",
"iflytek_intsig_ocr",
"iflytek_latex_ocr",
"openai_compatible",
"qrcode",
"simple_latex_ocr",
"system",
Expand Down
9 changes: 8 additions & 1 deletion src/i18n/locales/ar_AE.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,13 @@
}
},
"recognize": {
"openai_compatible": {
"title": "OCR متوافق مع OpenAI",
"base_url": "الرابط الأساسي",
"api_key": "مفتاح API",
"model": "اسم النموذج",
"enable_stream": "تفعيل البث المباشر"
},
"tencent_accurate_ocr": {
"secret_id": "المعرف السري",
"secret_key": "المفتاح السري"
Expand Down Expand Up @@ -410,4 +417,4 @@
}
}
}
}
}
9 changes: 8 additions & 1 deletion src/i18n/locales/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,13 @@
}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI Kompatible OCR",
"base_url": "Basis-URL",
"api_key": "API-Schlüssel",
"model": "Modellname",
"enable_stream": "Streaming aktivieren"
},
"system": {
"title": "System OCR"
},
Expand Down Expand Up @@ -450,4 +457,4 @@
"delete_space": "Leerzeichen löschen"
}
}
}
}
7 changes: 7 additions & 0 deletions src/i18n/locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,13 @@
"appid": "App ID",
"secret": "Secret"
},
"openai_compatible": {
"title": "OpenAI Compatible OCR",
"base_url": "Base URL",
"api_key": "API Key",
"model": "Model Name",
"enable_stream": "Enable Streaming"
},
"qrcode": {
"title": "QR Code"
}
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@
},
"volcengine_ocr": {
"title": "VolcEngine OCR"
},
"openai_compatible": {
"title": "OCR Compatible con OpenAI",
"base_url": "URL Base",
"api_key": "Clave API",
"model": "Nombre del Modelo",
"enable_stream": "Habilitar Transmisión"
}
},
"collection": {
Expand Down
11 changes: 9 additions & 2 deletions src/i18n/locales/fa_IR.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,14 @@
"delete_newline": "پاک کردن خط جدید",
"copy_text": "کپی",
"delete_space": "پاک کردن فاصله",
"copy_img": "کپی عکس"
"copy_img": "کپی عکس",
"openai_compatible": {
"title": "OCR سازگار با OpenAI",
"base_url": "URL پایه",
"api_key": "کلید API",
"model": "نام مدل",
"enable_stream": "فعال کردن استریم"
}
}
}
}
}
7 changes: 7 additions & 0 deletions src/i18n/locales/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@
},
"system": {
"title": "Reconnaissance d'image du système"
},
"openai_compatible": {
"title": "OCR Compatible OpenAI",
"base_url": "URL de Base",
"api_key": "Clé API",
"model": "Nom du Modèle",
"enable_stream": "Activer le Streaming"
}
},
"collection": {
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/he_IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,13 @@
},
"no_need": "אין צורך בתצורה",
"recognize": {
"openai_compatible": {
"title": "OCR תואם OpenAI",
"base_url": "URL בסיס",
"api_key": "מפתח API",
"model": "שם המודל",
"enable_stream": "הפעל זרימה"
},
"qrcode": {
"title": "קוד QR"
},
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/it_IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@
}
},
"recognize": {
"openai_compatible": {
"title": "OCR Compatibile OpenAI",
"base_url": "URL Base",
"api_key": "Chiave API",
"model": "Nome Modello",
"enable_stream": "Abilita Streaming"
},
"iflytek_latex_ocr": {
"apikey": "Chiave API",
"title": "iFlyTek LaTeX",
Expand Down
9 changes: 8 additions & 1 deletion src/i18n/locales/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@
"volcengine_multi_lang_ocr": {
"appid": "アプリID"
},
"openai_compatible": {
"title": "OpenAI 互換 OCR",
"base_url": "ベース URL",
"api_key": "API キー",
"model": "モデル名",
"enable_stream": "ストリーミングを有効にする"
},
"qrcode": {
"title": "QRコード"
},
Expand All @@ -158,4 +165,4 @@
}
}
}
}
}
11 changes: 10 additions & 1 deletion src/i18n/locales/ko_KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@
"lingva": {
"title": "Lingva"
}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI 호환 OCR",
"base_url": "기본 URL",
"api_key": "API 키",
"model": "모델 이름",
"enable_stream": "스트리밍 활성화"
}
}
}
}
}
}
7 changes: 7 additions & 0 deletions src/i18n/locales/nb_NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
"openai_summary": {}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI Kompatibel OCR",
"base_url": "Grunnleggende URL",
"api_key": "API-nøkkel",
"model": "Modellnavn",
"enable_stream": "Aktiver Streaming"
},
"iflytek_latex_ocr": {},
"baidu_ocr": {},
"simple_latex_ocr": {},
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/nn_NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
"openai_summary": {}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI Kompatibel OCR",
"base_url": "Grunn-URL",
"api_key": "API-nøkkel",
"model": "Modellnamn",
"enable_stream": "Aktiver Strøyming"
},
"iflytek_latex_ocr": {},
"baidu_ocr": {},
"simple_latex_ocr": {},
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@
}
},
"recognize": {
"openai_compatible": {
"title": "OCR Compatível com OpenAI",
"base_url": "URL Base",
"api_key": "Chave da API",
"model": "Nome do Modelo",
"enable_stream": "Habilitar Streaming"
},
"system": {
"title": "OCR do Sistema"
},
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/pt_PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@
},
"system": {
"title": "OCR do Sistema"
},
"openai_compatible": {
"title": "OCR Compatível OpenAI",
"base_url": "URL Base",
"api_key": "Chave API",
"model": "Nome do Modelo",
"enable_stream": "Activar Streaming"
}
},
"collection": {
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,13 @@
},
"qrcode": {
"title": "QR-код"
},
"openai_compatible": {
"title": "OpenAI Совместимый OCR",
"base_url": "Базовый URL",
"api_key": "API Ключ",
"model": "Название Модели",
"enable_stream": "Включить Потоковый Режим"
}
},
"tts": {
Expand Down
9 changes: 8 additions & 1 deletion src/i18n/locales/ta_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,13 @@
}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI இணக்கமான OCR",
"base_url": "அடிப்படை URL",
"api_key": "API விசை",
"model": "மாதிரி பெயர்",
"enable_stream": "ஸ்ட்ரீமிங்கை இயக்கு"
},
"iflytek_ocr": {
"title": "iflytek ocr",
"appid": "பயன்பாட்டு ஐடி",
Expand Down Expand Up @@ -469,4 +476,4 @@
"translate_back": "மொழிபெயர்ப்பு மீண்டும் அசலுக்கு"
}
}
}
}
13 changes: 12 additions & 1 deletion src/i18n/locales/tk_TM.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@
"plugin": "Plugin",
"coming": "Tiz ýakynda…",
"clear": "Arassala"
},
"services": {
"recognize": {
"openai_compatible": {
"title": "OpenAI Laýyk OCR",
"base_url": "Esasy URL",
"api_key": "API Açary",
"model": "Model Ady",
"enable_stream": "Streaming-i Açmak"
}
}
}
}
}
}
7 changes: 7 additions & 0 deletions src/i18n/locales/tr_TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
"openai_summary": {}
},
"recognize": {
"openai_compatible": {
"title": "OpenAI Uyumlu OCR",
"base_url": "Temel URL",
"api_key": "API Anahtarı",
"model": "Model Adı",
"enable_stream": "Akışı Etkinleştir"
},
"iflytek_latex_ocr": {},
"baidu_ocr": {},
"simple_latex_ocr": {},
Expand Down
9 changes: 8 additions & 1 deletion src/i18n/locales/uk_UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@
},
"iflytek_ocr": {
"apikey": "API Ключ"
},
"openai_compatible": {
"title": "OpenAI Сумісний OCR",
"base_url": "Базовий URL",
"api_key": "API Ключ",
"model": "Назва Моделі",
"enable_stream": "Увімкнути Потокове Передавання"
}
},
"collection": {
Expand Down Expand Up @@ -116,4 +123,4 @@
"delete_newline": "Видалити новий рядок"
}
}
}
}
7 changes: 7 additions & 0 deletions src/i18n/locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,13 @@
"appid": "App ID",
"secret": "Secret"
},
"openai_compatible": {
"title": "OpenAI 兼容 OCR",
"base_url": "API 基础地址",
"api_key": "API 密钥",
"model": "模型名称",
"enable_stream": "启用流式输出"
},
"qrcode": {
"title": "二维码识别"
}
Expand Down
7 changes: 7 additions & 0 deletions src/i18n/locales/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@
},
"qrcode": {
"title": "QR Code"
},
"openai_compatible": {
"title": "OpenAI 相容 OCR",
"base_url": "API 基礎位址",
"api_key": "API 金鑰",
"model": "模型名稱",
"enable_stream": "啟用串流輸出"
}
},
"tts": {
Expand Down
2 changes: 2 additions & 0 deletions src/services/recognize/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import * as _tencent_accurate_ocr from './tencent_accurate';
import * as _tencent_img_ocr from './tencent_img';
import * as _volcengine_ocr from './volcengine';
import * as _volcengine_multi_lang_ocr from './volcengine_multi_lang';
import * as _openai_compatible from './openai_compatible';
import * as _qrcode from './qrcode';

export const system = _system;
Expand All @@ -28,4 +29,5 @@ export const tencent_accurate_ocr = _tencent_accurate_ocr;
export const tencent_img_ocr = _tencent_img_ocr;
export const volcengine_ocr = _volcengine_ocr;
export const volcengine_multi_lang_ocr = _volcengine_multi_lang_ocr;
export const openai_compatible = _openai_compatible;
export const qrcode = _qrcode;
Loading