Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ refactor: refactor brand implement for better custom #3868

Merged
merged 7 commits into from
Sep 9, 2024
Merged
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
2 changes: 1 addition & 1 deletion locales/ar/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "جميع المحتويات",
"allFiles": "جميع الملفات",
"allKnowledgeBases": "جميع قواعد المعرفة",
"disabled": "وضع النشر الحالي لا يدعم محادثات قاعدة المعرفة، إذا كنت ترغب في الاستخدام، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة LobeChat Cloud",
"disabled": "الوضع الحالي للنشر لا يدعم محادثات قاعدة المعرفة. إذا كنت بحاجة إلى استخدامها، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة {{cloud}}.",
"library": {
"action": {
"add": "إضافة",
Expand Down
2 changes: 1 addition & 1 deletion locales/ar/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "التفاصيل: {{detail}}",
"fileOnlySupportInServerMode": "وضع النشر الحالي لا يدعم تحميل ملفات غير الصور. إذا كنت بحاجة إلى تحميل تنسيق {{ext}}، يرجى التبديل إلى نشر قاعدة بيانات الخادم أو استخدام خدمة LobeChat Cloud.",
"fileOnlySupportInServerMode": "وضع النشر الحالي لا يدعم تحميل ملفات غير الصور. إذا كنت بحاجة إلى تحميل تنسيق {{ext}}، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة {{cloud}}.",
"networkError": "يرجى التأكد من أن اتصال الشبكة لديك يعمل بشكل صحيح، والتحقق من إعدادات تكوين خدمة تخزين الملفات عبر النطاق.",
"title": "فشل تحميل الملف، يرجى التحقق من الاتصال بالشبكة أو المحاولة لاحقًا",
"unknownError": "سبب الخطأ: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/bg-BG/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Всички съдържания",
"allFiles": "Всички файлове",
"allKnowledgeBases": "Всички знания",
"disabled": "Текущият режим на внедряване не поддържа диалози с база знания. За да използвате, моля, превключете на внедряване с база данни на сървъра или използвайте услугата LobeChat Cloud.",
"disabled": "Текущият режим на внедряване не поддържа разговори с база знания. Ако искате да използвате тази функция, моля, превключете на внедряване с база данни на сървъра или използвайте услугата {{cloud}}.",
"library": {
"action": {
"add": "Добави",
Expand Down
2 changes: 1 addition & 1 deletion locales/bg-BG/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Подробности: {{detail}}",
"fileOnlySupportInServerMode": "Текущият режим на разполагане не поддържа качване на файлове, различни от изображения. За да качите формат {{ext}}, моля, превключете на разполагане с база данни на сървъра или използвайте услугата LobeChat Cloud.",
"fileOnlySupportInServerMode": "Текущият режим на разполагане не поддържа качване на файлове, различни от изображения. Ако искате да качите формат {{ext}}, моля, превключете на разполагане с база данни на сървъра или използвайте услугата {{cloud}}.",
"networkError": "Моля, уверете се, че вашата мрежа работи нормално и проверете дали конфигурацията за крос-домейн на услугата за съхранение на файлове е правилна.",
"title": "Неуспешно качване на файл, моля проверете интернет връзката или опитайте по-късно",
"unknownError": "Причина за грешка: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/de-DE/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Alle Inhalte",
"allFiles": "Alle Dateien",
"allKnowledgeBases": "Alle Wissensdatenbanken",
"disabled": "Der aktuelle Bereitstellungsmodus unterstützt keine Wissensdatenbankgespräche. Bitte wechseln Sie zur serverseitigen Datenbankbereitstellung oder verwenden Sie den LobeChat Cloud-Dienst.",
"disabled": "Der aktuelle Bereitstellungsmodus unterstützt keine Dialoge mit der Wissensdatenbank. Bitte wechseln Sie zur Bereitstellung mit einer Serverdatenbank oder nutzen Sie den {{cloud}}-Dienst.",
"library": {
"action": {
"add": "Hinzufügen",
Expand Down
2 changes: 1 addition & 1 deletion locales/de-DE/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Details: {{detail}}",
"fileOnlySupportInServerMode": "Der aktuelle Bereitstellungsmodus unterstützt das Hochladen von Nicht-Bilddateien nicht. Um Dateien im {{ext}}-Format hochzuladen, wechseln Sie bitte zum Serverdatenbank-Bereitstellungsmodus oder verwenden Sie den LobeChat Cloud-Dienst.",
"fileOnlySupportInServerMode": "Der aktuelle Bereitstellungsmodus unterstützt das Hochladen von Nicht-Bilddateien nicht. Um Dateien im {{ext}}-Format hochzuladen, wechseln Sie bitte zum Serverdatenbank-Bereitstellungsmodus oder verwenden Sie den {{cloud}}-Dienst.",
"networkError": "Bitte überprüfen Sie, ob Ihre Internetverbindung stabil ist, und prüfen Sie die Cross-Origin-Konfiguration des Dateispeicherdienstes.",
"title": "Dateiupload fehlgeschlagen. Bitte überprüfen Sie Ihre Netzwerkverbindung und versuchen Sie es später erneut.",
"unknownError": "Fehlerursache: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/en-US/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "All Content",
"allFiles": "All Files",
"allKnowledgeBases": "All Knowledge Bases",
"disabled": "The current deployment mode does not support knowledge base conversations. To use this feature, please switch to server database deployment or use LobeChat Cloud service.",
"disabled": "The current deployment mode does not support knowledge base conversations. To use this feature, please switch to server-side database deployment or use the {{cloud}} service.",
"library": {
"action": {
"add": "Add",
Expand Down
2 changes: 1 addition & 1 deletion locales/en-US/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Details: {{detail}}",
"fileOnlySupportInServerMode": "The current deployment mode does not support uploading non-image files. To upload files in {{ext}} format, please switch to server database deployment or use LobeChat Cloud service.",
"fileOnlySupportInServerMode": "The current deployment mode does not support uploading non-image files. To upload files in {{ext}} format, please switch to server database deployment or use the {{cloud}} service.",
"networkError": "Please check your network connection and ensure that the file storage service's cross-origin configuration is correct.",
"title": "File upload failed. Please check your network connection or try again later",
"unknownError": "Error reason: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/es-ES/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Todo el contenido",
"allFiles": "Todos los archivos",
"allKnowledgeBases": "Todas las bases de conocimiento",
"disabled": "El modo de implementación actual no admite conversaciones de base de conocimiento. Para usarlo, cambie a la implementación de base de datos del servidor o utilice el servicio LobeChat Cloud.",
"disabled": "El modo de implementación actual no admite conversaciones con la base de conocimientos. Si desea utilizar esta función, cambie a la implementación de base de datos en el servidor o utilice el servicio {{cloud}}.",
"library": {
"action": {
"add": "Agregar",
Expand Down
2 changes: 1 addition & 1 deletion locales/es-ES/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Detalles: {{detail}}",
"fileOnlySupportInServerMode": "El modo de implementación actual no admite la carga de archivos que no sean imágenes. Si desea cargar un archivo en formato {{ext}}, cambie a la implementación de base de datos en servidor o utilice el servicio LobeChat Cloud.",
"fileOnlySupportInServerMode": "El modo de implementación actual no admite la carga de archivos que no sean imágenes. Si necesita cargar un archivo en formato {{ext}}, cambie a la implementación de base de datos en servidor o utilice el servicio {{cloud}}.",
"networkError": "Por favor, verifica que tu red esté funcionando correctamente y comprueba si la configuración de CORS del servicio de almacenamiento de archivos es correcta.",
"title": "Error al subir el archivo, por favor verifica la conexión a internet o inténtalo de nuevo más tarde",
"unknownError": "Razón del error: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr-FR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Tout le contenu",
"allFiles": "Tous les fichiers",
"allKnowledgeBases": "Toutes les bases de connaissances",
"disabled": "Le mode de déploiement actuel ne prend pas en charge les dialogues de la base de connaissances. Pour l'utiliser, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service LobeChat Cloud.",
"disabled": "Le mode de déploiement actuel ne prend pas en charge les dialogues de la base de connaissances. Pour l'utiliser, veuillez passer à un déploiement de base de données sur serveur ou utiliser le service {{cloud}}.",
"library": {
"action": {
"add": "Ajouter",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr-FR/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Détails : {{detail}}",
"fileOnlySupportInServerMode": "Le mode de déploiement actuel ne prend pas en charge le téléchargement de fichiers non image. Pour télécharger un format {{ext}}, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service LobeChat Cloud.",
"fileOnlySupportInServerMode": "Le mode de déploiement actuel ne prend pas en charge le téléchargement de fichiers non image. Pour télécharger un format {{ext}}, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service {{cloud}}.",
"networkError": "Veuillez vérifier si votre réseau fonctionne correctement et assurez-vous que la configuration CORS du service de stockage de fichiers est correcte.",
"title": "Échec de l'envoi du fichier, veuillez vérifier votre connexion réseau ou réessayer plus tard",
"unknownError": "Raison de l'erreur : {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/it-IT/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Tutti i contenuti",
"allFiles": "Tutti i file",
"allKnowledgeBases": "Tutte le basi di conoscenza",
"disabled": "La modalità di distribuzione attuale non supporta le conversazioni con la base di conoscenza. Per utilizzare questa funzione, passare alla distribuzione del database server o utilizzare il servizio LobeChat Cloud.",
"disabled": "L'attuale modalità di distribuzione non supporta le conversazioni con la base di conoscenza. Se desideri utilizzarla, passa alla distribuzione del database server o utilizza il servizio {{cloud}}.",
"library": {
"action": {
"add": "Aggiungi",
Expand Down
2 changes: 1 addition & 1 deletion locales/it-IT/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Dettagli: {{detail}}",
"fileOnlySupportInServerMode": "L'attuale modalità di distribuzione non supporta il caricamento di file non immagine. Se desideri caricare un formato {{ext}}, ti preghiamo di passare alla distribuzione del database sul server o di utilizzare il servizio LobeChat Cloud.",
"fileOnlySupportInServerMode": "L'attuale modalità di distribuzione non supporta il caricamento di file non immagine. Per caricare file in formato {{ext}}, si prega di passare alla distribuzione del database sul server o di utilizzare il servizio {{cloud}}.",
"networkError": "Si prega di verificare che la connessione di rete sia stabile e controllare se la configurazione CORS del servizio di archiviazione file è corretta.",
"title": "Caricamento del file fallito, controlla la connessione di rete o riprova più tardi",
"unknownError": "Motivo dell'errore: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "すべてのコンテンツ",
"allFiles": "すべてのファイル",
"allKnowledgeBases": "すべての知識ベース",
"disabled": "現在のデプロイモードでは知識ベースの対話はサポートされていません。使用するには、サーバー側のデータベースデプロイに切り替えるか、LobeChat Cloud サービスを利用してください。",
"disabled": "現在のデプロイモードでは知識ベースの対話はサポートされていません。使用するには、サーバー側のデータベースデプロイに切り替えるか、{{cloud}} サービスを利用してください。",
"library": {
"action": {
"add": "追加",
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "詳細: {{detail}}",
"fileOnlySupportInServerMode": "現在のデプロイモードでは、画像以外のファイルのアップロードはサポートされていません。{{ext}} 形式のファイルをアップロードするには、サーバーデータベースデプロイに切り替えるか、LobeChat Cloud サービスを使用してください。",
"fileOnlySupportInServerMode": "現在のデプロイモードでは、画像以外のファイルのアップロードはサポートされていません。{{ext}} 形式のファイルをアップロードするには、サーバーデータベースデプロイに切り替えるか、{{cloud}} サービスを使用してください。",
"networkError": "ネットワークが正常であることを確認し、ファイルストレージサービスのクロスオリジン設定が正しいかどうかを確認してください。",
"title": "ファイルのアップロードに失敗しました。ネットワーク接続を確認するか、後でもう一度お試しください",
"unknownError": "エラーの原因: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/ko-KR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "모든 내용",
"allFiles": "모든 파일",
"allKnowledgeBases": "모든 지식 베이스",
"disabled": "현재 배포 모드에서는 지식 베이스 대화가 지원되지 않습니다. 사용하려면 서버 데이터베이스 배포로 전환하거나 LobeChat Cloud 서비스를 이용하세요.",
"disabled": "현재 배포 모드에서는 지식 기반 대화가 지원되지 않습니다. 사용하려면 서버 데이터베이스 배포로 전환하거나 {{cloud}} 서비스를 이용해 주십시오.",
"library": {
"action": {
"add": "추가",
Expand Down
2 changes: 1 addition & 1 deletion locales/ko-KR/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "상세 내용: {{detail}}",
"fileOnlySupportInServerMode": "현재 배포 모드에서는 이미지 파일이 아닌 파일 업로드를 지원하지 않습니다. {{ext}} 형식을 업로드하려면 서버 데이터베이스 배포로 전환하거나 LobeChat Cloud 서비스를 사용하세요.",
"fileOnlySupportInServerMode": "현재 배포 모드에서는 이미지 파일이 아닌 파일 업로드를 지원하지 않습니다. {{ext}} 형식을 업로드하려면 서버 데이터베이스 배포로 전환하거나 {{cloud}} 서비스를 사용하세요.",
"networkError": "네트워크가 정상인지 확인하고 파일 저장 서비스의 교차 출처 구성도 올바른지 확인하세요.",
"title": "파일 업로드 실패, 네트워크 연결을 확인하거나 나중에 다시 시도해주세요",
"unknownError": "오류 원인: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/nl-NL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Alle inhoud",
"allFiles": "Alle bestanden",
"allKnowledgeBases": "Alle kennisbanken",
"disabled": "De huidige implementatiemodus ondersteunt geen kennisbankgesprekken. Schakel over naar serverdatabase-implementatie of gebruik de LobeChat Cloud-service om dit te gebruiken.",
"disabled": "De huidige implementatiemodus ondersteunt geen kennisbankgesprekken. Als je dit wilt gebruiken, schakel dan over naar serverdatabase-implementatie of gebruik de {{cloud}}-dienst.",
"library": {
"action": {
"add": "Toevoegen",
Expand Down
2 changes: 1 addition & 1 deletion locales/nl-NL/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Details: {{detail}}",
"fileOnlySupportInServerMode": "De huidige implementatiemodus ondersteunt het uploaden van niet-afbeeldingsbestanden niet. Als u bestanden in {{ext}}-formaat wilt uploaden, schakelt u over naar de serverdatabase-implementatie of gebruikt u de LobeChat Cloud-service.",
"fileOnlySupportInServerMode": "De huidige implementatiemodus ondersteunt het uploaden van niet-afbeeldingsbestanden niet. Als u bestanden in {{ext}}-formaat wilt uploaden, schakelt u over naar de serverdatabase-implementatie of gebruikt u de {{cloud}}-dienst.",
"networkError": "Controleer of je netwerk goed werkt en of de cross-origin configuratie van de bestandsopslagservice correct is.",
"title": "Bestand uploaden mislukt, controleer uw internetverbinding of probeer het later opnieuw",
"unknownError": "Foutreden: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/pl-PL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Wszystkie treści",
"allFiles": "Wszystkie pliki",
"allKnowledgeBases": "Wszystkie bazy wiedzy",
"disabled": "Aktualny tryb wdrożenia nie obsługuje rozmów z bazą wiedzy. Aby korzystać, przełącz się na wdrożenie bazy danych serwera lub skorzystaj z usługi LobeChat Cloud.",
"disabled": "Obecny tryb wdrożenia nie obsługuje rozmów z bazą wiedzy. Aby z niej skorzystać, przełącz się na wdrożenie z bazą danych serwera lub skorzystaj z usługi {{cloud}}.",
"library": {
"action": {
"add": "Dodaj",
Expand Down
2 changes: 1 addition & 1 deletion locales/pl-PL/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Szczegóły: {{detail}}",
"fileOnlySupportInServerMode": "Aktualny tryb wdrożenia nie obsługuje przesyłania plików, które nie są obrazami. Aby przesłać pliki w formacie {{ext}}, przełącz się na wdrożenie bazy danych na serwerze lub skorzystaj z usługi LobeChat Cloud.",
"fileOnlySupportInServerMode": "Aktualny tryb wdrożenia nie obsługuje przesyłania plików, które nie są obrazami. Aby przesłać pliki w formacie {{ext}}, przełącz się na wdrożenie bazy danych na serwerze lub skorzystaj z usługi {{cloud}}.",
"networkError": "Proszę upewnić się, że Twoja sieć działa poprawnie oraz sprawdzić, czy konfiguracja CORS dla usługi przechowywania plików jest prawidłowa.",
"title": "Nie udało się przesłać pliku. Sprawdź połączenie sieciowe lub spróbuj ponownie później",
"unknownError": "Przyczyna błędu: {{reason}}",
Expand Down
2 changes: 1 addition & 1 deletion locales/pt-BR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"all": "Todo conteúdo",
"allFiles": "Todos os arquivos",
"allKnowledgeBases": "Todos os bancos de conhecimento",
"disabled": "O modo de implantação atual não suporta diálogos de banco de conhecimento. Para usar, mude para a implantação de banco de dados no servidor ou utilize o serviço LobeChat Cloud.",
"disabled": "O modo de implantação atual não suporta diálogos com a base de conhecimento. Para utilizá-lo, por favor, mude para a implantação do banco de dados no servidor ou utilize o serviço {{cloud}}.",
"library": {
"action": {
"add": "Adicionar",
Expand Down
2 changes: 1 addition & 1 deletion locales/pt-BR/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"upload": {
"desc": "Detalhes: {{detail}}",
"fileOnlySupportInServerMode": "O modo de implantação atual não suporta o upload de arquivos que não sejam imagens. Para fazer o upload de arquivos no formato {{ext}}, por favor, mude para a implantação do banco de dados no servidor ou utilize o serviço LobeChat Cloud.",
"fileOnlySupportInServerMode": "O modo de implantação atual não suporta o upload de arquivos que não sejam imagens. Para fazer o upload de arquivos no formato {{ext}}, mude para a implantação do banco de dados no servidor ou utilize o serviço {{cloud}}.",
"networkError": "Por favor, verifique se sua rede está funcionando corretamente e se a configuração de CORS do serviço de armazenamento de arquivos está correta.",
"title": "Falha ao enviar o arquivo, verifique a conexão de rede ou tente novamente mais tarde",
"unknownError": "Erro: {{reason}}",
Expand Down
Loading
Loading