An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve document tree interactions https://github.com/siyuan-note/siyuan/issues/18097
Danielda77a4565238
diff --git a/app/appearance/langs/ar.json b/app/appearance/langs/ar.jsonindex 69f488069f..bc12df8abe 100644--- a/app/appearance/langs/ar.json+++ b/app/appearance/langs/ar.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "انقر فوق أيقونة المستند لتوسيع المستندات الفرعية أو طيها",+ "docIconClickExpandTip": "عند التمكين، يؤدي النقر فوق أيقونة المستند إلى توسيع المستندات الفرعية أو طيها، ولا يحدث شيء إذا لم توجد مستندات فرعية؛ وعند التعطيل، يؤدي النقر فوق أيقونة المستند إلى تغيير الأيقونة",+ "parentDocClickExpand": "انقر فوق عنوان المستند الأصل لتوسيع المستندات الفرعية أو طيها",+ "parentDocClickExpandTip": "عند التمكين، يؤدي النقر فوق عنوان المستند الأصل إلى توسيع المستندات الفرعية أو طيها، ويمكن فتح المستند الأصل عبر «فتح» في قائمة النقر بزر الماوس الأيمن؛ وإذا لم توجد مستندات فرعية، فسيظل النقر يفتح المستند مباشرةً","mcpStatusAuthorizing": "جارٍ التفويض","mcpStatusAuthorizationRequired": "التفويض مطلوب","mcpAuthorize": "تفويض","mcpDisconnectAuthorization": "قطع التفويض","mcpDisconnectAuthorizationConfirm": "هل تريد قطع تفويض OAuth لهذه الخدمة البعيدة؟",- "switchLeftDock": "تبديل تخطيط اللوحة اليسرى",- "switchRightDock": "تبديل تخطيط اللوحة اليمنى",- "switchBottomDock": "تبديل تخطيط اللوحة السفلية",- "aiImageUnderstandingTip": "يحلل الصور. اختر نموذجًا يدعم إدخال الصور",- "aiImageGenerationTip": "ينشئ الصور. اختر نموذجًا يدعم إخراج الصور",- "aiImageUnderstanding": "فهم الصور",- "aiImageGeneration": "إنشاء الصور",- "agentEffectDataEgress": "سيتم إرسال بيانات المستند أو الصورة إلى موفر واجهة API المهيأ",- "agentEffectExternalCost": "قد تترتب رسوم على استخدام واجهة API الخارجية",- "agentEffectLocalWrite": "سيتم تعديل البيانات المحلية",+ "switchLeftDock": "تبديل تخطيط اللوحة اليسرى",+ "switchRightDock": "تبديل تخطيط اللوحة اليمنى",+ "switchBottomDock": "تبديل تخطيط اللوحة السفلية",+ "aiImageUnderstandingTip": "يحلل الصور. اختر نموذجًا يدعم إدخال الصور",+ "aiImageGenerationTip": "ينشئ الصور. اختر نموذجًا يدعم إخراج الصور",+ "aiImageUnderstanding": "فهم الصور",+ "aiImageGeneration": "إنشاء الصور",+ "agentEffectDataEgress": "سيتم إرسال بيانات المستند أو الصورة إلى موفر واجهة API المهيأ",+ "agentEffectExternalCost": "قد تترتب رسوم على استخدام واجهة API الخارجية",+ "agentEffectLocalWrite": "سيتم تعديل البيانات المحلية","agentRetrying": "جارٍ إعادة المحاولة (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "مهلة خمول التدفق","agentStreamIdleTimeoutTip": "أقصى مدة دون إخراج من النموذج قبل إيقاف الطلب",diff --git a/app/appearance/langs/de.json b/app/appearance/langs/de.jsonindex b7a8397964..e1d61b3a91 100644--- a/app/appearance/langs/de.json+++ b/app/appearance/langs/de.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Dokumentsymbol zum Ein- oder Ausklappen untergeordneter Dokumente anklicken",+ "docIconClickExpandTip": "Wenn aktiviert, werden untergeordnete Dokumente durch Anklicken des Dokumentsymbols ein- oder ausgeklappt; ohne untergeordnete Dokumente geschieht nichts. Wenn deaktiviert, wird durch Anklicken des Dokumentsymbols das Symbol geändert",+ "parentDocClickExpand": "Titel des übergeordneten Dokuments zum Ein- oder Ausklappen untergeordneter Dokumente anklicken",+ "parentDocClickExpandTip": "Wenn aktiviert, werden untergeordnete Dokumente durch Anklicken des Titels des übergeordneten Dokuments ein- oder ausgeklappt; das übergeordnete Dokument kann über „Öffnen“ im Kontextmenü geöffnet werden. Ohne untergeordnete Dokumente wird das Dokument weiterhin direkt geöffnet","mcpStatusAuthorizing": "Autorisierung läuft","mcpStatusAuthorizationRequired": "Autorisierung erforderlich","mcpAuthorize": "Autorisieren","mcpDisconnectAuthorization": "Autorisierung trennen","mcpDisconnectAuthorizationConfirm": "OAuth-Autorisierung für diesen Remotedienst trennen?",- "switchLeftDock": "Layout des linken Bereichs wechseln",- "switchRightDock": "Layout des rechten Bereichs wechseln",- "switchBottomDock": "Layout des unteren Bereichs wechseln",- "aiImageUnderstandingTip": "Analysiert Bilder. Wählen Sie ein Modell mit Bildeingabe",- "aiImageGenerationTip": "Erzeugt Bilder. Wählen Sie ein Modell mit Bildausgabe",- "aiImageUnderstanding": "Bildverständnis",- "aiImageGeneration": "Bilderzeugung",- "agentEffectDataEgress": "Dokument- oder Bilddaten werden an den konfigurierten API-Anbieter gesendet",- "agentEffectExternalCost": "Es können Gebühren des externen API-Anbieters anfallen",- "agentEffectLocalWrite": "Lokale Daten werden geändert",+ "switchLeftDock": "Layout des linken Bereichs wechseln",+ "switchRightDock": "Layout des rechten Bereichs wechseln",+ "switchBottomDock": "Layout des unteren Bereichs wechseln",+ "aiImageUnderstandingTip": "Analysiert Bilder. Wählen Sie ein Modell mit Bildeingabe",+ "aiImageGenerationTip": "Erzeugt Bilder. Wählen Sie ein Modell mit Bildausgabe",+ "aiImageUnderstanding": "Bildverständnis",+ "aiImageGeneration": "Bilderzeugung",+ "agentEffectDataEgress": "Dokument- oder Bilddaten werden an den konfigurierten API-Anbieter gesendet",+ "agentEffectExternalCost": "Es können Gebühren des externen API-Anbieters anfallen",+ "agentEffectLocalWrite": "Lokale Daten werden geändert","agentRetrying": "Erneuter Versuch (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Leerlaufzeitlimit des Streams","agentStreamIdleTimeoutTip": "Maximale Zeit ohne Modellausgabe, bevor die Anfrage beendet wird",diff --git a/app/appearance/langs/en.json b/app/appearance/langs/en.jsonindex 2676f23aa0..36c135d452 100644--- a/app/appearance/langs/en.json+++ b/app/appearance/langs/en.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Click document icon to expand or collapse child documents",+ "docIconClickExpandTip": "When enabled, clicking a document icon expands or collapses child documents, and does nothing when there are no child documents; when disabled, clicking a document icon changes the icon",+ "parentDocClickExpand": "Click parent document title to expand or collapse child documents",+ "parentDocClickExpandTip": "When enabled, clicking a parent document title expands or collapses child documents, and the parent document can be opened using Open in the context menu; when there are no child documents, clicking still opens the document directly","mcpStatusAuthorizing": "Authorizing","mcpStatusAuthorizationRequired": "Authorization required","mcpAuthorize": "Authorize","mcpDisconnectAuthorization": "Disconnect authorization","mcpDisconnectAuthorizationConfirm": "Disconnect OAuth authorization for this remote service?",- "switchLeftDock": "Switch left panel layout",- "switchRightDock": "Switch right panel layout",- "switchBottomDock": "Switch bottom panel layout",- "aiImageUnderstandingTip": "Analyzes images. Select a model that supports image input",- "aiImageGenerationTip": "Generates images. Select a model that supports image output",- "aiImageUnderstanding": "Image Understanding",- "aiImageGeneration": "Image Generation",- "agentEffectDataEgress": "Document or image data will be sent to the configured API provider",- "agentEffectExternalCost": "External API charges may apply",- "agentEffectLocalWrite": "Local data will be modified",+ "switchLeftDock": "Switch left panel layout",+ "switchRightDock": "Switch right panel layout",+ "switchBottomDock": "Switch bottom panel layout",+ "aiImageUnderstandingTip": "Analyzes images. Select a model that supports image input",+ "aiImageGenerationTip": "Generates images. Select a model that supports image output",+ "aiImageUnderstanding": "Image Understanding",+ "aiImageGeneration": "Image Generation",+ "agentEffectDataEgress": "Document or image data will be sent to the configured API provider",+ "agentEffectExternalCost": "External API charges may apply",+ "agentEffectLocalWrite": "Local data will be modified","agentRetrying": "Retrying (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Stream Idle Timeout","agentStreamIdleTimeoutTip": "Maximum time without model output before the request is stopped",diff --git a/app/appearance/langs/es.json b/app/appearance/langs/es.jsonindex b7c95d0ab8..2b38030f29 100644--- a/app/appearance/langs/es.json+++ b/app/appearance/langs/es.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Haz clic en el icono del documento para expandir o contraer los documentos secundarios",+ "docIconClickExpandTip": "Cuando está activado, al hacer clic en el icono de un documento se expanden o contraen los documentos secundarios, y no ocurre nada si no hay documentos secundarios; cuando está desactivado, al hacer clic en el icono se cambia el icono",+ "parentDocClickExpand": "Haz clic en el título del documento principal para expandir o contraer los documentos secundarios",+ "parentDocClickExpandTip": "Cuando está activado, al hacer clic en el título de un documento principal se expanden o contraen los documentos secundarios; el documento principal puede abrirse mediante «Abrir» en el menú contextual. Si no hay documentos secundarios, el documento se seguirá abriendo directamente","mcpStatusAuthorizing": "Autorizando","mcpStatusAuthorizationRequired": "Se requiere autorización","mcpAuthorize": "Autorizar","mcpDisconnectAuthorization": "Desconectar autorización","mcpDisconnectAuthorizationConfirm": "¿Desconectar la autorización OAuth de este servicio remoto?",- "switchLeftDock": "Cambiar el diseño del panel izquierdo",- "switchRightDock": "Cambiar el diseño del panel derecho",- "switchBottomDock": "Cambiar el diseño del panel inferior",- "aiImageUnderstandingTip": "Analiza imágenes. Selecciona un modelo que admita entrada de imágenes",- "aiImageGenerationTip": "Genera imágenes. Selecciona un modelo que admita salida de imágenes",- "aiImageUnderstanding": "Comprensión de imágenes",- "aiImageGeneration": "Generación de imágenes",- "agentEffectDataEgress": "Los datos del documento o de la imagen se enviarán al proveedor de API configurado",- "agentEffectExternalCost": "Pueden aplicarse cargos de la API externa",- "agentEffectLocalWrite": "Se modificarán los datos locales",+ "switchLeftDock": "Cambiar el diseño del panel izquierdo",+ "switchRightDock": "Cambiar el diseño del panel derecho",+ "switchBottomDock": "Cambiar el diseño del panel inferior",+ "aiImageUnderstandingTip": "Analiza imágenes. Selecciona un modelo que admita entrada de imágenes",+ "aiImageGenerationTip": "Genera imágenes. Selecciona un modelo que admita salida de imágenes",+ "aiImageUnderstanding": "Comprensión de imágenes",+ "aiImageGeneration": "Generación de imágenes",+ "agentEffectDataEgress": "Los datos del documento o de la imagen se enviarán al proveedor de API configurado",+ "agentEffectExternalCost": "Pueden aplicarse cargos de la API externa",+ "agentEffectLocalWrite": "Se modificarán los datos locales","agentRetrying": "Reintentando (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Tiempo de espera inactivo del flujo","agentStreamIdleTimeoutTip": "Tiempo máximo sin salida del modelo antes de detener la solicitud",diff --git a/app/appearance/langs/fr.json b/app/appearance/langs/fr.jsonindex 447c99687f..e600d93ed5 100644--- a/app/appearance/langs/fr.json+++ b/app/appearance/langs/fr.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Cliquer sur l’icône du document pour développer ou réduire les documents enfants",+ "docIconClickExpandTip": "Lorsque cette option est activée, cliquer sur l’icône d’un document développe ou réduit ses documents enfants et ne produit aucun effet s’il n’en existe pas ; lorsqu’elle est désactivée, cliquer sur l’icône permet de la modifier",+ "parentDocClickExpand": "Cliquer sur le titre du document parent pour développer ou réduire les documents enfants",+ "parentDocClickExpandTip": "Lorsque cette option est activée, cliquer sur le titre d’un document parent développe ou réduit ses documents enfants ; le document parent peut être ouvert avec « Ouvrir » dans le menu contextuel. En l’absence de documents enfants, le document s’ouvre toujours directement","mcpStatusAuthorizing": "Autorisation en cours","mcpStatusAuthorizationRequired": "Autorisation requise","mcpAuthorize": "Autoriser","mcpDisconnectAuthorization": "Déconnecter l’autorisation","mcpDisconnectAuthorizationConfirm": "Déconnecter l’autorisation OAuth de ce service distant ?",- "switchLeftDock": "Changer la disposition du panneau gauche",- "switchRightDock": "Changer la disposition du panneau droit",- "switchBottomDock": "Changer la disposition du panneau inférieur",- "aiImageUnderstandingTip": "Analyse les images. Sélectionnez un modèle prenant en charge les images en entrée",- "aiImageGenerationTip": "Génère des images. Sélectionnez un modèle prenant en charge les images en sortie",- "aiImageUnderstanding": "Compréhension d’images",- "aiImageGeneration": "Génération d’images",- "agentEffectDataEgress": "Les données du document ou de l’image seront envoyées au fournisseur d’API configuré",- "agentEffectExternalCost": "Des frais d’API externe peuvent s’appliquer",- "agentEffectLocalWrite": "Les données locales seront modifiées",+ "switchLeftDock": "Changer la disposition du panneau gauche",+ "switchRightDock": "Changer la disposition du panneau droit",+ "switchBottomDock": "Changer la disposition du panneau inférieur",+ "aiImageUnderstandingTip": "Analyse les images. Sélectionnez un modèle prenant en charge les images en entrée",+ "aiImageGenerationTip": "Génère des images. Sélectionnez un modèle prenant en charge les images en sortie",+ "aiImageUnderstanding": "Compréhension d’images",+ "aiImageGeneration": "Génération d’images",+ "agentEffectDataEgress": "Les données du document ou de l’image seront envoyées au fournisseur d’API configuré",+ "agentEffectExternalCost": "Des frais d’API externe peuvent s’appliquer",+ "agentEffectLocalWrite": "Les données locales seront modifiées","agentRetrying": "Nouvelle tentative (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Délai d'inactivité du flux","agentStreamIdleTimeoutTip": "Durée maximale sans sortie du modèle avant l'arrêt de la requête",diff --git a/app/appearance/langs/he.json b/app/appearance/langs/he.jsonindex 3487c137be..3e578dbef2 100644--- a/app/appearance/langs/he.json+++ b/app/appearance/langs/he.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "לחיצה על סמל המסמך כדי להרחיב או לכווץ מסמכי משנה",+ "docIconClickExpandTip": "כאשר האפשרות מופעלת, לחיצה על סמל מסמך מרחיבה או מכווצת מסמכי משנה, ואינה מבצעת פעולה כשאין מסמכי משנה; כאשר האפשרות מושבתת, לחיצה על סמל המסמך משנה את הסמל",+ "parentDocClickExpand": "לחיצה על כותרת מסמך האב כדי להרחיב או לכווץ מסמכי משנה",+ "parentDocClickExpandTip": "כאשר האפשרות מופעלת, לחיצה על כותרת מסמך האב מרחיבה או מכווצת מסמכי משנה, וניתן לפתוח את מסמך האב באמצעות „פתיחה” בתפריט ההקשר; כשאין מסמכי משנה, לחיצה עדיין פותחת את המסמך ישירות","mcpStatusAuthorizing": "מתבצע אישור","mcpStatusAuthorizationRequired": "נדרש אישור","mcpAuthorize": "אישור","mcpDisconnectAuthorization": "ניתוק האישור","mcpDisconnectAuthorizationConfirm": "לנתק את אישור OAuth עבור שירות מרוחק זה?",- "switchLeftDock": "החלף את פריסת החלונית השמאלית",- "switchRightDock": "החלף את פריסת החלונית הימנית",- "switchBottomDock": "החלף את פריסת החלונית התחתונה",- "aiImageUnderstandingTip": "מנתח תמונות. יש לבחור מודל התומך בקלט תמונה",- "aiImageGenerationTip": "יוצר תמונות. יש לבחור מודל התומך בפלט תמונה",- "aiImageUnderstanding": "הבנת תמונות",- "aiImageGeneration": "יצירת תמונות",- "agentEffectDataEgress": "נתוני המסמך או התמונה יישלחו לספק ה-API שהוגדר",- "agentEffectExternalCost": "ייתכנו חיובים עבור ה-API החיצוני",- "agentEffectLocalWrite": "הנתונים המקומיים ישתנו",+ "switchLeftDock": "החלף את פריסת החלונית השמאלית",+ "switchRightDock": "החלף את פריסת החלונית הימנית",+ "switchBottomDock": "החלף את פריסת החלונית התחתונה",+ "aiImageUnderstandingTip": "מנתח תמונות. יש לבחור מודל התומך בקלט תמונה",+ "aiImageGenerationTip": "יוצר תמונות. יש לבחור מודל התומך בפלט תמונה",+ "aiImageUnderstanding": "הבנת תמונות",+ "aiImageGeneration": "יצירת תמונות",+ "agentEffectDataEgress": "נתוני המסמך או התמונה יישלחו לספק ה-API שהוגדר",+ "agentEffectExternalCost": "ייתכנו חיובים עבור ה-API החיצוני",+ "agentEffectLocalWrite": "הנתונים המקומיים ישתנו","agentRetrying": "מנסה שוב (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "זמן קצוב לחוסר פעילות בזרם","agentStreamIdleTimeoutTip": "משך הזמן המרבי ללא פלט מהמודל לפני עצירת הבקשה",diff --git a/app/appearance/langs/hi.json b/app/appearance/langs/hi.jsonindex 80973b4802..4957a71e1d 100644--- a/app/appearance/langs/hi.json+++ b/app/appearance/langs/hi.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "चाइल्ड दस्तावेज़ों को विस्तृत या संक्षिप्त करने के लिए दस्तावेज़ आइकन पर क्लिक करें",+ "docIconClickExpandTip": "सक्षम होने पर दस्तावेज़ आइकन पर क्लिक करने से चाइल्ड दस्तावेज़ विस्तृत या संक्षिप्त होते हैं और चाइल्ड दस्तावेज़ न होने पर कोई कार्रवाई नहीं होती; अक्षम होने पर दस्तावेज़ आइकन पर क्लिक करने से आइकन बदलता है",+ "parentDocClickExpand": "चाइल्ड दस्तावेज़ों को विस्तृत या संक्षिप्त करने के लिए पैरेंट दस्तावेज़ के शीर्षक पर क्लिक करें",+ "parentDocClickExpandTip": "सक्षम होने पर पैरेंट दस्तावेज़ के शीर्षक पर क्लिक करने से चाइल्ड दस्तावेज़ विस्तृत या संक्षिप्त होते हैं और संदर्भ मेनू में “खोलें” से पैरेंट दस्तावेज़ खोला जा सकता है; चाइल्ड दस्तावेज़ न होने पर क्लिक करने से दस्तावेज़ सीधे खुलता है","mcpStatusAuthorizing": "प्राधिकरण जारी है","mcpStatusAuthorizationRequired": "प्राधिकरण आवश्यक है","mcpAuthorize": "प्राधिकृत करें","mcpDisconnectAuthorization": "प्राधिकरण डिस्कनेक्ट करें","mcpDisconnectAuthorizationConfirm": "क्या इस दूरस्थ सेवा का OAuth प्राधिकरण डिस्कनेक्ट करना है?",- "switchLeftDock": "बाएँ पैनल का लेआउट बदलें",- "switchRightDock": "दाएँ पैनल का लेआउट बदलें",- "switchBottomDock": "निचले पैनल का लेआउट बदलें",- "aiImageUnderstandingTip": "चित्रों का विश्लेषण करता है। चित्र इनपुट समर्थित मॉडल चुनें",- "aiImageGenerationTip": "चित्र बनाता है। चित्र आउटपुट समर्थित मॉडल चुनें",- "aiImageUnderstanding": "छवि समझ",- "aiImageGeneration": "छवि निर्माण",- "agentEffectDataEgress": "दस्तावेज़ या छवि डेटा कॉन्फ़िगर किए गए API प्रदाता को भेजा जाएगा",- "agentEffectExternalCost": "बाहरी API शुल्क लागू हो सकते हैं",- "agentEffectLocalWrite": "स्थानीय डेटा में बदलाव किया जाएगा",+ "switchLeftDock": "बाएँ पैनल का लेआउट बदलें",+ "switchRightDock": "दाएँ पैनल का लेआउट बदलें",+ "switchBottomDock": "निचले पैनल का लेआउट बदलें",+ "aiImageUnderstandingTip": "चित्रों का विश्लेषण करता है। चित्र इनपुट समर्थित मॉडल चुनें",+ "aiImageGenerationTip": "चित्र बनाता है। चित्र आउटपुट समर्थित मॉडल चुनें",+ "aiImageUnderstanding": "छवि समझ",+ "aiImageGeneration": "छवि निर्माण",+ "agentEffectDataEgress": "दस्तावेज़ या छवि डेटा कॉन्फ़िगर किए गए API प्रदाता को भेजा जाएगा",+ "agentEffectExternalCost": "बाहरी API शुल्क लागू हो सकते हैं",+ "agentEffectLocalWrite": "स्थानीय डेटा में बदलाव किया जाएगा","agentRetrying": "पुनः प्रयास जारी है (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "स्ट्रीम निष्क्रियता समय सीमा","agentStreamIdleTimeoutTip": "अनुरोध रोकने से पहले मॉडल आउटपुट के बिना अधिकतम समय",diff --git a/app/appearance/langs/id.json b/app/appearance/langs/id.jsonindex 2b1d1a126a..74d1072b1e 100644--- a/app/appearance/langs/id.json+++ b/app/appearance/langs/id.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Klik ikon dokumen untuk memperluas atau menciutkan dokumen anak",+ "docIconClickExpandTip": "Jika diaktifkan, mengeklik ikon dokumen akan memperluas atau menciutkan dokumen anak dan tidak melakukan apa pun jika tidak ada dokumen anak; jika dinonaktifkan, mengeklik ikon dokumen akan mengubah ikon",+ "parentDocClickExpand": "Klik judul dokumen induk untuk memperluas atau menciutkan dokumen anak",+ "parentDocClickExpandTip": "Jika diaktifkan, mengeklik judul dokumen induk akan memperluas atau menciutkan dokumen anak, dan dokumen induk dapat dibuka melalui “Buka” di menu konteks; jika tidak ada dokumen anak, mengeklik tetap akan membuka dokumen secara langsung","mcpStatusAuthorizing": "Mengotorisasi","mcpStatusAuthorizationRequired": "Otorisasi diperlukan","mcpAuthorize": "Otorisasi","mcpDisconnectAuthorization": "Putuskan otorisasi","mcpDisconnectAuthorizationConfirm": "Putuskan otorisasi OAuth untuk layanan jarak jauh ini?",- "switchLeftDock": "Ganti tata letak panel kiri",- "switchRightDock": "Ganti tata letak panel kanan",- "switchBottomDock": "Ganti tata letak panel bawah",- "aiImageUnderstandingTip": "Menganalisis gambar. Pilih model yang mendukung masukan gambar",- "aiImageGenerationTip": "Membuat gambar. Pilih model yang mendukung keluaran gambar",- "aiImageUnderstanding": "Pemahaman Gambar",- "aiImageGeneration": "Pembuatan Gambar",- "agentEffectDataEgress": "Data dokumen atau gambar akan dikirim ke penyedia API yang dikonfigurasi",- "agentEffectExternalCost": "Biaya API eksternal mungkin berlaku",- "agentEffectLocalWrite": "Data lokal akan diubah",+ "switchLeftDock": "Ganti tata letak panel kiri",+ "switchRightDock": "Ganti tata letak panel kanan",+ "switchBottomDock": "Ganti tata letak panel bawah",+ "aiImageUnderstandingTip": "Menganalisis gambar. Pilih model yang mendukung masukan gambar",+ "aiImageGenerationTip": "Membuat gambar. Pilih model yang mendukung keluaran gambar",+ "aiImageUnderstanding": "Pemahaman Gambar",+ "aiImageGeneration": "Pembuatan Gambar",+ "agentEffectDataEgress": "Data dokumen atau gambar akan dikirim ke penyedia API yang dikonfigurasi",+ "agentEffectExternalCost": "Biaya API eksternal mungkin berlaku",+ "agentEffectLocalWrite": "Data lokal akan diubah","agentRetrying": "Mencoba lagi (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Batas waktu diam aliran","agentStreamIdleTimeoutTip": "Waktu maksimum tanpa keluaran model sebelum permintaan dihentikan",diff --git a/app/appearance/langs/it.json b/app/appearance/langs/it.jsonindex 1eb6a15ada..98b0cccda4 100644--- a/app/appearance/langs/it.json+++ b/app/appearance/langs/it.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Fai clic sull’icona del documento per espandere o comprimere i documenti secondari",+ "docIconClickExpandTip": "Quando è attiva, facendo clic sull’icona di un documento si espandono o comprimono i documenti secondari e non accade nulla se non sono presenti; quando è disattiva, facendo clic sull’icona la si modifica",+ "parentDocClickExpand": "Fai clic sul titolo del documento principale per espandere o comprimere i documenti secondari",+ "parentDocClickExpandTip": "Quando è attiva, facendo clic sul titolo di un documento principale si espandono o comprimono i documenti secondari; il documento principale può essere aperto tramite “Apri” nel menu contestuale. Se non sono presenti documenti secondari, il documento viene comunque aperto direttamente","mcpStatusAuthorizing": "Autorizzazione in corso","mcpStatusAuthorizationRequired": "Autorizzazione richiesta","mcpAuthorize": "Autorizza","mcpDisconnectAuthorization": "Disconnetti autorizzazione","mcpDisconnectAuthorizationConfirm": "Disconnettere l’autorizzazione OAuth per questo servizio remoto?",- "switchLeftDock": "Cambia il layout del pannello sinistro",- "switchRightDock": "Cambia il layout del pannello destro",- "switchBottomDock": "Cambia il layout del pannello inferiore",- "aiImageUnderstandingTip": "Analizza le immagini. Seleziona un modello che supporti l’input di immagini",- "aiImageGenerationTip": "Genera immagini. Seleziona un modello che supporti l’output di immagini",- "aiImageUnderstanding": "Comprensione delle immagini",- "aiImageGeneration": "Generazione di immagini",- "agentEffectDataEgress": "I dati del documento o dell’immagine verranno inviati al provider API configurato",- "agentEffectExternalCost": "Potrebbero essere applicati costi per l’API esterna",- "agentEffectLocalWrite": "I dati locali verranno modificati",+ "switchLeftDock": "Cambia il layout del pannello sinistro",+ "switchRightDock": "Cambia il layout del pannello destro",+ "switchBottomDock": "Cambia il layout del pannello inferiore",+ "aiImageUnderstandingTip": "Analizza le immagini. Seleziona un modello che supporti l’input di immagini",+ "aiImageGenerationTip": "Genera immagini. Seleziona un modello che supporti l’output di immagini",+ "aiImageUnderstanding": "Comprensione delle immagini",+ "aiImageGeneration": "Generazione di immagini",+ "agentEffectDataEgress": "I dati del documento o dell’immagine verranno inviati al provider API configurato",+ "agentEffectExternalCost": "Potrebbero essere applicati costi per l’API esterna",+ "agentEffectLocalWrite": "I dati locali verranno modificati","agentRetrying": "Nuovo tentativo (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Timeout di inattività del flusso","agentStreamIdleTimeoutTip": "Tempo massimo senza output del modello prima di interrompere la richiesta",diff --git a/app/appearance/langs/ja.json b/app/appearance/langs/ja.jsonindex 70068cdcdf..b165c8c471 100644--- a/app/appearance/langs/ja.json+++ b/app/appearance/langs/ja.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "文書アイコンをクリックして子文書を展開または折りたたむ",+ "docIconClickExpandTip": "有効にすると、文書アイコンをクリックして子文書を展開または折りたためます。子文書がない場合は何も実行されません。無効にすると、文書アイコンをクリックしてアイコンを変更できます",+ "parentDocClickExpand": "親文書のタイトルをクリックして子文書を展開または折りたたむ",+ "parentDocClickExpandTip": "有効にすると、親文書のタイトルをクリックして子文書を展開または折りたためます。親文書はコンテキストメニューの「開く」から開けます。子文書がない場合は、クリックすると文書が直接開きます","mcpStatusAuthorizing": "認可中","mcpStatusAuthorizationRequired": "認可が必要です","mcpAuthorize": "認可","mcpDisconnectAuthorization": "認可を解除","mcpDisconnectAuthorizationConfirm": "このリモートサービスの OAuth 認可を解除しますか?",- "switchLeftDock": "左パネルのレイアウトを切り替える",- "switchRightDock": "右パネルのレイアウトを切り替える",- "switchBottomDock": "下パネルのレイアウトを切り替える",- "aiImageUnderstandingTip": "画像を解析します。画像入力に対応したモデルを選択してください",- "aiImageGenerationTip": "画像を生成します。画像出力に対応したモデルを選択してください",- "aiImageUnderstanding": "画像理解",- "aiImageGeneration": "画像生成",- "agentEffectDataEgress": "文書または画像のデータが設定済みの API プロバイダーに送信されます",- "agentEffectExternalCost": "外部 API の料金が発生する場合があります",- "agentEffectLocalWrite": "ローカルデータが変更されます",+ "switchLeftDock": "左パネルのレイアウトを切り替える",+ "switchRightDock": "右パネルのレイアウトを切り替える",+ "switchBottomDock": "下パネルのレイアウトを切り替える",+ "aiImageUnderstandingTip": "画像を解析します。画像入力に対応したモデルを選択してください",+ "aiImageGenerationTip": "画像を生成します。画像出力に対応したモデルを選択してください",+ "aiImageUnderstanding": "画像理解",+ "aiImageGeneration": "画像生成",+ "agentEffectDataEgress": "文書または画像のデータが設定済みの API プロバイダーに送信されます",+ "agentEffectExternalCost": "外部 API の料金が発生する場合があります",+ "agentEffectLocalWrite": "ローカルデータが変更されます","agentRetrying": "再試行中 (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "ストリームのアイドルタイムアウト","agentStreamIdleTimeoutTip": "モデルから出力がない状態でリクエストを停止するまでの最大時間",diff --git a/app/appearance/langs/ko.json b/app/appearance/langs/ko.jsonindex 4008350081..fe6b4224b9 100644--- a/app/appearance/langs/ko.json+++ b/app/appearance/langs/ko.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "문서 아이콘을 클릭하여 하위 문서 펼치기 또는 접기",+ "docIconClickExpandTip": "활성화하면 문서 아이콘을 클릭하여 하위 문서를 펼치거나 접을 수 있으며 하위 문서가 없으면 아무 작업도 하지 않습니다. 비활성화하면 문서 아이콘을 클릭하여 아이콘을 변경합니다",+ "parentDocClickExpand": "상위 문서 제목을 클릭하여 하위 문서 펼치기 또는 접기",+ "parentDocClickExpandTip": "활성화하면 상위 문서 제목을 클릭하여 하위 문서를 펼치거나 접을 수 있으며, 상황에 맞는 메뉴의 ‘열기’를 사용하여 상위 문서를 열 수 있습니다. 하위 문서가 없으면 클릭할 때 문서가 바로 열립니다","mcpStatusAuthorizing": "인증 중","mcpStatusAuthorizationRequired": "인증 필요","mcpAuthorize": "인증","mcpDisconnectAuthorization": "인증 연결 해제","mcpDisconnectAuthorizationConfirm": "이 원격 서비스의 OAuth 인증 연결을 해제하시겠습니까?",- "switchLeftDock": "왼쪽 패널 레이아웃 전환",- "switchRightDock": "오른쪽 패널 레이아웃 전환",- "switchBottomDock": "아래쪽 패널 레이아웃 전환",- "aiImageUnderstandingTip": "이미지를 분석합니다. 이미지 입력을 지원하는 모델을 선택하세요",- "aiImageGenerationTip": "이미지를 생성합니다. 이미지 출력을 지원하는 모델을 선택하세요",- "aiImageUnderstanding": "이미지 이해",- "aiImageGeneration": "이미지 생성",- "agentEffectDataEgress": "문서 또는 이미지 데이터가 설정된 API 제공업체로 전송됩니다",- "agentEffectExternalCost": "외부 API 요금이 발생할 수 있습니다",- "agentEffectLocalWrite": "로컬 데이터가 변경됩니다",+ "switchLeftDock": "왼쪽 패널 레이아웃 전환",+ "switchRightDock": "오른쪽 패널 레이아웃 전환",+ "switchBottomDock": "아래쪽 패널 레이아웃 전환",+ "aiImageUnderstandingTip": "이미지를 분석합니다. 이미지 입력을 지원하는 모델을 선택하세요",+ "aiImageGenerationTip": "이미지를 생성합니다. 이미지 출력을 지원하는 모델을 선택하세요",+ "aiImageUnderstanding": "이미지 이해",+ "aiImageGeneration": "이미지 생성",+ "agentEffectDataEgress": "문서 또는 이미지 데이터가 설정된 API 제공업체로 전송됩니다",+ "agentEffectExternalCost": "외부 API 요금이 발생할 수 있습니다",+ "agentEffectLocalWrite": "로컬 데이터가 변경됩니다","agentRetrying": "재시도 중 (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "스트림 유휴 시간 초과","agentStreamIdleTimeoutTip": "모델 출력이 없을 때 요청을 중지하기까지의 최대 시간",diff --git a/app/appearance/langs/nl.json b/app/appearance/langs/nl.jsonindex 213b4d6679..0fca11572a 100644--- a/app/appearance/langs/nl.json+++ b/app/appearance/langs/nl.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Klik op het documentpictogram om onderliggende documenten uit of in te klappen",+ "docIconClickExpandTip": "Indien ingeschakeld, worden onderliggende documenten uit- of ingeklapt door op het documentpictogram te klikken en gebeurt er niets als er geen onderliggende documenten zijn; indien uitgeschakeld, wordt het pictogram gewijzigd",+ "parentDocClickExpand": "Klik op de titel van het bovenliggende document om onderliggende documenten uit of in te klappen",+ "parentDocClickExpandTip": "Indien ingeschakeld, worden onderliggende documenten uit- of ingeklapt door op de titel van het bovenliggende document te klikken; het bovenliggende document kan worden geopend via ‘Openen’ in het contextmenu. Zonder onderliggende documenten wordt het document nog steeds direct geopend","mcpStatusAuthorizing": "Bezig met autoriseren","mcpStatusAuthorizationRequired": "Autorisatie vereist","mcpAuthorize": "Autoriseren","mcpDisconnectAuthorization": "Autorisatie verbreken","mcpDisconnectAuthorizationConfirm": "OAuth-autorisatie voor deze externe service verbreken?",- "switchLeftDock": "Indeling van linkerpaneel wisselen",- "switchRightDock": "Indeling van rechterpaneel wisselen",- "switchBottomDock": "Indeling van onderpaneel wisselen",- "aiImageUnderstandingTip": "Analyseert afbeeldingen. Kies een model dat afbeeldingsinvoer ondersteunt",- "aiImageGenerationTip": "Genereert afbeeldingen. Kies een model dat afbeeldingsuitvoer ondersteunt",- "aiImageUnderstanding": "Beeldbegrip",- "aiImageGeneration": "Beeldgeneratie",- "agentEffectDataEgress": "Document- of afbeeldingsgegevens worden naar de geconfigureerde API-provider verzonden",- "agentEffectExternalCost": "Er kunnen kosten voor de externe API gelden",- "agentEffectLocalWrite": "Lokale gegevens worden gewijzigd",+ "switchLeftDock": "Indeling van linkerpaneel wisselen",+ "switchRightDock": "Indeling van rechterpaneel wisselen",+ "switchBottomDock": "Indeling van onderpaneel wisselen",+ "aiImageUnderstandingTip": "Analyseert afbeeldingen. Kies een model dat afbeeldingsinvoer ondersteunt",+ "aiImageGenerationTip": "Genereert afbeeldingen. Kies een model dat afbeeldingsuitvoer ondersteunt",+ "aiImageUnderstanding": "Beeldbegrip",+ "aiImageGeneration": "Beeldgeneratie",+ "agentEffectDataEgress": "Document- of afbeeldingsgegevens worden naar de geconfigureerde API-provider verzonden",+ "agentEffectExternalCost": "Er kunnen kosten voor de externe API gelden",+ "agentEffectLocalWrite": "Lokale gegevens worden gewijzigd","agentRetrying": "Opnieuw proberen (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Time-out bij inactiviteit van stream","agentStreamIdleTimeoutTip": "Maximale tijd zonder modeluitvoer voordat de aanvraag wordt gestopt",diff --git a/app/appearance/langs/pl.json b/app/appearance/langs/pl.jsonindex cc49215f1a..a0b2ba0be3 100644--- a/app/appearance/langs/pl.json+++ b/app/appearance/langs/pl.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Kliknij ikonę dokumentu, aby rozwinąć lub zwinąć dokumenty podrzędne",+ "docIconClickExpandTip": "Po włączeniu kliknięcie ikony dokumentu rozwija lub zwija dokumenty podrzędne, a gdy ich nie ma, nie wykonuje żadnej czynności; po wyłączeniu kliknięcie ikony dokumentu zmienia ikonę",+ "parentDocClickExpand": "Kliknij tytuł dokumentu nadrzędnego, aby rozwinąć lub zwinąć dokumenty podrzędne",+ "parentDocClickExpandTip": "Po włączeniu kliknięcie tytułu dokumentu nadrzędnego rozwija lub zwija dokumenty podrzędne, a dokument nadrzędny można otworzyć za pomocą opcji „Otwórz” w menu kontekstowym; gdy nie ma dokumentów podrzędnych, kliknięcie nadal otwiera dokument bezpośrednio","mcpStatusAuthorizing": "Autoryzowanie","mcpStatusAuthorizationRequired": "Wymagana autoryzacja","mcpAuthorize": "Autoryzuj","mcpDisconnectAuthorization": "Odłącz autoryzację","mcpDisconnectAuthorizationConfirm": "Odłączyć autoryzację OAuth dla tej usługi zdalnej?",- "switchLeftDock": "Przełącz układ lewego panelu",- "switchRightDock": "Przełącz układ prawego panelu",- "switchBottomDock": "Przełącz układ dolnego panelu",- "aiImageUnderstandingTip": "Analizuje obrazy. Wybierz model obsługujący obrazy wejściowe",- "aiImageGenerationTip": "Generuje obrazy. Wybierz model obsługujący obrazy wyjściowe",- "aiImageUnderstanding": "Rozumienie obrazów",- "aiImageGeneration": "Generowanie obrazów",- "agentEffectDataEgress": "Dane dokumentu lub obrazu zostaną wysłane do skonfigurowanego dostawcy API",- "agentEffectExternalCost": "Mogą zostać naliczone opłaty za zewnętrzne API",- "agentEffectLocalWrite": "Dane lokalne zostaną zmodyfikowane",+ "switchLeftDock": "Przełącz układ lewego panelu",+ "switchRightDock": "Przełącz układ prawego panelu",+ "switchBottomDock": "Przełącz układ dolnego panelu",+ "aiImageUnderstandingTip": "Analizuje obrazy. Wybierz model obsługujący obrazy wejściowe",+ "aiImageGenerationTip": "Generuje obrazy. Wybierz model obsługujący obrazy wyjściowe",+ "aiImageUnderstanding": "Rozumienie obrazów",+ "aiImageGeneration": "Generowanie obrazów",+ "agentEffectDataEgress": "Dane dokumentu lub obrazu zostaną wysłane do skonfigurowanego dostawcy API",+ "agentEffectExternalCost": "Mogą zostać naliczone opłaty za zewnętrzne API",+ "agentEffectLocalWrite": "Dane lokalne zostaną zmodyfikowane","agentRetrying": "Ponawianie próby (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Limit bezczynności strumienia","agentStreamIdleTimeoutTip": "Maksymalny czas bez odpowiedzi modelu przed zatrzymaniem żądania",diff --git a/app/appearance/langs/pt-BR.json b/app/appearance/langs/pt-BR.jsonindex 56b525caf8..4abee1236e 100644--- a/app/appearance/langs/pt-BR.json+++ b/app/appearance/langs/pt-BR.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Clique no ícone do documento para expandir ou recolher documentos filhos",+ "docIconClickExpandTip": "Quando ativado, clicar no ícone de um documento expande ou recolhe os documentos filhos e não executa nenhuma ação quando não há documentos filhos; quando desativado, clicar no ícone altera o ícone",+ "parentDocClickExpand": "Clique no título do documento pai para expandir ou recolher documentos filhos",+ "parentDocClickExpandTip": "Quando ativado, clicar no título de um documento pai expande ou recolhe os documentos filhos, e o documento pai pode ser aberto usando “Abrir” no menu de contexto; quando não há documentos filhos, clicar ainda abre o documento diretamente","mcpStatusAuthorizing": "Autorizando","mcpStatusAuthorizationRequired": "Autorização necessária","mcpAuthorize": "Autorizar","mcpDisconnectAuthorization": "Desconectar autorização","mcpDisconnectAuthorizationConfirm": "Desconectar a autorização OAuth deste serviço remoto?",- "switchLeftDock": "Alternar layout do painel esquerdo",- "switchRightDock": "Alternar layout do painel direito",- "switchBottomDock": "Alternar layout do painel inferior",- "aiImageUnderstandingTip": "Analisa imagens. Selecione um modelo compatível com entrada de imagens",- "aiImageGenerationTip": "Gera imagens. Selecione um modelo compatível com saída de imagens",- "aiImageUnderstanding": "Compreensão de imagens",- "aiImageGeneration": "Geração de imagens",- "agentEffectDataEgress": "Os dados do documento ou da imagem serão enviados ao provedor de API configurado",- "agentEffectExternalCost": "Podem ser aplicadas cobranças da API externa",- "agentEffectLocalWrite": "Os dados locais serão modificados",+ "switchLeftDock": "Alternar layout do painel esquerdo",+ "switchRightDock": "Alternar layout do painel direito",+ "switchBottomDock": "Alternar layout do painel inferior",+ "aiImageUnderstandingTip": "Analisa imagens. Selecione um modelo compatível com entrada de imagens",+ "aiImageGenerationTip": "Gera imagens. Selecione um modelo compatível com saída de imagens",+ "aiImageUnderstanding": "Compreensão de imagens",+ "aiImageGeneration": "Geração de imagens",+ "agentEffectDataEgress": "Os dados do documento ou da imagem serão enviados ao provedor de API configurado",+ "agentEffectExternalCost": "Podem ser aplicadas cobranças da API externa",+ "agentEffectLocalWrite": "Os dados locais serão modificados","agentRetrying": "Tentando novamente (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Tempo limite de inatividade do fluxo","agentStreamIdleTimeoutTip": "Tempo máximo sem saída do modelo antes de interromper a solicitação",diff --git a/app/appearance/langs/ru.json b/app/appearance/langs/ru.jsonindex d3fa1c1c1f..9899cfa22d 100644--- a/app/appearance/langs/ru.json+++ b/app/appearance/langs/ru.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Нажатие значка документа разворачивает или сворачивает дочерние документы",+ "docIconClickExpandTip": "Если включено, нажатие значка документа разворачивает или сворачивает дочерние документы, а при их отсутствии ничего не делает; если выключено, нажатие значка документа изменяет значок",+ "parentDocClickExpand": "Нажатие заголовка родительского документа разворачивает или сворачивает дочерние документы",+ "parentDocClickExpandTip": "Если включено, нажатие заголовка родительского документа разворачивает или сворачивает дочерние документы, а открыть родительский документ можно командой «Открыть» в контекстном меню; при отсутствии дочерних документов нажатие по-прежнему открывает документ напрямую","mcpStatusAuthorizing": "Авторизация","mcpStatusAuthorizationRequired": "Требуется авторизация","mcpAuthorize": "Авторизовать","mcpDisconnectAuthorization": "Отключить авторизацию","mcpDisconnectAuthorizationConfirm": "Отключить OAuth-авторизацию для этого удалённого сервиса?",- "switchLeftDock": "Переключить компоновку левой панели",- "switchRightDock": "Переключить компоновку правой панели",- "switchBottomDock": "Переключить компоновку нижней панели",- "aiImageUnderstandingTip": "Анализирует изображения. Выберите модель с поддержкой ввода изображений",- "aiImageGenerationTip": "Создаёт изображения. Выберите модель с поддержкой вывода изображений",- "aiImageUnderstanding": "Понимание изображений",- "aiImageGeneration": "Генерация изображений",- "agentEffectDataEgress": "Данные документа или изображения будут отправлены настроенному поставщику API",- "agentEffectExternalCost": "Может взиматься плата за использование внешнего API",- "agentEffectLocalWrite": "Локальные данные будут изменены",+ "switchLeftDock": "Переключить компоновку левой панели",+ "switchRightDock": "Переключить компоновку правой панели",+ "switchBottomDock": "Переключить компоновку нижней панели",+ "aiImageUnderstandingTip": "Анализирует изображения. Выберите модель с поддержкой ввода изображений",+ "aiImageGenerationTip": "Создаёт изображения. Выберите модель с поддержкой вывода изображений",+ "aiImageUnderstanding": "Понимание изображений",+ "aiImageGeneration": "Генерация изображений",+ "agentEffectDataEgress": "Данные документа или изображения будут отправлены настроенному поставщику API",+ "agentEffectExternalCost": "Может взиматься плата за использование внешнего API",+ "agentEffectLocalWrite": "Локальные данные будут изменены","agentRetrying": "Повторная попытка (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Тайм-аут простоя потока","agentStreamIdleTimeoutTip": "Максимальное время без вывода модели до остановки запроса",diff --git a/app/appearance/langs/sk.json b/app/appearance/langs/sk.jsonindex f3b2cc7954..cafd7a4416 100644--- a/app/appearance/langs/sk.json+++ b/app/appearance/langs/sk.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Kliknutím na ikonu dokumentu rozbaliť alebo zbaliť podradené dokumenty",+ "docIconClickExpandTip": "Ak je možnosť zapnutá, kliknutie na ikonu dokumentu rozbalí alebo zbalí podradené dokumenty a ak žiadne nie sú, nevykoná sa nič; ak je vypnutá, kliknutie na ikonu dokumentu zmení ikonu",+ "parentDocClickExpand": "Kliknutím na nadpis nadradeného dokumentu rozbaliť alebo zbaliť podradené dokumenty",+ "parentDocClickExpandTip": "Ak je možnosť zapnutá, kliknutie na nadpis nadradeného dokumentu rozbalí alebo zbalí podradené dokumenty a nadradený dokument možno otvoriť pomocou položky „Otvoriť“ v kontextovej ponuke; ak neexistujú podradené dokumenty, kliknutie dokument naďalej otvorí priamo","mcpStatusAuthorizing": "Prebieha autorizácia","mcpStatusAuthorizationRequired": "Vyžaduje sa autorizácia","mcpAuthorize": "Autorizovať","mcpDisconnectAuthorization": "Odpojiť autorizáciu","mcpDisconnectAuthorizationConfirm": "Odpojiť autorizáciu OAuth pre túto vzdialenú službu?",- "switchLeftDock": "Prepnúť rozloženie ľavého panela",- "switchRightDock": "Prepnúť rozloženie pravého panela",- "switchBottomDock": "Prepnúť rozloženie spodného panela",- "aiImageUnderstandingTip": "Analyzuje obrázky. Vyberte model podporujúci obrazový vstup",- "aiImageGenerationTip": "Generuje obrázky. Vyberte model podporujúci obrazový výstup",- "aiImageUnderstanding": "Porozumenie obrázkom",- "aiImageGeneration": "Generovanie obrázkov",- "agentEffectDataEgress": "Údaje dokumentu alebo obrázka sa odošlú nakonfigurovanému poskytovateľovi API",- "agentEffectExternalCost": "Môžu sa účtovať poplatky za externé API",- "agentEffectLocalWrite": "Lokálne údaje sa zmenia",+ "switchLeftDock": "Prepnúť rozloženie ľavého panela",+ "switchRightDock": "Prepnúť rozloženie pravého panela",+ "switchBottomDock": "Prepnúť rozloženie spodného panela",+ "aiImageUnderstandingTip": "Analyzuje obrázky. Vyberte model podporujúci obrazový vstup",+ "aiImageGenerationTip": "Generuje obrázky. Vyberte model podporujúci obrazový výstup",+ "aiImageUnderstanding": "Porozumenie obrázkom",+ "aiImageGeneration": "Generovanie obrázkov",+ "agentEffectDataEgress": "Údaje dokumentu alebo obrázka sa odošlú nakonfigurovanému poskytovateľovi API",+ "agentEffectExternalCost": "Môžu sa účtovať poplatky za externé API",+ "agentEffectLocalWrite": "Lokálne údaje sa zmenia","agentRetrying": "Opakovaný pokus (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Časový limit nečinnosti toku","agentStreamIdleTimeoutTip": "Maximálny čas bez výstupu modelu pred zastavením požiadavky",diff --git a/app/appearance/langs/th.json b/app/appearance/langs/th.jsonindex e8a839c702..fe57689ca8 100644--- a/app/appearance/langs/th.json+++ b/app/appearance/langs/th.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "คลิกไอคอนเอกสารเพื่อขยายหรือยุบเอกสารย่อย",+ "docIconClickExpandTip": "เมื่อเปิดใช้งาน การคลิกไอคอนเอกสารจะขยายหรือยุบเอกสารย่อย และจะไม่ดำเนินการใดเมื่อไม่มีเอกสารย่อย เมื่อปิดใช้งาน การคลิกไอคอนเอกสารจะเปลี่ยนไอคอน",+ "parentDocClickExpand": "คลิกชื่อเรื่องของเอกสารหลักเพื่อขยายหรือยุบเอกสารย่อย",+ "parentDocClickExpandTip": "เมื่อเปิดใช้งาน การคลิกชื่อเรื่องของเอกสารหลักจะขยายหรือยุบเอกสารย่อย และสามารถเปิดเอกสารหลักได้ด้วย “เปิด” ในเมนูบริบท เมื่อไม่มีเอกสารย่อย การคลิกจะยังคงเปิดเอกสารโดยตรง","mcpStatusAuthorizing": "กำลังอนุญาต","mcpStatusAuthorizationRequired": "ต้องได้รับอนุญาต","mcpAuthorize": "อนุญาต","mcpDisconnectAuthorization": "ยกเลิกการเชื่อมต่อการอนุญาต","mcpDisconnectAuthorizationConfirm": "ยกเลิกการเชื่อมต่อการอนุญาต OAuth สำหรับบริการระยะไกลนี้หรือไม่?",- "switchLeftDock": "สลับเค้าโครงแผงด้านซ้าย",- "switchRightDock": "สลับเค้าโครงแผงด้านขวา",- "switchBottomDock": "สลับเค้าโครงแผงด้านล่าง",- "aiImageUnderstandingTip": "วิเคราะห์รูปภาพ โปรดเลือกโมเดลที่รองรับอินพุตรูปภาพ",- "aiImageGenerationTip": "สร้างรูปภาพ โปรดเลือกโมเดลที่รองรับเอาต์พุตรูปภาพ",- "aiImageUnderstanding": "การทำความเข้าใจรูปภาพ",- "aiImageGeneration": "การสร้างรูปภาพ",- "agentEffectDataEgress": "ข้อมูลเอกสารหรือรูปภาพจะถูกส่งไปยังผู้ให้บริการ API ที่กำหนดค่าไว้",- "agentEffectExternalCost": "อาจมีค่าบริการ API ภายนอก",- "agentEffectLocalWrite": "ข้อมูลภายในเครื่องจะถูกแก้ไข",+ "switchLeftDock": "สลับเค้าโครงแผงด้านซ้าย",+ "switchRightDock": "สลับเค้าโครงแผงด้านขวา",+ "switchBottomDock": "สลับเค้าโครงแผงด้านล่าง",+ "aiImageUnderstandingTip": "วิเคราะห์รูปภาพ โปรดเลือกโมเดลที่รองรับอินพุตรูปภาพ",+ "aiImageGenerationTip": "สร้างรูปภาพ โปรดเลือกโมเดลที่รองรับเอาต์พุตรูปภาพ",+ "aiImageUnderstanding": "การทำความเข้าใจรูปภาพ",+ "aiImageGeneration": "การสร้างรูปภาพ",+ "agentEffectDataEgress": "ข้อมูลเอกสารหรือรูปภาพจะถูกส่งไปยังผู้ให้บริการ API ที่กำหนดค่าไว้",+ "agentEffectExternalCost": "อาจมีค่าบริการ API ภายนอก",+ "agentEffectLocalWrite": "ข้อมูลภายในเครื่องจะถูกแก้ไข","agentRetrying": "กำลังลองใหม่ (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "หมดเวลาว่างของสตรีม","agentStreamIdleTimeoutTip": "เวลาสูงสุดที่ไม่มีเอาต์พุตจากโมเดลก่อนหยุดคำขอ",diff --git a/app/appearance/langs/tr.json b/app/appearance/langs/tr.jsonindex aca9fd8700..6bc46957be 100644--- a/app/appearance/langs/tr.json+++ b/app/appearance/langs/tr.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Alt belgeleri genişletmek veya daraltmak için belge simgesine tıklayın",+ "docIconClickExpandTip": "Etkinleştirildiğinde belge simgesine tıklamak alt belgeleri genişletir veya daraltır ve alt belge yoksa hiçbir işlem yapmaz; devre dışı bırakıldığında belge simgesine tıklamak simgeyi değiştirir",+ "parentDocClickExpand": "Alt belgeleri genişletmek veya daraltmak için üst belgenin başlığına tıklayın",+ "parentDocClickExpandTip": "Etkinleştirildiğinde üst belgenin başlığına tıklamak alt belgeleri genişletir veya daraltır ve üst belge bağlam menüsündeki “Aç” seçeneğiyle açılabilir; alt belge yoksa tıklamak belgeyi doğrudan açmaya devam eder","mcpStatusAuthorizing": "Yetkilendiriliyor","mcpStatusAuthorizationRequired": "Yetkilendirme gerekli","mcpAuthorize": "Yetkilendir","mcpDisconnectAuthorization": "Yetkilendirme bağlantısını kes","mcpDisconnectAuthorizationConfirm": "Bu uzak hizmet için OAuth yetkilendirmesi kesilsin mi?",- "switchLeftDock": "Sol panel düzenini değiştir",- "switchRightDock": "Sağ panel düzenini değiştir",- "switchBottomDock": "Alt panel düzenini değiştir",- "aiImageUnderstandingTip": "Görselleri analiz eder. Görsel girişini destekleyen bir model seçin",- "aiImageGenerationTip": "Görseller oluşturur. Görsel çıktısını destekleyen bir model seçin",- "aiImageUnderstanding": "Görsel Anlama",- "aiImageGeneration": "Görsel Oluşturma",- "agentEffectDataEgress": "Belge veya görsel verileri yapılandırılmış API sağlayıcısına gönderilecek",- "agentEffectExternalCost": "Harici API ücretleri uygulanabilir",- "agentEffectLocalWrite": "Yerel veriler değiştirilecek",+ "switchLeftDock": "Sol panel düzenini değiştir",+ "switchRightDock": "Sağ panel düzenini değiştir",+ "switchBottomDock": "Alt panel düzenini değiştir",+ "aiImageUnderstandingTip": "Görselleri analiz eder. Görsel girişini destekleyen bir model seçin",+ "aiImageGenerationTip": "Görseller oluşturur. Görsel çıktısını destekleyen bir model seçin",+ "aiImageUnderstanding": "Görsel Anlama",+ "aiImageGeneration": "Görsel Oluşturma",+ "agentEffectDataEgress": "Belge veya görsel verileri yapılandırılmış API sağlayıcısına gönderilecek",+ "agentEffectExternalCost": "Harici API ücretleri uygulanabilir",+ "agentEffectLocalWrite": "Yerel veriler değiştirilecek","agentRetrying": "Yeniden deneniyor (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Akış boşta kalma zaman aşımı","agentStreamIdleTimeoutTip": "İstek durdurulmadan önce model çıktısı olmadan geçecek en uzun süre",diff --git a/app/appearance/langs/uk.json b/app/appearance/langs/uk.jsonindex e47eb7b965..4d91a75e2b 100644--- a/app/appearance/langs/uk.json+++ b/app/appearance/langs/uk.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "Клацання піктограми документа розгортає або згортає дочірні документи",+ "docIconClickExpandTip": "Якщо ввімкнено, клацання піктограми документа розгортає або згортає дочірні документи, а за їх відсутності нічого не робить; якщо вимкнено, клацання піктограми документа змінює піктограму",+ "parentDocClickExpand": "Клацання заголовка батьківського документа розгортає або згортає дочірні документи",+ "parentDocClickExpandTip": "Якщо ввімкнено, клацання заголовка батьківського документа розгортає або згортає дочірні документи, а батьківський документ можна відкрити командою «Відкрити» в контекстному меню; за відсутності дочірніх документів клацання й надалі відкриває документ безпосередньо","mcpStatusAuthorizing": "Авторизація","mcpStatusAuthorizationRequired": "Потрібна авторизація","mcpAuthorize": "Авторизувати","mcpDisconnectAuthorization": "Від’єднати авторизацію","mcpDisconnectAuthorizationConfirm": "Від’єднати OAuth-авторизацію для цієї віддаленої служби?",- "switchLeftDock": "Перемкнути компонування лівої панелі",- "switchRightDock": "Перемкнути компонування правої панелі",- "switchBottomDock": "Перемкнути компонування нижньої панелі",- "aiImageUnderstandingTip": "Аналізує зображення. Виберіть модель із підтримкою введення зображень",- "aiImageGenerationTip": "Створює зображення. Виберіть модель із підтримкою виведення зображень",- "aiImageUnderstanding": "Розуміння зображень",- "aiImageGeneration": "Генерування зображень",- "agentEffectDataEgress": "Дані документа або зображення буде надіслано налаштованому постачальнику API",- "agentEffectExternalCost": "Може стягуватися плата за використання зовнішнього API",- "agentEffectLocalWrite": "Локальні дані буде змінено",+ "switchLeftDock": "Перемкнути компонування лівої панелі",+ "switchRightDock": "Перемкнути компонування правої панелі",+ "switchBottomDock": "Перемкнути компонування нижньої панелі",+ "aiImageUnderstandingTip": "Аналізує зображення. Виберіть модель із підтримкою введення зображень",+ "aiImageGenerationTip": "Створює зображення. Виберіть модель із підтримкою виведення зображень",+ "aiImageUnderstanding": "Розуміння зображень",+ "aiImageGeneration": "Генерування зображень",+ "agentEffectDataEgress": "Дані документа або зображення буде надіслано налаштованому постачальнику API",+ "agentEffectExternalCost": "Може стягуватися плата за використання зовнішнього API",+ "agentEffectLocalWrite": "Локальні дані буде змінено","agentRetrying": "Повторна спроба (${attempt}/${maxRetries})...","agentStreamIdleTimeout": "Тайм-аут бездіяльності потоку","agentStreamIdleTimeoutTip": "Максимальний час без виводу моделі до зупинки запиту",diff --git a/app/appearance/langs/zh-CN.json b/app/appearance/langs/zh-CN.jsonindex 7f00a523b4..295a0984b2 100644--- a/app/appearance/langs/zh-CN.json+++ b/app/appearance/langs/zh-CN.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "单击文档图标展开或折叠下级文档",+ "docIconClickExpandTip": "启用后单击文档图标将展开或折叠下级文档,没有下级文档时不执行任何操作;关闭后单击文档图标将修改图标",+ "parentDocClickExpand": "单击父文档标题时展开或折叠下级文档",+ "parentDocClickExpandTip": "启用后单击父文档标题将展开或折叠下级文档,可通过右键菜单中的“打开”打开父文档;没有子文档时仍会直接打开文档","mcpStatusAuthorizing": "正在授权","mcpStatusAuthorizationRequired": "需要授权","mcpAuthorize": "授权","mcpDisconnectAuthorization": "断开授权","mcpDisconnectAuthorizationConfirm": "确定要断开该远程服务的 OAuth 授权吗?",- "switchLeftDock": "切换左侧面板布局",- "switchRightDock": "切换右侧面板布局",- "switchBottomDock": "切换底部面板布局",- "aiImageUnderstandingTip": "用于分析图片,请选择支持图片输入的模型",- "aiImageGenerationTip": "用于生成图片,请选择支持图片输出的模型",- "aiImageUnderstanding": "图片理解",- "aiImageGeneration": "图片生成",- "agentEffectDataEgress": "将向已配置的 API 提供商发送文档或图片数据",- "agentEffectExternalCost": "可能产生外部 API 调用费用",- "agentEffectLocalWrite": "将修改本地数据",+ "switchLeftDock": "切换左侧面板布局",+ "switchRightDock": "切换右侧面板布局",+ "switchBottomDock": "切换底部面板布局",+ "aiImageUnderstandingTip": "用于分析图片,请选择支持图片输入的模型",+ "aiImageGenerationTip": "用于生成图片,请选择支持图片输出的模型",+ "aiImageUnderstanding": "图片理解",+ "aiImageGeneration": "图片生成",+ "agentEffectDataEgress": "将向已配置的 API 提供商发送文档或图片数据",+ "agentEffectExternalCost": "可能产生外部 API 调用费用",+ "agentEffectLocalWrite": "将修改本地数据","agentRetrying": "正在重试(${attempt}/${maxRetries})...","agentStreamIdleTimeout": "流空闲超时时间","agentStreamIdleTimeoutTip": "模型持续无输出多久后停止本次请求",diff --git a/app/appearance/langs/zh-TW.json b/app/appearance/langs/zh-TW.jsonindex 34290a4501..5fc4df962b 100644--- a/app/appearance/langs/zh-TW.json+++ b/app/appearance/langs/zh-TW.json@@ -1,19 +1,23 @@{+ "docIconClickExpand": "點擊文件圖示展開或折疊下級文件",+ "docIconClickExpandTip": "啟用後點擊文件圖示將展開或折疊下級文件,沒有下級文件時不執行任何操作;關閉後點擊文件圖示將修改圖示",+ "parentDocClickExpand": "點擊父文件標題時展開或折疊下級文件",+ "parentDocClickExpandTip": "啟用後點擊父文件標題將展開或折疊下級文件,可透過右鍵選單中的「開啟」開啟父文件;沒有子文件時仍會直接開啟文件","mcpStatusAuthorizing": "正在授權","mcpStatusAuthorizationRequired": "需要授權","mcpAuthorize": "授權","mcpDisconnectAuthorization": "中斷授權","mcpDisconnectAuthorizationConfirm": "確定要中斷該遠端服務的 OAuth 授權嗎?",- "switchLeftDock": "切換左側面板佈局",- "switchRightDock": "切換右側面板佈局",- "switchBottomDock": "切換底部面板佈局",- "aiImageUnderstandingTip": "用於分析圖片,請選擇支援圖片輸入的模型",- "aiImageGenerationTip": "用於產生圖片,請選擇支援圖片輸出的模型",- "aiImageUnderstanding": "圖片理解",- "aiImageGeneration": "圖片生成",- "agentEffectDataEgress": "將向已設定的 API 提供者傳送文件或圖片資料",- "agentEffectExternalCost": "可能產生外部 API 呼叫費用",- "agentEffectLocalWrite": "將修改本機資料",+ "switchLeftDock": "切換左側面板佈局",+ "switchRightDock": "切換右側面板佈局",+ "switchBottomDock": "切換底部面板佈局",+ "aiImageUnderstandingTip": "用於分析圖片,請選擇支援圖片輸入的模型",+ "aiImageGenerationTip": "用於產生圖片,請選擇支援圖片輸出的模型",+ "aiImageUnderstanding": "圖片理解",+ "aiImageGeneration": "圖片生成",+ "agentEffectDataEgress": "將向已設定的 API 提供者傳送文件或圖片資料",+ "agentEffectExternalCost": "可能產生外部 API 呼叫費用",+ "agentEffectLocalWrite": "將修改本機資料","agentRetrying": "正在重試(${attempt}/${maxRetries})...","agentStreamIdleTimeout": "串流閒置逾時時間","agentStreamIdleTimeoutTip": "模型持續無輸出多久後停止本次請求",diff --git a/app/src/config/tabs/fileTab.ts b/app/src/config/tabs/fileTab.tsindex 372d54e3e0..c14e33c800 100644--- a/app/src/config/tabs/fileTab.ts+++ b/app/src/config/tabs/fileTab.ts@@ -7,6 +7,9 @@ import type {SettingTabBuilder} from "../setting/builder";import {controlNumber, controlSelect, controlString} from "../setting/control";import {genConfigItemName} from "../render/fragments";import {genButtonHtml, genNumberInputHtml} from "../render/render";+/// #if !MOBILE+import {getAllModels} from "../../layout/getAll";+/// #endifconst isMobileKernelContainer = () =>["android", "ios", "harmony"].includes(window.siyuan.config.system.container);@@ -29,6 +32,22 @@ const genNotebookSavePathHtml = (</div>`;/// #if !MOBILE+const registerFileTreeBehaviorGroup = (tab: SettingTabBuilder) => {+ const group = tab.group("behavior", window.siyuan.languages.configGroupBehavior);++ group.switch("fileTree.docIconClickExpand", {+ title: window.siyuan.languages.docIconClickExpand,+ desc: window.siyuan.languages.docIconClickExpandTip,+ save: (value) => fileConfigApi.patch("docIconClickExpand", value, () => {+ getAllModels().files.forEach((files) => files.updateDocIconAction());+ }),+ });+ group.switch("fileTree.parentDocClickExpand", {+ title: window.siyuan.languages.parentDocClickExpand,+ desc: window.siyuan.languages.parentDocClickExpandTip,+ });+};+const registerFileTabsGroup = (tab: SettingTabBuilder) => {const group = tab.group("tabs", window.siyuan.languages.configGroupTabs);@@ -259,6 +278,7 @@ const registerFileOthersGroup = (tab: SettingTabBuilder) => {export const registerFileTab = (tab: SettingTabBuilder) => {/// #if !MOBILE+ registerFileTreeBehaviorGroup(tab);registerFileTabsGroup(tab);/// #endifregisterFileNewDocumentGroup(tab);diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex c8dfadff9b..2c0dffa8e2 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -203,9 +203,16 @@ export class Files extends Model {if (isNotCtrl(event) && target.classList.contains("b3-list-item__icon") && window.siyuan.config.system.container !== "ios") {event.preventDefault();event.stopPropagation();+ const liElement = target.parentElement;+ if (liElement.getAttribute("data-type") === "navigation-file" && window.siyuan.config.fileTree.docIconClickExpand) {+ if (Number(liElement.getAttribute("data-count")) > 0) {+ this.getLeaf(liElement, notebookId);+ }+ break;+ }const rect = target.getBoundingClientRect();- if (target.parentElement.getAttribute("data-type") === "navigation-file") {- openEmojiPanel(target.parentElement.getAttribute("data-node-id"), "doc", {+ if (liElement.getAttribute("data-type") === "navigation-file") {+ openEmojiPanel(liElement.getAttribute("data-node-id"), "doc", {x: rect.left,y: rect.bottom,h: rect.height,@@ -268,6 +275,16 @@ export class Files extends Model {event.preventDefault();event.stopPropagation();break;+ } else if (event.button === 0 && isNotCtrl(event) && !event.altKey && !event.shiftKey &&+ target.classList.contains("b3-list-item__text") &&+ target.parentElement.getAttribute("data-type") === "navigation-file" &&+ window.siyuan.config.fileTree.parentDocClickExpand &&+ Number(target.parentElement.getAttribute("data-count")) > 0) {+ this.getLeaf(target.parentElement, notebookId);+ event.preventDefault();+ event.stopPropagation();+ window.siyuan.menus.menu.remove();+ break;} else if (target.tagName === "LI") {if (isOnlyMeta(event) && !event.altKey && !event.shiftKey) {target.classList.toggle("b3-list-item--focus");@@ -900,9 +917,38 @@ export class Files extends Model {} else {liElement.querySelector(".b3-list-item__toggle")?.classList.remove("fn__hidden");}+ this.updateDocIconElement(liElement as HTMLElement);+ }+ }++ private updateDocIconElement(liElement: HTMLElement) {+ const iconElement = liElement.querySelector<HTMLElement>(".b3-list-item__icon");+ if (!iconElement) {+ return;+ }+ const expand = window.siyuan.config.fileTree.docIconClickExpand;+ const hasChildren = Number(liElement.getAttribute("data-count")) > 0;+ iconElement.classList.toggle("b3-tooltips", !expand || hasChildren);+ if (expand) {+ if (hasChildren) {+ iconElement.setAttribute("aria-label", window.siyuan.languages.docIconClickExpand);+ iconElement.removeAttribute("aria-disabled");+ } else {+ iconElement.removeAttribute("aria-label");+ iconElement.setAttribute("aria-disabled", "true");+ }+ } else {+ iconElement.setAttribute("aria-label", window.siyuan.languages.changeIcon);+ iconElement.removeAttribute("aria-disabled");}}+ public updateDocIconAction() {+ this.element.querySelectorAll<HTMLElement>('li[data-type="navigation-file"]').forEach((item) => {+ this.updateDocIconElement(item);+ });+ }+private updateItemArrow(notebookId: string, filePath: string) {const treeElement = this.element.querySelector(`[data-url="${notebookId}"]`);if (!treeElement) {@@ -1415,6 +1461,9 @@ data-type="navigation-root" data-path="/">const ariaLabel = this.genDocAriaLabel(item, escapeAriaLabel);const paddingLeft = (item.path.split("/").length - 1) * 18;const editingPublishAccess = this.element.classList.contains("file-tree__publish-access--active");+ const iconExpands = window.siyuan.config.fileTree.docIconClickExpand;+ const iconHasAction = !iconExpands || item.subFileCount > 0;+ const iconAriaLabel = iconExpands ? window.siyuan.languages.docIconClickExpand : window.siyuan.languages.changeIcon;return `<li data-node-id="${item.id}" data-name="${Lute.EscapeHTMLStr(item.name)}" draggable="true" data-count="${item.subFileCount}"data-type="navigation-file"style="--file-toggle-width:${paddingLeft + 18}px"@@ -1422,7 +1471,7 @@ class="b3-list-item b3-list-item--hide-action" data-path="${item.path}"><span style="padding-left: ${paddingLeft}px" class="b3-list-item__toggle b3-list-item__toggle--hl${item.subFileCount === 0 ? " fn__hidden" : ""}"><svg class="b3-list-item__arrow"><use xlink:href="#iconRight"></use></svg></span>- <span class="b3-list-item__icon b3-tooltips b3-tooltips__n popover__block${editingPublishAccess ? " fn__none" : ""}" data-id="${item.id}" aria-label="${window.siyuan.languages.changeIcon}">${unicode2Emoji(item.icon || (item.subFileCount === 0 ? window.siyuan.storage[Constants.LOCAL_IMAGES].file : window.siyuan.storage[Constants.LOCAL_IMAGES].folder))}</span>+ <span class="b3-list-item__icon${iconHasAction ? " b3-tooltips" : ""} b3-tooltips__n popover__block${editingPublishAccess ? " fn__none" : ""}" data-id="${item.id}"${iconHasAction ? ` aria-label="${iconAriaLabel}"` : ' aria-disabled="true"'}>${unicode2Emoji(item.icon || (item.subFileCount === 0 ? window.siyuan.storage[Constants.LOCAL_IMAGES].file : window.siyuan.storage[Constants.LOCAL_IMAGES].folder))}</span><span class="b3-list-item__switch b3-tooltips b3-tooltips__n${editingPublishAccess ? "" : " fn__none"}" aria-label="${window.siyuan.languages.publishAccess}">${getPublishAccessOptionByLevel("public").iconHTML}</span><span class="b3-list-item__text ariaLabel" data-delay="200" data-position="parentE"aria-label="${ariaLabel}">${getDocDisplayName(item.name, item.titleEmpty, true)}</span>diff --git a/app/src/menus/util.ts b/app/src/menus/util.tsindex 80dec935b2..d351c7957e 100644--- a/app/src/menus/util.ts+++ b/app/src/menus/util.ts@@ -120,6 +120,21 @@ export const openEditorTab = (app: App, ids: string[], notebookId?: string, path}}}];+ if (notebookId && window.siyuan.config.fileTree.parentDocClickExpand) {+ openSubmenus.unshift({+ id: "openDefault",+ icon: "iconOpen",+ label: window.siyuan.config.fileTree.openFilesUseCurrentTab ?+ window.siyuan.languages.fileTree7 : window.siyuan.languages.openInNewTab,+ click: () => {+ openFileById({+ app,+ id: ids[0],+ action: [Constants.CB_GET_FOCUS, Constants.CB_GET_SCROLL],+ });+ }+ });+ }if (window.siyuan.config.fileTree.openFilesUseCurrentTab) {openSubmenus.push({id: "openInNewTab",@@ -275,4 +290,3 @@ export const copyPNGByLink = (link: string) => {tempElement.src = link;});};-diff --git a/app/src/types/config.d.ts b/app/src/types/config.d.tsindex e9375c1242..25d7ea15de 100644--- a/app/src/types/config.d.ts+++ b/app/src/types/config.d.ts@@ -747,6 +747,14 @@ declare namespace Config {* Whether to automatically locate the currently open document in the document tree*/alwaysSelectOpenedFile: boolean;+ /**+ * Whether clicking a document icon expands or collapses its child documents+ */+ docIconClickExpand: boolean;+ /**+ * Whether clicking a parent document title expands or collapses its child documents+ */+ parentDocClickExpand: boolean;/*** Whether to close all tabs when starting*/diff --git a/kernel/conf/filetree.go b/kernel/conf/filetree.goindex d714e5dfb5..424db59625 100644--- a/kernel/conf/filetree.go+++ b/kernel/conf/filetree.go@@ -23,6 +23,8 @@ import (type FileTree struct {AlwaysSelectOpenedFile bool `json:"alwaysSelectOpenedFile"` // 是否自动选中当前打开的文件OpenFilesUseCurrentTab bool `json:"openFilesUseCurrentTab"` // 在当前页签打开文件+ DocIconClickExpand bool `json:"docIconClickExpand"` // 单击文档图标时展开或折叠下级文档+ ParentDocClickExpand bool `json:"parentDocClickExpand"` // 单击父文档标题时展开或折叠下级文档RefCreateSaveBox string `json:"refCreateSaveBox"` // 块引时新建文档存储笔记本RefCreateSavePath string `json:"refCreateSavePath"` // 块引时新建文档存储路径DocCreateSaveBox string `json:"docCreateSaveBox"` // 新建文档存储笔记本@@ -46,6 +48,8 @@ func NewFileTree() *FileTree {return &FileTree{AlwaysSelectOpenedFile: false,OpenFilesUseCurrentTab: false,+ DocIconClickExpand: false,+ ParentDocClickExpand: false,Sort: util.SortModeCustom,MaxListCount: 512,MaxOpenTabCount: 8,