feat(i18n): 添加OCR功能的多语言支持

This commit is contained in:
icarus 2025-08-22 18:51:57 +08:00
parent 94b71dde60
commit a37e81fc4f
8 changed files with 156 additions and 0 deletions

View File

@ -1558,6 +1558,15 @@
},
"tip": "If the response is successful, then only messages exceeding 30 seconds will trigger a reminder"
},
"ocr": {
"error": {
"unknown": "An error occurred during the OCR process"
},
"file": {
"not_supported": "Unsupported file type {{type}}"
},
"processing": "OCR processing..."
},
"ollama": {
"keep_alive_time": {
"description": "The time in minutes to keep the connection alive, default is 5 minutes.",
@ -3478,6 +3487,16 @@
},
"title": "Settings",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "The provider does not exist"
},
"title": "Image"
},
"image_provider": "OCR service provider",
"title": "OCR service"
},
"preprocess": {
"provider": "Document Processing Provider",
"provider_placeholder": "Choose a document processing provider",

View File

@ -1558,6 +1558,15 @@
},
"tip": "応答が成功した場合、30秒を超えるメッセージのみに通知を行います"
},
"ocr": {
"error": {
"unknown": "OCR処理中にエラーが発生しました"
},
"file": {
"not_supported": "サポートされていないファイルタイプ {{type}}"
},
"processing": "OCR処理中..."
},
"ollama": {
"keep_alive_time": {
"description": "モデルがメモリに保持される時間デフォルト5分",
@ -3478,6 +3487,16 @@
},
"title": "設定",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "該提供者は存在しません"
},
"title": "画像"
},
"image_provider": "OCRサービスプロバイダー",
"title": "OCRサービス"
},
"preprocess": {
"provider": "プレプロセスプロバイダー",
"provider_placeholder": "前処理プロバイダーを選択してください",

View File

@ -1558,6 +1558,15 @@
},
"tip": "Если ответ успешен, уведомление выдается только по сообщениям, превышающим 30 секунд"
},
"ocr": {
"error": {
"unknown": "Произошла ошибка в процессе распознавания текста"
},
"file": {
"not_supported": "Неподдерживаемый тип файла {{type}}"
},
"processing": "Обработка OCR..."
},
"ollama": {
"keep_alive_time": {
"description": "Время в минутах, в течение которого модель остается активной, по умолчанию 5 минут.",
@ -3478,6 +3487,16 @@
},
"title": "Настройки",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "Поставщик не существует"
},
"title": "Изображение"
},
"image_provider": "Поставщик услуг OCR",
"title": "OCR-сервис"
},
"preprocess": {
"provider": "Поставщик обработки документов",
"provider_placeholder": "Выберите поставщика услуг обработки документов",

View File

@ -1558,6 +1558,15 @@
},
"tip": "如果回應成功則只針對超過30秒的訊息發出提醒"
},
"ocr": {
"error": {
"unknown": "OCR過程發生錯誤"
},
"file": {
"not_supported": "不支持的文件類型 {{type}}"
},
"processing": "OCR 處理中..."
},
"ollama": {
"keep_alive_time": {
"description": "對話後模型在記憶體中保持的時間(預設為 5 分鐘)",
@ -3478,6 +3487,16 @@
},
"title": "設定",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "該提供商不存在"
},
"title": "圖片"
},
"image_provider": "OCR 服務提供商",
"title": "OCR 服務"
},
"preprocess": {
"provider": "文件處理供應商",
"provider_placeholder": "選擇一個文件處理供應商",

View File

@ -1558,6 +1558,15 @@
},
"tip": "Εάν η απάντηση είναι επιτυχής, η ειδοποίηση εμφανίζεται μόνο για μηνύματα που υπερβαίνουν τα 30 δευτερόλεπτα"
},
"ocr": {
"error": {
"unknown": "Η διαδικασία OCR εμφάνισε σφάλμα"
},
"file": {
"not_supported": "Μη υποστηριζόμενος τύπος αρχείου {{type}}"
},
"processing": "Η επεξεργασία OCR βρίσκεται σε εξέλιξη..."
},
"ollama": {
"keep_alive_time": {
"description": "Χρόνος που ο μοντέλος διατηρείται στη μνήμη μετά τη συζήτηση (προεπιλογή: 5 λεπτά)",
@ -2679,6 +2688,7 @@
"title": "Αυτόματη ενημέρωση"
},
"avatar": {
"builtin": "Ενσωματωμένο αναγνωριστικό προφίλ",
"reset": "Επαναφορά εικονιδίου"
},
"backup": {
@ -3477,6 +3487,16 @@
},
"title": "Ρυθμίσεις",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "Ο πάροχος δεν υπάρχει"
},
"title": "Εικόνα"
},
"image_provider": "Πάροχοι υπηρεσιών OCR",
"title": "Υπηρεσία OCR"
},
"preprocess": {
"provider": "πάροχος υπηρεσιών προεπεξεργασίας εγγράφων",
"provider_placeholder": "Επιλέξτε έναν πάροχο υπηρεσιών προεπεξεργασίας εγγράφων",

View File

@ -1558,6 +1558,15 @@
},
"tip": "Si la respuesta es exitosa, solo se enviará un recordatorio para mensajes que excedan los 30 segundos"
},
"ocr": {
"error": {
"unknown": "El proceso OCR ha fallado"
},
"file": {
"not_supported": "Tipo de archivo no compatible {{type}}"
},
"processing": "Procesando OCR..."
},
"ollama": {
"keep_alive_time": {
"description": "Tiempo que el modelo permanece en memoria después de la conversación (por defecto: 5 minutos)",
@ -2679,6 +2688,7 @@
"title": "Actualización automática"
},
"avatar": {
"builtin": "Avatares integrados",
"reset": "Restablecer avatar"
},
"backup": {
@ -3477,6 +3487,16 @@
},
"title": "Configuración",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "El proveedor no existe"
},
"title": "Imagen"
},
"image_provider": "Proveedor de servicios OCR",
"title": "Servicio OCR"
},
"preprocess": {
"provider": "Proveedor de servicios de preprocesamiento de documentos",
"provider_placeholder": "Seleccionar un proveedor de servicios de preprocesamiento de documentos",

View File

@ -1558,6 +1558,15 @@
},
"tip": "Si la réponse est réussie, un rappel est envoyé uniquement pour les messages dépassant 30 secondes"
},
"ocr": {
"error": {
"unknown": "Une erreur s'est produite lors du processus OCR"
},
"file": {
"not_supported": "Type de fichier non pris en charge {{type}}"
},
"processing": "Traitement OCR en cours..."
},
"ollama": {
"keep_alive_time": {
"description": "Le temps pendant lequel le modèle reste en mémoire après la conversation (par défaut : 5 minutes)",
@ -2679,6 +2688,7 @@
"title": "Mise à jour automatique"
},
"avatar": {
"builtin": "Avatar intégré",
"reset": "Réinitialiser l'avatar"
},
"backup": {
@ -3477,6 +3487,16 @@
},
"title": "Paramètres",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "Ce fournisseur n'existe pas"
},
"title": "Image"
},
"image_provider": "Fournisseur de service OCR",
"title": "Service OCR"
},
"preprocess": {
"provider": "fournisseur de services de prétraitement de documents",
"provider_placeholder": "Choisissez un prestataire de traitement de documents",

View File

@ -1558,6 +1558,15 @@
},
"tip": "Se a resposta for bem-sucedida, lembrete apenas para mensagens que excedam 30 segundos"
},
"ocr": {
"error": {
"unknown": "O processo OCR apresentou um erro"
},
"file": {
"not_supported": "Tipo de arquivo não suportado {{type}}"
},
"processing": "Processamento OCR em andamento..."
},
"ollama": {
"keep_alive_time": {
"description": "Tempo que o modelo permanece na memória após a conversa (padrão: 5 minutos)",
@ -2679,6 +2688,7 @@
"title": "Atualização automática"
},
"avatar": {
"builtin": "Avatares integrados",
"reset": "Redefinir avatar"
},
"backup": {
@ -3477,6 +3487,16 @@
},
"title": "Configurações",
"tool": {
"ocr": {
"image": {
"error": {
"provider_not_found": "O provedor não existe"
},
"title": "Imagem"
},
"image_provider": "Provedor de serviços OCR",
"title": "Serviço OCR"
},
"preprocess": {
"provider": "prestador de serviços de pré-processamento de documentos",
"provider_placeholder": "Escolha um fornecedor de pré-processamento de documentos",