Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

style: fix some style issues

canisminor1990d9de7a547e2f
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index f793a17db1e..8f33fee91ec 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -157,7 +157,7 @@
"inactive": "غير نشط",
"inbox": {
"desc": "قم بتشغيل مجموعة الدماغ وأشعل شرارة التفكير. مساعدك الذكي، هنا حيث يمكنك التواصل بكل شيء",
- "title": "دردشة عشوائية"
+ "title": "Lobe AI"
},
"input": {
"addAi": "إضافة رسالة AI",
@@ -359,6 +359,11 @@
"downloadFile": "تحميل الملف",
"downloadPdf": "تنزيل PDF",
"downloadSuccess": "تم التنزيل بنجاح",
+ "exportMode": {
+ "full": "افتراضي",
+ "label": "وضع التصدير",
+ "simple": "متوافق مع OpenAI"
+ },
"exportPdf": "تصدير إلى PDF",
"exportTitle": "العنوان الافتراضي",
"generatePdf": "إنشاء ملف PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "تفويض",
"authorizing": "جارٍ التفويض...",
- "hint": "في حال عدم التفويض أو الإعداد، قد لا تعمل هذه الأدوات بشكل صحيح، مما قد يؤدي إلى فقدان بعض وظائف المساعد أو حدوث أخطاء.",
+ "hint": "إذا لم يتم التفويض أو التكوين، فقد لا تعمل هذه الأدوات بشكل صحيح، مما قد يؤدي إلى فقدان وظائف المساعد أو ظهور أخطاء.",
"signIn": "تسجيل الدخول",
- "title": "يستخدم هذا المساعد الأدوات التالية التي تتطلب التفويض"
+ "title": "يرجى إكمال تفويض الأدوات للمساعد"
},
"topic": {
"checkOpenNewTopic": "هل ترغب في فتح موضوع جديد؟",
diff --git a/locales/ar/editor.json b/locales/ar/editor.json
index 6c59aa19ec9..cc1659de9bd 100644
--- a/locales/ar/editor.json
+++ b/locales/ar/editor.json
@@ -41,9 +41,9 @@
"placeholder": "يرجى إدخال معادلة TeX"
},
"modifier": {
- "accept": "قبول",
+ "accept": "احتفاظ",
"acceptAll": "قبول الكل",
- "reject": "رفض",
+ "reject": "إلغاء",
"rejectedAll": "رفض الكل"
},
"slash": {
diff --git a/locales/ar/hotkey.json b/locales/ar/hotkey.json
index 5a64ce125b1..d974bfb8cd5 100644
--- a/locales/ar/hotkey.json
+++ b/locales/ar/hotkey.json
@@ -34,7 +34,7 @@
"title": "تحرير الرسالة"
},
"navigateToChat": {
- "desc": "التبديل إلى علامة تبويب المحادثة والدخول إلى دردشة عشوائية",
+ "desc": "التبديل إلى علامة تبويب المحادثة والدخول إلى Lobe AI",
"title": "التبديل إلى المحادثة الافتراضية"
},
"openChatSettings": {
diff --git a/locales/ar/plugin.json b/locales/ar/plugin.json
index a130e9f9021..ff7eb6a146a 100644
--- a/locales/ar/plugin.json
+++ b/locales/ar/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "قائمة المعلمات"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/ar/topic.json b/locales/ar/topic.json
index e5faa4effa8..ace9c6044ec 100644
--- a/locales/ar/topic.json
+++ b/locales/ar/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "سيتم حذف المواضيع غير المفضلة، ولن يمكن استعادتها بعد الحذف، يرجى توخي الحذر.",
"duplicate": "إنشاء نسخة",
"export": "تصدير الموضوع",
+ "import": "استيراد المحادثة",
"openInNewWindow": "افتح في نافذة مستقلة",
"removeAll": "حذف جميع المواضيع",
"removeUnstarred": "حذف المواضيع غير المفضلة"
@@ -34,6 +35,10 @@
"desc": "انقر على زر الإرسال على اليسار لحفظ المحادثة الحالية كموضوع تاريخي وبدء جولة جديدة من المحادثة",
"title": "قائمة المواضيع"
},
+ "importError": "فشل في الاستيراد",
+ "importInvalidFormat": "تنسيق الملف غير صالح، يرجى التأكد من أنه ملف JSON صالح",
+ "importLoading": "جارٍ استيراد المحادثة...",
+ "importSuccess": "تم استيراد {{count}} رسالة بنجاح",
"loadMore": "المزيد",
"searchPlaceholder": "ابحث عن موضوع...",
"searchResultEmpty": "لا توجد نتائج للبحث",
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index d6c0cc7e7ce..fb160d40bd2 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -157,7 +157,7 @@
"inactive": "Неактивен",
"inbox": {
"desc": "Активирай мозъчния клъстер и събуди креативното мислене. Твоят виртуален агент е тук, за да общува с теб за всичко.",
- "title": "Просто чати"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Добави AI съобщение",
@@ -359,6 +359,11 @@
"downloadFile": "Изтегли файла",
"downloadPdf": "Изтегляне на PDF",
"downloadSuccess": "Изтеглянето е успешно",
+ "exportMode": {
+ "full": "По подразбиране",
+ "label": "Режим на експортиране",
+ "simple": "Съвместим с OpenAI"
+ },
"exportPdf": "Експортиране като PDF",
"exportTitle": "По подразбиране заглавие",
"generatePdf": "Генериране на PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Упълномощаване",
"authorizing": "Упълномощаване...",
- "hint": "Ако не упълномощите или конфигурирате, тези инструменти няма да функционират правилно, което може да доведе до липса на функции или грешки в помощника.",
+ "hint": "Ако не бъде предоставено разрешение или конфигурация, тези инструменти няма да функционират правилно, което може да доведе до липсващи функции или грешки в асистента.",
"signIn": "Вход",
- "title": "Този помощник използва следните инструменти, които изискват упълномощаване"
+ "title": "Моля, завършете упълномощаването на инструментите за асистента"
},
"topic": {
"checkOpenNewTopic": "Да се отвори ли нова тема?",
diff --git a/locales/bg-BG/editor.json b/locales/bg-BG/editor.json
index b70f5a0a1b8..7c24ffd1d4f 100644
--- a/locales/bg-BG/editor.json
+++ b/locales/bg-BG/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Моля, въведете TeX формула"
},
"modifier": {
- "accept": "Приемам",
+ "accept": "Запази",
"acceptAll": "Приемам всички",
- "reject": "Отказвам",
+ "reject": "Отмени",
"rejectedAll": "Отказвам всички"
},
"slash": {
diff --git a/locales/bg-BG/hotkey.json b/locales/bg-BG/hotkey.json
index c169c4a2c54..c50f69ec893 100644
--- a/locales/bg-BG/hotkey.json
+++ b/locales/bg-BG/hotkey.json
@@ -34,7 +34,7 @@
"title": "Редактиране на съобщение"
},
"navigateToChat": {
- "desc": "Превключване към раздела за разговори и влизане в случайна беседа",
+ "desc": "Превключване към раздела за чат и влизане в Lobe AI",
"title": "Превключване към стандартния разговор"
},
"openChatSettings": {
diff --git a/locales/bg-BG/plugin.json b/locales/bg-BG/plugin.json
index cb842b473cd..564785f087f 100644
--- a/locales/bg-BG/plugin.json
+++ b/locales/bg-BG/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Списък с параметри"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/bg-BG/topic.json b/locales/bg-BG/topic.json
index c95a84961ac..df6fd28c358 100644
--- a/locales/bg-BG/topic.json
+++ b/locales/bg-BG/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Ще бъдат изтрити темите, които не са запазени. След изтриването им не може да се възстановят. Моля, действайте внимателно.",
"duplicate": "Създаване на копие",
"export": "Експортиране на темата",
+ "import": "Импортиране на разговор",
"openInNewWindow": "Отвори в нов прозорец",
"removeAll": "Изтриване на всички теми",
"removeUnstarred": "Изтриване на незапазените теми"
@@ -34,6 +35,10 @@
"desc": "Кликнете върху бутона отляво за изпращане, за да запазите текущия разговор като историческа тема и да започнете нова сесия.",
"title": "Списък с теми"
},
+ "importError": "Неуспешен импорт",
+ "importInvalidFormat": "Невалиден файлов формат. Моля, уверете се, че това е валиден JSON файл",
+ "importLoading": "Импортиране на разговор...",
+ "importSuccess": "Успешно импортирани {{count}} съобщения",
"loadMore": "Още",
"searchPlaceholder": "Търсене на теми...",
"searchResultEmpty": "Няма намерени резултати",
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index ea3e6b900b7..d6532c905ce 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -157,7 +157,7 @@
"inactive": "Inaktiv",
"inbox": {
"desc": "Aktiviere das Gehirncluster und entfache den Funken des Denkens. Dein intelligenter Assistent, der mit dir über alles kommuniziert.",
- "title": "Lass uns plaudern"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Fügen Sie eine AI-Nachricht hinzu",
@@ -359,6 +359,11 @@
"downloadFile": "Datei herunterladen",
"downloadPdf": "PDF herunterladen",
"downloadSuccess": "Download erfolgreich",
+ "exportMode": {
+ "full": "Standard",
+ "label": "Exportmodus",
+ "simple": "OpenAI-kompatibel"
+ },
"exportPdf": "Als PDF exportieren",
"exportTitle": "Standardtitel",
"generatePdf": "PDF erstellen",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autorisieren",
"authorizing": "Autorisierung läuft...",
- "hint": "Ohne Autorisierung oder Konfiguration können diese Tools nicht ordnungsgemäß verwendet werden, was zu eingeschränkter Funktionalität oder Fehlern des Assistenten führen kann.",
+ "hint": "Ohne Autorisierung oder Konfiguration funktionieren diese Tools möglicherweise nicht richtig, was zu eingeschränkten Funktionen oder Fehlern des Assistenten führen kann.",
"signIn": "Anmelden",
- "title": "Dieser Assistent verwendet die folgenden Tools, die eine Autorisierung erfordern"
+ "title": "Bitte autorisieren Sie die Tools für den Assistenten"
},
"topic": {
"checkOpenNewTopic": "Soll ein neues Thema eröffnet werden?",
diff --git a/locales/de-DE/editor.json b/locales/de-DE/editor.json
index 87e69d7cce4..5f5eb64bb4b 100644
--- a/locales/de-DE/editor.json
+++ b/locales/de-DE/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Bitte TeX-Formel eingeben"
},
"modifier": {
- "accept": "Akzeptieren",
+ "accept": "Beibehalten",
"acceptAll": "Alle akzeptieren",
- "reject": "Ablehnen",
+ "reject": "Widerrufen",
"rejectedAll": "Alle ablehnen"
},
"slash": {
diff --git a/locales/de-DE/hotkey.json b/locales/de-DE/hotkey.json
index 56b30df30aa..d5cc9a514ea 100644
--- a/locales/de-DE/hotkey.json
+++ b/locales/de-DE/hotkey.json
@@ -34,7 +34,7 @@
"title": "Nachricht bearbeiten"
},
"navigateToChat": {
- "desc": "Zum Chat-Tab wechseln und einfach plaudern",
+ "desc": "Zum Chat-Tab wechseln und Lobe AI öffnen",
"title": "Zum Standard-Chat wechseln"
},
"openChatSettings": {
diff --git a/locales/de-DE/plugin.json b/locales/de-DE/plugin.json
index 420585577ba..5d09aae907f 100644
--- a/locales/de-DE/plugin.json
+++ b/locales/de-DE/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Parameterliste"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/de-DE/topic.json b/locales/de-DE/topic.json
index 39099718d0b..2801973da60 100644
--- a/locales/de-DE/topic.json
+++ b/locales/de-DE/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Nicht markierte Themen werden gelöscht. Nach dem Löschen können sie nicht wiederhergestellt werden. Bitte vorsichtig handeln.",
"duplicate": "Kopie erstellen",
"export": "Thema exportieren",
+ "import": "Dialog importieren",
"openInNewWindow": "In neuem Fenster öffnen",
"removeAll": "Alle Themen löschen",
"removeUnstarred": "Nicht markierte Themen löschen"
@@ -34,6 +35,10 @@
"desc": "Klicken Sie auf die Schaltfläche links von Senden, um den aktuellen Chat als historisches Thema zu speichern und eine neue Runde des Chats zu beginnen.",
"title": "Themenliste"
},
+ "importError": "Import fehlgeschlagen",
+ "importInvalidFormat": "Ungültiges Dateiformat. Bitte stellen Sie sicher, dass es sich um eine gültige JSON-Datei handelt.",
+ "importLoading": "Dialog wird importiert...",
+ "importSuccess": "{{count}} Nachrichten erfolgreich importiert",
"loadMore": "Mehr laden",
"searchPlaceholder": "Themen suchen...",
"searchResultEmpty": "Keine Suchergebnisse vorhanden",
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.json
index ee7caa0d0f4..181b0fc7ce7 100644
--- a/locales/en-US/chat.json
+++ b/locales/en-US/chat.json
@@ -157,7 +157,7 @@
"inactive": "Inactive",
"inbox": {
"desc": "Activate the brain cluster and spark creative thinking. Your virtual assistant is here to communicate with you about everything.",
- "title": "Just Chat"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Add an AI message",
@@ -475,9 +475,9 @@
"toolAuth": {
"authorize": "Authorize",
"authorizing": "Authorizing...",
- "hint": "Please complete the tool authorization for the assistant",
+ "hint": "Without authorization or proper configuration, these tools may not function correctly, which could result in missing assistant features or errors.",
"signIn": "Sign In",
- "title": "This assistant uses tools that require authorization"
+ "title": "Please authorize the tools for the assistant"
},
"topic": {
"checkOpenNewTopic": "Enable new topic?",
diff --git a/locales/en-US/editor.json b/locales/en-US/editor.json
index a9cbcde0afc..ac66ed0559e 100644
--- a/locales/en-US/editor.json
+++ b/locales/en-US/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Please enter a TeX formula"
},
"modifier": {
- "accept": "Accept",
+ "accept": "Keep",
"acceptAll": "Accept All",
- "reject": "Reject",
+ "reject": "Revert",
"rejectedAll": "Reject All"
},
"slash": {
diff --git a/locales/en-US/hotkey.json b/locales/en-US/hotkey.json
index 5d57c2622a1..c2cfcaa08c6 100644
--- a/locales/en-US/hotkey.json
+++ b/locales/en-US/hotkey.json
@@ -34,7 +34,7 @@
"title": "Edit Message"
},
"navigateToChat": {
- "desc": "Switch to the chat tab and start a casual conversation",
+ "desc": "Switch to the Chat tab and enter Lobe AI",
"title": "Switch to Default Chat"
},
"openChatSettings": {
diff --git a/locales/en-US/plugin.json b/locales/en-US/plugin.json
index ce41528640a..8047973c03a 100644
--- a/locales/en-US/plugin.json
+++ b/locales/en-US/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Parameter List"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index 7a88a7adc43..d3fca2cf2b1 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -157,7 +157,7 @@
"inactive": "inactivo",
"inbox": {
"desc": "Despierta la mente con el poder del cerebro colectivo. Tu asistente inteligente está aquí para conversar contigo sobre cualquier cosa.",
- "title": "Charla casual"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Agregar un mensaje de IA",
@@ -359,6 +359,11 @@
"downloadFile": "Descargar archivo",
"downloadPdf": "Descargar PDF",
"downloadSuccess": "Descarga exitosa",
+ "exportMode": {
+ "full": "Predeterminado",
+ "label": "Modo de exportación",
+ "simple": "Compatible con OpenAI"
+ },
"exportPdf": "Exportar como PDF",
"exportTitle": "Título predeterminado",
"generatePdf": "Generar PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autorizar",
"authorizing": "Autorizando...",
- "hint": "Si no se autoriza o configura, estas herramientas no funcionarán correctamente, lo que podría causar errores o la falta de funciones del asistente.",
+ "hint": "Si no se autoriza o configura, estas herramientas no funcionarán correctamente, lo que puede causar errores o la falta de funciones del asistente.",
"signIn": "Iniciar sesión",
- "title": "Este asistente utiliza las siguientes herramientas que requieren autorización"
+ "title": "Por favor, autoriza las herramientas para el asistente"
},
"topic": {
"checkOpenNewTopic": "¿Abrir un nuevo tema?",
diff --git a/locales/es-ES/hotkey.json b/locales/es-ES/hotkey.json
index 89a1f90608f..be4487d456f 100644
--- a/locales/es-ES/hotkey.json
+++ b/locales/es-ES/hotkey.json
@@ -34,7 +34,7 @@
"title": "Editar mensaje"
},
"navigateToChat": {
- "desc": "Cambiar a la pestaña de conversación y entrar en charla casual",
+ "desc": "Cambiar a la pestaña de conversación e ingresar a Lobe AI",
"title": "Cambiar a la conversación predeterminada"
},
"openChatSettings": {
diff --git a/locales/es-ES/plugin.json b/locales/es-ES/plugin.json
index d5c456baae8..4cb643a8e25 100644
--- a/locales/es-ES/plugin.json
+++ b/locales/es-ES/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Lista de parámetros"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/es-ES/topic.json b/locales/es-ES/topic.json
index 92e2ae18a7d..77a49f3b6fc 100644
--- a/locales/es-ES/topic.json
+++ b/locales/es-ES/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Se eliminarán los temas no favoritos. Una vez eliminados, no se podrán recuperar. Por favor, actúe con precaución.",
"duplicate": "Crear copia",
"export": "Exportar tema",
+ "import": "Importar conversación",
"openInNewWindow": "Abrir en una ventana nueva",
"removeAll": "Eliminar todos los temas",
"removeUnstarred": "Eliminar temas no favoritos"
@@ -34,6 +35,10 @@
"desc": "Haga clic en el botón a la izquierda para guardar la conversación actual como un tema histórico y comenzar una nueva conversación.",
"title": "Lista de temas"
},
+ "importError": "Error al importar",
+ "importInvalidFormat": "Formato de archivo no válido. Asegúrate de que sea un archivo JSON válido.",
+ "importLoading": "Importando conversación...",
+ "importSuccess": "Se importaron correctamente {{count}} mensajes",
"loadMore": "Cargar más",
"searchPlaceholder": "Buscar temas...",
"searchResultEmpty": "No hay resultados de búsqueda disponibles",
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index c771f419cf2..7af7e826c85 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -157,7 +157,7 @@
"inactive": "غیرفعال",
"inbox": {
"desc": "خوشه‌های مغزی را فعال کنید و جرقه‌های تفکر را برانگیزید. دستیار هوشمند شما اینجاست تا با شما در مورد هر چیزی صحبت کند.",
- "title": "گپ دوستانه"
+ "title": "Lobe AI"
},
"input": {
"addAi": "افزودن یک پیام AI",
@@ -359,6 +359,11 @@
"downloadFile": "دانلود فایل",
"downloadPdf": "دانلود PDF",
"downloadSuccess": "دانلود با موفقیت انجام شد",
+ "exportMode": {
+ "full": "پیش‌فرض",
+ "label": "حالت صادرات",
+ "simple": "سازگار با OpenAI"
+ },
"exportPdf": "صادر کردن به PDF",
"exportTitle": "عنوان پیش‌فرض",
"generatePdf": "ایجاد PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "اعطاى مجوز",
"authorizing": "در حال اعطاى مجوز...",
- "hint": "در صورت عدم اعطاى مجوز يا پيكربندى، اين ابزارها به درستی كار نخواهند كرد و ممكن است باعث نقص يا خطا در عملكرد دستيار شوند.",
+ "hint": "در صورت عدم اعطا یا پیکربندی مجوز، این ابزارها به درستی کار نخواهند کرد و ممکن است باعث نقص یا خطا در عملکرد دستیار شوند.",
"signIn": "ورود",
- "title": "اين دستيار از ابزارهای زير استفاده می‌كند كه نياز به مجوز دارند"
+ "title": "لطفاً مجوز ابزارها را برای دستیار تکمیل کنید"
},
"topic": {
"checkOpenNewTopic": "آیا مایل به باز کردن موضوع جدید هستید؟",
diff --git a/locales/fa-IR/hotkey.json b/locales/fa-IR/hotkey.json
index 42a6355b886..71b0264ddae 100644
--- a/locales/fa-IR/hotkey.json
+++ b/locales/fa-IR/hotkey.json
@@ -34,7 +34,7 @@
"title": "ویرایش پیام"
},
"navigateToChat": {
- "desc": "تغییر به برگه گفتگو و ورود به چت آزاد",
+ "desc": "به برگه گفتگو برو و وارد Lobe AI شو",
"title": "تغییر به گفتگو پیش‌فرض"
},
"openChatSettings": {
diff --git a/locales/fa-IR/plugin.json b/locales/fa-IR/plugin.json
index 12a8ccb450c..81580819649 100644
--- a/locales/fa-IR/plugin.json
+++ b/locales/fa-IR/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "فهرست پارامترها"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/fa-IR/topic.json b/locales/fa-IR/topic.json
index 6197d678119..75fdfda0a7c 100644
--- a/locales/fa-IR/topic.json
+++ b/locales/fa-IR/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "در حال حذف موضوعات بدون علامت، پس از حذف قابل بازیابی نخواهد بود، لطفاً با احتیاط عمل کنید.",
"duplicate": "ایجاد نسخه",
"export": "صادرات موضوع",
+ "import": "وارد کردن گفتگو",
"openInNewWindow": "در پنجره‌ای جدید باز کن",
"removeAll": "حذف تمام موضوعات",
"removeUnstarred": "حذف موضوعات بدون علامت"
@@ -34,6 +35,10 @@
"desc": "برای ذخیره مکالمه فعلی به عنوان موضوع تاریخی و شروع یک دور جدید مکالمه، دکمه سمت چپ ارسال را کلیک کنید.",
"title": "لیست موضوعات"
},
+ "importError": "وارد کردن ناموفق بود",
+ "importInvalidFormat": "فرمت فایل نامعتبر است، لطفاً مطمئن شوید که یک فایل JSON معتبر است",
+ "importLoading": "در حال وارد کردن گفتگو...",
+ "importSuccess": "{{count}} پیام با موفقیت وارد شد",
"loadMore": "بیشتر",
"searchPlaceholder": "جستجوی موضوع...",
"searchResultEmpty": "نتیجه‌ای برای جستجو یافت نشد",
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index 64aab0b6e0f..1c9d207b546 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -157,7 +157,7 @@
"inactive": "Inactif",
"inbox": {
"desc": "Débloquez le potentiel de votre esprit. Votre agent intelligent est là pour discuter avec vous de tout et de rien.",
- "title": "Discutons un peu"
+ "title": "Lobe IA"
},
"input": {
"addAi": "Ajouter un message AI",
@@ -359,6 +359,11 @@
"downloadFile": "Télécharger le fichier",
"downloadPdf": "Télécharger le PDF",
"downloadSuccess": "Téléchargement réussi",
+ "exportMode": {
+ "full": "Par défaut",
+ "label": "Mode d’exportation",
+ "simple": "Compatible avec OpenAI"
+ },
"exportPdf": "Exporter en PDF",
"exportTitle": "Titre par défaut",
"generatePdf": "Générer le PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autoriser",
"authorizing": "Autorisation en cours...",
- "hint": "Sans autorisation ou configuration, ces outils ne fonctionneront pas correctement, ce qui pourrait entraîner des erreurs ou un fonctionnement incomplet de l'assistant.",
+ "hint": "Sans autorisation ou configuration, ces outils pourraient ne pas fonctionner correctement, ce qui pourrait entraîner des erreurs ou un fonctionnement incomplet de l’assistant.",
"signIn": "Se connecter",
- "title": "Cet assistant utilise les outils suivants nécessitant une autorisation"
+ "title": "Veuillez autoriser les outils pour l’assistant"
},
"topic": {
"checkOpenNewTopic": "Voulez-vous ouvrir un nouveau sujet ?",
diff --git a/locales/fr-FR/editor.json b/locales/fr-FR/editor.json
index 0f4bc25b09d..a84ac58a1d2 100644
--- a/locales/fr-FR/editor.json
+++ b/locales/fr-FR/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Veuillez saisir une formule TeX"
},
"modifier": {
- "accept": "Accepter",
+ "accept": "Conserver",
"acceptAll": "Tout accepter",
- "reject": "Refuser",
+ "reject": "Annuler",
"rejectedAll": "Tout refuser"
},
"slash": {
diff --git a/locales/fr-FR/hotkey.json b/locales/fr-FR/hotkey.json
index 15e55051a52..f8700e04490 100644
--- a/locales/fr-FR/hotkey.json
+++ b/locales/fr-FR/hotkey.json
@@ -34,7 +34,7 @@
"title": "Éditer le message"
},
"navigateToChat": {
- "desc": "Basculer vers l'onglet de conversation et commencer une discussion libre",
+ "desc": "Passer à l'onglet de conversation et accéder à Lobe AI",
"title": "Passer à la conversation par défaut"
},
"openChatSettings": {
diff --git a/locales/fr-FR/plugin.json b/locales/fr-FR/plugin.json
index 1a1b4e0b944..7beb9263447 100644
--- a/locales/fr-FR/plugin.json
+++ b/locales/fr-FR/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Liste des paramètres"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/fr-FR/topic.json b/locales/fr-FR/topic.json
index b9760726300..3486be519e7 100644
--- a/locales/fr-FR/topic.json
+++ b/locales/fr-FR/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Vous allez supprimer les sujets non favoris. Cette action est irréversible, veuillez agir avec prudence.",
"duplicate": "Créer une copie",
"export": "Exporter le sujet",
+ "import": "Importer la conversation",
"openInNewWindow": "Ouvrir dans une nouvelle fenêtre",
"removeAll": "Supprimer tous les sujets",
"removeUnstarred": "Supprimer les sujets non favoris"
@@ -34,6 +35,10 @@
"desc": "Cliquez sur le bouton à gauche pour enregistrer la conversation actuelle en tant que sujet historique et commencer une nouvelle conversation.",
"title": "Liste des sujets"
},
+ "importError": "Échec de l'importation",
+ "importInvalidFormat": "Format de fichier invalide. Veuillez vous assurer qu'il s'agit d'un fichier JSON valide.",
+ "importLoading": "Importation de la conversation en cours...",
+ "importSuccess": "{{count}} message(s) importé(s) avec succès",
"loadMore": "Voir plus",
"searchPlaceholder": "Rechercher des sujets...",
"searchResultEmpty": "Aucun résultat de recherche disponible",
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index b03d1a0d253..90781c302cc 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -157,7 +157,7 @@
"inactive": "Inattivo",
"inbox": {
"desc": "Attiva il cluster cerebrale, accendi la scintilla del pensiero. Il tuo assistente intelligente, qui per comunicare con te su tutto.",
- "title": "Chiacchierata casuale"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Aggiungi un messaggio AI",
@@ -359,6 +359,11 @@
"downloadFile": "Scarica file",
"downloadPdf": "Scarica PDF",
"downloadSuccess": "Download riuscito",
+ "exportMode": {
+ "full": "Predefinito",
+ "label": "Modalità di esportazione",
+ "simple": "Compatibile con OpenAI"
+ },
"exportPdf": "Esporta come PDF",
"exportTitle": "Titolo predefinito",
"generatePdf": "Genera PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autorizza",
"authorizing": "Autorizzazione in corso...",
- "hint": "Se non autorizzati o configurati, questi strumenti potrebbero non funzionare correttamente, causando malfunzionamenti o errori dell'assistente.",
+ "hint": "Se non autorizzati o configurati, questi strumenti potrebbero non funzionare correttamente, causando errori o limitazioni nelle funzionalità dell'assistente.",
"signIn": "Accedi",
- "title": "Questo assistente utilizza i seguenti strumenti che richiedono autorizzazione"
+ "title": "Autorizza gli strumenti per l'assistente"
},
"topic": {
"checkOpenNewTopic": "Abilitare un nuovo argomento?",
diff --git a/locales/it-IT/editor.json b/locales/it-IT/editor.json
index 2985248e4c8..0cf50647bd9 100644
--- a/locales/it-IT/editor.json
+++ b/locales/it-IT/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Inserisci la formula TeX"
},
"modifier": {
- "accept": "Accetta",
+ "accept": "Conferma",
"acceptAll": "Accetta tutto",
- "reject": "Rifiuta",
+ "reject": "Annulla",
"rejectedAll": "Rifiuta tutto"
},
"slash": {
diff --git a/locales/it-IT/hotkey.json b/locales/it-IT/hotkey.json
index 989cd5ff07a..8b41b56df57 100644
--- a/locales/it-IT/hotkey.json
+++ b/locales/it-IT/hotkey.json
@@ -34,7 +34,7 @@
"title": "Modifica messaggio"
},
"navigateToChat": {
- "desc": "Passa alla scheda della conversazione e inizia una chiacchierata casuale",
+ "desc": "Passa alla scheda delle conversazioni ed entra in Lobe AI",
"title": "Passa alla conversazione predefinita"
},
"openChatSettings": {
diff --git a/locales/it-IT/plugin.json b/locales/it-IT/plugin.json
index 8cfc29d5891..d2be506e0b8 100644
--- a/locales/it-IT/plugin.json
+++ b/locales/it-IT/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Elenco dei parametri"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/it-IT/topic.json b/locales/it-IT/topic.json
index ffcc3c37375..6f3fb969a37 100644
--- a/locales/it-IT/topic.json
+++ b/locales/it-IT/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Stai per eliminare i temi non contrassegnati. Dopo l'eliminazione, non sarà possibile recuperarli. Procedi con cautela.",
"duplicate": "Crea una copia",
"export": "Esporta il tema",
+ "import": "Importa conversazione",
"openInNewWindow": "Apri in una nuova finestra",
"removeAll": "Elimina tutti i temi",
"removeUnstarred": "Elimina i temi non contrassegnati"
@@ -34,6 +35,10 @@
"desc": "Clicca sul pulsante a sinistra per salvare la conversazione attuale come tema storico e avviare una nuova conversazione.",
"title": "Elenco dei temi"
},
+ "importError": "Importazione non riuscita",
+ "importInvalidFormat": "Formato file non valido. Assicurati che sia un file JSON valido",
+ "importLoading": "Importazione della conversazione in corso...",
+ "importSuccess": "Importate con successo {{count}} messaggi",
"loadMore": "Carica altro",
"searchPlaceholder": "Cerca temi...",
"searchResultEmpty": "Nessun risultato trovato",
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index 6c17b8d6258..5a3c0e79fcf 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -157,7 +157,7 @@
"inactive": "非アクティブ",
"inbox": {
"desc": "脳のクラスターを起動し、創造性を引き出しましょう。あなたのスマートアシスタントは、あなたとすべてのことについてここでコミュニケーションします。",
- "title": "気軽におしゃべり"
+ "title": "Lobe AI"
},
"input": {
"addAi": "AIメッセージを追加",
@@ -359,6 +359,11 @@
"downloadFile": "ファイルをダウンロード",
"downloadPdf": "PDFをダウンロード",
"downloadSuccess": "ダウンロード成功",
+ "exportMode": {
+ "full": "デフォルト",
+ "label": "エクスポートモード",
+ "simple": "OpenAI 互換"
+ },
"exportPdf": "PDFとしてエクスポート",
"exportTitle": "デフォルトタイトル",
"generatePdf": "PDFを生成する",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "認証する",
"authorizing": "認証中...",
- "hint": "認証または設定を行わない場合、これらのツールは正常に動作せず、アシスタント機能の一部が使用できなかったり、エラーが発生する可能性があります。",
+ "hint": "認証または設定を行わない場合、これらのツールは正常に動作せず、アシスタント機能の欠如やエラーの原因となる可能性があります。",
"signIn": "ログイン",
- "title": "このアシスタントは、以下の認証が必要なツールを使用しています"
+ "title": "アシスタントのツール認証を完了してください"
},
"topic": {
"checkOpenNewTopic": "新しいトピックを開始しますか?",
diff --git a/locales/ja-JP/editor.json b/locales/ja-JP/editor.json
index d10d7e7c917..e4751db5384 100644
--- a/locales/ja-JP/editor.json
+++ b/locales/ja-JP/editor.json
@@ -41,9 +41,9 @@
"placeholder": "TeX 公式を入力してください"
},
"modifier": {
- "accept": "承諾する",
+ "accept": "保持",
"acceptAll": "すべて承諾する",
- "reject": "拒否する",
+ "reject": "取り消し",
"rejectedAll": "すべて拒否する"
},
"slash": {
diff --git a/locales/ja-JP/hotkey.json b/locales/ja-JP/hotkey.json
index d7f3c06a4fd..b954a2afd66 100644
--- a/locales/ja-JP/hotkey.json
+++ b/locales/ja-JP/hotkey.json
@@ -34,7 +34,7 @@
"title": "メッセージを編集"
},
"navigateToChat": {
- "desc": "チャットタブに切り替えて気軽に会話を始める",
+ "desc": "チャットタブに切り替えてLobe AIに入る",
"title": "デフォルトの会話に切り替え"
},
"openChatSettings": {
diff --git a/locales/ja-JP/plugin.json b/locales/ja-JP/plugin.json
index a2372dd9b2e..fdcea2e99d2 100644
--- a/locales/ja-JP/plugin.json
+++ b/locales/ja-JP/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "パラメーター一覧"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/ja-JP/topic.json b/locales/ja-JP/topic.json
index 47d1141d85c..93f4c3a3089 100644
--- a/locales/ja-JP/topic.json
+++ b/locales/ja-JP/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "未お気に入りのトピックを削除しようとしています。削除後は復元できませんので、慎重に操作してください。",
"duplicate": "コピーを作成",
"export": "トピックをエクスポート",
+ "import": "会話をインポート",
"openInNewWindow": "新しいウィンドウで開く",
"removeAll": "すべてのトピックを削除",
"removeUnstarred": "未お気に入りのトピックを削除"
@@ -34,6 +35,10 @@
"desc": "左側の送信ボタンをクリックすると、現在の会話を履歴トピックとして保存し、新しい会話を開始します。",
"title": "トピックリスト"
},
+ "importError": "インポートに失敗しました",
+ "importInvalidFormat": "ファイル形式が無効です。有効な JSON ファイルであることを確認してください",
+ "importLoading": "会話をインポート中...",
+ "importSuccess": "{{count}} 件のメッセージを正常にインポートしました",
"loadMore": "さらに表示",
"searchPlaceholder": "トピックを検索...",
"searchResultEmpty": "検索結果はありません",
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 49ca29cc317..a8786d466ec 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -157,7 +157,7 @@
"inactive": "비활성",
"inbox": {
"desc": "뇌 클러스터를 활성화하여 창의적인 아이디어를 끌어내는 인공지능 비서입니다. 여기서 모든 것에 대해 대화합니다.",
- "title": "무작위 대화"
+ "title": "Lobe AI"
},
"input": {
"addAi": "AI 메시지 추가",
@@ -359,6 +359,11 @@
"downloadFile": "파일 다운로드",
"downloadPdf": "PDF 다운로드",
"downloadSuccess": "다운로드 성공",
+ "exportMode": {
+ "full": "기본값",
+ "label": "내보내기 모드",
+ "simple": "OpenAI 호환"
+ },
"exportPdf": "PDF로 내보내기",
"exportTitle": "기본 제목",
"generatePdf": "PDF 생성",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "권한 부여",
"authorizing": "권한 부여 중...",
- "hint": "권한을 부여하거나 설정하지 않으면 이 도구들을 정상적으로 사용할 수 없으며, 어시스턴트 기능이 누락되거나 오류가 발생할 수 있습니다.",
+ "hint": "권한을 부여하거나 설정하지 않으면 이 도구들을 정상적으로 사용할 수 없어, 어시스턴트 기능이 누락되거나 오류가 발생할 수 있습니다.",
"signIn": "로그인",
- "title": "이 어시스턴트는 다음과 같은 권한이 필요한 도구들을 사용합니다"
+ "title": "어시스턴트를 위해 도구 권한을 완료해 주세요"
},
"topic": {
"checkOpenNewTopic": "새 주제를 열까요?",
diff --git a/locales/ko-KR/editor.json b/locales/ko-KR/editor.json
index 11dd2b4038a..ea7d23eab1d 100644
--- a/locales/ko-KR/editor.json
+++ b/locales/ko-KR/editor.json
@@ -41,9 +41,9 @@
"placeholder": "TeX 수식을 입력하세요"
},
"modifier": {
- "accept": "수락",
+ "accept": "보류",
"acceptAll": "모두 수락",
- "reject": "거부",
+ "reject": "취소",
"rejectedAll": "모두 거부"
},
"slash": {
diff --git a/locales/ko-KR/hotkey.json b/locales/ko-KR/hotkey.json
index 4086128b6b4..ade20f3a37e 100644
--- a/locales/ko-KR/hotkey.json
+++ b/locales/ko-KR/hotkey.json
@@ -34,7 +34,7 @@
"title": "메시지 편집"
},
"navigateToChat": {
- "desc": "대화 탭으로 전환하고 자유 대화 시작",
+ "desc": "채팅 탭으로 전환하고 Lobe AI에 진입합니다",
"title": "기본 대화로 전환"
},
"openChatSettings": {
diff --git a/locales/ko-KR/plugin.json b/locales/ko-KR/plugin.json
index fefcab2447c..1c80905c3ab 100644
--- a/locales/ko-KR/plugin.json
+++ b/locales/ko-KR/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "매개변수 목록"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/ko-KR/topic.json b/locales/ko-KR/topic.json
index 245d044f991..fbc171ef4d9 100644
--- a/locales/ko-KR/topic.json
+++ b/locales/ko-KR/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "즐겨찾기하지 않은 주제를 삭제하려고 합니다. 삭제 후에는 복구할 수 없으니 신중하게 진행해 주세요.",
"duplicate": "복사본 만들기",
"export": "주제 내보내기",
+ "import": "대화 가져오기",
"openInNewWindow": "새 창에서 열기",
"removeAll": "모든 주제 삭제",
"removeUnstarred": "즐겨찾기하지 않은 주제 삭제"
@@ -34,6 +35,10 @@
"desc": "왼쪽 버튼을 클릭하여 현재 대화를 역사 주제로 저장하고 새로운 대화를 시작하세요.",
"title": "주제 목록"
},
+ "importError": "가져오기 실패",
+ "importInvalidFormat": "파일 형식이 올바르지 않습니다. 유효한 JSON 파일인지 확인하세요.",
+ "importLoading": "대화를 가져오는 중...",
+ "importSuccess": "{{count}}개의 메시지를 성공적으로 가져왔습니다",
"loadMore": "더 보기",
"searchPlaceholder": "주제 검색...",
"searchResultEmpty": "검색 결과가 없습니다.",
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index a53ba0134ec..0188bc79f88 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -157,7 +157,7 @@
"inactive": "inactief",
"inbox": {
"desc": "Activeer de hersencluster en laat de vonken van gedachten overslaan. Je slimme assistent, hier om met je over alles te praten.",
- "title": "Praat maar raak"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Voeg een AI-bericht toe",
@@ -359,6 +359,11 @@
"downloadFile": "Bestand downloaden",
"downloadPdf": "PDF downloaden",
"downloadSuccess": "Download geslaagd",
+ "exportMode": {
+ "full": "Standaard",
+ "label": "Exportmodus",
+ "simple": "Compatibel met OpenAI"
+ },
"exportPdf": "Exporteren als PDF",
"exportTitle": "Standaardtitel",
"generatePdf": "PDF genereren",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autoriseren",
"authorizing": "Bezig met autoriseren...",
- "hint": "Zonder autorisatie of configuratie kunnen deze tools niet correct functioneren, wat kan leiden tot ontbrekende assistentfuncties of fouten.",
+ "hint": "Zonder toestemming of configuratie kunnen deze tools niet correct functioneren, wat kan leiden tot ontbrekende functies of fouten in de assistent.",
"signIn": "Inloggen",
- "title": "Deze assistent maakt gebruik van de volgende tools die autorisatie vereisen"
+ "title": "Autoriseer de tools voor de assistent"
},
"topic": {
"checkOpenNewTopic": "Is het openen van een nieuw onderwerp ingeschakeld?",
diff --git a/locales/nl-NL/editor.json b/locales/nl-NL/editor.json
index c2e6d433ec8..eec56409773 100644
--- a/locales/nl-NL/editor.json
+++ b/locales/nl-NL/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Voer TeX-formule in"
},
"modifier": {
- "accept": "Accepteren",
+ "accept": "Behouden",
"acceptAll": "Alles accepteren",
- "reject": "Weigeren",
+ "reject": "Ongedaan maken",
"rejectedAll": "Alles weigeren"
},
"slash": {
diff --git a/locales/nl-NL/hotkey.json b/locales/nl-NL/hotkey.json
index 2db9ddb7ea0..bfc159cebe8 100644
--- a/locales/nl-NL/hotkey.json
+++ b/locales/nl-NL/hotkey.json
@@ -34,7 +34,7 @@
"title": "Bewerk bericht"
},
"navigateToChat": {
- "desc": "Schakel over naar het gesprekstabblad en begin een willekeurig gesprek",
+ "desc": "Schakel over naar het chattabblad en ga naar Lobe AI",
"title": "Schakel over naar het standaardgesprek"
},
"openChatSettings": {
diff --git a/locales/nl-NL/plugin.json b/locales/nl-NL/plugin.json
index e7b0fe66356..41af8119422 100644
--- a/locales/nl-NL/plugin.json
+++ b/locales/nl-NL/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Parameterlijst"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/nl-NL/topic.json b/locales/nl-NL/topic.json
index 677c340f099..f0a8b31f129 100644
--- a/locales/nl-NL/topic.json
+++ b/locales/nl-NL/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "U staat op het punt om niet-gemarkeerde onderwerpen te verwijderen. Na verwijdering kunnen ze niet worden hersteld, wees voorzichtig.",
"duplicate": "Maak een kopie",
"export": "Exporteer onderwerp",
+ "import": "Gesprekken importeren",
"openInNewWindow": "In nieuw venster openen",
"removeAll": "Verwijder alle onderwerpen",
"removeUnstarred": "Verwijder niet-gemarkeerde onderwerpen"
@@ -34,6 +35,10 @@
"desc": "Klik op de knop aan de linkerkant om de huidige conversatie op te slaan als een historisch onderwerp en een nieuwe conversatie te starten.",
"title": "Onderwerpenlijst"
},
+ "importError": "Importeren mislukt",
+ "importInvalidFormat": "Ongeldig bestandsformaat. Zorg ervoor dat het een geldig JSON-bestand is.",
+ "importLoading": "Bezig met importeren van gesprekken...",
+ "importSuccess": "{{count}} berichten succesvol geïmporteerd",
"loadMore": "Meer laden",
"searchPlaceholder": "Zoek onderwerpen...",
"searchResultEmpty": "Geen zoekresultaten gevonden",
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index 7a21d94e8a7..68da0b08fde 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -157,7 +157,7 @@
"inactive": "Nieaktywny",
"inbox": {
"desc": "Włącz klastry mózgów, rozpal iskrę myślenia. Twój inteligentny asystent, gotowy do rozmowy o wszystkim.",
- "title": "Pogadajmy sobie"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Dodaj wiadomość AI",
@@ -359,6 +359,11 @@
"downloadFile": "Pobierz plik",
"downloadPdf": "Pobierz PDF",
"downloadSuccess": "Pobieranie zakończone sukcesem",
+ "exportMode": {
+ "full": "Domyślny",
+ "label": "Tryb eksportu",
+ "simple": "Zgodny z OpenAI"
+ },
"exportPdf": "Eksportuj jako PDF",
"exportTitle": "Domyślny tytuł",
"generatePdf": "Generuj PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Autoryzuj",
"authorizing": "Autoryzowanie...",
- "hint": "Jeśli nie udzielisz autoryzacji lub nie skonfigurujesz narzędzi, mogą one nie działać poprawnie, co może skutkować brakiem funkcji asystenta lub błędami.",
+ "hint": "Jeśli nie udzielisz autoryzacji lub nie skonfigurujesz tych narzędzi, mogą one nie działać poprawnie, co może prowadzić do błędów lub ograniczenia funkcji asystenta.",
"signIn": "Zaloguj się",
- "title": "Ten asystent korzysta z poniższych narzędzi wymagających autoryzacji"
+ "title": "Proszę autoryzować narzędzia dla asystenta"
},
"topic": {
"checkOpenNewTopic": "Czy otworzyć nowy temat?",
diff --git a/locales/pl-PL/editor.json b/locales/pl-PL/editor.json
index 3111f0d8626..c5c1b171903 100644
--- a/locales/pl-PL/editor.json
+++ b/locales/pl-PL/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Wprowadź formułę TeX"
},
"modifier": {
- "accept": "Akceptuj",
+ "accept": "Zachowaj",
"acceptAll": "Akceptuj wszystkie",
- "reject": "Odrzuć",
+ "reject": "Cofnij",
"rejectedAll": "Odrzuć wszystkie"
},
"slash": {
diff --git a/locales/pl-PL/hotkey.json b/locales/pl-PL/hotkey.json
index 3ff59c6bd21..19a2bd86a05 100644
--- a/locales/pl-PL/hotkey.json
+++ b/locales/pl-PL/hotkey.json
@@ -34,7 +34,7 @@
"title": "Edytuj wiadomość"
},
"navigateToChat": {
- "desc": "Przełącz na kartę rozmowy i rozpocznij swobodną rozmowę",
+ "desc": "Przełącz na kartę czatu i przejdź do Lobe AI",
"title": "Przełącz na domyślną rozmowę"
},
"openChatSettings": {
diff --git a/locales/pl-PL/plugin.json b/locales/pl-PL/plugin.json
index d80156442a3..0543f513dde 100644
--- a/locales/pl-PL/plugin.json
+++ b/locales/pl-PL/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Lista parametrów"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/pl-PL/topic.json b/locales/pl-PL/topic.json
index abd418f5dff..0c0b4e67717 100644
--- a/locales/pl-PL/topic.json
+++ b/locales/pl-PL/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Zaraz usuniesz tematy, które nie są ulubione. Po usunięciu nie będzie możliwości ich przywrócenia, proszę działać ostrożnie.",
"duplicate": "Utwórz kopię",
"export": "Eksportuj temat",
+ "import": "Importuj rozmowę",
"openInNewWindow": "Otwórz w nowym oknie",
"removeAll": "Usuń wszystkie tematy",
"removeUnstarred": "Usuń tematy, które nie są ulubione"
@@ -34,6 +35,10 @@
"desc": "Kliknij przycisk po lewej stronie, aby zapisać bieżącą rozmowę jako temat historyczny i rozpocząć nową rozmowę.",
"title": "Lista tematów"
},
+ "importError": "Import nie powiódł się",
+ "importInvalidFormat": "Nieprawidłowy format pliku, upewnij się, że to poprawny plik JSON",
+ "importLoading": "Importowanie rozmowy...",
+ "importSuccess": "Pomyślnie zaimportowano {{count}} wiadomości",
"loadMore": "Więcej",
"searchPlaceholder": "Szukaj tematów...",
"searchResultEmpty": "Brak wyników wyszukiwania",
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index 021e714312e..7ec4082b0e2 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -157,7 +157,7 @@
"inactive": "Inativo",
"inbox": {
"desc": "Ative o cluster cerebral, inspire faíscas de pensamento. Seu assistente inteligente, aqui para conversar sobre tudo.",
- "title": "Conversa Aleatória"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Adicionar uma mensagem de IA",
@@ -359,6 +359,11 @@
"downloadFile": "Baixar arquivo",
"downloadPdf": "Baixar PDF",
"downloadSuccess": "Download concluído com sucesso",
+ "exportMode": {
+ "full": "Padrão",
+ "label": "Modo de exportação",
+ "simple": "Compatível com OpenAI"
+ },
"exportPdf": "Exportar como PDF",
"exportTitle": "Título padrão",
"generatePdf": "Gerar PDF",
@@ -472,7 +477,7 @@
"authorizing": "Autorizando...",
"hint": "Se não for autorizado ou configurado, essas ferramentas não funcionarão corretamente, o que pode causar falhas ou erros nas funcionalidades do assistente.",
"signIn": "Entrar",
- "title": "Este assistente utiliza as seguintes ferramentas que requerem autorização"
+ "title": "Por favor, autorize as ferramentas para o assistente"
},
"topic": {
"checkOpenNewTopic": "Deseja abrir um novo tópico?",
diff --git a/locales/pt-BR/editor.json b/locales/pt-BR/editor.json
index 59385a3fffa..f356216e8ce 100644
--- a/locales/pt-BR/editor.json
+++ b/locales/pt-BR/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Por favor, insira a fórmula TeX"
},
"modifier": {
- "accept": "Aceitar",
+ "accept": "Manter",
"acceptAll": "Aceitar tudo",
- "reject": "Rejeitar",
+ "reject": "Cancelar",
"rejectedAll": "Rejeitar tudo"
},
"slash": {
diff --git a/locales/pt-BR/hotkey.json b/locales/pt-BR/hotkey.json
index d3475513116..4926700536a 100644
--- a/locales/pt-BR/hotkey.json
+++ b/locales/pt-BR/hotkey.json
@@ -34,7 +34,7 @@
"title": "Editar mensagem"
},
"navigateToChat": {
- "desc": "Mudar para a aba de conversas e entrar em bate-papo casual",
+ "desc": "Alternar para a aba de conversa e entrar no Lobe AI",
"title": "Mudar para a conversa padrão"
},
"openChatSettings": {
diff --git a/locales/pt-BR/plugin.json b/locales/pt-BR/plugin.json
index 1f0f696db19..ce89062374b 100644
--- a/locales/pt-BR/plugin.json
+++ b/locales/pt-BR/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Lista de Parâmetros"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/pt-BR/topic.json b/locales/pt-BR/topic.json
index 2ba203d6483..48166ad95cb 100644
--- a/locales/pt-BR/topic.json
+++ b/locales/pt-BR/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Você está prestes a remover tópicos não favoritos. Após a exclusão, não será possível recuperar. Por favor, proceda com cautela.",
"duplicate": "Criar cópia",
"export": "Exportar tópicos",
+ "import": "Importar conversa",
"openInNewWindow": "Abrir em uma nova janela",
"removeAll": "Remover todos os tópicos",
"removeUnstarred": "Remover tópicos não favoritos"
@@ -34,6 +35,10 @@
"desc": "Clique no botão à esquerda para salvar a conversa atual como um tópico histórico e iniciar uma nova conversa.",
"title": "Lista de tópicos"
},
+ "importError": "Falha na importação",
+ "importInvalidFormat": "Formato de arquivo inválido. Certifique-se de que é um arquivo JSON válido.",
+ "importLoading": "Importando conversa...",
+ "importSuccess": "{{count}} mensagens importadas com sucesso",
"loadMore": "Carregar mais",
"searchPlaceholder": "Pesquisar tópicos...",
"searchResultEmpty": "Nenhum resultado encontrado",
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 6a46589f3a7..6343b07167d 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -157,7 +157,7 @@
"inactive": "Неактивен",
"inbox": {
"desc": "Зажги искру мысли, открой кластер мозгов. Твой виртуальный ассистент, готовый обсудить все с тобой.",
- "title": "Просто поболтаем"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Добавить сообщение AI",
@@ -359,6 +359,11 @@
"downloadFile": "Скачать файл",
"downloadPdf": "Скачать PDF",
"downloadSuccess": "Загрузка успешна",
+ "exportMode": {
+ "full": "По умолчанию",
+ "label": "Режим экспорта",
+ "simple": "Совместим с OpenAI"
+ },
"exportPdf": "Экспорт в PDF",
"exportTitle": "Заголовок по умолчанию",
"generatePdf": "Создать PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Авторизовать",
"authorizing": "Авторизация...",
- "hint": "Если не авторизовать или не настроить, эти инструменты не будут работать должным образом, что может привести к отсутствию функций помощника или ошибкам.",
+ "hint": "Без авторизации или настройки эти инструменты могут работать некорректно, что может привести к ошибкам или ограниченной функциональности помощника.",
"signIn": "Войти",
- "title": "Этот помощник использует следующие инструменты, требующие авторизации"
+ "title": "Пожалуйста, авторизуйте инструменты для помощника"
},
"topic": {
"checkOpenNewTopic": "Открыть новую тему?",
diff --git a/locales/ru-RU/hotkey.json b/locales/ru-RU/hotkey.json
index 2c869ff9dec..6bd6f9f3b12 100644
--- a/locales/ru-RU/hotkey.json
+++ b/locales/ru-RU/hotkey.json
@@ -34,7 +34,7 @@
"title": "Редактировать сообщение"
},
"navigateToChat": {
- "desc": "Переключиться на вкладку чата и начать свободное общение",
+ "desc": "Переключиться на вкладку чата и войти в Lobe AI",
"title": "Переключиться на стандартный чат"
},
"openChatSettings": {
diff --git a/locales/ru-RU/plugin.json b/locales/ru-RU/plugin.json
index 670491c085c..18b4c5338bc 100644
--- a/locales/ru-RU/plugin.json
+++ b/locales/ru-RU/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Список параметров"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/ru-RU/topic.json b/locales/ru-RU/topic.json
index a274b3ca42e..0545f412fb2 100644
--- a/locales/ru-RU/topic.json
+++ b/locales/ru-RU/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Вы собираетесь удалить неотмеченные темы. После удаления их нельзя будет восстановить, пожалуйста, будьте осторожны.",
"duplicate": "Создать копию",
"export": "Экспортировать тему",
+ "import": "Импортировать диалог",
"openInNewWindow": "Открыть в новом окне",
"removeAll": "Удалить все темы",
"removeUnstarred": "Удалить неотмеченные темы"
@@ -34,6 +35,10 @@
"desc": "Нажмите кнопку слева от отправки, чтобы сохранить текущий разговор как историческую тему и начать новый разговор.",
"title": "Список тем"
},
+ "importError": "Ошибка импорта",
+ "importInvalidFormat": "Недопустимый формат файла. Убедитесь, что это корректный файл JSON.",
+ "importLoading": "Импорт диалога...",
+ "importSuccess": "Успешно импортировано {{count}} сообщений",
"loadMore": "Загрузить ещё",
"searchPlaceholder": "Поиск тем...",
"searchResultEmpty": "Нет результатов поиска",
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 3d0d7b5e764..40c96ee9ff5 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -157,7 +157,7 @@
"inactive": "Etkin değil",
"inbox": {
"desc": "Beyin fırtınasını başlatın ve yaratıcı düşünmeye başlayın. Sanal asistanınız burada, her konuda sizinle iletişim kurmak için hazır.",
- "title": "Sohbet Et"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Bir AI mesajı ekleyin",
@@ -359,6 +359,11 @@
"downloadFile": "Dosyayı İndir",
"downloadPdf": "PDF İndir",
"downloadSuccess": "İndirme Başarılı",
+ "exportMode": {
+ "full": "Varsayılan",
+ "label": "Dışa Aktarma Modu",
+ "simple": "OpenAI Uyumlu"
+ },
"exportPdf": "PDF Olarak Dışa Aktar",
"exportTitle": "Varsayılan Başlık",
"generatePdf": "PDF Oluştur",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Yetkilendir",
"authorizing": "Yetkilendiriliyor...",
- "hint": "Yetkilendirme veya yapılandırma yapılmazsa, bu araçlar düzgün çalışmayabilir ve asistanın bazı işlevleri eksik olabilir ya da hata verebilir.",
+ "hint": "Yetki verilmez veya yapılandırılmazsa, bu araçlar düzgün çalışmayabilir ve asistanın bazı işlevleri eksik olabilir ya da hata verebilir.",
"signIn": "Giriş Yap",
- "title": "Bu asistan, aşağıdaki yetkilendirme gerektiren araçları kullanmaktadır"
+ "title": "Lütfen asistan için araç yetkilendirmesini tamamlayın"
},
"topic": {
"checkOpenNewTopic": "Yeni bir konu açılsın mı?",
diff --git a/locales/tr-TR/hotkey.json b/locales/tr-TR/hotkey.json
index 7e63ad830ae..7e0694a58ae 100644
--- a/locales/tr-TR/hotkey.json
+++ b/locales/tr-TR/hotkey.json
@@ -34,7 +34,7 @@
"title": "Mesajı düzenle"
},
"navigateToChat": {
- "desc": "Sohbet sekmesine geç ve rastgele sohbet et",
+ "desc": "Sohbet sekmesine geç ve Lobe AI'ye gir",
"title": "Varsayılan sohbete geç"
},
"openChatSettings": {
diff --git a/locales/tr-TR/plugin.json b/locales/tr-TR/plugin.json
index 04ccb726a70..ad73157452c 100644
--- a/locales/tr-TR/plugin.json
+++ b/locales/tr-TR/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Parametre Listesi"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/tr-TR/topic.json b/locales/tr-TR/topic.json
index f32a1cf1053..dbb422e71c4 100644
--- a/locales/tr-TR/topic.json
+++ b/locales/tr-TR/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Favori olmayan konular silinecek, silindikten sonra geri alınamaz, lütfen dikkatli olun.",
"duplicate": "Kopya Oluştur",
"export": "Konuları Dışa Aktar",
+ "import": "Sohbeti içe aktar",
"openInNewWindow": "Yeni pencerede aç",
"removeAll": "Tüm Konuları Sil",
"removeUnstarred": "Favori Olmayan Konuları Sil"
@@ -34,6 +35,10 @@
"desc": "Mevcut sohbeti tarihsel konu olarak kaydetmek ve yeni bir sohbet başlatmak için sol taraftaki gönder butonuna tıklayın.",
"title": "Konu Listesi"
},
+ "importError": "İçe aktarma başarısız oldu",
+ "importInvalidFormat": "Geçersiz dosya formatı, lütfen geçerli bir JSON dosyası olduğundan emin olun",
+ "importLoading": "Sohbet içe aktarılıyor...",
+ "importSuccess": "{{count}} mesaj başarıyla içe aktarıldı",
"loadMore": "Daha Fazla",
"searchPlaceholder": "Konuları Ara...",
"searchResultEmpty": "Hiçbir arama sonucu bulunamadı",
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 29878cdeb51..6d732bd50a6 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -157,7 +157,7 @@
"inactive": "Không hoạt động",
"inbox": {
"desc": "Kích hoạt cụm não, khơi dậy tia lửa tư duy. Trợ lý thông minh của bạn, ở đây để trò chuyện với bạn về mọi thứ.",
- "title": "Chuyện phiếm"
+ "title": "Lobe AI"
},
"input": {
"addAi": "Thêm một tin nhắn AI",
@@ -359,6 +359,11 @@
"downloadFile": "Tải tệp",
"downloadPdf": "Tải xuống PDF",
"downloadSuccess": "Tải xuống thành công",
+ "exportMode": {
+ "full": "Mặc định",
+ "label": "Chế độ xuất",
+ "simple": "Tương thích với OpenAI"
+ },
"exportPdf": "Xuất ra PDF",
"exportTitle": "Tiêu đề mặc định",
"generatePdf": "Tạo PDF",
@@ -470,9 +475,9 @@
"toolAuth": {
"authorize": "Ủy quyền",
"authorizing": "Đang ủy quyền...",
- "hint": "Nếu không ủy quyền hoặc cấu hình, các công cụ này sẽ không hoạt động bình thường, có thể dẫn đến thiếu chức năng trợ lý hoặc lỗi.",
+ "hint": "Nếu không cấp quyền hoặc cấu hình, các công cụ này sẽ không hoạt động bình thường, có thể dẫn đến thiếu chức năng trợ lý hoặc lỗi.",
"signIn": "Đăng nhập",
- "title": "Trợ lý này sử dụng các công cụ sau cần được ủy quyền"
+ "title": "Vui lòng hoàn tất cấp quyền công cụ cho trợ lý"
},
"topic": {
"checkOpenNewTopic": "Có muốn mở chủ đề mới không?",
diff --git a/locales/vi-VN/editor.json b/locales/vi-VN/editor.json
index 773042ce27c..a5dd723c72e 100644
--- a/locales/vi-VN/editor.json
+++ b/locales/vi-VN/editor.json
@@ -41,9 +41,9 @@
"placeholder": "Vui lòng nhập công thức TeX"
},
"modifier": {
- "accept": "Chấp nhận",
+ "accept": "Giữ lại",
"acceptAll": "Chấp nhận tất cả",
- "reject": "Từ chối",
+ "reject": "Hủy bỏ",
"rejectedAll": "Từ chối tất cả"
},
"slash": {
diff --git a/locales/vi-VN/hotkey.json b/locales/vi-VN/hotkey.json
index c8198916bec..ce521df08ba 100644
--- a/locales/vi-VN/hotkey.json
+++ b/locales/vi-VN/hotkey.json
@@ -34,7 +34,7 @@
"title": "Chỉnh sửa tin nhắn"
},
"navigateToChat": {
- "desc": "Chuyển sang tab trò chuyện và bắt đầu cuộc trò chuyện ngẫu nhiên",
+ "desc": "Chuyển sang thẻ trò chuyện và vào Lobe AI",
"title": "Chuyển sang cuộc trò chuyện mặc định"
},
"openChatSettings": {
diff --git a/locales/vi-VN/plugin.json b/locales/vi-VN/plugin.json
index 85b7726f96d..6df646594d1 100644
--- a/locales/vi-VN/plugin.json
+++ b/locales/vi-VN/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "Danh sách tham số"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/vi-VN/topic.json b/locales/vi-VN/topic.json
index bda26ef9b19..c1f0f6f4011 100644
--- a/locales/vi-VN/topic.json
+++ b/locales/vi-VN/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "Sắp xóa các chủ đề chưa được đánh dấu, sau khi xóa sẽ không thể khôi phục, xin hãy cẩn thận.",
"duplicate": "Tạo bản sao",
"export": "Xuất chủ đề",
+ "import": "Nhập cuộc trò chuyện",
"openInNewWindow": "Mở trong cửa sổ mới",
"removeAll": "Xóa tất cả các chủ đề",
"removeUnstarred": "Xóa các chủ đề chưa được đánh dấu"
@@ -34,6 +35,10 @@
"desc": "Nhấn nút bên trái để lưu cuộc trò chuyện hiện tại thành chủ đề lịch sử và bắt đầu một cuộc trò chuyện mới.",
"title": "Danh sách chủ đề"
},
+ "importError": "Nhập thất bại",
+ "importInvalidFormat": "Định dạng tệp không hợp lệ, vui lòng đảm bảo đó là tệp JSON hợp lệ",
+ "importLoading": "Đang nhập cuộc trò chuyện...",
+ "importSuccess": "Đã nhập thành công {{count}} tin nhắn",
"loadMore": "Xem thêm",
"searchPlaceholder": "Tìm kiếm chủ đề...",
"searchResultEmpty": "Không có kết quả tìm kiếm nào",
diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.json
index 6ceee9a9c1c..b9e97b22c1f 100644
--- a/locales/zh-CN/chat.json
+++ b/locales/zh-CN/chat.json
@@ -157,7 +157,7 @@
"inactive": "不活跃",
"inbox": {
"desc": "开启大脑集群,激发思维火花。你的智能助理,在这里与你交流一切",
- "title": "随便聊聊"
+ "title": "Lobe AI"
},
"input": {
"addAi": "添加一条 AI 消息",
@@ -475,9 +475,9 @@
"toolAuth": {
"authorize": "授权",
"authorizing": "授权中...",
- "hint": "请为助手完成工具的授权",
+ "hint": "如不授权或配置,这些工具将无法正常使用,可能导致助手功能缺失或报错。",
"signIn": "登录",
- "title": "该助手使用了以下需要授权的工具"
+ "title": "请为助手完成工具的授权"
},
"topic": {
"checkOpenNewTopic": "是否开启新话题?",
diff --git a/locales/zh-CN/editor.json b/locales/zh-CN/editor.json
index 6ddbc64cc81..bb9ddeeeae6 100644
--- a/locales/zh-CN/editor.json
+++ b/locales/zh-CN/editor.json
@@ -41,9 +41,9 @@
"placeholder": "请输入 TeX 公式"
},
"modifier": {
- "accept": "接受",
+ "accept": "保留",
"acceptAll": "全部接受",
- "reject": "拒绝",
+ "reject": "撤销",
"rejectedAll": "全部拒绝"
},
"slash": {
diff --git a/locales/zh-CN/hotkey.json b/locales/zh-CN/hotkey.json
index 48f9e0b7cac..ce0cf870d75 100644
--- a/locales/zh-CN/hotkey.json
+++ b/locales/zh-CN/hotkey.json
@@ -34,7 +34,7 @@
"title": "编辑消息"
},
"navigateToChat": {
- "desc": "切换至会话标签并进入随便聊聊",
+ "desc": "切换至会话标签并进入Lobe AI",
"title": "切换至默认会话"
},
"openChatSettings": {
diff --git a/locales/zh-CN/plugin.json b/locales/zh-CN/plugin.json
index e755bbc6f89..f81e817bf5d 100644
--- a/locales/zh-CN/plugin.json
+++ b/locales/zh-CN/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "参数列表"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index 322614d08d2..1b32737867a 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -157,7 +157,7 @@
"inactive": "不活躍",
"inbox": {
"desc": "開啟大腦集群,激發思維火花。你的智能助理,在這裡與你交流一切",
- "title": "隨便聊聊"
+ "title": "Lobe AI"
},
"input": {
"addAi": "新增一條 AI 訊息",
@@ -359,6 +359,11 @@
"downloadFile": "下載檔案",
"downloadPdf": "下載 PDF",
"downloadSuccess": "下載成功",
+ "exportMode": {
+ "full": "預設",
+ "label": "匯出模式",
+ "simple": "OpenAI 相容"
+ },
"exportPdf": "匯出為 PDF",
"exportTitle": "預設標題",
"generatePdf": "生成 PDF",
@@ -472,7 +477,7 @@
"authorizing": "授權中...",
"hint": "若未授權或設定,這些工具將無法正常使用,可能導致助手功能缺失或發生錯誤。",
"signIn": "登入",
- "title": "此助手使用了以下需要授權的工具"
+ "title": "請為助手完成工具的授權"
},
"topic": {
"checkOpenNewTopic": "是否開啟新主題?",
diff --git a/locales/zh-TW/editor.json b/locales/zh-TW/editor.json
index a0451500a10..0a6c1fea82d 100644
--- a/locales/zh-TW/editor.json
+++ b/locales/zh-TW/editor.json
@@ -41,9 +41,9 @@
"placeholder": "請輸入 TeX 公式"
},
"modifier": {
- "accept": "接受",
+ "accept": "保留",
"acceptAll": "全部接受",
- "reject": "拒絕",
+ "reject": "撤銷",
"rejectedAll": "全部拒絕"
},
"slash": {
diff --git a/locales/zh-TW/hotkey.json b/locales/zh-TW/hotkey.json
index 289f58dc887..6f7158f8176 100644
--- a/locales/zh-TW/hotkey.json
+++ b/locales/zh-TW/hotkey.json
@@ -34,7 +34,7 @@
"title": "編輯消息"
},
"navigateToChat": {
- "desc": "切換至會話標籤並進入隨便聊聊",
+ "desc": "切換至對話標籤並進入 Lobe AI",
"title": "切換至預設會話"
},
"openChatSettings": {
diff --git a/locales/zh-TW/plugin.json b/locales/zh-TW/plugin.json
index 720c6595c72..ab4961a977d 100644
--- a/locales/zh-TW/plugin.json
+++ b/locales/zh-TW/plugin.json
@@ -1,4 +1,7 @@
{
+ "arguments": {
+ "title": "參數清單"
+ },
"builtins": {
"lobe-agent-builder": {
"apiName": {
diff --git a/locales/zh-TW/topic.json b/locales/zh-TW/topic.json
index 332ce3ae064..1a1c07e37d6 100644
--- a/locales/zh-TW/topic.json
+++ b/locales/zh-TW/topic.json
@@ -7,6 +7,7 @@
"confirmRemoveUnstarred": "即將刪除未收藏話題,刪除後將不可恢復,請謹慎操作。",
"duplicate": "創建副本",
"export": "匯出話題",
+ "import": "匯入對話",
"openInNewWindow": "在新視窗中開啟",
"removeAll": "刪除全部話題",
"removeUnstarred": "刪除未收藏話題"
@@ -34,6 +35,10 @@
"desc": "點擊發送左側按鈕可將當前會話保存為歷史話題,並開啟新一輪會話",
"title": "話題列表"
},
+ "importError": "匯入失敗",
+ "importInvalidFormat": "檔案格式無效,請確認為有效的 JSON 檔案",
+ "importLoading": "正在匯入對話...",
+ "importSuccess": "成功匯入 {{count}} 則訊息",
"loadMore": "載入更多",
"searchPlaceholder": "搜尋話題...",
"searchResultEmpty": "目前沒有搜尋結果",
diff --git a/package.json b/package.json
index 8fdcb41f8c6..c286fda8183 100644
--- a/package.json
+++ b/package.json
@@ -196,7 +196,7 @@
"@lobehub/icons": "^3.0.0",
"@lobehub/market-sdk": "^0.23.8",
"@lobehub/tts": "^3.0.0",
- "@lobehub/ui": "^3.4.1",
+ "@lobehub/ui": "^3.4.2",
"@modelcontextprotocol/sdk": "^1.25.1",
"@neondatabase/serverless": "^1.0.2",
"@next/third-parties": "^16.1.0",
diff --git a/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx b/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx
index 7fab37e1e45..65e16cfa47c 100644
--- a/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx
+++ b/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx
@@ -47,15 +47,12 @@ const useStyles = createStyles(({ css, token }) => ({
background: transparent !important;
}
- .ant-collapse-content {
+ .ant-collapse-body {
+ padding: 0 !important;
border: none !important;
background: transparent !important;
}
- .ant-collapse-content-box {
- padding: 0 !important;
- }
-
.ant-collapse-expand-icon {
padding-inline-end: 4px !important;
}
diff --git a/src/app/[variants]/(mobile)/(home)/features/SessionListContent/List/Item/index.tsx b/src/app/[variants]/(mobile)/(home)/features/SessionListContent/List/Item/index.tsx
index fc6279c89d9..eca0220ae4b 100644
--- a/src/app/[variants]/(mobile)/(home)/features/SessionListContent/List/Item/index.tsx
+++ b/src/app/[variants]/(mobile)/(home)/features/SessionListContent/List/Item/index.tsx
@@ -53,7 +53,7 @@ const SessionItem = memo<SessionItemProps>(({ id }) => {
];
});
- // Only hide the model tag for the inbox session itself (随便聊聊)
+ // Only hide the model tag for the inbox session itself (Lobe AI)
const showModel = sessionType === 'agent' && model && id !== INBOX_SESSION_ID;
const handleDoubleClick = () => {
diff --git a/src/app/[variants]/onboarding/features/ResponseLanguageStep.tsx b/src/app/[variants]/onboarding/features/ResponseLanguageStep.tsx
index ade8c30c59c..b4a9916fdf0 100644
--- a/src/app/[variants]/onboarding/features/ResponseLanguageStep.tsx
+++ b/src/app/[variants]/onboarding/features/ResponseLanguageStep.tsx
@@ -67,9 +67,9 @@ const ResponseLanguageStep = memo<ResponseLanguageStepProps>(({ onBack, onNext }
showSearch
size="large"
style={{
- fontSize: 28,
+ fontSize: 20,
+ fontWeight: 'bold',
width: '100%',
- zoom: 1.1,
}}
value={value}
/>
diff --git a/src/components/CopyableLabel/index.tsx b/src/components/CopyableLabel/index.tsx
index 8c08bf46be9..0a5f76c3da7 100644
--- a/src/components/CopyableLabel/index.tsx
+++ b/src/components/CopyableLabel/index.tsx
@@ -1,36 +1,41 @@
import { CopyButton, Flexbox, Text } from '@lobehub/ui';
import { CSSProperties, memo } from 'react';
-const CopyableLabel = memo<{ style?: CSSProperties; value?: string | null }>(
- ({ style, value = '--' }) => {
- return (
- <Flexbox
- align={'center'}
- gap={4}
- horizontal
+interface CopyableLabelProps {
+ className?: string;
+ style?: CSSProperties;
+ value?: string | null;
+}
+
+const CopyableLabel = memo<CopyableLabelProps>(({ className, style, value = '--' }) => {
+ return (
+ <Flexbox
+ align={'center'}
+ className={className}
+ gap={4}
+ horizontal
+ style={{
+ overflow: 'hidden',
+ position: 'relative',
+ ...style,
+ }}
+ >
+ <Text
+ ellipsis
style={{
+ color: 'inherit',
+ fontFamily: 'inherit',
+ fontSize: 'inherit',
+ margin: 0,
overflow: 'hidden',
- position: 'relative',
- ...style,
+ width: '100%',
}}
>
- <Text
- ellipsis
- style={{
- color: 'inherit',
- fontFamily: 'inherit',
- fontSize: 'inherit',
- margin: 0,
- overflow: 'hidden',
- width: '100%',
- }}
- >
- {value || '--'}
- </Text>
- <CopyButton content={value || '--'} size={'small'} />
- </Flexbox>
- );
- },
-);
+ {value || '--'}
+ </Text>
+ <CopyButton content={value || '--'} size={'small'} />
+ </Flexbox>
+ );
+});
export default CopyableLabel;
diff --git a/src/components/Descriptions/index.tsx b/src/components/Descriptions/index.tsx
index 328e08df5c3..7f0ad3a6834 100644
--- a/src/components/Descriptions/index.tsx
+++ b/src/components/Descriptions/index.tsx
@@ -28,22 +28,50 @@ const useStyles = createStyles(({ responsive, css, token }) => {
});
export interface DescriptionItem {
+ className?: string;
+ classNames?: {
+ label?: string;
+ value?: string;
+ };
copyable?: boolean;
icon?: IconProps['icon'];
key: string;
label: ReactNode;
style?: CSSProperties;
+ styles?: {
+ label?: CSSProperties;
+ value?: CSSProperties;
+ };
value: ReactNode;
}
interface DescriptionsProps extends Omit<GridProps, 'children'> {
bordered?: boolean;
+ classNames?: {
+ item?: string;
+ label?: string;
+ value?: string;
+ };
items: DescriptionItem[];
labelWidth?: number | string;
+ styles?: {
+ item?: CSSProperties;
+ label?: CSSProperties;
+ value?: CSSProperties;
+ };
}
const Descriptions = memo<DescriptionsProps>(
- ({ labelWidth = 150, title, bordered, className, items, ...rest }) => {
+ ({
+ labelWidth = 150,
+ title,
+ bordered,
+ className,
+ items,
+ classNames,
+ styles: customStyles,
+ ...rest
+ }) => {
const { cx, styles, theme } = useStyles();
return (
@@ -58,13 +86,15 @@ const Descriptions = memo<DescriptionsProps>(
{items.map((item) => (
<Flexbox
align={'center'}
- className={cx(bordered && styles.cell)}
+ className={cx(bordered && styles.cell, item.className, classNames?.item)}
flex={1}
horizontal
key={item.key}
style={{
overflow: 'hidden',
position: 'relative',
+ ...customStyles?.item,
+ ...item.style,
}}
>
<Flexbox
@@ -80,9 +110,12 @@ const Descriptions = memo<DescriptionsProps>(
>
{item.icon && <Icon color={theme.colorTextSecondary} icon={item.icon} />}
<Text
+ className={cx(classNames?.label, item.classNames?.label)}
ellipsis
style={{
color: theme.colorTextSecondary,
+ ...customStyles?.label,
+ ...item.styles?.label,
}}
>
{item.label}
@@ -99,11 +132,16 @@ const Descriptions = memo<DescriptionsProps>(
>
{item.copyable ? (
<CopyableLabel
- style={item.style}
+ className={cx(classNames?.value, item.classNames?.value)}
+ style={{ ...customStyles?.value, ...item.styles?.value }}
value={item.value ? String(item.value) : '--'}
/>
) : (
- <Text ellipsis style={{ ...item.style }}>
+ <Text
+ className={cx(classNames?.value, item.classNames?.value)}
+ ellipsis
+ style={{ ...customStyles?.value, ...item.styles?.value }}
+ >
{item.value}
</Text>
)}
diff --git a/src/features/Conversation/ChatItem/components/ErrorContent.tsx b/src/features/Conversation/ChatItem/components/ErrorContent.tsx
index aec67023f93..c34e7ccfa5a 100644
--- a/src/features/Conversation/ChatItem/components/ErrorContent.tsx
+++ b/src/features/Conversation/ChatItem/components/ErrorContent.tsx
@@ -1,4 +1,4 @@
-import { Alert , Skeleton } from '@lobehub/ui';
+import { Alert, Skeleton } from '@lobehub/ui';
import { Suspense, memo } from 'react';
import { useConversationStore } from '@/features/Conversation';
@@ -24,20 +24,24 @@ const ErrorContent = memo<ErrorContentProps>(({ customErrorRender, error, id })
return (
<Alert
+ closable
+ extraIsolate={false}
+ showIcon
+ type={'secondary'}
+ {...error}
afterClose={() => {
+ error?.afterClose?.();
if (id) {
deleteMessage(id);
}
}}
- closable
- showIcon
style={{
overflow: 'hidden',
position: 'relative',
width: '100%',
+ ...error.style,
}}
- type={'secondary'}
- {...error}
+ title={error.message}
/>
);
});
diff --git a/src/features/Conversation/Error/index.tsx b/src/features/Conversation/Error/index.tsx
index 52d4c9becd6..b4c634ff600 100644
--- a/src/features/Conversation/Error/index.tsx
+++ b/src/features/Conversation/Error/index.tsx
@@ -1,7 +1,7 @@
import { AgentRuntimeErrorType, ILobeAgentRuntimeErrorType } from '@lobechat/model-runtime';
import { ChatErrorType, ChatMessageError, ErrorType } from '@lobechat/types';
import { IPluginErrorType } from '@lobehub/chat-plugin-sdk';
-import { AlertProps, Block , Skeleton } from '@lobehub/ui';
+import { AlertProps, Block, Highlighter, Skeleton } from '@lobehub/ui';
import dynamic from 'next/dynamic';
import { memo, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -45,8 +45,6 @@ const getErrorAlertConfig = (
// OpenAIBizError / ZhipuBizError / GoogleBizError / ...
if (typeof errorType === 'string' && (errorType.includes('Biz') || errorType.includes('Invalid')))
return {
- extraDefaultExpand: true,
- extraIsolate: true,
type: 'secondary',
};
@@ -72,8 +70,6 @@ const getErrorAlertConfig = (
case AgentRuntimeErrorType.ComfyUIServiceUnavailable:
case AgentRuntimeErrorType.InvalidComfyUIArgs: {
return {
- extraDefaultExpand: true,
- extraIsolate: true,
type: 'secondary',
};
}
@@ -134,7 +130,24 @@ const ErrorMessageExtra = memo<ErrorExtraProps>(({ error: alertError, data }) =>
return <ChatInvalidAPIKey id={data.id} provider={data.error?.body?.provider} />;
}
- return <ErrorContent error={alertError} id={data.id} />;
+ return (
+ <ErrorContent
+ error={{
+ ...alertError,
+ extra: data.error?.body ? (
+ <Highlighter
+ actionIconSize={'small'}
+ language={'json'}
+ padding={8}
+ variant={'borderless'}
+ >
+ {JSON.stringify(data.error?.body, null, 2)}
+ </Highlighter>
+ ) : undefined,
+ }}
+ id={data.id}
+ />
+ );
});
export default ErrorMessageExtra;
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ToolTitle.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ToolTitle.tsx
index 60bd757e37e..ef0d14c5cd8 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ToolTitle.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ToolTitle.tsx
@@ -17,7 +17,6 @@ export const useStyles = createStyles(({ css, token }) => ({
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
- font-family: ${token.fontFamilyCode};
color: ${token.colorTextDescription};
`,
shinyText: shinyTextStylish(token),
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ObjectEntity.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ObjectEntity.tsx
deleted file mode 100644
index 37406123e94..00000000000
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ObjectEntity.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { createStyles } from 'antd-style';
-import { memo } from 'react';
-
-import { shinyTextStylish } from '@/styles/loading';
-
-import ValueCell from './ValueCell';
-
-const useStyles = createStyles(({ css, token }) => ({
- arrayRow: css`
- &:not(:first-child) {
- border-block-start: 1px dotted ${token.colorBorderSecondary};
- }
- `,
- colon: css`
- color: ${token.colorTextTertiary};
- `,
- key: css`
- color: ${token.colorTextTertiary};
- `,
- row: css`
- display: flex;
- align-items: baseline;
-
- &:not(:first-child) {
- border-block-start: 1px dotted ${token.colorBorderSecondary};
- }
- `,
- shineText: shinyTextStylish(token),
- value: css`
- color: ${token.colorTextSecondary};
- `,
-}));
-
-const formatValue = (value: any): string | string[] => {
- if (Array.isArray(value)) {
- return value.map((v) => (typeof v === 'object' ? JSON.stringify(v) : v));
- }
-
- if (typeof value === 'object' && value !== null) {
- return Object.entries(value)
- .map(([k, v]) => `${k}: ${typeof v === 'object' ? JSON.stringify(v) : v}`)
- .join(', ');
- }
- return String(value);
-};
-
-interface ObjectEntityProps {
- editable?: boolean;
- hasMinWidth: boolean;
- objectKey: string;
- shine?: boolean;
- value: any;
-}
-
-const ObjectEntity = memo<ObjectEntityProps>(({ hasMinWidth, shine, value, objectKey }) => {
- const { styles, cx } = useStyles();
- const formatedValue = formatValue(value);
-
- return (
- <div className={styles.row}>
- <span className={styles.key} style={{ minWidth: hasMinWidth ? 140 : undefined }}>
- {objectKey}
- </span>
- <span className={styles.colon}>:</span>
- <div className={cx(shine ? styles.shineText : styles.value)} style={{ width: '100%' }}>
- {typeof formatedValue === 'string' ? (
- <ValueCell value={formatedValue} />
- ) : (
- formatedValue.map((v, i) => <ValueCell key={i + v} value={v} />)
- )}
- </div>
- </div>
- );
-});
-
-export default ObjectEntity;
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ValueCell.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ValueCell.tsx
deleted file mode 100644
index 38d35f48522..00000000000
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/ValueCell.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { copyToClipboard } from '@lobehub/ui';
-import { App } from 'antd';
-import { createStyles } from 'antd-style';
-import { memo } from 'react';
-import { useTranslation } from 'react-i18next';
-
-const useStyles = createStyles(({ css, token }) => ({
- copyable: css`
- cursor: pointer;
- width: 100%;
- margin-block: 2px;
- padding: 4px;
-
- &:hover {
- border-radius: 6px;
- background: ${token.colorFillTertiary};
- }
- `,
-}));
-
-interface ValueCellProps {
- value: string;
-}
-
-const ValueCell = memo<ValueCellProps>(({ value }) => {
- const { message } = App.useApp();
- const { t } = useTranslation('common');
- const { styles } = useStyles();
-
- return (
- <div
- className={styles.copyable}
- onClick={async () => {
- await copyToClipboard(value);
- message.success(t('copySuccess'));
- }}
- >
- {value}
- </div>
- );
-});
-
-export default ValueCell;
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/index.tsx
index 9ce1ec162ba..edebcd38068 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/index.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/Arguments/index.tsx
@@ -1,73 +1,41 @@
-import { Flexbox, Highlighter } from '@lobehub/ui';
+import { Flexbox, Highlighter, Text } from '@lobehub/ui';
+import { Divider } from 'antd';
import { createStyles } from 'antd-style';
import { parse } from 'partial-json';
+import { rgba } from 'polished';
import { ReactNode, memo, useMemo } from 'react';
+import { useTranslation } from 'react-i18next';
+import Descriptions, { DescriptionItem } from '@/components/Descriptions';
import { useYamlArguments } from '@/hooks/useYamlArguments';
+import { shinyTextStylish } from '@/styles/loading';
-import ObjectEntity from './ObjectEntity';
-
-const useStyles = createStyles(({ css, token, cx }) => ({
- button: css`
- color: ${token.colorTextSecondary};
-
- &:hover {
- color: ${token.colorText};
- }
- `,
- codeContainer: css`
- border-radius: ${token.borderRadiusLG}px;
- `,
- container: css`
- position: relative;
-
- overflow: auto;
-
- max-height: 200px;
- padding-block: 4px;
- padding-inline: 12px 64px;
- border-radius: ${token.borderRadiusLG}px;
-
- font-family: ${token.fontFamilyCode};
- font-size: 13px;
- line-height: 1.5;
-
- background: ${token.colorFillQuaternary};
-
- pre {
- margin: 0 !important;
- background: none !important;
- }
-
- &:hover {
- .actions {
- opacity: 1;
- }
- }
- `,
- editButton: cx(
- 'actions',
- css`
- position: absolute;
- z-index: 10;
- inset-block-start: 4px;
- inset-inline-end: 4px;
+const useStyles = createStyles(({ token }) => ({
+ shineText: shinyTextStylish(token),
+}));
- opacity: 0;
+const formatValue = (value: any): string => {
+ if (Array.isArray(value)) {
+ return value.map((v) => (typeof v === 'object' ? JSON.stringify(v) : v)).join(', ');
+ }
- transition: opacity 0.2s ${token.motionEaseInOut};
- `,
- ),
-}));
+ if (typeof value === 'object' && value !== null) {
+ return Object.entries(value)
+ .map(([k, v]) => `${k}: ${typeof v === 'object' ? JSON.stringify(v) : v}`)
+ .join(', ');
+ }
+ return String(value);
+};
export interface ArgumentsProps {
actions?: ReactNode;
arguments?: string;
- shine?: boolean;
+ loading?: boolean;
}
-const Arguments = memo<ArgumentsProps>(({ arguments: args = '', shine, actions }) => {
- const { styles } = useStyles();
+const Arguments = memo<ArgumentsProps>(({ arguments: args = '', loading, actions }) => {
+ const { t } = useTranslation('plugin');
+ const { styles, cx, theme } = useStyles();
const displayArgs = useMemo(() => {
try {
@@ -81,54 +49,60 @@ const Arguments = memo<ArgumentsProps>(({ arguments: args = '', shine, actions }
const yaml = useYamlArguments(args);
- const showActions = !!actions;
+ let contentNode;
if (typeof displayArgs === 'string') {
- return (
- !!yaml && (
- <div className={styles.container}>
- <Highlighter language={'yaml'} showLanguage={false}>
- {yaml}
- </Highlighter>
- </div>
- )
+ contentNode = !!yaml && (
+ <Highlighter language={'yaml'} showLanguage={false}>
+ {yaml}
+ </Highlighter>
+ );
+ } else if (Object.keys(displayArgs).length === 0) {
+ contentNode = null;
+ } else {
+ const items: DescriptionItem[] = Object.entries(displayArgs).map(([key, value]) => ({
+ copyable: true,
+ key,
+ label: key,
+ value: formatValue(value),
+ }));
+
+ contentNode = (
+ <Flexbox paddingBlock={4} paddingInline={16}>
+ <Descriptions
+ bordered={false}
+ classNames={{
+ label: cx(loading && styles.shineText),
+ }}
+ items={items}
+ labelWidth={140}
+ maxItemWidth={'100%'}
+ styles={{
+ label: loading ? { color: rgba(theme.colorText, 0.33) } : {},
+ }}
+ />
+ </Flexbox>
);
}
- // if (args.length > 100) {
- // return (
- // <Highlighter language={'json'} showLanguage={false} variant={'filled'}>
- // {JSON.stringify(displayArgs, null, 2)}
- // </Highlighter>
- // );
- // }
-
- const hasMinWidth = Object.keys(displayArgs).length > 1;
-
- if (Object.keys(displayArgs).length === 0) return null;
-
return (
- <div className={styles.container}>
- {showActions && (
- <Flexbox className={styles.editButton} gap={4} horizontal>
+ <>
+ <Flexbox
+ align={'center'}
+ gap={4}
+ horizontal
+ justify={'space-between'}
+ paddingBlock={8}
+ paddingInline={16}
+ >
+ <Text>{t('arguments.title')}</Text>
+ <Flexbox gap={4} horizontal>
{actions}
</Flexbox>
- )}
- <Flexbox>
- {Object.entries(displayArgs).map(([key, value]) => {
- return (
- <ObjectEntity
- editable={false}
- hasMinWidth={hasMinWidth}
- key={key}
- objectKey={key}
- shine={shine}
- value={value}
- />
- );
- })}
</Flexbox>
- </div>
+ <Divider style={{ marginBlock: 0 }} />
+ {contentNode}
+ </>
);
});
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/CustomRender.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/CustomRender.tsx
index e7df67ab045..8fffb5868b2 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/CustomRender.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/CustomRender.tsx
@@ -1,5 +1,6 @@
import { ChatPluginPayload } from '@lobechat/types';
-import { Flexbox, Highlighter } from '@lobehub/ui';
+import { Block, Flexbox, Highlighter } from '@lobehub/ui';
+import { Divider } from 'antd';
import { memo, useEffect, useMemo } from 'react';
import PluginRender from '@/features/PluginsUI/Render';
@@ -64,6 +65,19 @@ const CustomRender = memo<CustomRenderProps>(
// Show plugin custom UI if applicable
if (showPluginRender) {
+ console.log(
+ <PluginRender
+ arguments={plugin?.arguments}
+ content={content}
+ identifier={plugin?.identifier}
+ loading={false}
+ messageId={messageId}
+ payload={plugin}
+ pluginState={pluginState}
+ toolCallId={toolCallId}
+ type={plugin?.type}
+ />,
+ );
return (
<Flexbox gap={12} id={toolCallId} width={'100%'}>
<PluginRender
@@ -83,18 +97,26 @@ const CustomRender = memo<CustomRenderProps>(
// Default render: show arguments and result
return (
- <Flexbox gap={12} id={toolCallId} width={'100%'}>
+ <Block id={toolCallId} variant={'outlined'} width={'100%'}>
<Arguments arguments={requestArgs} />
{content && (
- <Highlighter
- language={language}
- style={{ maxHeight: 200, overflow: 'scroll', width: '100%' }}
- variant={'outlined'}
- >
- {data}
- </Highlighter>
+ <>
+ <Divider dashed style={{ marginBlock: 0 }} />
+ <Highlighter
+ language={language}
+ style={{
+ background: 'transparent',
+ borderRadius: 0,
+ maxHeight: 300,
+ overflow: 'auto',
+ }}
+ variant={'filled'}
+ >
+ {data}
+ </Highlighter>
+ </>
)}
- </Flexbox>
+ </Block>
);
},
);
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/LoadingPlaceholder/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/LoadingPlaceholder/index.tsx
index b23b8a6775a..1a3a29df32f 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Render/LoadingPlaceholder/index.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Render/LoadingPlaceholder/index.tsx
@@ -22,7 +22,7 @@ const LoadingPlaceholder = memo<LoadingPlaceholderProps>(
);
}
- return <Arguments arguments={requestArgs} shine={loading} />;
+ return <Arguments arguments={requestArgs} loading={loading} />;
},
);
diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/index.tsx
index a2288df5962..34833bb8c3a 100644
--- a/src/features/Conversation/Messages/AssistantGroup/Tool/index.tsx
+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/index.tsx
@@ -64,7 +64,7 @@ const Tool = memo<GroupToolProps>(
if (renderDisplayControl !== 'collapsed') {
handleExpand?.(true);
}
- }, [renderDisplayControl, handleExpand]);
+ }, [renderDisplayControl]);
return (
<AccordionItem
diff --git a/src/features/PluginsUI/Render/MCPType/index.tsx b/src/features/PluginsUI/Render/MCPType/index.tsx
index 158cd4d689d..fbc5227bf23 100644
--- a/src/features/PluginsUI/Render/MCPType/index.tsx
+++ b/src/features/PluginsUI/Render/MCPType/index.tsx
@@ -35,11 +35,7 @@ const MCPType = memo<MCPTypeProps>(({ pluginState, arguments: args }) => {
!hasImage ? { maxHeight: 400, overflow: 'scroll', padding: 8, width: '100%' } : undefined
}
>
- {args && (
- <div>
- <Arguments arguments={args} />
- </div>
- )}
+ {args && <Arguments arguments={args} />}
<Flexbox>
<Flexbox>
{content.map((item, index) => {
diff --git a/src/features/User/UserAvatar.tsx b/src/features/User/UserAvatar.tsx
index a959bb36e6d..791e6039a92 100644
--- a/src/features/User/UserAvatar.tsx
+++ b/src/features/User/UserAvatar.tsx
@@ -50,7 +50,7 @@ export interface UserAvatarProps extends AvatarProps {
const UserAvatar = forwardRef<HTMLDivElement, UserAvatarProps>(
({ size = 40, background, clickable, className, style, ...rest }, ref) => {
- const { styles, cx, theme } = useStyles();
+ const { styles, cx } = useStyles();
const [avatar, nickName, username] = useUserStore((s) => [
userProfileSelectors.userAvatar(s),
userProfileSelectors.nickName(s),
@@ -77,7 +77,7 @@ const UserAvatar = forwardRef<HTMLDivElement, UserAvatarProps>(
<Avatar
alt={isSignedIn ? nickName || username || 'User' : BRANDING_NAME}
avatar={avatarUrl || nickName || username}
- background={avatarUrl ? background : theme.colorText}
+ background={background}
className={cx(clickable && styles.clickable, className)}
ref={ref}
shape={'square'}
diff --git a/src/features/User/UserPanel/LangButton.tsx b/src/features/User/UserPanel/LangButton.tsx
index d075849dcfb..6db51293b82 100644
--- a/src/features/User/UserPanel/LangButton.tsx
+++ b/src/features/User/UserPanel/LangButton.tsx
@@ -28,9 +28,9 @@ const LangButton = memo<{ placement?: PopoverProps['placement']; size?: number }
{
key: 'auto',
label: (
- <Flexbox>
- <Text>{t('settingCommon.lang.autoMode')}</Text>
- <Text fontSize={12} type={'secondary'}>
+ <Flexbox gap={4}>
+ <Text style={{ lineHeight: 1.2 }}>{t('settingCommon.lang.autoMode')}</Text>
+ <Text fontSize={12} style={{ lineHeight: 1.2 }} type={'secondary'}>
{t(`lang.auto` as any, { ns: 'common' })}
</Text>
</Flexbox>
@@ -40,9 +40,9 @@ const LangButton = memo<{ placement?: PopoverProps['placement']; size?: number }
...localeOptions.map((item) => ({
key: item.value,
label: (
- <Flexbox key={item.value}>
- <Text>{item.label}</Text>
- <Text fontSize={12} type={'secondary'}>
+ <Flexbox gap={4} key={item.value}>
+ <Text style={{ lineHeight: 1.2 }}>{item.label}</Text>
+ <Text fontSize={12} style={{ lineHeight: 1.2 }} type={'secondary'}>
{t(`lang.${item.value}` as any, { ns: 'common' })}
</Text>
</Flexbox>
diff --git a/src/hooks/useHotkeys/globalScope.ts b/src/hooks/useHotkeys/globalScope.ts
index 4c346af4dd7..70614846b9f 100644
--- a/src/hooks/useHotkeys/globalScope.ts
+++ b/src/hooks/useHotkeys/globalScope.ts
@@ -7,7 +7,7 @@ import { useGlobalStore } from '@/store/global';
import { useHotkeyById } from './useHotkeyById';
-// 切换到会话标签(并聚焦到随便聊聊)
+// 切换到会话标签(并聚焦到Lobe AI)
export const useNavigateToChatHotkey = () => {
const navigateToAgent = useNavigateToAgent();
const [, { unpinAgent }] = usePinnedAgentState();
diff --git a/src/locales/default/chat.ts b/src/locales/default/chat.ts
index e742529438f..84c3120d3ba 100644
--- a/src/locales/default/chat.ts
+++ b/src/locales/default/chat.ts
@@ -160,7 +160,7 @@ export default {
inactive: '不活跃',
inbox: {
desc: '开启大脑集群,激发思维火花。你的智能助理,在这里与你交流一切',
- title: '随便聊聊',
+ title: 'Lobe AI',
},
input: {
addAi: '添加一条 AI 消息',
diff --git a/src/locales/default/editor.ts b/src/locales/default/editor.ts
index 66b6920cfad..9516e256aa2 100644
--- a/src/locales/default/editor.ts
+++ b/src/locales/default/editor.ts
@@ -41,9 +41,9 @@ export default {
placeholder: '请输入 TeX 公式',
},
modifier: {
- accept: '接受',
+ accept: '保留',
acceptAll: '全部接受',
- reject: '拒绝',
+ reject: '撤销',
rejectedAll: '全部拒绝',
},
slash: {
diff --git a/src/locales/default/hotkey.ts b/src/locales/default/hotkey.ts
index 845f3acbb5c..ef2a5167144 100644
--- a/src/locales/default/hotkey.ts
+++ b/src/locales/default/hotkey.ts
@@ -38,7 +38,7 @@ const hotkey: HotkeyI18nTranslations & {
title: '编辑消息',
},
navigateToChat: {
- desc: '切换至会话标签并进入随便聊聊',
+ desc: '切换至会话标签并进入Lobe AI',
title: '切换至默认会话',
},
openChatSettings: {
diff --git a/src/locales/default/plugin.ts b/src/locales/default/plugin.ts
index 15760b5c4d2..56f8f8c8cf2 100644
--- a/src/locales/default/plugin.ts
+++ b/src/locales/default/plugin.ts
@@ -1,4 +1,7 @@
export default {
+ arguments: {
+ title: '参数列表',
+ },
builtins: {
'lobe-agent-builder': {
apiName: {