Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: Add 47 localized mind map themes and branch styling https://github.com/siyuan-note/siyuan/issues/20800

Danield2327628bacc
diff --git a/app/appearance/langs/ar.json b/app/appearance/langs/ar.json
index f9220691ee..5fdaa6d36a 100644
--- a/app/appearance/langs/ar.json
+++ b/app/appearance/langs/ar.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "أمواج",
+ "listMindmapPaletteDream": "حلم",
+ "listMindmapPaletteAngel": "ملاك",
+ "listMindmapPaletteReflection": "انعكاس",
+ "listMindmapPaletteProsperity": "ازدهار",
+ "listMindmapPalettePolish": "بريق",
+ "listMindmapPalettePeace": "سلام",
+ "listMindmapPaletteReality": "واقع",
+ "listMindmapPaletteDulcet": "عذوبة",
+ "listMindmapPaletteOpulent": "ترف",
+ "listMindmapPaletteHope": "أمل",
+ "listMindmapPaletteBlossom": "تفتح",
+ "listMindmapPaletteGrace": "أناقة",
+ "listMindmapPalettePassion": "شغف",
+ "listMindmapPaletteTranquil": "سكينة",
+ "listMindmapPaletteFlow": "انسياب",
+ "listMindmapPaletteOmbre": "تدرج",
+ "listMindmapPaletteQuebrada": "وادٍ",
+ "listMindmapPaletteMundane": "حياة يومية",
+ "listMindmapPaletteVintage": "عتيق",
+ "listMindmapPaletteMelody": "لحن",
+ "listMindmapPaletteAffinity": "ألفة",
+ "listMindmapPaletteFragrance": "عبير",
+ "listMindmapPaletteTide": "مدّ",
+ "listMindmapPaletteElemental": "عناصر",
+ "listMindmapPaletteAspect": "منظور",
+ "listMindmapPaletteDistinct": "تميّز",
+ "listMindmapPaletteViolet": "بنفسج",
+ "listMindmapPaletteFlushed": "تورّد",
+ "listMindmapPaletteLucid": "صفاء",
+ "listMindmapPaletteBalmy": "اعتدال",
+ "listMindmapPaletteFashion": "موضة",
+ "listMindmapPaletteHalcyon": "هدوء",
+ "listMindmapPaletteJolly": "مرح",
+ "listMindmapPaletteCandy": "حلوى",
+ "listMindmapPaletteVitality": "حيوية",
+ "listMindmapPaletteSubtropic": "شبه استوائي",
+ "listMindmapPaletteVeil": "حجاب",
+ "listMindmapPalettePolychrome": "ألوان متعددة",
+ "listMindmapPaletteCyber": "سيبراني",
+ "listMindmapPalettePersimmon": "كاكي",
+ "listMindmapPaletteVineyard": "كرم",
+ "listMindmapPaletteLilac": "ليلك",
+ "listMindmapPaletteAnimated": "حركة",
+ "listMindmapPaletteRainbow": "قوس قزح",
+ "listMindmapPaletteNewStyle": "نمط جديد",
+ "listMindmapPaletteMixed": "مزيج",
"embedBlockBreadcrumbParentPathTip": "إظهار المسار فوق المستند في مسارات تنقل الكتل المضمنة؛ الإعداد الافتراضي لكل كتلة يتبع هذا الخيار",
"documentCreationRecovery": "قد تكون بعض المستندات قد أُنشئت بالفعل. تحقق من الروابط قبل المتابعة. ستحتفظ المتابعة بالمستندات الموجودة وتتخطى خطوات إنشائها المتبقية. الإلغاء ينهي هذه المحاولة.",
"documentCreationLimit": "أكمل عملية إنشاء مستندات معلقة أو ألغها قبل بدء عملية جديدة",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "تحميل المستند بالكامل وتحديد الكل",
"autoFitRowHeight": "ملاءمة ارتفاع الصف تلقائيًا",
"backlinkDatabaseFields": "حقول قاعدة البيانات",
- "listMindmapPaletteOcean": "محيط",
- "listMindmapPaletteSunset": "غروب",
- "listMindmapPaletteLavender": "لافندر",
- "listMindmapPaletteMonochrome": "أبيض وأسود",
- "listMindmapPaletteColorful": "متعدد الألوان",
- "listMindmapPaletteSoft": "ناعم",
- "listMindmapPaletteForest": "غابة",
"listMindmapCanvasBackground": "خلفية اللوحة",
"listMindmapClearManualColors": "مسح الألوان اليدوية",
"listMindmapLineColor": "لون خطوط الفروع",
diff --git a/app/appearance/langs/de.json b/app/appearance/langs/de.json
index 8fd746d4a2..5cd0f98e21 100644
--- a/app/appearance/langs/de.json
+++ b/app/appearance/langs/de.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Wellen",
+ "listMindmapPaletteDream": "Traum",
+ "listMindmapPaletteAngel": "Engel",
+ "listMindmapPaletteReflection": "Spiegelung",
+ "listMindmapPaletteProsperity": "Wohlstand",
+ "listMindmapPalettePolish": "Glanz",
+ "listMindmapPalettePeace": "Frieden",
+ "listMindmapPaletteReality": "Realität",
+ "listMindmapPaletteDulcet": "Sanftklang",
+ "listMindmapPaletteOpulent": "Pracht",
+ "listMindmapPaletteHope": "Hoffnung",
+ "listMindmapPaletteBlossom": "Blütenzauber",
+ "listMindmapPaletteGrace": "Anmut",
+ "listMindmapPalettePassion": "Leidenschaft",
+ "listMindmapPaletteTranquil": "Ruhe",
+ "listMindmapPaletteFlow": "Fluss",
+ "listMindmapPaletteOmbre": "Farbverlauf",
+ "listMindmapPaletteQuebrada": "Schlucht",
+ "listMindmapPaletteMundane": "Alltag",
+ "listMindmapPaletteVintage": "Vintage",
+ "listMindmapPaletteMelody": "Melodie",
+ "listMindmapPaletteAffinity": "Verbundenheit",
+ "listMindmapPaletteFragrance": "Duft",
+ "listMindmapPaletteTide": "Gezeiten",
+ "listMindmapPaletteElemental": "Elemente",
+ "listMindmapPaletteAspect": "Perspektive",
+ "listMindmapPaletteDistinct": "Prägnanz",
+ "listMindmapPaletteViolet": "Veilchen",
+ "listMindmapPaletteFlushed": "Erröten",
+ "listMindmapPaletteLucid": "Klarheit",
+ "listMindmapPaletteBalmy": "Milde",
+ "listMindmapPaletteFashion": "Mode",
+ "listMindmapPaletteHalcyon": "Heiterkeit",
+ "listMindmapPaletteJolly": "Fröhlichkeit",
+ "listMindmapPaletteCandy": "Bonbon",
+ "listMindmapPaletteVitality": "Vitalität",
+ "listMindmapPaletteSubtropic": "Subtropen",
+ "listMindmapPaletteVeil": "Schleier",
+ "listMindmapPalettePolychrome": "Vielfarbig",
+ "listMindmapPaletteCyber": "Cyber",
+ "listMindmapPalettePersimmon": "Kaki",
+ "listMindmapPaletteVineyard": "Weinberg",
+ "listMindmapPaletteLilac": "Flieder",
+ "listMindmapPaletteAnimated": "Lebhaft",
+ "listMindmapPaletteRainbow": "Regenbogen",
+ "listMindmapPaletteNewStyle": "Neuer Stil",
+ "listMindmapPaletteMixed": "Gemischt",
"embedBlockBreadcrumbParentPathTip": "Den Pfad oberhalb des Dokuments in Breadcrumbs eingebetteter Blöcke anzeigen; die Blockoption Standard übernimmt diese Einstellung",
"documentCreationRecovery": "Einige Dokumente wurden möglicherweise bereits erstellt. Prüfen Sie die Links, bevor Sie fortfahren. Beim Fortfahren bleiben vorhandene Dokumente erhalten und ihre restlichen Erstellungsschritte werden übersprungen. Abbrechen beendet diesen Vorgang.",
"documentCreationLimit": "Schließen Sie eine ausstehende Dokumenterstellung ab oder brechen Sie sie ab, bevor Sie eine neue beginnen",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Gesamtes Dokument laden und alles auswählen",
"autoFitRowHeight": "Zeilenhöhe automatisch anpassen",
"backlinkDatabaseFields": "Datenbankfelder",
- "listMindmapPaletteOcean": "Ozean",
- "listMindmapPaletteSunset": "Sonnenuntergang",
- "listMindmapPaletteLavender": "Lavendel",
- "listMindmapPaletteMonochrome": "Schwarzweiß",
- "listMindmapPaletteColorful": "Bunt",
- "listMindmapPaletteSoft": "Sanft",
- "listMindmapPaletteForest": "Wald",
"listMindmapCanvasBackground": "Hintergrund der Zeichenfläche",
"listMindmapClearManualColors": "Manuelle Farben löschen",
"listMindmapLineColor": "Farbe der Zweiglinien",
diff --git a/app/appearance/langs/en.json b/app/appearance/langs/en.json
index a76793ae06..ab2b784a4a 100644
--- a/app/appearance/langs/en.json
+++ b/app/appearance/langs/en.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Waves",
+ "listMindmapPaletteDream": "Dream",
+ "listMindmapPaletteAngel": "Angel",
+ "listMindmapPaletteReflection": "Reflection",
+ "listMindmapPaletteProsperity": "Prosperity",
+ "listMindmapPalettePolish": "Polish",
+ "listMindmapPalettePeace": "Peace",
+ "listMindmapPaletteReality": "Reality",
+ "listMindmapPaletteDulcet": "Dulcet",
+ "listMindmapPaletteOpulent": "Opulent",
+ "listMindmapPaletteHope": "Hope",
+ "listMindmapPaletteBlossom": "Blossom",
+ "listMindmapPaletteGrace": "Grace",
+ "listMindmapPalettePassion": "Passion",
+ "listMindmapPaletteTranquil": "Tranquil",
+ "listMindmapPaletteFlow": "Flow",
+ "listMindmapPaletteOmbre": "Ombre",
+ "listMindmapPaletteQuebrada": "Quebrada",
+ "listMindmapPaletteMundane": "Mundane",
+ "listMindmapPaletteVintage": "Vintage",
+ "listMindmapPaletteMelody": "Melody",
+ "listMindmapPaletteAffinity": "Affinity",
+ "listMindmapPaletteFragrance": "Fragrance",
+ "listMindmapPaletteTide": "Tide",
+ "listMindmapPaletteElemental": "Elemental",
+ "listMindmapPaletteAspect": "Aspect",
+ "listMindmapPaletteDistinct": "Distinct",
+ "listMindmapPaletteViolet": "Violet",
+ "listMindmapPaletteFlushed": "Flushed",
+ "listMindmapPaletteLucid": "Lucid",
+ "listMindmapPaletteBalmy": "Balmy",
+ "listMindmapPaletteFashion": "Fashion",
+ "listMindmapPaletteHalcyon": "Halcyon",
+ "listMindmapPaletteJolly": "Jolly",
+ "listMindmapPaletteCandy": "Candy",
+ "listMindmapPaletteVitality": "Vitality",
+ "listMindmapPaletteSubtropic": "Subtropic",
+ "listMindmapPaletteVeil": "Veil",
+ "listMindmapPalettePolychrome": "Polychrome",
+ "listMindmapPaletteCyber": "Cyber",
+ "listMindmapPalettePersimmon": "Persimmon",
+ "listMindmapPaletteVineyard": "Vineyard",
+ "listMindmapPaletteLilac": "Lilac",
+ "listMindmapPaletteAnimated": "Animated",
+ "listMindmapPaletteRainbow": "Rainbow",
+ "listMindmapPaletteNewStyle": "NewStyle",
+ "listMindmapPaletteMixed": "mixed",
"embedBlockBreadcrumbParentPathTip": "Show the path above the document in embedded block breadcrumbs; each block follows this setting when set to Default",
"documentCreationRecovery": "Some documents may already exist. Check the links before continuing. Continuing keeps existing documents and skips their remaining creation steps. Cancel ends this creation attempt.",
"documentCreationLimit": "Finish or cancel a pending document creation before starting another",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Load full document and select all",
"autoFitRowHeight": "Auto-fit row height",
"backlinkDatabaseFields": "Database fields",
- "listMindmapPaletteOcean": "Ocean",
- "listMindmapPaletteSunset": "Sunset",
- "listMindmapPaletteLavender": "Lavender",
- "listMindmapPaletteMonochrome": "Monochrome",
- "listMindmapPaletteColorful": "Colorful",
- "listMindmapPaletteSoft": "Soft",
- "listMindmapPaletteForest": "Forest",
"listMindmapCanvasBackground": "Canvas background",
"listMindmapClearManualColors": "Clear manual colors",
"listMindmapLineColor": "Branch line color",
diff --git a/app/appearance/langs/es.json b/app/appearance/langs/es.json
index 898b4ee676..69c4dc484d 100644
--- a/app/appearance/langs/es.json
+++ b/app/appearance/langs/es.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Olas",
+ "listMindmapPaletteDream": "Sueño",
+ "listMindmapPaletteAngel": "Ángel",
+ "listMindmapPaletteReflection": "Reflejo",
+ "listMindmapPaletteProsperity": "Prosperidad",
+ "listMindmapPalettePolish": "Brillo",
+ "listMindmapPalettePeace": "Paz",
+ "listMindmapPaletteReality": "Realidad",
+ "listMindmapPaletteDulcet": "Dulzura",
+ "listMindmapPaletteOpulent": "Opulencia",
+ "listMindmapPaletteHope": "Esperanza",
+ "listMindmapPaletteBlossom": "Floración",
+ "listMindmapPaletteGrace": "Gracia",
+ "listMindmapPalettePassion": "Pasión",
+ "listMindmapPaletteTranquil": "Tranquilidad",
+ "listMindmapPaletteFlow": "Flujo",
+ "listMindmapPaletteOmbre": "Degradado",
+ "listMindmapPaletteQuebrada": "Quebrada",
+ "listMindmapPaletteMundane": "Cotidiano",
+ "listMindmapPaletteVintage": "Retro",
+ "listMindmapPaletteMelody": "Melodía",
+ "listMindmapPaletteAffinity": "Afinidad",
+ "listMindmapPaletteFragrance": "Fragancia",
+ "listMindmapPaletteTide": "Marea",
+ "listMindmapPaletteElemental": "Elementos",
+ "listMindmapPaletteAspect": "Aspecto",
+ "listMindmapPaletteDistinct": "Distinción",
+ "listMindmapPaletteViolet": "Violeta",
+ "listMindmapPaletteFlushed": "Rubor",
+ "listMindmapPaletteLucid": "Claridad",
+ "listMindmapPaletteBalmy": "Suavidad",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Serenidad",
+ "listMindmapPaletteJolly": "Alegría",
+ "listMindmapPaletteCandy": "Caramelo",
+ "listMindmapPaletteVitality": "Vitalidad",
+ "listMindmapPaletteSubtropic": "Subtrópico",
+ "listMindmapPaletteVeil": "Velo",
+ "listMindmapPalettePolychrome": "Policromía",
+ "listMindmapPaletteCyber": "Cíber",
+ "listMindmapPalettePersimmon": "Caqui",
+ "listMindmapPaletteVineyard": "Viñedo",
+ "listMindmapPaletteLilac": "Lila",
+ "listMindmapPaletteAnimated": "Animación",
+ "listMindmapPaletteRainbow": "Arcoíris",
+ "listMindmapPaletteNewStyle": "Nuevo estilo",
+ "listMindmapPaletteMixed": "Mezcla",
"embedBlockBreadcrumbParentPathTip": "Mostrar la ruta superior al documento en las rutas de navegación de bloques incrustados; cada bloque hereda este ajuste al elegir Predeterminado",
"documentCreationRecovery": "Es posible que algunos documentos ya se hayan creado. Revise los enlaces antes de continuar. Al continuar se conservan los documentos existentes y se omiten los pasos de creación pendientes. Cancelar finaliza este intento.",
"documentCreationLimit": "Complete o cancele una creación de documentos pendiente antes de iniciar otra",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Cargar el documento completo y seleccionar todo",
"autoFitRowHeight": "Ajustar automáticamente la altura de fila",
"backlinkDatabaseFields": "Campos de la base de datos",
- "listMindmapPaletteOcean": "Océano",
- "listMindmapPaletteSunset": "Atardecer",
- "listMindmapPaletteLavender": "Lavanda",
- "listMindmapPaletteMonochrome": "Blanco y negro",
- "listMindmapPaletteColorful": "Multicolor",
- "listMindmapPaletteSoft": "Suave",
- "listMindmapPaletteForest": "Bosque",
"listMindmapCanvasBackground": "Fondo del lienzo",
"listMindmapClearManualColors": "Borrar colores manuales",
"listMindmapLineColor": "Color de las líneas de rama",
diff --git a/app/appearance/langs/fr.json b/app/appearance/langs/fr.json
index 6f59b70ba8..1bb6cfa314 100644
--- a/app/appearance/langs/fr.json
+++ b/app/appearance/langs/fr.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Vagues",
+ "listMindmapPaletteDream": "Rêve",
+ "listMindmapPaletteAngel": "Ange",
+ "listMindmapPaletteReflection": "Reflet",
+ "listMindmapPaletteProsperity": "Prospérité",
+ "listMindmapPalettePolish": "Éclat",
+ "listMindmapPalettePeace": "Paix",
+ "listMindmapPaletteReality": "Réalité",
+ "listMindmapPaletteDulcet": "Douceur",
+ "listMindmapPaletteOpulent": "Opulence",
+ "listMindmapPaletteHope": "Espoir",
+ "listMindmapPaletteBlossom": "Floraison",
+ "listMindmapPaletteGrace": "Grâce",
+ "listMindmapPalettePassion": "Passion",
+ "listMindmapPaletteTranquil": "Tranquillité",
+ "listMindmapPaletteFlow": "Fluidité",
+ "listMindmapPaletteOmbre": "Dégradé",
+ "listMindmapPaletteQuebrada": "Ravine",
+ "listMindmapPaletteMundane": "Quotidien",
+ "listMindmapPaletteVintage": "Vintage",
+ "listMindmapPaletteMelody": "Mélodie",
+ "listMindmapPaletteAffinity": "Affinité",
+ "listMindmapPaletteFragrance": "Parfum",
+ "listMindmapPaletteTide": "Marée",
+ "listMindmapPaletteElemental": "Éléments",
+ "listMindmapPaletteAspect": "Aspect",
+ "listMindmapPaletteDistinct": "Distinction",
+ "listMindmapPaletteViolet": "Violette",
+ "listMindmapPaletteFlushed": "Rougeur",
+ "listMindmapPaletteLucid": "Limpidité",
+ "listMindmapPaletteBalmy": "Clémence",
+ "listMindmapPaletteFashion": "Mode",
+ "listMindmapPaletteHalcyon": "Sérénité",
+ "listMindmapPaletteJolly": "Jovialité",
+ "listMindmapPaletteCandy": "Bonbon",
+ "listMindmapPaletteVitality": "Vitalité",
+ "listMindmapPaletteSubtropic": "Subtropical",
+ "listMindmapPaletteVeil": "Voile",
+ "listMindmapPalettePolychrome": "Polychromie",
+ "listMindmapPaletteCyber": "Cyber",
+ "listMindmapPalettePersimmon": "Kaki",
+ "listMindmapPaletteVineyard": "Vignoble",
+ "listMindmapPaletteLilac": "Lilas",
+ "listMindmapPaletteAnimated": "Animation",
+ "listMindmapPaletteRainbow": "Arc-en-ciel",
+ "listMindmapPaletteNewStyle": "Nouveau style",
+ "listMindmapPaletteMixed": "Mélange",
"embedBlockBreadcrumbParentPathTip": "Afficher le chemin au-dessus du document dans le fil d’Ariane des blocs intégrés ; chaque bloc hérite de ce réglage avec l’option Par défaut",
"documentCreationRecovery": "Certains documents existent peut-être déjà. Vérifiez les liens avant de continuer. Continuer conserve les documents existants et ignore leurs étapes de création restantes. Annuler met fin à cette création.",
"documentCreationLimit": "Terminez ou annulez une création de document en attente avant d’en commencer une autre",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Charger le document entier et tout sélectionner",
"autoFitRowHeight": "Ajuster automatiquement la hauteur de ligne",
"backlinkDatabaseFields": "Champs de la base de données",
- "listMindmapPaletteOcean": "Océan",
- "listMindmapPaletteSunset": "Coucher de soleil",
- "listMindmapPaletteLavender": "Lavande",
- "listMindmapPaletteMonochrome": "Noir et blanc",
- "listMindmapPaletteColorful": "Multicolore",
- "listMindmapPaletteSoft": "Doux",
- "listMindmapPaletteForest": "Forêt",
"listMindmapCanvasBackground": "Arrière-plan du canevas",
"listMindmapClearManualColors": "Effacer les couleurs manuelles",
"listMindmapLineColor": "Couleur des lignes de branche",
diff --git a/app/appearance/langs/he.json b/app/appearance/langs/he.json
index a49a1fe731..166734350d 100644
--- a/app/appearance/langs/he.json
+++ b/app/appearance/langs/he.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "גלים",
+ "listMindmapPaletteDream": "חלום",
+ "listMindmapPaletteAngel": "מלאך",
+ "listMindmapPaletteReflection": "השתקפות",
+ "listMindmapPaletteProsperity": "שגשוג",
+ "listMindmapPalettePolish": "ברק",
+ "listMindmapPalettePeace": "שלום",
+ "listMindmapPaletteReality": "מציאות",
+ "listMindmapPaletteDulcet": "נועם",
+ "listMindmapPaletteOpulent": "פאר",
+ "listMindmapPaletteHope": "תקווה",
+ "listMindmapPaletteBlossom": "פריחה",
+ "listMindmapPaletteGrace": "חן",
+ "listMindmapPalettePassion": "תשוקה",
+ "listMindmapPaletteTranquil": "שלווה",
+ "listMindmapPaletteFlow": "זרימה",
+ "listMindmapPaletteOmbre": "הדרגתיות",
+ "listMindmapPaletteQuebrada": "ערוץ",
+ "listMindmapPaletteMundane": "יום־יום",
+ "listMindmapPaletteVintage": "וינטג׳",
+ "listMindmapPaletteMelody": "מנגינה",
+ "listMindmapPaletteAffinity": "קרבה",
+ "listMindmapPaletteFragrance": "ניחוח",
+ "listMindmapPaletteTide": "גאות",
+ "listMindmapPaletteElemental": "יסודות",
+ "listMindmapPaletteAspect": "מראה",
+ "listMindmapPaletteDistinct": "ייחוד",
+ "listMindmapPaletteViolet": "סיגלית",
+ "listMindmapPaletteFlushed": "סומק",
+ "listMindmapPaletteLucid": "בהירות",
+ "listMindmapPaletteBalmy": "נועם אביבי",
+ "listMindmapPaletteFashion": "אופנה",
+ "listMindmapPaletteHalcyon": "רוגע",
+ "listMindmapPaletteJolly": "עליזות",
+ "listMindmapPaletteCandy": "ממתק",
+ "listMindmapPaletteVitality": "חיוניות",
+ "listMindmapPaletteSubtropic": "סובטרופי",
+ "listMindmapPaletteVeil": "צעיף",
+ "listMindmapPalettePolychrome": "רב־גוניות",
+ "listMindmapPaletteCyber": "סייבר",
+ "listMindmapPalettePersimmon": "אפרסמון",
+ "listMindmapPaletteVineyard": "כרם",
+ "listMindmapPaletteLilac": "לילך",
+ "listMindmapPaletteAnimated": "תנועה",
+ "listMindmapPaletteRainbow": "קשת בענן",
+ "listMindmapPaletteNewStyle": "סגנון חדש",
+ "listMindmapPaletteMixed": "מעורב",
"embedBlockBreadcrumbParentPathTip": "הצגת הנתיב שמעל למסמך בפירורי הלחם של בלוקים מוטמעים; כל בלוק יורש הגדרה זו כאשר נבחרת ברירת המחדל",
"documentCreationRecovery": "ייתכן שחלק מהמסמכים כבר נוצרו. בדקו את הקישורים לפני ההמשך. המשך ישמור על המסמכים הקיימים וידלג על שלבי היצירה שנותרו. ביטול יסיים ניסיון זה.",
"documentCreationLimit": "יש להשלים או לבטל יצירת מסמכים ממתינה לפני שמתחילים יצירה חדשה",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "טעינת המסמך המלא ובחירת הכול",
"autoFitRowHeight": "התאמה אוטומטית של גובה השורה",
"backlinkDatabaseFields": "שדות מסד נתונים",
- "listMindmapPaletteOcean": "אוקיינוס",
- "listMindmapPaletteSunset": "שקיעה",
- "listMindmapPaletteLavender": "לבנדר",
- "listMindmapPaletteMonochrome": "שחור לבן",
- "listMindmapPaletteColorful": "צבעוני",
- "listMindmapPaletteSoft": "רך",
- "listMindmapPaletteForest": "יער",
"listMindmapCanvasBackground": "רקע הקנבס",
"listMindmapClearManualColors": "ניקוי צבעים ידניים",
"listMindmapLineColor": "צבע קווי הענפים",
diff --git a/app/appearance/langs/hi.json b/app/appearance/langs/hi.json
index ba22bfabc7..7e7aa7f39d 100644
--- a/app/appearance/langs/hi.json
+++ b/app/appearance/langs/hi.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "लहरें",
+ "listMindmapPaletteDream": "स्वप्न",
+ "listMindmapPaletteAngel": "देवदूत",
+ "listMindmapPaletteReflection": "प्रतिबिंब",
+ "listMindmapPaletteProsperity": "समृद्धि",
+ "listMindmapPalettePolish": "चमक",
+ "listMindmapPalettePeace": "शांति",
+ "listMindmapPaletteReality": "वास्तविकता",
+ "listMindmapPaletteDulcet": "मधुरता",
+ "listMindmapPaletteOpulent": "वैभव",
+ "listMindmapPaletteHope": "आशा",
+ "listMindmapPaletteBlossom": "पुष्पन",
+ "listMindmapPaletteGrace": "सौम्यता",
+ "listMindmapPalettePassion": "जुनून",
+ "listMindmapPaletteTranquil": "प्रशांति",
+ "listMindmapPaletteFlow": "प्रवाह",
+ "listMindmapPaletteOmbre": "रंग ढाल",
+ "listMindmapPaletteQuebrada": "घाटी",
+ "listMindmapPaletteMundane": "रोज़मर्रा",
+ "listMindmapPaletteVintage": "पुरातन",
+ "listMindmapPaletteMelody": "धुन",
+ "listMindmapPaletteAffinity": "आत्मीयता",
+ "listMindmapPaletteFragrance": "सुगंध",
+ "listMindmapPaletteTide": "ज्वार",
+ "listMindmapPaletteElemental": "मूलतत्त्व",
+ "listMindmapPaletteAspect": "दृष्टिकोण",
+ "listMindmapPaletteDistinct": "विशिष्ट",
+ "listMindmapPaletteViolet": "बैंगनी",
+ "listMindmapPaletteFlushed": "लाली",
+ "listMindmapPaletteLucid": "निर्मलता",
+ "listMindmapPaletteBalmy": "सुहावनापन",
+ "listMindmapPaletteFashion": "फ़ैशन",
+ "listMindmapPaletteHalcyon": "निश्चिंतता",
+ "listMindmapPaletteJolly": "उल्लास",
+ "listMindmapPaletteCandy": "मिठास",
+ "listMindmapPaletteVitality": "स्फूर्ति",
+ "listMindmapPaletteSubtropic": "उपोष्णकटिबंधीय",
+ "listMindmapPaletteVeil": "आवरण",
+ "listMindmapPalettePolychrome": "बहुरंगी",
+ "listMindmapPaletteCyber": "साइबर",
+ "listMindmapPalettePersimmon": "काकी",
+ "listMindmapPaletteVineyard": "अंगूरबाग",
+ "listMindmapPaletteLilac": "बकाइन",
+ "listMindmapPaletteAnimated": "जीवंतता",
+ "listMindmapPaletteRainbow": "इंद्रधनुष",
+ "listMindmapPaletteNewStyle": "नई शैली",
+ "listMindmapPaletteMixed": "मिश्रित",
"embedBlockBreadcrumbParentPathTip": "एम्बेड किए गए ब्लॉक के ब्रेडक्रंब में दस्तावेज़ के ऊपर का पथ दिखाएँ; डिफ़ॉल्ट चुने जाने पर हर ब्लॉक इस सेटिंग का पालन करता है",
"documentCreationRecovery": "कुछ दस्तावेज़ पहले ही बन चुके हो सकते हैं। जारी रखने से पहले लिंक जाँचें। जारी रखने पर मौजूदा दस्तावेज़ सुरक्षित रहेंगे और उनके बचे हुए निर्माण चरण छोड़ दिए जाएँगे। रद्द करने पर यह प्रयास समाप्त होगा।",
"documentCreationLimit": "नया निर्माण शुरू करने से पहले लंबित दस्तावेज़ निर्माण पूरा करें या रद्द करें",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "पूरा दस्तावेज़ लोड करें और सभी चुनें",
"autoFitRowHeight": "पंक्ति की ऊँचाई अपने आप समायोजित करें",
"backlinkDatabaseFields": "डेटाबेस फ़ील्ड",
- "listMindmapPaletteOcean": "महासागर",
- "listMindmapPaletteSunset": "सूर्यास्त",
- "listMindmapPaletteLavender": "लैवेंडर",
- "listMindmapPaletteMonochrome": "श्वेत-श्याम",
- "listMindmapPaletteColorful": "रंगीन",
- "listMindmapPaletteSoft": "सौम्य",
- "listMindmapPaletteForest": "वन",
"listMindmapCanvasBackground": "कैनवास की पृष्ठभूमि",
"listMindmapClearManualColors": "मैन्युअल रंग साफ़ करें",
"listMindmapLineColor": "शाखा रेखा का रंग",
diff --git a/app/appearance/langs/id.json b/app/appearance/langs/id.json
index 057a3c160a..95a5273a0b 100644
--- a/app/appearance/langs/id.json
+++ b/app/appearance/langs/id.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Ombak",
+ "listMindmapPaletteDream": "Mimpi",
+ "listMindmapPaletteAngel": "Malaikat",
+ "listMindmapPaletteReflection": "Pantulan",
+ "listMindmapPaletteProsperity": "Kemakmuran",
+ "listMindmapPalettePolish": "Kilau",
+ "listMindmapPalettePeace": "Kedamaian",
+ "listMindmapPaletteReality": "Kenyataan",
+ "listMindmapPaletteDulcet": "Kelembutan",
+ "listMindmapPaletteOpulent": "Kemewahan",
+ "listMindmapPaletteHope": "Harapan",
+ "listMindmapPaletteBlossom": "Mekar",
+ "listMindmapPaletteGrace": "Keanggunan",
+ "listMindmapPalettePassion": "Gairah",
+ "listMindmapPaletteTranquil": "Ketenangan",
+ "listMindmapPaletteFlow": "Aliran",
+ "listMindmapPaletteOmbre": "Gradasi",
+ "listMindmapPaletteQuebrada": "Ngarai",
+ "listMindmapPaletteMundane": "Keseharian",
+ "listMindmapPaletteVintage": "Antik",
+ "listMindmapPaletteMelody": "Melodi",
+ "listMindmapPaletteAffinity": "Kedekatan",
+ "listMindmapPaletteFragrance": "Keharuman",
+ "listMindmapPaletteTide": "Pasang surut",
+ "listMindmapPaletteElemental": "Elemen",
+ "listMindmapPaletteAspect": "Sudut pandang",
+ "listMindmapPaletteDistinct": "Ketegasan",
+ "listMindmapPaletteViolet": "Violet",
+ "listMindmapPaletteFlushed": "Rona merah",
+ "listMindmapPaletteLucid": "Kejernihan",
+ "listMindmapPaletteBalmy": "Kesejukan",
+ "listMindmapPaletteFashion": "Mode",
+ "listMindmapPaletteHalcyon": "Ketenteraman",
+ "listMindmapPaletteJolly": "Keceriaan",
+ "listMindmapPaletteCandy": "Permen",
+ "listMindmapPaletteVitality": "Vitalitas",
+ "listMindmapPaletteSubtropic": "Subtropis",
+ "listMindmapPaletteVeil": "Selubung",
+ "listMindmapPalettePolychrome": "Warna-warni",
+ "listMindmapPaletteCyber": "Siber",
+ "listMindmapPalettePersimmon": "Kesemek",
+ "listMindmapPaletteVineyard": "Kebun anggur",
+ "listMindmapPaletteLilac": "Lilak",
+ "listMindmapPaletteAnimated": "Semarak",
+ "listMindmapPaletteRainbow": "Pelangi",
+ "listMindmapPaletteNewStyle": "Gaya baru",
+ "listMindmapPaletteMixed": "Campuran",
"embedBlockBreadcrumbParentPathTip": "Tampilkan jalur di atas dokumen pada breadcrumb blok tersemat; setiap blok mengikuti pengaturan ini saat memilih Bawaan",
"documentCreationRecovery": "Beberapa dokumen mungkin sudah dibuat. Periksa tautan sebelum melanjutkan. Melanjutkan akan mempertahankan dokumen yang ada dan melewati tahap pembuatan yang tersisa. Membatalkan mengakhiri percobaan ini.",
"documentCreationLimit": "Selesaikan atau batalkan pembuatan dokumen yang tertunda sebelum memulai yang baru",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Muat seluruh dokumen dan pilih semua",
"autoFitRowHeight": "Sesuaikan tinggi baris secara otomatis",
"backlinkDatabaseFields": "Bidang basis data",
- "listMindmapPaletteOcean": "Samudra",
- "listMindmapPaletteSunset": "Senja",
- "listMindmapPaletteLavender": "Lavendel",
- "listMindmapPaletteMonochrome": "Hitam putih",
- "listMindmapPaletteColorful": "Warna-warni",
- "listMindmapPaletteSoft": "Lembut",
- "listMindmapPaletteForest": "Hutan",
"listMindmapCanvasBackground": "Latar belakang kanvas",
"listMindmapClearManualColors": "Hapus warna manual",
"listMindmapLineColor": "Warna garis cabang",
diff --git a/app/appearance/langs/it.json b/app/appearance/langs/it.json
index dc9ac3ca08..097aa23673 100644
--- a/app/appearance/langs/it.json
+++ b/app/appearance/langs/it.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Onde",
+ "listMindmapPaletteDream": "Sogno",
+ "listMindmapPaletteAngel": "Angelo",
+ "listMindmapPaletteReflection": "Riflesso",
+ "listMindmapPaletteProsperity": "Prosperità",
+ "listMindmapPalettePolish": "Lucentezza",
+ "listMindmapPalettePeace": "Pace",
+ "listMindmapPaletteReality": "Realtà",
+ "listMindmapPaletteDulcet": "Dolcezza",
+ "listMindmapPaletteOpulent": "Opulenza",
+ "listMindmapPaletteHope": "Speranza",
+ "listMindmapPaletteBlossom": "Fioritura",
+ "listMindmapPaletteGrace": "Grazia",
+ "listMindmapPalettePassion": "Passione",
+ "listMindmapPaletteTranquil": "Tranquillità",
+ "listMindmapPaletteFlow": "Flusso",
+ "listMindmapPaletteOmbre": "Sfumatura",
+ "listMindmapPaletteQuebrada": "Burrone",
+ "listMindmapPaletteMundane": "Quotidiano",
+ "listMindmapPaletteVintage": "Vintage",
+ "listMindmapPaletteMelody": "Melodia",
+ "listMindmapPaletteAffinity": "Affinità",
+ "listMindmapPaletteFragrance": "Fragranza",
+ "listMindmapPaletteTide": "Marea",
+ "listMindmapPaletteElemental": "Elementi",
+ "listMindmapPaletteAspect": "Aspetto",
+ "listMindmapPaletteDistinct": "Distinzione",
+ "listMindmapPaletteViolet": "Violetta",
+ "listMindmapPaletteFlushed": "Rossore",
+ "listMindmapPaletteLucid": "Limpidezza",
+ "listMindmapPaletteBalmy": "Mitezza",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Serenità",
+ "listMindmapPaletteJolly": "Allegria",
+ "listMindmapPaletteCandy": "Caramella",
+ "listMindmapPaletteVitality": "Vitalità",
+ "listMindmapPaletteSubtropic": "Subtropicale",
+ "listMindmapPaletteVeil": "Velo",
+ "listMindmapPalettePolychrome": "Policromia",
+ "listMindmapPaletteCyber": "Cibernetico",
+ "listMindmapPalettePersimmon": "Cachi",
+ "listMindmapPaletteVineyard": "Vigneto",
+ "listMindmapPaletteLilac": "Lillà",
+ "listMindmapPaletteAnimated": "Animazione",
+ "listMindmapPaletteRainbow": "Arcobaleno",
+ "listMindmapPaletteNewStyle": "Nuovo stile",
+ "listMindmapPaletteMixed": "Misto",
"embedBlockBreadcrumbParentPathTip": "Mostra il percorso sopra il documento nei breadcrumb dei blocchi incorporati; ogni blocco eredita questa impostazione scegliendo Predefinito",
"documentCreationRecovery": "Alcuni documenti potrebbero essere già stati creati. Controlla i collegamenti prima di continuare. Continuando, i documenti esistenti vengono conservati e i passaggi di creazione rimanenti vengono saltati. Annulla termina questo tentativo.",
"documentCreationLimit": "Completa o annulla una creazione di documenti in sospeso prima di avviarne un’altra",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Carica l'intero documento e seleziona tutto",
"autoFitRowHeight": "Adatta automaticamente l’altezza della riga",
"backlinkDatabaseFields": "Campi del database",
- "listMindmapPaletteOcean": "Oceano",
- "listMindmapPaletteSunset": "Tramonto",
- "listMindmapPaletteLavender": "Lavanda",
- "listMindmapPaletteMonochrome": "Bianco e nero",
- "listMindmapPaletteColorful": "Multicolore",
- "listMindmapPaletteSoft": "Tenue",
- "listMindmapPaletteForest": "Foresta",
"listMindmapCanvasBackground": "Sfondo della tela",
"listMindmapClearManualColors": "Cancella colori manuali",
"listMindmapLineColor": "Colore delle linee dei rami",
diff --git a/app/appearance/langs/ja.json b/app/appearance/langs/ja.json
index f6a4240f8b..a43621ffe6 100644
--- a/app/appearance/langs/ja.json
+++ b/app/appearance/langs/ja.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "波",
+ "listMindmapPaletteDream": "夢",
+ "listMindmapPaletteAngel": "天使",
+ "listMindmapPaletteReflection": "映り込み",
+ "listMindmapPaletteProsperity": "繁栄",
+ "listMindmapPalettePolish": "光沢",
+ "listMindmapPalettePeace": "平穏",
+ "listMindmapPaletteReality": "現実",
+ "listMindmapPaletteDulcet": "優美",
+ "listMindmapPaletteOpulent": "華麗",
+ "listMindmapPaletteHope": "希望",
+ "listMindmapPaletteBlossom": "開花",
+ "listMindmapPaletteGrace": "気品",
+ "listMindmapPalettePassion": "情熱",
+ "listMindmapPaletteTranquil": "静穏",
+ "listMindmapPaletteFlow": "流れ",
+ "listMindmapPaletteOmbre": "グラデーション",
+ "listMindmapPaletteQuebrada": "渓谷",
+ "listMindmapPaletteMundane": "日常",
+ "listMindmapPaletteVintage": "ヴィンテージ",
+ "listMindmapPaletteMelody": "旋律",
+ "listMindmapPaletteAffinity": "親和",
+ "listMindmapPaletteFragrance": "芳香",
+ "listMindmapPaletteTide": "潮流",
+ "listMindmapPaletteElemental": "元素",
+ "listMindmapPaletteAspect": "趣",
+ "listMindmapPaletteDistinct": "鮮明",
+ "listMindmapPaletteViolet": "スミレ",
+ "listMindmapPaletteFlushed": "紅潮",
+ "listMindmapPaletteLucid": "澄明",
+ "listMindmapPaletteBalmy": "うららか",
+ "listMindmapPaletteFashion": "ファッション",
+ "listMindmapPaletteHalcyon": "安らぎ",
+ "listMindmapPaletteJolly": "陽気",
+ "listMindmapPaletteCandy": "キャンディ",
+ "listMindmapPaletteVitality": "活力",
+ "listMindmapPaletteSubtropic": "亜熱帯",
+ "listMindmapPaletteVeil": "ベール",
+ "listMindmapPalettePolychrome": "多彩",
+ "listMindmapPaletteCyber": "サイバー",
+ "listMindmapPalettePersimmon": "柿",
+ "listMindmapPaletteVineyard": "葡萄畑",
+ "listMindmapPaletteLilac": "ライラック",
+ "listMindmapPaletteAnimated": "躍動",
+ "listMindmapPaletteRainbow": "虹",
+ "listMindmapPaletteNewStyle": "新スタイル",
+ "listMindmapPaletteMixed": "ミックス",
"embedBlockBreadcrumbParentPathTip": "埋め込みブロックのパンくずに文書より上のパスを表示します。各ブロックで「デフォルト」を選ぶと、この設定に従います",
"documentCreationRecovery": "一部のドキュメントは作成済みの可能性があります。続行する前にリンクから確認してください。続行すると既存のドキュメントを保持し、残りの作成処理をスキップします。キャンセルすると今回の作成を終了します。",
"documentCreationLimit": "新たに作成する前に、保留中のドキュメント作成を完了するかキャンセルしてください",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "全文を読み込んですべて選択",
"autoFitRowHeight": "行の高さを自動調整",
"backlinkDatabaseFields": "データベースのフィールド",
- "listMindmapPaletteOcean": "海",
- "listMindmapPaletteSunset": "夕日",
- "listMindmapPaletteLavender": "ラベンダー",
- "listMindmapPaletteMonochrome": "モノクロ",
- "listMindmapPaletteColorful": "カラフル",
- "listMindmapPaletteSoft": "ソフト",
- "listMindmapPaletteForest": "フォレスト",
"listMindmapCanvasBackground": "キャンバスの背景",
"listMindmapClearManualColors": "手動の配色をクリア",
"listMindmapLineColor": "枝線の色",
diff --git a/app/appearance/langs/ko.json b/app/appearance/langs/ko.json
index a05e5950c1..3082ae7fe8 100644
--- a/app/appearance/langs/ko.json
+++ b/app/appearance/langs/ko.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "물결",
+ "listMindmapPaletteDream": "꿈",
+ "listMindmapPaletteAngel": "천사",
+ "listMindmapPaletteReflection": "반영",
+ "listMindmapPaletteProsperity": "번영",
+ "listMindmapPalettePolish": "광택",
+ "listMindmapPalettePeace": "평화",
+ "listMindmapPaletteReality": "현실",
+ "listMindmapPaletteDulcet": "감미로움",
+ "listMindmapPaletteOpulent": "화려함",
+ "listMindmapPaletteHope": "희망",
+ "listMindmapPaletteBlossom": "꽃망울",
+ "listMindmapPaletteGrace": "우아함",
+ "listMindmapPalettePassion": "열정",
+ "listMindmapPaletteTranquil": "고요함",
+ "listMindmapPaletteFlow": "흐름",
+ "listMindmapPaletteOmbre": "그라데이션",
+ "listMindmapPaletteQuebrada": "계곡",
+ "listMindmapPaletteMundane": "일상",
+ "listMindmapPaletteVintage": "빈티지",
+ "listMindmapPaletteMelody": "선율",
+ "listMindmapPaletteAffinity": "친화",
+ "listMindmapPaletteFragrance": "향기",
+ "listMindmapPaletteTide": "조류",
+ "listMindmapPaletteElemental": "원소",
+ "listMindmapPaletteAspect": "인상",
+ "listMindmapPaletteDistinct": "선명함",
+ "listMindmapPaletteViolet": "제비꽃",
+ "listMindmapPaletteFlushed": "홍조",
+ "listMindmapPaletteLucid": "맑음",
+ "listMindmapPaletteBalmy": "온화함",
+ "listMindmapPaletteFashion": "패션",
+ "listMindmapPaletteHalcyon": "평온함",
+ "listMindmapPaletteJolly": "유쾌함",
+ "listMindmapPaletteCandy": "사탕",
+ "listMindmapPaletteVitality": "활력",
+ "listMindmapPaletteSubtropic": "아열대",
+ "listMindmapPaletteVeil": "베일",
+ "listMindmapPalettePolychrome": "다채로움",
+ "listMindmapPaletteCyber": "사이버",
+ "listMindmapPalettePersimmon": "감",
+ "listMindmapPaletteVineyard": "포도밭",
+ "listMindmapPaletteLilac": "라일락",
+ "listMindmapPaletteAnimated": "생동감",
+ "listMindmapPaletteRainbow": "무지개",
+ "listMindmapPaletteNewStyle": "새 스타일",
+ "listMindmapPaletteMixed": "혼합",
"embedBlockBreadcrumbParentPathTip": "임베드 블록의 탐색 경로에 문서 상위 경로를 표시하며, 각 블록에서 기본값을 선택하면 이 설정을 따릅니다",
"documentCreationRecovery": "일부 문서가 이미 생성되었을 수 있습니다. 계속하기 전에 링크를 확인하세요. 계속하면 기존 문서를 유지하고 남은 생성 단계를 건너뜁니다. 취소하면 이번 생성을 종료합니다.",
"documentCreationLimit": "새로 시작하기 전에 대기 중인 문서 생성을 완료하거나 취소하세요",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "전체 문서를 불러오고 모두 선택",
"autoFitRowHeight": "행 높이 자동 맞춤",
"backlinkDatabaseFields": "데이터베이스 필드",
- "listMindmapPaletteOcean": "바다",
- "listMindmapPaletteSunset": "일몰",
- "listMindmapPaletteLavender": "라벤더",
- "listMindmapPaletteMonochrome": "흑백",
- "listMindmapPaletteColorful": "다채로운 색상",
- "listMindmapPaletteSoft": "부드러운 색상",
- "listMindmapPaletteForest": "숲",
"listMindmapCanvasBackground": "캔버스 배경",
"listMindmapClearManualColors": "수동 색상 지우기",
"listMindmapLineColor": "분기 연결선 색상",
diff --git a/app/appearance/langs/nl.json b/app/appearance/langs/nl.json
index d5c521079e..c02d707a6c 100644
--- a/app/appearance/langs/nl.json
+++ b/app/appearance/langs/nl.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Golven",
+ "listMindmapPaletteDream": "Droom",
+ "listMindmapPaletteAngel": "Engel",
+ "listMindmapPaletteReflection": "Weerspiegeling",
+ "listMindmapPaletteProsperity": "Welvaart",
+ "listMindmapPalettePolish": "Glans",
+ "listMindmapPalettePeace": "Vrede",
+ "listMindmapPaletteReality": "Werkelijkheid",
+ "listMindmapPaletteDulcet": "Zachtheid",
+ "listMindmapPaletteOpulent": "Weelde",
+ "listMindmapPaletteHope": "Hoop",
+ "listMindmapPaletteBlossom": "Bloesem",
+ "listMindmapPaletteGrace": "Gratie",
+ "listMindmapPalettePassion": "Passie",
+ "listMindmapPaletteTranquil": "Kalmte",
+ "listMindmapPaletteFlow": "Stroming",
+ "listMindmapPaletteOmbre": "Kleurverloop",
+ "listMindmapPaletteQuebrada": "Ravijn",
+ "listMindmapPaletteMundane": "Alledaags",
+ "listMindmapPaletteVintage": "Vintage",
+ "listMindmapPaletteMelody": "Melodie",
+ "listMindmapPaletteAffinity": "Verwantschap",
+ "listMindmapPaletteFragrance": "Geur",
+ "listMindmapPaletteTide": "Getij",
+ "listMindmapPaletteElemental": "Elementen",
+ "listMindmapPaletteAspect": "Aanzicht",
+ "listMindmapPaletteDistinct": "Onderscheid",
+ "listMindmapPaletteViolet": "Viooltje",
+ "listMindmapPaletteFlushed": "Blos",
+ "listMindmapPaletteLucid": "Helderheid",
+ "listMindmapPaletteBalmy": "Zwoelheid",
+ "listMindmapPaletteFashion": "Mode",
+ "listMindmapPaletteHalcyon": "Sereniteit",
+ "listMindmapPaletteJolly": "Vrolijkheid",
+ "listMindmapPaletteCandy": "Snoep",
+ "listMindmapPaletteVitality": "Vitaliteit",
+ "listMindmapPaletteSubtropic": "Subtropisch",
+ "listMindmapPaletteVeil": "Sluier",
+ "listMindmapPalettePolychrome": "Veelkleurig",
+ "listMindmapPaletteCyber": "Cyber",
+ "listMindmapPalettePersimmon": "Kaki",
+ "listMindmapPaletteVineyard": "Wijngaard",
+ "listMindmapPaletteLilac": "Sering",
+ "listMindmapPaletteAnimated": "Levendig",
+ "listMindmapPaletteRainbow": "Regenboog",
+ "listMindmapPaletteNewStyle": "Nieuwe stijl",
+ "listMindmapPaletteMixed": "Gemengd",
"embedBlockBreadcrumbParentPathTip": "Toon het pad boven het document in broodkruimels van ingesloten blokken; elk blok volgt deze instelling bij Standaard",
"documentCreationRecovery": "Sommige documenten zijn mogelijk al aangemaakt. Controleer de links voordat u doorgaat. Doorgaan behoudt bestaande documenten en slaat hun resterende aanmaakstappen over. Annuleren beëindigt deze poging.",
"documentCreationLimit": "Voltooi of annuleer een lopende documentaanmaak voordat u een nieuwe start",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Volledig document laden en alles selecteren",
"autoFitRowHeight": "Rijhoogte automatisch aanpassen",
"backlinkDatabaseFields": "Databasevelden",
- "listMindmapPaletteOcean": "Oceaan",
- "listMindmapPaletteSunset": "Zonsondergang",
- "listMindmapPaletteLavender": "Lavendel",
- "listMindmapPaletteMonochrome": "Zwart-wit",
- "listMindmapPaletteColorful": "Kleurrijk",
- "listMindmapPaletteSoft": "Zacht",
- "listMindmapPaletteForest": "Bos",
"listMindmapCanvasBackground": "Canvasachtergrond",
"listMindmapClearManualColors": "Handmatige kleuren wissen",
"listMindmapLineColor": "Kleur van taklijnen",
diff --git a/app/appearance/langs/pl.json b/app/appearance/langs/pl.json
index 3225838b28..a117a029f2 100644
--- a/app/appearance/langs/pl.json
+++ b/app/appearance/langs/pl.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Fale",
+ "listMindmapPaletteDream": "Sen",
+ "listMindmapPaletteAngel": "Anioł",
+ "listMindmapPaletteReflection": "Odbicie",
+ "listMindmapPaletteProsperity": "Dobrobyt",
+ "listMindmapPalettePolish": "Połysk",
+ "listMindmapPalettePeace": "Pokój",
+ "listMindmapPaletteReality": "Rzeczywistość",
+ "listMindmapPaletteDulcet": "Słodycz",
+ "listMindmapPaletteOpulent": "Przepych",
+ "listMindmapPaletteHope": "Nadzieja",
+ "listMindmapPaletteBlossom": "Rozkwit",
+ "listMindmapPaletteGrace": "Wdzięk",
+ "listMindmapPalettePassion": "Pasja",
+ "listMindmapPaletteTranquil": "Spokój",
+ "listMindmapPaletteFlow": "Przepływ",
+ "listMindmapPaletteOmbre": "Gradient",
+ "listMindmapPaletteQuebrada": "Wąwóz",
+ "listMindmapPaletteMundane": "Codzienność",
+ "listMindmapPaletteVintage": "Retro",
+ "listMindmapPaletteMelody": "Melodia",
+ "listMindmapPaletteAffinity": "Bliskość",
+ "listMindmapPaletteFragrance": "Zapach",
+ "listMindmapPaletteTide": "Przypływ",
+ "listMindmapPaletteElemental": "Żywioły",
+ "listMindmapPaletteAspect": "Oblicze",
+ "listMindmapPaletteDistinct": "Wyrazistość",
+ "listMindmapPaletteViolet": "Fiołek",
+ "listMindmapPaletteFlushed": "Rumieniec",
+ "listMindmapPaletteLucid": "Przejrzystość",
+ "listMindmapPaletteBalmy": "Łagodność",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Pogoda ducha",
+ "listMindmapPaletteJolly": "Radość",
+ "listMindmapPaletteCandy": "Cukierek",
+ "listMindmapPaletteVitality": "Witalność",
+ "listMindmapPaletteSubtropic": "Subtropiki",
+ "listMindmapPaletteVeil": "Woal",
+ "listMindmapPalettePolychrome": "Wielobarwność",
+ "listMindmapPaletteCyber": "Cyber",
+ "listMindmapPalettePersimmon": "Persymona",
+ "listMindmapPaletteVineyard": "Winnica",
+ "listMindmapPaletteLilac": "Bez",
+ "listMindmapPaletteAnimated": "Ożywienie",
+ "listMindmapPaletteRainbow": "Tęcza",
+ "listMindmapPaletteNewStyle": "Nowy styl",
+ "listMindmapPaletteMixed": "Mieszanka",
"embedBlockBreadcrumbParentPathTip": "Pokazuj ścieżkę nadrzędną dokumentu w nawigacji osadzonych bloków; wybranie opcji Domyślne powoduje dziedziczenie tego ustawienia",
"documentCreationRecovery": "Niektóre dokumenty mogły już zostać utworzone. Przed kontynuowaniem sprawdź łącza. Kontynuacja zachowa istniejące dokumenty i pominie pozostałe etapy ich tworzenia. Anulowanie zakończy tę próbę.",
"documentCreationLimit": "Zakończ lub anuluj oczekujące tworzenie dokumentów przed rozpoczęciem kolejnego",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Wczytaj cały dokument i zaznacz wszystko",
"autoFitRowHeight": "Automatycznie dopasuj wysokość wiersza",
"backlinkDatabaseFields": "Pola bazy danych",
- "listMindmapPaletteOcean": "Ocean",
- "listMindmapPaletteSunset": "Zachód słońca",
- "listMindmapPaletteLavender": "Lawenda",
- "listMindmapPaletteMonochrome": "Czarno-biały",
- "listMindmapPaletteColorful": "Kolorowy",
- "listMindmapPaletteSoft": "Łagodny",
- "listMindmapPaletteForest": "Las",
"listMindmapCanvasBackground": "Tło płótna",
"listMindmapClearManualColors": "Wyczyść ręczne kolory",
"listMindmapLineColor": "Kolor linii gałęzi",
diff --git a/app/appearance/langs/pt-BR.json b/app/appearance/langs/pt-BR.json
index 371bcbe62e..0d9cbe9e2b 100644
--- a/app/appearance/langs/pt-BR.json
+++ b/app/appearance/langs/pt-BR.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Ondas",
+ "listMindmapPaletteDream": "Sonho",
+ "listMindmapPaletteAngel": "Anjo",
+ "listMindmapPaletteReflection": "Reflexo",
+ "listMindmapPaletteProsperity": "Prosperidade",
+ "listMindmapPalettePolish": "Brilho",
+ "listMindmapPalettePeace": "Paz",
+ "listMindmapPaletteReality": "Realidade",
+ "listMindmapPaletteDulcet": "Doçura",
+ "listMindmapPaletteOpulent": "Opulência",
+ "listMindmapPaletteHope": "Esperança",
+ "listMindmapPaletteBlossom": "Floração",
+ "listMindmapPaletteGrace": "Graça",
+ "listMindmapPalettePassion": "Paixão",
+ "listMindmapPaletteTranquil": "Tranquilidade",
+ "listMindmapPaletteFlow": "Fluxo",
+ "listMindmapPaletteOmbre": "Degradê",
+ "listMindmapPaletteQuebrada": "Ravina",
+ "listMindmapPaletteMundane": "Cotidiano",
+ "listMindmapPaletteVintage": "Retrô",
+ "listMindmapPaletteMelody": "Melodia",
+ "listMindmapPaletteAffinity": "Afinidade",
+ "listMindmapPaletteFragrance": "Fragrância",
+ "listMindmapPaletteTide": "Maré",
+ "listMindmapPaletteElemental": "Elementos",
+ "listMindmapPaletteAspect": "Aspecto",
+ "listMindmapPaletteDistinct": "Distinção",
+ "listMindmapPaletteViolet": "Violeta",
+ "listMindmapPaletteFlushed": "Rubor",
+ "listMindmapPaletteLucid": "Clareza",
+ "listMindmapPaletteBalmy": "Suavidade",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Serenidade",
+ "listMindmapPaletteJolly": "Alegria",
+ "listMindmapPaletteCandy": "Doce",
+ "listMindmapPaletteVitality": "Vitalidade",
+ "listMindmapPaletteSubtropic": "Subtrópico",
+ "listMindmapPaletteVeil": "Véu",
+ "listMindmapPalettePolychrome": "Policromia",
+ "listMindmapPaletteCyber": "Cibernético",
+ "listMindmapPalettePersimmon": "Caqui",
+ "listMindmapPaletteVineyard": "Vinhedo",
+ "listMindmapPaletteLilac": "Lilás",
+ "listMindmapPaletteAnimated": "Animação",
+ "listMindmapPaletteRainbow": "Arco-íris",
+ "listMindmapPaletteNewStyle": "Novo estilo",
+ "listMindmapPaletteMixed": "Mistura",
"embedBlockBreadcrumbParentPathTip": "Mostrar o caminho acima do documento na navegação de blocos incorporados; cada bloco herda esta configuração ao escolher Padrão",
"documentCreationRecovery": "Alguns documentos podem já ter sido criados. Verifique os links antes de continuar. Continuar mantém os documentos existentes e ignora as etapas de criação restantes. Cancelar encerra esta tentativa.",
"documentCreationLimit": "Conclua ou cancele uma criação de documentos pendente antes de iniciar outra",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Carregar o documento completo e selecionar tudo",
"autoFitRowHeight": "Ajustar automaticamente a altura da linha",
"backlinkDatabaseFields": "Campos do banco de dados",
- "listMindmapPaletteOcean": "Oceano",
- "listMindmapPaletteSunset": "Pôr do sol",
- "listMindmapPaletteLavender": "Lavanda",
- "listMindmapPaletteMonochrome": "Preto e branco",
- "listMindmapPaletteColorful": "Colorido",
- "listMindmapPaletteSoft": "Suave",
- "listMindmapPaletteForest": "Floresta",
"listMindmapCanvasBackground": "Fundo da tela",
"listMindmapClearManualColors": "Limpar cores manuais",
"listMindmapLineColor": "Cor das linhas dos ramos",
diff --git a/app/appearance/langs/ru.json b/app/appearance/langs/ru.json
index 8eefd4f520..e146e5202a 100644
--- a/app/appearance/langs/ru.json
+++ b/app/appearance/langs/ru.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Волны",
+ "listMindmapPaletteDream": "Мечта",
+ "listMindmapPaletteAngel": "Ангел",
+ "listMindmapPaletteReflection": "Отражение",
+ "listMindmapPaletteProsperity": "Процветание",
+ "listMindmapPalettePolish": "Блеск",
+ "listMindmapPalettePeace": "Мир",
+ "listMindmapPaletteReality": "Реальность",
+ "listMindmapPaletteDulcet": "Нежность",
+ "listMindmapPaletteOpulent": "Роскошь",
+ "listMindmapPaletteHope": "Надежда",
+ "listMindmapPaletteBlossom": "Цветение",
+ "listMindmapPaletteGrace": "Изящество",
+ "listMindmapPalettePassion": "Страсть",
+ "listMindmapPaletteTranquil": "Безмятежность",
+ "listMindmapPaletteFlow": "Поток",
+ "listMindmapPaletteOmbre": "Градиент",
+ "listMindmapPaletteQuebrada": "Ущелье",
+ "listMindmapPaletteMundane": "Повседневность",
+ "listMindmapPaletteVintage": "Винтаж",
+ "listMindmapPaletteMelody": "Мелодия",
+ "listMindmapPaletteAffinity": "Близость",
+ "listMindmapPaletteFragrance": "Аромат",
+ "listMindmapPaletteTide": "Прилив",
+ "listMindmapPaletteElemental": "Стихии",
+ "listMindmapPaletteAspect": "Облик",
+ "listMindmapPaletteDistinct": "Выразительность",
+ "listMindmapPaletteViolet": "Фиалка",
+ "listMindmapPaletteFlushed": "Румянец",
+ "listMindmapPaletteLucid": "Ясность",
+ "listMindmapPaletteBalmy": "Мягкость",
+ "listMindmapPaletteFashion": "Мода",
+ "listMindmapPaletteHalcyon": "Спокойствие",
+ "listMindmapPaletteJolly": "Радость",
+ "listMindmapPaletteCandy": "Конфета",
+ "listMindmapPaletteVitality": "Жизненная сила",
+ "listMindmapPaletteSubtropic": "Субтропики",
+ "listMindmapPaletteVeil": "Вуаль",
+ "listMindmapPalettePolychrome": "Многоцветие",
+ "listMindmapPaletteCyber": "Кибер",
+ "listMindmapPalettePersimmon": "Хурма",
+ "listMindmapPaletteVineyard": "Виноградник",
+ "listMindmapPaletteLilac": "Сирень",
+ "listMindmapPaletteAnimated": "Оживление",
+ "listMindmapPaletteRainbow": "Радуга",
+ "listMindmapPaletteNewStyle": "Новый стиль",
+ "listMindmapPaletteMixed": "Смесь",
"embedBlockBreadcrumbParentPathTip": "Показывать путь выше документа в навигационной цепочке встроенных блоков; при выборе значения «По умолчанию» блок наследует эту настройку",
"documentCreationRecovery": "Некоторые документы, возможно, уже созданы. Перед продолжением проверьте ссылки. Продолжение сохранит существующие документы и пропустит оставшиеся этапы их создания. Отмена завершит эту попытку.",
"documentCreationLimit": "Завершите или отмените ожидающее создание документов, прежде чем начать новое",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Загрузить весь документ и выделить всё",
"autoFitRowHeight": "Автоподбор высоты строки",
"backlinkDatabaseFields": "Поля базы данных",
- "listMindmapPaletteOcean": "Океан",
- "listMindmapPaletteSunset": "Закат",
- "listMindmapPaletteLavender": "Лавандовая",
- "listMindmapPaletteMonochrome": "Чёрно-белая",
- "listMindmapPaletteColorful": "Разноцветная",
- "listMindmapPaletteSoft": "Мягкая",
- "listMindmapPaletteForest": "Лесная",
"listMindmapCanvasBackground": "Фон холста",
"listMindmapClearManualColors": "Сбросить ручные цвета",
"listMindmapLineColor": "Цвет линий ветвей",
diff --git a/app/appearance/langs/sk.json b/app/appearance/langs/sk.json
index 81e24e928b..df2d1db180 100644
--- a/app/appearance/langs/sk.json
+++ b/app/appearance/langs/sk.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Vlny",
+ "listMindmapPaletteDream": "Sen",
+ "listMindmapPaletteAngel": "Anjel",
+ "listMindmapPaletteReflection": "Odraz",
+ "listMindmapPaletteProsperity": "Prosperita",
+ "listMindmapPalettePolish": "Lesk",
+ "listMindmapPalettePeace": "Mier",
+ "listMindmapPaletteReality": "Realita",
+ "listMindmapPaletteDulcet": "Ľúbeznosť",
+ "listMindmapPaletteOpulent": "Prepych",
+ "listMindmapPaletteHope": "Nádej",
+ "listMindmapPaletteBlossom": "Rozkvet",
+ "listMindmapPaletteGrace": "Pôvab",
+ "listMindmapPalettePassion": "Vášeň",
+ "listMindmapPaletteTranquil": "Pokoj",
+ "listMindmapPaletteFlow": "Prúdenie",
+ "listMindmapPaletteOmbre": "Prechod",
+ "listMindmapPaletteQuebrada": "Roklina",
+ "listMindmapPaletteMundane": "Všednosť",
+ "listMindmapPaletteVintage": "Retro",
+ "listMindmapPaletteMelody": "Melódia",
+ "listMindmapPaletteAffinity": "Spriaznenosť",
+ "listMindmapPaletteFragrance": "Vôňa",
+ "listMindmapPaletteTide": "Príliv",
+ "listMindmapPaletteElemental": "Živly",
+ "listMindmapPaletteAspect": "Podoba",
+ "listMindmapPaletteDistinct": "Výraznosť",
+ "listMindmapPaletteViolet": "Fialka",
+ "listMindmapPaletteFlushed": "Rumenenie",
+ "listMindmapPaletteLucid": "Jasnosť",
+ "listMindmapPaletteBalmy": "Vľúdnosť",
+ "listMindmapPaletteFashion": "Móda",
+ "listMindmapPaletteHalcyon": "Pohoda",
+ "listMindmapPaletteJolly": "Veselosť",
+ "listMindmapPaletteCandy": "Cukrík",
+ "listMindmapPaletteVitality": "Vitalita",
+ "listMindmapPaletteSubtropic": "Subtrópy",
+ "listMindmapPaletteVeil": "Závoj",
+ "listMindmapPalettePolychrome": "Mnohofarebnosť",
+ "listMindmapPaletteCyber": "Kyber",
+ "listMindmapPalettePersimmon": "Kaki",
+ "listMindmapPaletteVineyard": "Vinohrad",
+ "listMindmapPaletteLilac": "Orgován",
+ "listMindmapPaletteAnimated": "Živosť",
+ "listMindmapPaletteRainbow": "Dúha",
+ "listMindmapPaletteNewStyle": "Nový štýl",
+ "listMindmapPaletteMixed": "Zmes",
"embedBlockBreadcrumbParentPathTip": "Zobraziť cestu nad dokumentom v navigácii vložených blokov; pri voľbe Predvolené blok zdedí toto nastavenie",
"documentCreationRecovery": "Niektoré dokumenty už možno boli vytvorené. Pred pokračovaním skontrolujte odkazy. Pokračovanie zachová existujúce dokumenty a preskočí zostávajúce kroky ich vytvárania. Zrušenie ukončí tento pokus.",
"documentCreationLimit": "Pred začatím ďalšieho vytvárania dokumentov dokončite alebo zrušte čakajúce vytváranie",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Načítať celý dokument a vybrať všetko",
"autoFitRowHeight": "Automaticky prispôsobiť výšku riadka",
"backlinkDatabaseFields": "Polia databázy",
- "listMindmapPaletteOcean": "Oceán",
- "listMindmapPaletteSunset": "Západ slnka",
- "listMindmapPaletteLavender": "Levanduľa",
- "listMindmapPaletteMonochrome": "Čiernobiela",
- "listMindmapPaletteColorful": "Pestrá",
- "listMindmapPaletteSoft": "Jemná",
- "listMindmapPaletteForest": "Lesná",
"listMindmapCanvasBackground": "Pozadie plátna",
"listMindmapClearManualColors": "Vymazať ručné farby",
"listMindmapLineColor": "Farba čiar vetiev",
diff --git a/app/appearance/langs/sr.json b/app/appearance/langs/sr.json
index 6643c31e3c..d1ec995840 100644
--- a/app/appearance/langs/sr.json
+++ b/app/appearance/langs/sr.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Talasi",
+ "listMindmapPaletteDream": "San",
+ "listMindmapPaletteAngel": "Anđeo",
+ "listMindmapPaletteReflection": "Odraz",
+ "listMindmapPaletteProsperity": "Blagostanje",
+ "listMindmapPalettePolish": "Sjaj",
+ "listMindmapPalettePeace": "Mir",
+ "listMindmapPaletteReality": "Stvarnost",
+ "listMindmapPaletteDulcet": "Milina",
+ "listMindmapPaletteOpulent": "Raskoš",
+ "listMindmapPaletteHope": "Nada",
+ "listMindmapPaletteBlossom": "Cvetanje",
+ "listMindmapPaletteGrace": "Ljupkost",
+ "listMindmapPalettePassion": "Strast",
+ "listMindmapPaletteTranquil": "Spokoj",
+ "listMindmapPaletteFlow": "Tok",
+ "listMindmapPaletteOmbre": "Preliv",
+ "listMindmapPaletteQuebrada": "Klisura",
+ "listMindmapPaletteMundane": "Svakodnevica",
+ "listMindmapPaletteVintage": "Vintidž",
+ "listMindmapPaletteMelody": "Melodija",
+ "listMindmapPaletteAffinity": "Bliskost",
+ "listMindmapPaletteFragrance": "Miris",
+ "listMindmapPaletteTide": "Plima",
+ "listMindmapPaletteElemental": "Stihije",
+ "listMindmapPaletteAspect": "Izgled",
+ "listMindmapPaletteDistinct": "Izražajnost",
+ "listMindmapPaletteViolet": "Ljubičica",
+ "listMindmapPaletteFlushed": "Rumenilo",
+ "listMindmapPaletteLucid": "Jasnoća",
+ "listMindmapPaletteBalmy": "Blagost",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Vedrina",
+ "listMindmapPaletteJolly": "Veselost",
+ "listMindmapPaletteCandy": "Bombona",
+ "listMindmapPaletteVitality": "Životnost",
+ "listMindmapPaletteSubtropic": "Suptropi",
+ "listMindmapPaletteVeil": "Veo",
+ "listMindmapPalettePolychrome": "Šarenilo",
+ "listMindmapPaletteCyber": "Sajber",
+ "listMindmapPalettePersimmon": "Kaki",
+ "listMindmapPaletteVineyard": "Vinograd",
+ "listMindmapPaletteLilac": "Jorgovan",
+ "listMindmapPaletteAnimated": "Živahnost",
+ "listMindmapPaletteRainbow": "Duga",
+ "listMindmapPaletteNewStyle": "Novi stil",
+ "listMindmapPaletteMixed": "Mešavina",
"embedBlockBreadcrumbParentPathTip": "Прикажи путању изнад документа у навигацији уграђених блокова; сваки блок наслеђује ово подешавање када изабере подразумевану вредност",
"documentCreationRecovery": "Неки документи су можда већ направљени. Проверите везе пре него што наставите. Наставак задржава постојеће документе и прескаче преостале кораке њиховог прављења. Отказивање завршава овај покушај.",
"documentCreationLimit": "Завршите или откажите прављење докумената на чекању пре него што започнете ново",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Учитај цео документ и изабери све",
"autoFitRowHeight": "Аутоматски прилагоди висину реда",
"backlinkDatabaseFields": "Поља базе података",
- "listMindmapPaletteOcean": "Океан",
- "listMindmapPaletteSunset": "Залазак сунца",
- "listMindmapPaletteLavender": "Лаванда",
- "listMindmapPaletteMonochrome": "Црно-бело",
- "listMindmapPaletteColorful": "Шарено",
- "listMindmapPaletteSoft": "Нежно",
- "listMindmapPaletteForest": "Шума",
"listMindmapCanvasBackground": "Позадина платна",
"listMindmapClearManualColors": "Обриши ручно подешене боје",
"listMindmapLineColor": "Боја линија грана",
diff --git a/app/appearance/langs/th.json b/app/appearance/langs/th.json
index e40b1e9661..48e7feeade 100644
--- a/app/appearance/langs/th.json
+++ b/app/appearance/langs/th.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "คลื่น",
+ "listMindmapPaletteDream": "ความฝัน",
+ "listMindmapPaletteAngel": "เทวดา",
+ "listMindmapPaletteReflection": "เงาสะท้อน",
+ "listMindmapPaletteProsperity": "ความรุ่งเรือง",
+ "listMindmapPalettePolish": "ประกายเงา",
+ "listMindmapPalettePeace": "สันติภาพ",
+ "listMindmapPaletteReality": "ความจริง",
+ "listMindmapPaletteDulcet": "ความละมุน",
+ "listMindmapPaletteOpulent": "ความหรูหรา",
+ "listMindmapPaletteHope": "ความหวัง",
+ "listMindmapPaletteBlossom": "ผลิบาน",
+ "listMindmapPaletteGrace": "ความสง่างาม",
+ "listMindmapPalettePassion": "ความหลงใหล",
+ "listMindmapPaletteTranquil": "ความเงียบสงบ",
+ "listMindmapPaletteFlow": "การไหล",
+ "listMindmapPaletteOmbre": "ไล่สี",
+ "listMindmapPaletteQuebrada": "หุบเขา",
+ "listMindmapPaletteMundane": "ชีวิตประจำวัน",
+ "listMindmapPaletteVintage": "วินเทจ",
+ "listMindmapPaletteMelody": "ท่วงทำนอง",
+ "listMindmapPaletteAffinity": "ความผูกพัน",
+ "listMindmapPaletteFragrance": "กลิ่นหอม",
+ "listMindmapPaletteTide": "กระแสน้ำ",
+ "listMindmapPaletteElemental": "ธาตุ",
+ "listMindmapPaletteAspect": "มุมมอง",
+ "listMindmapPaletteDistinct": "ความโดดเด่น",
+ "listMindmapPaletteViolet": "ดอกไวโอเลต",
+ "listMindmapPaletteFlushed": "สีระเรื่อ",
+ "listMindmapPaletteLucid": "ความกระจ่าง",
+ "listMindmapPaletteBalmy": "ความอบอุ่น",
+ "listMindmapPaletteFashion": "แฟชั่น",
+ "listMindmapPaletteHalcyon": "ความสงบสุข",
+ "listMindmapPaletteJolly": "ความร่าเริง",
+ "listMindmapPaletteCandy": "ลูกกวาด",
+ "listMindmapPaletteVitality": "ความมีชีวิตชีวา",
+ "listMindmapPaletteSubtropic": "กึ่งเขตร้อน",
+ "listMindmapPaletteVeil": "ม่านบาง",
+ "listMindmapPalettePolychrome": "หลากสี",
+ "listMindmapPaletteCyber": "ไซเบอร์",
+ "listMindmapPalettePersimmon": "ลูกพลับ",
+ "listMindmapPaletteVineyard": "ไร่องุ่น",
+ "listMindmapPaletteLilac": "ดอกไลแลค",
+ "listMindmapPaletteAnimated": "ความเคลื่อนไหว",
+ "listMindmapPaletteRainbow": "สายรุ้ง",
+ "listMindmapPaletteNewStyle": "รูปแบบใหม่",
+ "listMindmapPaletteMixed": "ผสม",
"embedBlockBreadcrumbParentPathTip": "แสดงเส้นทางเหนือเอกสารในแถบนำทางของบล็อกฝัง แต่ละบล็อกจะใช้การตั้งค่านี้เมื่อเลือกค่าเริ่มต้น",
"documentCreationRecovery": "เอกสารบางส่วนอาจถูกสร้างแล้ว โปรดตรวจสอบลิงก์ก่อนดำเนินการต่อ การดำเนินการต่อจะเก็บเอกสารที่มีอยู่และข้ามขั้นตอนการสร้างที่เหลือ การยกเลิกจะสิ้นสุดการสร้างครั้งนี้",
"documentCreationLimit": "โปรดดำเนินการสร้างเอกสารที่ค้างอยู่ให้เสร็จหรือยกเลิกก่อนเริ่มสร้างใหม่",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "โหลดเอกสารทั้งหมดและเลือกทั้งหมด",
"autoFitRowHeight": "ปรับความสูงของแถวโดยอัตโนมัติ",
"backlinkDatabaseFields": "ฟิลด์ฐานข้อมูล",
- "listMindmapPaletteOcean": "มหาสมุทร",
- "listMindmapPaletteSunset": "พระอาทิตย์ตก",
- "listMindmapPaletteLavender": "ลาเวนเดอร์",
- "listMindmapPaletteMonochrome": "ขาวดำ",
- "listMindmapPaletteColorful": "หลากสี",
- "listMindmapPaletteSoft": "นุ่มนวล",
- "listMindmapPaletteForest": "ป่า",
"listMindmapCanvasBackground": "พื้นหลังผืนผ้าใบ",
"listMindmapClearManualColors": "ล้างสีที่กำหนดเอง",
"listMindmapLineColor": "สีเส้นกิ่ง",
diff --git a/app/appearance/langs/tr.json b/app/appearance/langs/tr.json
index 067e0b7117..6d482e8d83 100644
--- a/app/appearance/langs/tr.json
+++ b/app/appearance/langs/tr.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Dalgalar",
+ "listMindmapPaletteDream": "Rüya",
+ "listMindmapPaletteAngel": "Melek",
+ "listMindmapPaletteReflection": "Yansıma",
+ "listMindmapPaletteProsperity": "Refah",
+ "listMindmapPalettePolish": "Parıltı",
+ "listMindmapPalettePeace": "Barış",
+ "listMindmapPaletteReality": "Gerçeklik",
+ "listMindmapPaletteDulcet": "Tatlılık",
+ "listMindmapPaletteOpulent": "Görkem",
+ "listMindmapPaletteHope": "Umut",
+ "listMindmapPaletteBlossom": "Çiçeklenme",
+ "listMindmapPaletteGrace": "Zarafet",
+ "listMindmapPalettePassion": "Tutku",
+ "listMindmapPaletteTranquil": "Dinginlik",
+ "listMindmapPaletteFlow": "Akış",
+ "listMindmapPaletteOmbre": "Renk geçişi",
+ "listMindmapPaletteQuebrada": "Vadi",
+ "listMindmapPaletteMundane": "Gündelik",
+ "listMindmapPaletteVintage": "Nostalji",
+ "listMindmapPaletteMelody": "Melodi",
+ "listMindmapPaletteAffinity": "Yakınlık",
+ "listMindmapPaletteFragrance": "Koku",
+ "listMindmapPaletteTide": "Gelgit",
+ "listMindmapPaletteElemental": "Elementler",
+ "listMindmapPaletteAspect": "Görünüm",
+ "listMindmapPaletteDistinct": "Belirginlik",
+ "listMindmapPaletteViolet": "Menekşe",
+ "listMindmapPaletteFlushed": "Kızarıklık",
+ "listMindmapPaletteLucid": "Berraklık",
+ "listMindmapPaletteBalmy": "Ilımanlık",
+ "listMindmapPaletteFashion": "Moda",
+ "listMindmapPaletteHalcyon": "Huzur",
+ "listMindmapPaletteJolly": "Neşe",
+ "listMindmapPaletteCandy": "Şeker",
+ "listMindmapPaletteVitality": "Canlılık",
+ "listMindmapPaletteSubtropic": "Subtropikal",
+ "listMindmapPaletteVeil": "Tül",
+ "listMindmapPalettePolychrome": "Çok renkli",
+ "listMindmapPaletteCyber": "Siber",
+ "listMindmapPalettePersimmon": "Trabzon hurması",
+ "listMindmapPaletteVineyard": "Üzüm bağı",
+ "listMindmapPaletteLilac": "Leylak",
+ "listMindmapPaletteAnimated": "Hareketli",
+ "listMindmapPaletteRainbow": "Gökkuşağı",
+ "listMindmapPaletteNewStyle": "Yeni stil",
+ "listMindmapPaletteMixed": "Karışık",
"embedBlockBreadcrumbParentPathTip": "Gömülü blokların içerik haritasında belgenin üst yolunu göster; Varsayılan seçildiğinde her blok bu ayarı devralır",
"documentCreationRecovery": "Bazı belgeler zaten oluşturulmuş olabilir. Devam etmeden önce bağlantıları kontrol edin. Devam etmek mevcut belgeleri korur ve kalan oluşturma adımlarını atlar. İptal, bu denemeyi sonlandırır.",
"documentCreationLimit": "Yeni bir belge oluşturma işlemine başlamadan önce bekleyen işlemi tamamlayın veya iptal edin",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Belgenin tamamını yükle ve tümünü seç",
"autoFitRowHeight": "Satır yüksekliğini otomatik sığdır",
"backlinkDatabaseFields": "Veritabanı alanları",
- "listMindmapPaletteOcean": "Okyanus",
- "listMindmapPaletteSunset": "Gün batımı",
- "listMindmapPaletteLavender": "Lavanta",
- "listMindmapPaletteMonochrome": "Siyah beyaz",
- "listMindmapPaletteColorful": "Renkli",
- "listMindmapPaletteSoft": "Yumuşak",
- "listMindmapPaletteForest": "Orman",
"listMindmapCanvasBackground": "Tuval arka planı",
"listMindmapClearManualColors": "Elle ayarlanan renkleri temizle",
"listMindmapLineColor": "Dal çizgisi rengi",
diff --git a/app/appearance/langs/uk.json b/app/appearance/langs/uk.json
index dc4eed66e4..5b65aeb091 100644
--- a/app/appearance/langs/uk.json
+++ b/app/appearance/langs/uk.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "Хвилі",
+ "listMindmapPaletteDream": "Мрія",
+ "listMindmapPaletteAngel": "Янгол",
+ "listMindmapPaletteReflection": "Відображення",
+ "listMindmapPaletteProsperity": "Процвітання",
+ "listMindmapPalettePolish": "Блиск",
+ "listMindmapPalettePeace": "Мир",
+ "listMindmapPaletteReality": "Реальність",
+ "listMindmapPaletteDulcet": "Ніжність",
+ "listMindmapPaletteOpulent": "Розкіш",
+ "listMindmapPaletteHope": "Надія",
+ "listMindmapPaletteBlossom": "Цвітіння",
+ "listMindmapPaletteGrace": "Витонченість",
+ "listMindmapPalettePassion": "Пристрасть",
+ "listMindmapPaletteTranquil": "Безтурботність",
+ "listMindmapPaletteFlow": "Плин",
+ "listMindmapPaletteOmbre": "Градієнт",
+ "listMindmapPaletteQuebrada": "Ущелина",
+ "listMindmapPaletteMundane": "Повсякденність",
+ "listMindmapPaletteVintage": "Вінтаж",
+ "listMindmapPaletteMelody": "Мелодія",
+ "listMindmapPaletteAffinity": "Спорідненість",
+ "listMindmapPaletteFragrance": "Аромат",
+ "listMindmapPaletteTide": "Приплив",
+ "listMindmapPaletteElemental": "Стихії",
+ "listMindmapPaletteAspect": "Образ",
+ "listMindmapPaletteDistinct": "Виразність",
+ "listMindmapPaletteViolet": "Фіалка",
+ "listMindmapPaletteFlushed": "Рум'янець",
+ "listMindmapPaletteLucid": "Ясність",
+ "listMindmapPaletteBalmy": "М'якість",
+ "listMindmapPaletteFashion": "Мода",
+ "listMindmapPaletteHalcyon": "Спокій",
+ "listMindmapPaletteJolly": "Радість",
+ "listMindmapPaletteCandy": "Цукерка",
+ "listMindmapPaletteVitality": "Життєва сила",
+ "listMindmapPaletteSubtropic": "Субтропіки",
+ "listMindmapPaletteVeil": "Вуаль",
+ "listMindmapPalettePolychrome": "Багатобарвність",
+ "listMindmapPaletteCyber": "Кібер",
+ "listMindmapPalettePersimmon": "Хурма",
+ "listMindmapPaletteVineyard": "Виноградник",
+ "listMindmapPaletteLilac": "Бузок",
+ "listMindmapPaletteAnimated": "Пожвавлення",
+ "listMindmapPaletteRainbow": "Веселка",
+ "listMindmapPaletteNewStyle": "Новий стиль",
+ "listMindmapPaletteMixed": "Суміш",
"embedBlockBreadcrumbParentPathTip": "Показувати шлях над документом у навігаційному ланцюжку вбудованих блоків; за вибору «Типово» блок успадковує це налаштування",
"documentCreationRecovery": "Деякі документи, можливо, вже створено. Перед продовженням перевірте посилання. Продовження збереже наявні документи та пропустить решту етапів їх створення. Скасування завершить цю спробу.",
"documentCreationLimit": "Завершіть або скасуйте незавершене створення документів, перш ніж починати нове",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "Завантажити весь документ і виділити все",
"autoFitRowHeight": "Автоматично підібрати висоту рядка",
"backlinkDatabaseFields": "Поля бази даних",
- "listMindmapPaletteOcean": "Океан",
- "listMindmapPaletteSunset": "Захід сонця",
- "listMindmapPaletteLavender": "Лавандова",
- "listMindmapPaletteMonochrome": "Чорно-біла",
- "listMindmapPaletteColorful": "Барвиста",
- "listMindmapPaletteSoft": "М’яка",
- "listMindmapPaletteForest": "Лісова",
"listMindmapCanvasBackground": "Тло полотна",
"listMindmapClearManualColors": "Скинути ручні кольори",
"listMindmapLineColor": "Колір ліній гілок",
diff --git a/app/appearance/langs/zh-CN.json b/app/appearance/langs/zh-CN.json
index b402f34ae7..d7cdf9f814 100644
--- a/app/appearance/langs/zh-CN.json
+++ b/app/appearance/langs/zh-CN.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "浪潮",
+ "listMindmapPaletteDream": "梦境",
+ "listMindmapPaletteAngel": "天使",
+ "listMindmapPaletteReflection": "倒影",
+ "listMindmapPaletteProsperity": "繁盛",
+ "listMindmapPalettePolish": "光泽",
+ "listMindmapPalettePeace": "和平",
+ "listMindmapPaletteReality": "现实",
+ "listMindmapPaletteDulcet": "柔美",
+ "listMindmapPaletteOpulent": "华贵",
+ "listMindmapPaletteHope": "希望",
+ "listMindmapPaletteBlossom": "繁花",
+ "listMindmapPaletteGrace": "雅致",
+ "listMindmapPalettePassion": "热情",
+ "listMindmapPaletteTranquil": "恬静",
+ "listMindmapPaletteFlow": "流动",
+ "listMindmapPaletteOmbre": "渐变",
+ "listMindmapPaletteQuebrada": "溪谷",
+ "listMindmapPaletteMundane": "日常",
+ "listMindmapPaletteVintage": "复古",
+ "listMindmapPaletteMelody": "旋律",
+ "listMindmapPaletteAffinity": "亲和",
+ "listMindmapPaletteFragrance": "馥郁",
+ "listMindmapPaletteTide": "潮汐",
+ "listMindmapPaletteElemental": "元素",
+ "listMindmapPaletteAspect": "印象",
+ "listMindmapPaletteDistinct": "鲜明",
+ "listMindmapPaletteViolet": "紫罗兰",
+ "listMindmapPaletteFlushed": "绯红",
+ "listMindmapPaletteLucid": "清透",
+ "listMindmapPaletteBalmy": "和煦",
+ "listMindmapPaletteFashion": "时尚",
+ "listMindmapPaletteHalcyon": "静谧",
+ "listMindmapPaletteJolly": "欢愉",
+ "listMindmapPaletteCandy": "糖果",
+ "listMindmapPaletteVitality": "活力",
+ "listMindmapPaletteSubtropic": "亚热带",
+ "listMindmapPaletteVeil": "薄纱",
+ "listMindmapPalettePolychrome": "多彩",
+ "listMindmapPaletteCyber": "赛博",
+ "listMindmapPalettePersimmon": "柿色",
+ "listMindmapPaletteVineyard": "葡园",
+ "listMindmapPaletteLilac": "丁香",
+ "listMindmapPaletteAnimated": "灵动",
+ "listMindmapPaletteRainbow": "彩虹",
+ "listMindmapPaletteNewStyle": "新风格",
+ "listMindmapPaletteMixed": "混合",
"embedBlockBreadcrumbParentPathTip": "显示嵌入块所在文档的上层路径;块级选项选择“默认”时继承此设置",
"documentCreationRecovery": "部分文档可能已创建,请先通过链接检查。继续将保留已有文档,并跳过其尚未完成的创建处理。取消会结束本次创建。",
"documentCreationLimit": "请先完成或取消待处理的文档创建,再开始新的创建",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "加载全文并全选",
"autoFitRowHeight": "自适应行高",
"backlinkDatabaseFields": "数据库字段",
- "listMindmapPaletteOcean": "海洋",
- "listMindmapPaletteSunset": "日落",
- "listMindmapPaletteLavender": "薰衣草",
- "listMindmapPaletteMonochrome": "黑白",
- "listMindmapPaletteColorful": "缤纷",
- "listMindmapPaletteSoft": "柔和",
- "listMindmapPaletteForest": "森林",
"listMindmapCanvasBackground": "画布背景",
"listMindmapClearManualColors": "清除手工配色",
"listMindmapLineColor": "分支连线颜色",
diff --git a/app/appearance/langs/zh-TW.json b/app/appearance/langs/zh-TW.json
index aac104cac7..9e9e3fde3e 100644
--- a/app/appearance/langs/zh-TW.json
+++ b/app/appearance/langs/zh-TW.json
@@ -1,4 +1,51 @@
{
+ "listMindmapPaletteWaves": "浪潮",
+ "listMindmapPaletteDream": "夢境",
+ "listMindmapPaletteAngel": "天使",
+ "listMindmapPaletteReflection": "倒影",
+ "listMindmapPaletteProsperity": "繁盛",
+ "listMindmapPalettePolish": "光澤",
+ "listMindmapPalettePeace": "和平",
+ "listMindmapPaletteReality": "現實",
+ "listMindmapPaletteDulcet": "柔美",
+ "listMindmapPaletteOpulent": "華貴",
+ "listMindmapPaletteHope": "希望",
+ "listMindmapPaletteBlossom": "繁花",
+ "listMindmapPaletteGrace": "雅緻",
+ "listMindmapPalettePassion": "熱情",
+ "listMindmapPaletteTranquil": "恬靜",
+ "listMindmapPaletteFlow": "流動",
+ "listMindmapPaletteOmbre": "漸層",
+ "listMindmapPaletteQuebrada": "溪谷",
+ "listMindmapPaletteMundane": "日常",
+ "listMindmapPaletteVintage": "復古",
+ "listMindmapPaletteMelody": "旋律",
+ "listMindmapPaletteAffinity": "親和",
+ "listMindmapPaletteFragrance": "馥郁",
+ "listMindmapPaletteTide": "潮汐",
+ "listMindmapPaletteElemental": "元素",
+ "listMindmapPaletteAspect": "印象",
+ "listMindmapPaletteDistinct": "鮮明",
+ "listMindmapPaletteViolet": "紫羅蘭",
+ "listMindmapPaletteFlushed": "緋紅",
+ "listMindmapPaletteLucid": "清透",
+ "listMindmapPaletteBalmy": "和煦",
+ "listMindmapPaletteFashion": "時尚",
+ "listMindmapPaletteHalcyon": "靜謐",
+ "listMindmapPaletteJolly": "歡愉",
+ "listMindmapPaletteCandy": "糖果",
+ "listMindmapPaletteVitality": "活力",
+ "listMindmapPaletteSubtropic": "亞熱帶",
+ "listMindmapPaletteVeil": "薄紗",
+ "listMindmapPalettePolychrome": "多彩",
+ "listMindmapPaletteCyber": "賽博",
+ "listMindmapPalettePersimmon": "柿色",
+ "listMindmapPaletteVineyard": "葡園",
+ "listMindmapPaletteLilac": "丁香",
+ "listMindmapPaletteAnimated": "靈動",
+ "listMindmapPaletteRainbow": "彩虹",
+ "listMindmapPaletteNewStyle": "新風格",
+ "listMindmapPaletteMixed": "混合",
"embedBlockBreadcrumbParentPathTip": "顯示嵌入區塊所在文件的上層路徑;區塊選項選擇「預設」時繼承此設定",
"documentCreationRecovery": "部分文件可能已建立,請先透過連結檢查。繼續將保留既有文件,並略過其尚未完成的建立處理。取消會結束本次建立。",
"documentCreationLimit": "請先完成或取消待處理的文件建立,再開始新的建立",
@@ -7,13 +54,6 @@
"loadAllAndSelectAll": "載入全文並全選",
"autoFitRowHeight": "自動調整列高",
"backlinkDatabaseFields": "資料庫欄位",
- "listMindmapPaletteOcean": "海洋",
- "listMindmapPaletteSunset": "日落",
- "listMindmapPaletteLavender": "薰衣草",
- "listMindmapPaletteMonochrome": "黑白",
- "listMindmapPaletteColorful": "繽紛",
- "listMindmapPaletteSoft": "柔和",
- "listMindmapPaletteForest": "森林",
"listMindmapCanvasBackground": "畫布背景",
"listMindmapClearManualColors": "清除手動配色",
"listMindmapLineColor": "分支連線顏色",
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
index 2968bd5627..aa121b49b8 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
@@ -8,7 +8,7 @@
"title": "Formatting elements",
"title-img": "background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;",
"type": "doc",
- "updated": "20261024171608"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2052,7 +2052,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20210104091509-v1x69oc",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2480,7 +2480,7 @@
"Type": "NodeHeading",
"Properties": {
"id": "20261024161816-kuq9j6z",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2582,7 +2582,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20261022102848-11epv5y",
- "updated": "20261024161816"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2614,7 +2614,7 @@
},
{
"Type": "NodeText",
- "Data": " to choose Colorful, Soft, Forest, Ocean, Sunset, Lavender, or Monochrome for the current map. The theme uses transparent backgrounds and a consistent text color at every level. The root is larger, and the root and first-level branches use a stronger font weight. Colors distinguish branch lines, with a heavier main trunk and finer lines at deeper levels."
+ "Data": " to choose from 47 color themes for the current map. Root and first-level nodes use colored backgrounds with white text; deeper nodes use transparent backgrounds with black text. Branch lines inherit their first-level color and use a consistent width. In orthogonal and rounded styles, overlapping root trunk segments are painted in node order, with later branches covering earlier ones."
}
]
},
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy
index dc66e5559f..a2798c4533 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy
@@ -8,7 +8,7 @@
"title": "排版元素",
"title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);",
"type": "doc",
- "updated": "20261024171629"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2055,7 +2055,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20210104091228-wdpx6ev",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2380,7 +2380,7 @@
"Type": "NodeHeading",
"Properties": {
"id": "20261024161816-ucbq2tw",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2468,7 +2468,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20261022102848-idam1p2",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2500,7 +2500,7 @@
},
{
"Type": "NodeText",
- "Data": " 中为当前导图选择缤纷、柔和、森林、海洋、日落、薰衣草或黑白配色。主题为所有层级使用透明背景和统一的文字色。根节点字号更大,与一级分支一起采用较粗字重。分支连线按色卡配色,主干较粗,深层连线较细。"
+ "Data": " 中为当前导图选择 47 种配色主题。根节点和一级节点使用色卡背景及白色文字,二级及后续节点使用透明背景及黑色文字。后代连线继承所属一级分支的颜色,各层级连线粗细一致。折线和圆角折线的根节点主干按节点顺序叠加绘制,后绘制的分支颜色覆盖重叠部分。"
}
]
},
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy
index f23459f4fd..03fa46568d 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy
@@ -8,7 +8,7 @@
"title": "排版元素",
"title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);",
"type": "doc",
- "updated": "20261024171629"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2053,7 +2053,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20211226122008-731sqd6",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2378,7 +2378,7 @@
"Type": "NodeHeading",
"Properties": {
"id": "20261024161816-ia87ag4",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2466,7 +2466,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20261022102848-dz75ii8",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2498,7 +2498,7 @@
},
{
"Type": "NodeText",
- "Data": " 中為目前心智圖選擇繽紛、柔和、森林、海洋、日落、薰衣草或黑白配色。主題為所有層級使用透明背景和統一的文字色。根節點字級較大,與一級分支一同採用較粗字重。分支連線依色卡配色,主幹較粗,深層連線較細。"
+ "Data": " 中為目前心智圖選擇 47 種配色主題。根節點和一級節點使用色卡背景及白色文字,二級及後續節點使用透明背景及黑色文字。後代連線繼承所屬一級分支的顏色,各層級連線粗細一致。折線和圓角折線的根節點主幹依節點順序疊加繪製,後繪製的分支顏色覆蓋重疊部分。"
}
]
},
diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy
index 98b684f634..c3d2a2dd86 100644
--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy
+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy
@@ -9,7 +9,7 @@
"title": "書式要素",
"title-img": "background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;",
"type": "doc",
- "updated": "20261024171629"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2177,7 +2177,7 @@
"Properties": {
"ID": "20240530101000-ch5e4vh",
"id": "20240530101000-1ev7xub",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2581,7 +2581,7 @@
"Type": "NodeHeading",
"Properties": {
"id": "20261024161816-fjkvky7",
- "updated": "20261024164212"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2679,7 +2679,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20261022102848-sbqeaum",
- "updated": "20261024161816"
+ "updated": "20261024174551"
},
"Children": [
{
@@ -2707,7 +2707,7 @@
},
{
"Type": "NodeText",
- "Data": " で、現在のマップにカラフル、ソフト、フォレスト、海、夕日、ラベンダー、モノクロの配色を選択できます。テーマでは、すべての階層の背景を透明にし、文字色を統一します。ルートノードは文字を大きくし、ルートノードと第 1 階層のブランチは文字を太くします。"
+ "Data": " で、現在のマップに 47 種類の配色テーマを選択できます。ルートと第 1 階層のノードは色付きの背景に白い文字を使い、第 2 階層以降は透明な背景に黒い文字を使います。子孫の接続線は所属する第 1 階層の色を継承し、すべての階層で同じ太さを使います。直角と角丸の接続線では、ルートの幹線をノード順に重ねて描画し、後のブランチの色で重なる部分を上書きします。"
}
]
},
diff --git a/app/src/protyle/render/listMindmap/appearance.test.ts b/app/src/protyle/render/listMindmap/appearance.test.ts
index e6ec5c2a78..c21e26b098 100644
--- a/app/src/protyle/render/listMindmap/appearance.test.ts
+++ b/app/src/protyle/render/listMindmap/appearance.test.ts
@@ -1,15 +1,19 @@
import * as assert from "node:assert/strict";
import test from "node:test";
import {assignListMindmapBranchColors, clearListMindmapManualColors, getListMindmapAppearanceMenu,
- getMindmapLineColor, getMindmapTextColor, isListMindmapAppearance, LIST_MINDMAP_PALETTES, resolveListMindmapColors} from "./appearance";
+ getMindmapLineColor, getMindmapTextColor, isListMindmapAppearance, LIST_MINDMAP_CANVAS_COLORS,
+ LIST_MINDMAP_PALETTES, resolveListMindmapColors} from "./appearance";
import type {ListMindmapModel, ListMindmapNode} from "./model";
import {execFile} from "node:child_process";
-import {mkdtempSync, readFileSync, rmSync, writeFileSync} from "node:fs";
+import {mkdtempSync, readFileSync, readdirSync, rmSync, writeFileSync} from "node:fs";
import {tmpdir} from "node:os";
import * as path from "node:path";
import {promisify} from "node:util";
import {ScriptTarget, transpileModule} from "typescript";
+const legacyPalettes: {id: string, rootColor: string, colors: string[]}[] = JSON.parse(readFileSync(
+ path.join(__dirname, "../../../../tests/fixtures/list-mindmap-appearance-palettes.json"), "utf8"));
+
const makeModel = (): ListMindmapModel => {
const node = (id: string, children: ListMindmapNode[] = []): ListMindmapNode =>
({id, children, contentBlocks: [], collapsed: false, virtual: false});
@@ -37,18 +41,13 @@ test("appearance validates optional colors and rejects unsupported formats", ()
}
});
-test("all seven built-in palettes remain selectable after reload and provide readable foregrounds", () => {
- assert.equal(LIST_MINDMAP_PALETTES.length, 7);
- assert.equal(new Set(LIST_MINDMAP_PALETTES.map(preset => preset.id)).size, 7);
- assert.equal(new Set(LIST_MINDMAP_PALETTES.map(preset => JSON.stringify(preset.colors))).size, 7);
+test("all 47 reference palettes remain selectable after reload with their fixed level foregrounds", () => {
+ assert.equal(LIST_MINDMAP_PALETTES.length, 47);
+ assert.equal(new Set(LIST_MINDMAP_PALETTES.map(preset => preset.id)).size, 47);
+ assert.equal(new Set(LIST_MINDMAP_PALETTES.map(preset => JSON.stringify(preset.colors))).size, 47);
const model = makeModel();
model.metadata.appearance = {version: 1, palette: [], backgroundColor: "#ffffff"};
model.metadata.nodes.a = {textColor: "red"};
- const luminance = (color: string) => {
- const rgb = color.match(/[a-f\d]{2}/gi).map(channel => parseInt(channel, 16) / 255);
- const linear = rgb.map(channel => channel <= .04045 ? channel / 12.92 : ((channel + .055) / 1.055) ** 2.4);
- return linear.reduce((sum, channel, index) => sum + channel * [.2126, .7152, .0722][index], 0);
- };
const themes = () => {
const menu = getListMindmapAppearanceMenu(model.metadata, update => update(model.metadata), {},
{id: "connectorStyle", label: "Connectors"});
@@ -60,31 +59,44 @@ test("all seven built-in palettes remain selectable after reload and provide rea
assert.deepEqual(themes().filter(item => item.checked).map(item => item.id), [preset.id]);
assert.deepEqual(model.metadata.appearance.palette, preset.colors);
assert.equal(model.metadata.appearance.rootColor, preset.rootColor);
- assert.equal(model.metadata.appearance.nodeStyle, "layered");
- assert.ok(!preset.colors.includes(preset.rootColor), "root colors remain separate from every branch color");
+ assert.equal(model.metadata.appearance.nodeStyle, "branch");
+ assert.equal(preset.colors.length, 9, "the first reference swatch belongs to the root and the next nine to branches");
assert.equal(model.metadata.appearance.backgroundColor, "#ffffff");
assert.equal(model.metadata.nodes.a.textColor, "red");
- for (const [index, color] of [...preset.colors, preset.rootColor].entries()) {
- const lightFill = preset.id === "soft" ||
- (["lavender", "monochrome"].includes(preset.id) && index >= 4);
- assert.equal(getMindmapTextColor(color), lightFill && index < preset.colors.length ? "#000000" : "#ffffff",
- `${preset.id} branch ${index + 1} retains its intended foreground`);
- const foreground = luminance(getMindmapTextColor(color));
- const background = luminance(color);
- const contrast = (Math.max(foreground, background) + .05) / (Math.min(foreground, background) + .05);
- assert.ok(contrast >= 4.5, `${preset.id} ${color} must retain readable text contrast`);
+ for (const canvas of ["#ffffff", "#1e1e1e", ...LIST_MINDMAP_CANVAS_COLORS]) {
+ const styles = resolveListMindmapColors(model, canvas);
+ assert.deepEqual(["root", "a", "a1"].map(id => styles.get(id).textColor), ["#ffffff", "#ffffff", "#000000"]);
+ assert.deepEqual(["root", "a", "a1"].map(id => styles.get(id).backgroundColor),
+ [preset.rootColor, preset.colors[0], "transparent"]);
+ assert.deepEqual(["root", "a", "a1"].map(id => styles.get(id).lineWidth), [1.5, 1.5, 1.5]);
+ assert.equal(styles.get("a1").lineColor, preset.colors[0]);
}
}
});
+test("all reference theme names are translated in every bundled language and old presets leave the menu", () => {
+ const directory = path.join(__dirname, "../../../../appearance/langs");
+ for (const file of readdirSync(directory).filter(file => file.endsWith(".json"))) {
+ const labels = JSON.parse(readFileSync(path.join(directory, file), "utf8"));
+ const menu = getListMindmapAppearanceMenu(makeModel().metadata, () => {}, labels, {id: "connectorStyle"});
+ const themes = (menu.submenu as IMenu[]).find(item => item.id === "theme").submenu as IMenu[];
+ for (const preset of LIST_MINDMAP_PALETTES) {
+ assert.ok(labels[preset.label]?.trim(), `${file} translates ${preset.id}`);
+ assert.equal(themes.find(item => item.id === preset.id).label, labels[preset.label]);
+ }
+ assert.ok(legacyPalettes.every(preset => !themes.some(item => item.id === preset.id)),
+ "removed presets are not offered while their saved palettes remain readable");
+ }
+});
+
for (const fixture of [
{id: "ocean", colors: ["#0c4a6e", "#0369a1", "#0284c7", "#0891b2", "#0d9488", "#0f766e"]},
{id: "sunset", colors: ["#9a3412", "#c2410c", "#ea580c", "#be123c", "#9f1239", "#7e22ce"]},
{id: "lavender", colors: ["#4c1d95", "#6d28d9", "#7c3aed", "#a855f7", "#c084fc", "#e9d5ff"]},
]) {
- test(`previous ${fixture.id} palettes retain saved colors and selection until explicitly reapplied`, () => {
+ test(`previous ${fixture.id} palettes retain saved colors until a new reference theme is explicitly applied`, () => {
const model = makeModel();
- const preset = LIST_MINDMAP_PALETTES.find(preset => preset.id === fixture.id);
+ const preset = LIST_MINDMAP_PALETTES[0];
const previous = fixture.colors;
model.metadata.appearance = {version: 1, palette: previous, backgroundColor: "#ffffff"};
model.metadata.nodes.a = {branchColor: 2, textColor: "#ff0000"};
@@ -92,10 +104,10 @@ for (const fixture of [
const menu = getListMindmapAppearanceMenu(model.metadata, update => update(model.metadata), {},
{id: "connectorStyle", label: "Connectors"});
const themes = (menu.submenu as IMenu[]).find(item => item.id === "theme").submenu as IMenu[];
- assert.deepEqual(themes.filter(item => item.checked).map(item => item.id), [fixture.id]);
+ assert.deepEqual(themes.filter(item => item.checked).map(item => item.id), []);
assert.equal(resolveListMindmapColors(model).get("a").backgroundColor, previous[2]);
assert.equal(JSON.stringify(model.metadata), before, "opening the menu never migrates document colors");
- themes.find(item => item.id === fixture.id).click(undefined, undefined);
+ themes.find(item => item.id === preset.id).click(undefined, undefined);
assert.deepEqual(model.metadata.appearance.palette, preset.colors);
assert.equal(model.metadata.appearance.rootColor, preset.rootColor);
assert.equal(model.metadata.appearance.backgroundColor, "#ffffff");
@@ -115,16 +127,17 @@ test("root colors are opt-in for every existing palette and preserve branch slot
const themes = () => getListMindmapAppearanceMenu(model.metadata, update => update(model.metadata), {},
{id: "connectorStyle", label: "Connectors"}).submenu as IMenu[];
const paletteMenu = () => themes().find(item => item.id === "theme").submenu as IMenu[];
- assert.equal(paletteMenu().find(item => item.id === preset.id).checked, true);
+ assert.equal(paletteMenu().find(item => item.id === preset.id).checked, false);
assert.equal(JSON.stringify(model.metadata), before, "reading and opening a menu never migrate old colors");
paletteMenu().find(item => item.id === preset.id).click(undefined, undefined);
const after = JSON.stringify(model.metadata);
const styled = resolveListMindmapColors(model);
- assert.equal(styled.get("root").backgroundColor, "transparent");
+ assert.equal(styled.get("root").backgroundColor, preset.rootColor);
assert.equal(styled.get("root").lineColor, preset.rootColor);
- assert.notEqual(styled.get("a").backgroundColor, legacy.get("a").backgroundColor);
+ assert.equal(styled.get("a").backgroundColor, legacy.get("a").backgroundColor,
+ "the first level retains the branch fill while deeper nodes become transparent");
assert.equal(styled.get("a1").backgroundColor, "transparent");
- assert.deepEqual(model.metadata.appearance.palette, preset.colors, "layered styling retains the saved branch palette");
+ assert.deepEqual(model.metadata.appearance.palette, preset.colors, "branch styling retains the saved branch palette");
assert.deepEqual(model.metadata.nodes.root, {backgroundColor: "#fed7aa", bold: true});
model.metadata = JSON.parse(before);
assert.deepEqual(resolveListMindmapColors(model), legacy, "undo restores the exact legacy root and branch colors");
@@ -135,7 +148,7 @@ test("root colors are opt-in for every existing palette and preserve branch slot
assert.equal(model.metadata.appearance.rootColor, preset.rootColor, "clearing manual colors retains the root theme");
assert.equal(model.metadata.nodes.a.branchColor, 0);
assert.equal(model.metadata.nodes.b.branchColor, 1);
- model.metadata.appearance.rootColor = "#ff0000";
+ model.metadata.appearance.rootColor = "#010203";
assert.equal(paletteMenu().some(item => item.checked), false, "a different root color is not the built-in preset");
paletteMenu().find(item => item.id === "default").click(undefined, undefined);
assert.equal(model.metadata.appearance.rootColor, undefined);
@@ -150,8 +163,8 @@ test("layered palettes combine transparent nodes, neutral text, hierarchical typ
.reduce((sum, channel, index) => sum + channel * [.2126, .7152, .0722][index], 0);
const contrast = (a: string, b: string) => (Math.max(luminance(a), luminance(b)) + .05) /
(Math.min(luminance(a), luminance(b)) + .05);
- for (const preset of LIST_MINDMAP_PALETTES) {
- for (const canvas of ["#ffffff", "#1e1e1e", ...LIST_MINDMAP_PALETTES[1].colors]) {
+ for (const preset of legacyPalettes) {
+ for (const canvas of ["#ffffff", "#1e1e1e", ...LIST_MINDMAP_CANVAS_COLORS]) {
const model = makeModel();
model.metadata.appearance = {version: 1, palette: [...preset.colors], rootColor: preset.rootColor, nodeStyle: "layered"};
assignListMindmapBranchColors(model);
@@ -181,6 +194,29 @@ test("layered palettes combine transparent nodes, neutral text, hierarchical typ
}
});
+test("removed preset fixtures preserve solid and layered rendering without rewriting saved appearance", () => {
+ for (const preset of legacyPalettes) {
+ for (const nodeStyle of [undefined, "layered"] as const) {
+ const model = makeModel();
+ model.metadata.appearance = {version: 1, palette: [...preset.colors], rootColor: preset.rootColor,
+ ...(nodeStyle ? {nodeStyle} : {})};
+ assignListMindmapBranchColors(model);
+ const before = JSON.stringify(model.metadata);
+ const colors = resolveListMindmapColors(model);
+ assert.equal(colors.get("root").backgroundColor, nodeStyle ? "transparent" : preset.rootColor);
+ assert.equal(colors.get("a").backgroundColor, nodeStyle ? "transparent" : preset.colors[0]);
+ assert.equal(colors.get("a1").backgroundColor, colors.get("a").backgroundColor);
+ if (!nodeStyle) {
+ assert.equal(colors.get("a").textColor, getMindmapTextColor(preset.colors[0]));
+ }
+ getListMindmapAppearanceMenu(model.metadata, () => assert.fail("reading cannot restyle saved maps"), {}, {});
+ assert.equal(JSON.stringify(model.metadata), before);
+ model.metadata = JSON.parse(before);
+ assert.deepEqual(resolveListMindmapColors(model), colors);
+ }
+ }
+});
+
test("branch identity survives reordering, theme changes, insertion, reparenting and serialized reload", () => {
const model = makeModel();
const before = JSON.stringify(model.metadata);
@@ -226,7 +262,7 @@ test("theme lines contrast with every canvas preset while retaining sufficiently
const values = [luminance(line), luminance(background)];
return (Math.max(...values) + .05) / (Math.min(...values) + .05);
};
- for (const background of ["#ffffff", "#1e1e1e", ...LIST_MINDMAP_PALETTES[1].colors]) {
+ for (const background of ["#ffffff", "#1e1e1e", ...LIST_MINDMAP_CANVAS_COLORS]) {
for (const preset of LIST_MINDMAP_PALETTES) {
for (const color of [...preset.colors, preset.rootColor]) {
const adjusted = getMindmapLineColor(color, background);
@@ -255,11 +291,11 @@ test("appearance menu preserves manual colors and non-color metadata until expli
const entries = (build().submenu as IMenu[]).find(item => item.id === group).submenu as IMenu[];
entries.find(item => item.id === id).click(undefined, undefined);
};
- choose("theme", "forest");
+ choose("theme", "waves");
assert.equal(JSON.stringify(model.metadata.nodes), old);
choose("canvasBackground", "dark");
assert.equal(model.metadata.appearance.backgroundColor, "#1e1e1e");
- choose("theme", "soft");
+ choose("theme", "dream");
assert.equal(model.metadata.appearance.backgroundColor, "#1e1e1e");
assert.equal(model.metadata.appearance.rootColor, LIST_MINDMAP_PALETTES[1].rootColor);
choose("theme", "default");
@@ -273,7 +309,7 @@ test("appearance menu preserves manual colors and non-color metadata until expli
assert.equal(model.metadata.appearance.backgroundColor, "#1e1e1e");
});
-const contrastCases = async (source: string, css: string) => {
+const contrastCases = async (source: string, css: string, legacyPresets: typeof legacyPalettes) => {
const check = require("node:assert/strict");
const api = new Function("Constants", "mathRender", "tabsRender", "destroyTabsRender", source +
"; return {ListMindmapView, readListMindmap, retagMindmapBranch, getMindmapLineColor, resolveListMindmapColors, LIST_MINDMAP_PALETTES};")({
@@ -367,7 +403,7 @@ const contrastCases = async (source: string, css: string) => {
view.edges = [emptyNode, quoteNode].map(node => ({from: model.root.id, to: node.id}));
view.positions.set(deepNode.id, {id: deepNode.id, x: 340, y: 80, width: 120, height: 40});
view.edges.push({from: emptyNode.id, to: deepNode.id});
- for (const preset of api.LIST_MINDMAP_PALETTES) {
+ for (const preset of legacyPresets) {
for (const background of ["#ffffff", "#1e1e1e"]) {
for (const printLayout of [false, true]) {
view.options.printLayout = printLayout;
@@ -397,6 +433,38 @@ const contrastCases = async (source: string, css: string) => {
}
}
for (const preset of api.LIST_MINDMAP_PALETTES) {
+ model.metadata.appearance = {version: 1, palette: preset.colors, rootColor: preset.rootColor, nodeStyle: "branch"};
+ model.metadata.connectorStyle = "rounded";
+ delete model.metadata.nodes[quoteNode.id];
+ for (const printLayout of [false, true]) {
+ view.options.printLayout = printLayout;
+ view.readOnly = printLayout;
+ for (const background of ["#ffffff", "#1e1e1e"]) {
+ document.documentElement.style.setProperty("--b3-theme-background", background);
+ view.update(model);
+ check.equal(getComputedStyle(view.nodeElements.get(model.root.id)).backgroundColor, computedColor(preset.rootColor));
+ for (const node of [model.root, emptyNode, quoteNode]) {
+ check.equal(getComputedStyle(view.nodeElements.get(node.id)).color, "rgb(255, 255, 255)",
+ "root and first-level foregrounds follow the fixed white reference style");
+ }
+ const deep = view.nodeElements.get(deepNode.id);
+ check.equal(getComputedStyle(deep).backgroundColor, "rgba(0, 0, 0, 0)");
+ check.equal(getComputedStyle(deep).color, "rgb(0, 0, 0)");
+ check.equal(getComputedStyle(view.getContentHost(emptyNode.id), "::before").color, "rgb(255, 255, 255)");
+ check.equal(getComputedStyle(view.nodeElements.get(quoteNode.id).querySelector(".bq .p")).color,
+ "rgb(255, 255, 255)");
+ check.equal(getComputedStyle(view.nodeElements.get(quoteNode.id).querySelector(".bq span")).color,
+ "rgb(194, 65, 12)", "explicit inline text colors remain authoritative");
+ widths.length = 0;
+ lines.length = 0;
+ view.draw();
+ check.ok(widths.length > 0 && widths.every(width => width === 1.5),
+ "new reference themes use the same width for every hierarchy line");
+ check.ok(lines.includes(computedColor(preset.colors[0])), "reference swatch values reach the canvas unchanged");
+ }
+ }
+ }
+ for (const preset of legacyPresets) {
model.metadata.appearance = {version: 1, palette: preset.colors, rootColor: preset.rootColor, nodeStyle: "layered"};
for (const printLayout of [false, true]) {
view.options.printLayout = printLayout;
@@ -484,7 +552,7 @@ const contrastCases = async (source: string, css: string) => {
return "mindmap-contrast-ok";
};
-test("palette text and canvas connectors stay readable while manual colors and legacy styles survive", {
+test("reference and legacy palettes preserve their foreground rules, hierarchy paths and manual overrides", {
timeout: 20000,
skip: process.platform === "linux" && !process.env.DISPLAY && !process.env.WAYLAND_DISPLAY,
}, async () => {
@@ -510,7 +578,7 @@ app.whenReady().then(async () => {
await win.webContents.executeJavaScript(require("fs").readFileSync(${JSON.stringify(path.resolve("stage/protyle/js/lute/lute.min.js"))}, "utf8"));
console.log(await win.webContents.executeJavaScript(${JSON.stringify(
`const __name = value => value; (async () => { try { return await (${contrastCases.toString()})` +
- `(${JSON.stringify(source)}, ${JSON.stringify(css)}); } catch (error) { return error.stack; } })()`)}));
+ `(${JSON.stringify(source)}, ${JSON.stringify(css)}, ${JSON.stringify(legacyPalettes)}); } catch (error) { return error.stack; } })()`)}));
win.destroy(); app.exit(0);
} catch (error) { console.error(error); win.destroy(); app.exit(1); }
});`, "utf8");
diff --git a/app/src/protyle/render/listMindmap/appearance.ts b/app/src/protyle/render/listMindmap/appearance.ts
index e68cf1c717..03cb4b1b32 100644
--- a/app/src/protyle/render/listMindmap/appearance.ts
+++ b/app/src/protyle/render/listMindmap/appearance.ts
@@ -4,23 +4,109 @@ export interface ListMindmapAppearance {
version: 1;
palette: string[];
rootColor?: string;
- nodeStyle?: "layered";
+ nodeStyle?: "layered" | "branch";
backgroundColor?: string;
}
-export const LIST_MINDMAP_PALETTES: {id: string, label: string, rootColor: string, colors: string[], previousColors?: string[][]}[] = [
- {id: "colorful", label: "listMindmapPaletteColorful", rootColor: "#1e293b", colors: ["#2563eb", "#dc2626", "#15803d", "#9333ea", "#c2410c", "#0e7490"]},
- {id: "soft", label: "listMindmapPaletteSoft", rootColor: "#64748b", colors: ["#bfdbfe", "#fecaca", "#bbf7d0", "#e9d5ff", "#fed7aa", "#a5f3fc"]},
- {id: "forest", label: "listMindmapPaletteForest", rootColor: "#14532d", colors: ["#166534", "#047857", "#4d7c0f", "#0f766e", "#3f6212", "#15803d"]},
- {id: "ocean", label: "listMindmapPaletteOcean", rootColor: "#082f49", colors: ["#0c4a6e", "#0369a1", "#0277b4", "#087e9b", "#087f75", "#0f766e"],
- previousColors: [["#0c4a6e", "#0369a1", "#0284c7", "#0891b2", "#0d9488", "#0f766e"]]},
- {id: "sunset", label: "listMindmapPaletteSunset", rootColor: "#7c2d12", colors: ["#9a3412", "#c2410c", "#c94c0d", "#be123c", "#9f1239", "#7e22ce"],
- previousColors: [["#9a3412", "#c2410c", "#ea580c", "#be123c", "#9f1239", "#7e22ce"]]},
- {id: "lavender", label: "listMindmapPaletteLavender", rootColor: "#3b0764", colors: ["#4c1d95", "#6d28d9", "#7c3aed", "#9842db", "#c084fc", "#e9d5ff"],
- previousColors: [["#4c1d95", "#6d28d9", "#7c3aed", "#a855f7", "#c084fc", "#e9d5ff"]]},
- {id: "monochrome", label: "listMindmapPaletteMonochrome", rootColor: "#111827", colors: ["#1f2937", "#374151", "#4b5563", "#6b7280", "#9ca3af", "#d1d5db"]},
+export const LIST_MINDMAP_PALETTES: {id: string, label: string, rootColor: string, colors: string[]}[] = [
+ {id: "waves", label: "listMindmapPaletteWaves", rootColor: "#849695",
+ colors: ["#20b18b", "#2b84d2", "#2791b1", "#e76726", "#fda009", "#d35983", "#415e82", "#e3555e", "#a282a9"]},
+ {id: "dream", label: "listMindmapPaletteDream", rootColor: "#43b2b4",
+ colors: ["#d793c9", "#5faeee", "#da7863", "#6cb27a", "#fec245", "#3e9dc5", "#e470a4", "#95bb3c", "#ceb082"]},
+ {id: "angel", label: "listMindmapPaletteAngel", rootColor: "#4c6aff",
+ colors: ["#4b87ff", "#bf66a0", "#e84e42", "#585ea8", "#f49f16", "#3e9dc5", "#15a343", "#ed6e7e", "#42bdae"]},
+ {id: "reflection", label: "listMindmapPaletteReflection", rootColor: "#d36867",
+ colors: ["#739caf", "#30415d", "#b9a286", "#e44559", "#9b5d6e", "#4a4d6b", "#828081", "#cfab72", "#74333f"]},
+ {id: "prosperity", label: "listMindmapPaletteProsperity", rootColor: "#ef4a6e",
+ colors: ["#49b3f1", "#2ebab7", "#4997c5", "#e68239", "#94c850", "#7e77d5", "#e99a82", "#b992bc", "#6ec370"]},
+ {id: "polish", label: "listMindmapPalettePolish", rootColor: "#2684e7",
+ colors: ["#fc5d62", "#4fa7ed", "#fec444", "#eb8dd4", "#5cbede", "#70c85d", "#f66f45", "#9871e1", "#4ccdcb"]},
+ {id: "peace", label: "listMindmapPalettePeace", rootColor: "#65b3f0",
+ colors: ["#eac6a4", "#58d1bb", "#9edfc3", "#a7b6e7", "#f3a9a9", "#53b172", "#76b523", "#a5c93b", "#b5ad99"]},
+ {id: "reality", label: "listMindmapPaletteReality", rootColor: "#b7a19d",
+ colors: ["#f26a6e", "#4fa7ed", "#fec444", "#d38ec4", "#906cd5", "#87b21d", "#8eadbb", "#43b2b4", "#da5f46"]},
+ {id: "dulcet", label: "listMindmapPaletteDulcet", rootColor: "#5dd986",
+ colors: ["#30c7e0", "#f171bc", "#906cd3", "#1ecdbb", "#e19a75", "#8ac52f", "#eca034", "#f3657e", "#4fa5ec"]},
+ {id: "opulent", label: "listMindmapPaletteOpulent", rootColor: "#c21e58",
+ colors: ["#0e74c6", "#2e2a95", "#16a32f", "#fb5609", "#b60071", "#82cf07", "#5a0f75", "#c3002d", "#fd9329"]},
+ {id: "hope", label: "listMindmapPaletteHope", rootColor: "#2c84d2",
+ colors: ["#405e80", "#f05272", "#2992b2", "#bf66a0", "#efb740", "#997cc3", "#436eb6", "#15a18b", "#68a30d"]},
+ {id: "blossom", label: "listMindmapPaletteBlossom", rootColor: "#ee5b74",
+ colors: ["#f26288", "#ea6496", "#dc67ad", "#d469bc", "#cd6aca", "#c36cdc", "#c571eb", "#bf71f5", "#b971fe"]},
+ {id: "grace", label: "listMindmapPaletteGrace", rootColor: "#c0a9a4",
+ colors: ["#fdcd78", "#b4ad98", "#e6a5cf", "#68c2a4", "#84cad4", "#c89bd4", "#76a2e6", "#f7a564", "#4da7d3"]},
+ {id: "passion", label: "listMindmapPalettePassion", rootColor: "#1b0f98",
+ colors: ["#f90007", "#670069", "#000073", "#b94e22", "#107006", "#147e78", "#fb5609", "#d24074", "#658921"]},
+ {id: "tranquil", label: "listMindmapPaletteTranquil", rootColor: "#6f7b8e",
+ colors: ["#d9a0bf", "#9abc3e", "#eac452", "#b3a18c", "#e98d73", "#56bb8f", "#2ca6dd", "#89a252", "#e48d94"]},
+ {id: "flow", label: "listMindmapPaletteFlow", rootColor: "#2787d6",
+ colors: ["#2991dd", "#2ca6dd", "#2eb2de", "#2fc2e0", "#30c7e0", "#32d5e1", "#33daca", "#34e1bc", "#49edc2"]},
+ {id: "ombre", label: "listMindmapPaletteOmbre", rootColor: "#0a538c",
+ colors: ["#0b5a9b", "#0c61a7", "#0d68b4", "#0e72c4", "#0f7acc", "#1083d5", "#1187dc", "#1295e9", "#139bf5"]},
+ {id: "quebrada", label: "listMindmapPaletteQuebrada", rootColor: "#0a4a4a",
+ colors: ["#107179", "#5aa89e", "#74b5b1", "#397069", "#468681", "#779f93", "#67887b", "#92a39b", "#c5dcd4"]},
+ {id: "mundane", label: "listMindmapPaletteMundane", rootColor: "#66814f",
+ colors: ["#7ad3a9", "#77a3ba", "#627478", "#8ec011", "#a14834", "#b41222", "#5649a0", "#23ca95", "#ed906f"]},
+ {id: "vintage", label: "listMindmapPaletteVintage", rootColor: "#2691b0",
+ colors: ["#2a4775", "#20b18b", "#6baae0", "#2fb7b6", "#997cc3", "#90b7af", "#f59294", "#aa8268", "#306973"]},
+ {id: "melody", label: "listMindmapPaletteMelody", rootColor: "#fc8e69",
+ colors: ["#65b3f0", "#998690", "#bd84b1", "#54836b", "#c5a283", "#f9f1e5", "#9edfc3", "#287878", "#102939"]},
+ {id: "affinity", label: "listMindmapPaletteAffinity", rootColor: "#194e75",
+ colors: ["#ef4b6f", "#289896", "#fdb409", "#e97a77", "#2791b1", "#5171b9", "#d07938", "#dd458c", "#8c72b1"]},
+ {id: "fragrance", label: "listMindmapPaletteFragrance", rootColor: "#d84e99",
+ colors: ["#906cd5", "#f26a6e", "#d38ec4", "#fddbeb", "#fcc0dd", "#fed79d", "#f2b0ae", "#df3c52", "#6d2b71"]},
+ {id: "tide", label: "listMindmapPaletteTide", rootColor: "#ce5780",
+ colors: ["#1495f6", "#20b18b", "#fecb9a", "#94c750", "#da5f46", "#998690", "#49a5c5", "#fec444", "#74333f"]},
+ {id: "elemental", label: "listMindmapPaletteElemental", rootColor: "#b4dc18",
+ colors: ["#87e43e", "#43b3e0", "#dc5d40", "#3f67e0", "#de3670", "#9d2de0", "#693cec", "#f99a47", "#e469c5"]},
+ {id: "aspect", label: "listMindmapPaletteAspect", rootColor: "#86c2d6",
+ colors: ["#bb44c5", "#304c9e", "#f33f47", "#2aadc4", "#5d7f31", "#116749", "#3074ff", "#557d93", "#3baf6a"]},
+ {id: "distinct", label: "listMindmapPaletteDistinct", rootColor: "#20b18b",
+ colors: ["#88b31d", "#ea6f08", "#3295ec", "#fec245", "#df2a4f", "#159e96", "#997cc3", "#cab09c", "#17444e"]},
+ {id: "violet", label: "listMindmapPaletteViolet", rootColor: "#122439",
+ colors: ["#353b63", "#514682", "#6a4480", "#a17882", "#e39893", "#b0aab3", "#8c93ae", "#8aa3c2", "#d2eaf5"]},
+ {id: "flushed", label: "listMindmapPaletteFlushed", rootColor: "#5d535c",
+ colors: ["#a08c8d", "#4a2136", "#e12c35", "#645151", "#ea797d", "#783c51", "#79798c", "#474656", "#ec9e0f"]},
+ {id: "lucid", label: "listMindmapPaletteLucid", rootColor: "#0f213f",
+ colors: ["#37c1d8", "#e16f81", "#204f8e", "#6776c5", "#1ba6bc", "#35477d", "#427ebc", "#e93752", "#797574"]},
+ {id: "balmy", label: "listMindmapPaletteBalmy", rootColor: "#ec4946",
+ colors: ["#333e46", "#fc612f", "#657a79", "#8e6465", "#fb9d40", "#52798f", "#3c2829", "#d2384e", "#727376"]},
+ {id: "fashion", label: "listMindmapPaletteFashion", rootColor: "#021939",
+ colors: ["#d5575b", "#124d60", "#39aa9d", "#29a9a0", "#2aa098", "#ed8641", "#156579", "#76a799", "#399a83"]},
+ {id: "halcyon", label: "listMindmapPaletteHalcyon", rootColor: "#0d193f",
+ colors: ["#469cd8", "#344690", "#ca87af", "#6b84a5", "#6886bd", "#5e869b", "#3354aa", "#8a6b8a", "#beab88"]},
+ {id: "jolly", label: "listMindmapPaletteJolly", rootColor: "#448eec",
+ colors: ["#132666", "#35a9c8", "#e47989", "#31bcb3", "#d7487b", "#175ba9", "#fbac28", "#4368cb", "#2798d8"]},
+ {id: "candy", label: "listMindmapPaletteCandy", rootColor: "#1c304a",
+ colors: ["#343479", "#fc6465", "#3baf6a", "#b57bda", "#2aa098", "#df3c52", "#e9b13a", "#3c91de", "#ec774b"]},
+ {id: "vitality", label: "listMindmapPaletteVitality", rootColor: "#f5302d",
+ colors: ["#336ff0", "#f9b30b", "#2d9f41", "#3321ff", "#e4000a", "#5b39e0", "#dd0084", "#1b99ff", "#fc6208"]},
+ {id: "subtropic", label: "listMindmapPaletteSubtropic", rootColor: "#1f8742",
+ colors: ["#eebf3c", "#ed863a", "#e33f46", "#2568e8", "#8733d8", "#25a24e", "#2689d2", "#bb49e8", "#20d0ce"]},
+ {id: "veil", label: "listMindmapPaletteVeil", rootColor: "#c23ba6",
+ colors: ["#38b2da", "#ed4d4b", "#39c070", "#f5b549", "#ea2d59", "#2a3d94", "#f57239", "#6c54f2", "#2fa97c"]},
+ {id: "polychrome", label: "listMindmapPalettePolychrome", rootColor: "#2e5abc",
+ colors: ["#fc6056", "#3976f2", "#55d6c8", "#f1bc48", "#ef3840", "#8ec033", "#7a43e3", "#4cc8ec", "#e93d89"]},
+ {id: "cyber", label: "listMindmapPaletteCyber", rootColor: "#4282f5",
+ colors: ["#7842e0", "#abe154", "#379a4b", "#5dd9ba", "#333de0", "#7849f8", "#41de9a", "#3aac84", "#5ab743"]},
+ {id: "persimmon", label: "listMindmapPalettePersimmon", rootColor: "#f64839",
+ colors: ["#eb8340", "#ebc240", "#1d653b", "#61bb3a", "#78d043", "#cae445", "#329aa4", "#5dbfab", "#5de0c1"]},
+ {id: "vineyard", label: "listMindmapPaletteVineyard", rootColor: "#6727f8",
+ colors: ["#9adc33", "#2fa97c", "#ebb930", "#fc4e7f", "#589cff", "#eb5f51", "#4cd0bf", "#7a47f2", "#45deec"]},
+ {id: "lilac", label: "listMindmapPaletteLilac", rootColor: "#1d2455",
+ colors: ["#4864f6", "#38a584", "#36c6c6", "#fc464d", "#ebc537", "#f07039", "#38cd30", "#ec4eb4", "#f07040"]},
+ {id: "animated", label: "listMindmapPaletteAnimated", rootColor: "#fdb311",
+ colors: ["#66ab8f", "#7080ff", "#b067ff", "#70c81d", "#fd7f67", "#fc477f", "#fc600f", "#fc6dff", "#82ab87"]},
+ {id: "rainbow", label: "listMindmapPaletteRainbow", rootColor: "#433efc",
+ colors: ["#b344e2", "#3a8bf5", "#3ead6a", "#f28715", "#ec5146", "#ec4089", "#e9353d", "#5500eb", "#1ab481"]},
+ {id: "newstyle", label: "listMindmapPaletteNewStyle", rootColor: "#fc2591",
+ colors: ["#f32424", "#f3a61e", "#25a63b", "#1744ff", "#aa19fd", "#fc571e", "#6ba733", "#15abff", "#6000e2"]},
+ {id: "mixed", label: "listMindmapPaletteMixed", rootColor: "#15a343",
+ colors: ["#5100dc", "#33daca", "#0a5aff", "#fdb311", "#fc1c17", "#fc364f", "#f44f1f", "#2d39f5", "#67deff"]},
];
+export const LIST_MINDMAP_CANVAS_COLORS = ["#bfdbfe", "#fecaca", "#bbf7d0", "#e9d5ff", "#fed7aa", "#a5f3fc"];
+
export const isMindmapColor = (value: unknown): value is string =>
typeof value === "string" && /^#[0-9a-f]{6}$/i.test(value);
@@ -32,7 +118,7 @@ export const isListMindmapAppearance = (value: unknown): value is ListMindmapApp
return data.version === 1 && Array.isArray(data.palette) && data.palette.length <= 24 &&
data.palette.every(isMindmapColor) &&
(data.rootColor === undefined || isMindmapColor(data.rootColor)) &&
- (data.nodeStyle === undefined || data.nodeStyle === "layered") &&
+ (data.nodeStyle === undefined || data.nodeStyle === "layered" || data.nodeStyle === "branch") &&
(data.backgroundColor === undefined || data.backgroundColor === "" || isMindmapColor(data.backgroundColor));
};
@@ -124,7 +210,11 @@ export const resolveListMindmapColors = (model: ListMindmapModel, canvasColor?:
const pending = [{node: model.root, color: appearance.rootColor || palette[0], level: 0}];
while (pending.length) {
const {node, color, level} = pending.pop();
- if (appearance.nodeStyle === "layered") {
+ if (appearance.nodeStyle === "branch") {
+ result.set(node.id, {backgroundColor: level < 2 ? color : "transparent",
+ textColor: level < 2 ? "#ffffff" : "#000000", lineColor: color,
+ fontSize: level === 0 ? 20 : level === 1 ? 16 : 14, bold: level < 2, lineWidth: 1.5});
+ } else if (appearance.nodeStyle === "layered") {
result.set(node.id, {backgroundColor: "transparent",
textColor: foreground, fontSize: level === 0 ? 20 : level === 1 ? 16 : 14, bold: level < 2,
lineColor: node === model.root ? color : mixMindmapColor(color, background, .65),
@@ -166,12 +256,12 @@ export const getListMindmapAppearanceMenu = (metadata: ListMindmapMetadata,
...LIST_MINDMAP_PALETTES.map(preset => ({
id: preset.id, iconHTML: `<span class="b3-menu__icon b3-menu__icon--color" style="background-color:${preset.colors[0]}"></span>`,
label: labels[preset.label],
- checked: (metadata.appearance?.rootColor === undefined || metadata.appearance.rootColor === preset.rootColor) &&
- [preset.colors, ...preset.previousColors || []]
- .some(colors => JSON.stringify(palette) === JSON.stringify(colors)),
+ checked: metadata.appearance?.nodeStyle === "branch" &&
+ metadata.appearance.rootColor === preset.rootColor &&
+ JSON.stringify(palette) === JSON.stringify(preset.colors),
click: () => change(data => {
data.appearance = {...data.appearance, version: 1, palette: [...preset.colors],
- rootColor: preset.rootColor, nodeStyle: "layered"};
+ rootColor: preset.rootColor, nodeStyle: "branch"};
}),
})),
]},
@@ -179,7 +269,7 @@ export const getListMindmapAppearanceMenu = (metadata: ListMindmapMetadata,
{id: "default", color: "", label: labels.default},
{id: "light", color: "#ffffff", label: labels.themeLight},
{id: "dark", color: "#1e1e1e", label: labels.themeDark},
- ...LIST_MINDMAP_PALETTES[1].colors.map(color => ({id: color, color, label: color})),
+ ...LIST_MINDMAP_CANVAS_COLORS.map(color => ({id: color, color, label: color})),
].map(item => ({id: item.id,
iconHTML: item.color ? `<span class="b3-menu__icon b3-menu__icon--color" style="background-color:${item.color}"></span>` : "",
label: item.label, checked: background === item.color,
diff --git a/app/src/protyle/render/listMindmap/arrows.test.ts b/app/src/protyle/render/listMindmap/arrows.test.ts
index 3f14233b3d..70fdfeb18a 100644
--- a/app/src/protyle/render/listMindmap/arrows.test.ts
+++ b/app/src/protyle/render/listMindmap/arrows.test.ts
@@ -35,8 +35,10 @@ const setup = (arrowDirection?: ListMindmapRelation["arrowDirection"]) => {
const strokes: TestPath[] = [];
const strokeStyles: string[] = [];
const strokeAlphas: number[] = [];
+ const strokeWidths: number[] = [];
const context = {
strokeStyle: "",
+ lineWidth: 0,
globalAlpha: 1,
strokeHit: false,
setTransform: () => {}, clearRect: () => {}, translate: () => {}, scale: () => {},
@@ -49,6 +51,7 @@ const setup = (arrowDirection?: ListMindmapRelation["arrowDirection"]) => {
strokes.push(path);
strokeStyles.push(context.strokeStyle);
strokeAlphas.push(context.globalAlpha);
+ strokeWidths.push(context.lineWidth);
},
isPointInStroke: () => context.strokeHit,
};
@@ -82,7 +85,7 @@ const setup = (arrowDirection?: ListMindmapRelation["arrowDirection"]) => {
relationRoutes: new Map([["r", [{x: 100, y: 10}, {x: 0, y: 10}]]]),
routingObstacles: (): unknown[] => [], drawRelationPreview: () => {}, drawSummaries: () => {}, renderRouteControls: () => {},
});
- return {target, context, polygons, strokes, strokeStyles, strokeAlphas, element};
+ return {target, context, polygons, strokes, strokeStyles, strokeAlphas, strokeWidths, element};
};
test("opening branches fade with their shared trunk while already visible siblings keep their trunk opaque", () => {
@@ -159,6 +162,48 @@ test("palette colors reach hierarchy paths and parent trunks while manual line c
}
});
+test("reference themes paint root overlaps with branch colors in display order at one width in editing and print", () => {
+ for (const connectorStyle of ["orthogonal", "rounded"]) {
+ for (const printLayout of [false, true]) {
+ const {target, strokes, strokeStyles, strokeAlphas, strokeWidths} = setup();
+ target.model.root = {id: "root", children: [{id: "a", children: []},
+ {id: "b", children: [{id: "c", children: []}]}]};
+ Object.assign(target.model.metadata, {connectorStyle, relations: [],
+ nodes: {a: {branchColor: 0, lineColor: "#abcdef"}, b: {branchColor: 1}},
+ appearance: {version: 1, palette: ["#ff0000", "#0000ff"], rootColor: "#111111", nodeStyle: "branch"}});
+ target.themeColors = resolveListMindmapColors(target.model);
+ target.options.printLayout = printLayout;
+ target.readOnly = printLayout;
+ target.positions = new Map([
+ ["root", {id: "root", x: 20, y: 100, width: 100, height: 40}],
+ ["a", {id: "a", x: 160, y: 0, width: 100, height: 40}],
+ ["b", {id: "b", x: 160, y: 200, width: 100, height: 40}],
+ ["c", {id: "c", x: 300, y: 200, width: 100, height: 40}],
+ ]);
+ target.edges = [{from: "root", to: "a"}, {from: "root", to: "b"}, {from: "b", to: "c"}];
+ target.draw();
+ assert.deepEqual(strokeStyles, ["#0000ff", "#abcdef", "#abcdef", "#0000ff", "#0000ff", "#0000ff"]);
+ assert.ok(strokeWidths.every(width => width === 1.5));
+ assert.equal(target.linePaths.length, 3);
+ for (const index of [0, 1, 3]) {
+ assert.ok(target.linePaths.every((line: {path: TestPath}) => line.path !== strokes[index]),
+ "colored common trunks remain outside selectable branch paths");
+ }
+ target.model.root.children.reverse();
+ target.edges = [target.edges[1], target.edges[0], target.edges[2]];
+ target.themeColors = resolveListMindmapColors(target.model);
+ strokeStyles.length = 0;
+ strokeWidths.length = 0;
+ strokeAlphas.length = 0;
+ target.foldOpacities = new Map([["a", .4]]);
+ target.draw();
+ assert.deepEqual(strokeStyles, ["#0000ff", "#0000ff", "#0000ff", "#abcdef", "#abcdef", "#0000ff"]);
+ assert.deepEqual(strokeAlphas, [1, 1, 1, .4, .4, 1], "a branch and its root overlay fade together");
+ assert.ok(strokeWidths.every(width => width === 1.5));
+ }
+ }
+});
+
test("all arrow modes use endpoint identity rather than canonical path drawing order", () => {
for (const mode of [undefined, "forward", "reverse", "both", "none"] as const) {
for (const scale of [.5, 1, 2]) {
diff --git a/app/src/protyle/render/listMindmap/clipboard.test.ts b/app/src/protyle/render/listMindmap/clipboard.test.ts
index 3e11a1d378..d3dde3f12b 100644
--- a/app/src/protyle/render/listMindmap/clipboard.test.ts
+++ b/app/src/protyle/render/listMindmap/clipboard.test.ts
@@ -47,12 +47,13 @@ const browserCases = async (source: string, css: string) => {
}
return list;
};
- for (const native of [true, false]) {
+ for (const {native, nodeStyle} of [true, false].flatMap(native =>
+ ["layered", "branch"].map(nodeStyle => ({native, nodeStyle})))) {
const list = makeList(native);
const model = api.readListMindmap(list);
const [a, b, c] = model.root.children;
model.metadata.nodes[a.id] = {backgroundColor: "red"};
- model.metadata.appearance = {version: 1, palette: ["#2563eb", "#15803d"], rootColor: "#1e293b", nodeStyle: "layered", backgroundColor: "#1e1e1e"};
+ model.metadata.appearance = {version: 1, palette: ["#2563eb", "#15803d"], rootColor: "#1e293b", nodeStyle, backgroundColor: "#1e1e1e"};
api.assignListMindmapBranchColors(model);
model.metadata.relations = [
{id: Lute.NewNodeID(), from: a.id, to: b.id, label: "Inside"},
@@ -72,10 +73,11 @@ const browserCases = async (source: string, css: string) => {
check.equal(selected.nodes.size, 4);
check.equal(selected.metadata.relations.length, 1);
check.equal(selected.metadata.summaries[0].parentId, payload.dataset.nodeId);
- for (const placement of ["child", "after"]) {
+ for (const {placement, destinationStyle} of ["child", "after"].flatMap(placement =>
+ ["layered", "branch"].map(destinationStyle => ({placement, destinationStyle})))) {
const destination = list.cloneNode(true) as HTMLElement;
const destinationModel = api.readListMindmap(destination);
- destinationModel.metadata.appearance = {version: 1, palette: ["#166534", "#047857"], rootColor: "#14532d", nodeStyle: "layered", backgroundColor: "#ffffff"};
+ destinationModel.metadata.appearance = {version: 1, palette: ["#166534", "#047857"], rootColor: "#14532d", nodeStyle: destinationStyle, backgroundColor: "#ffffff"};
api.writeListMindmapMetadata(destination, destinationModel.metadata);
const pasted = api.pasteMindmapBranches(destination, payload, c.id, placement, lute);
check.ok(pasted);
diff --git a/app/src/protyle/render/listMindmap/connectorMenu.test.ts b/app/src/protyle/render/listMindmap/connectorMenu.test.ts
index f87318d01f..96560dce4f 100644
--- a/app/src/protyle/render/listMindmap/connectorMenu.test.ts
+++ b/app/src/protyle/render/listMindmap/connectorMenu.test.ts
@@ -139,15 +139,15 @@ test("desktop and mobile connector menus persist one undoable change and preserv
const theme = (appearanceItem.submenu as IMenu[]).find(entry => entry.id === "theme");
const beforeTheme = list.outerHTML;
const beforeCount = transactions.length;
- (theme.submenu as IMenu[]).find(entry => entry.id === "colorful").click(undefined, undefined);
+ (theme.submenu as IMenu[]).find(entry => entry.id === "waves").click(undefined, undefined);
assert.equal(transactions.length, beforeCount + 1, "applying a palette is one document transaction on both platforms");
assert.equal(transactions.at(-1).before, beforeTheme);
assert.equal(JSON.parse(list.outerHTML).nodes.child.lineColor, "red", "theme changes retain manual overrides");
assert.equal(JSON.parse(list.outerHTML).nodes.child.branchColor, 0, "branch slots are saved with the same snapshot");
- assert.equal(JSON.parse(list.outerHTML).appearance.rootColor, "#1e293b",
+ assert.equal(JSON.parse(list.outerHTML).appearance.rootColor, "#849695",
"the root theme color is saved in the same document transaction on desktop and mobile");
- assert.equal(JSON.parse(list.outerHTML).appearance.nodeStyle, "layered",
- "the layered style is saved with the root and branch palette on both platforms");
+ assert.equal(JSON.parse(list.outerHTML).appearance.nodeStyle, "branch",
+ "the reference style is saved with the root and branch palette on both platforms");
const themed = list.outerHTML;
data = JSON.parse(beforeTheme);
assert.equal(JSON.parse(list.outerHTML).appearance, undefined, "undo restores the unthemed document");
@@ -162,7 +162,7 @@ test("desktop and mobile connector menus persist one undoable change and preserv
const count = transactions.length;
editable = false;
choose("spline");
- (theme.submenu as IMenu[]).find(entry => entry.id === "forest").click(undefined, undefined);
+ (theme.submenu as IMenu[]).find(entry => entry.id === "dream").click(undefined, undefined);
target.onNodesStyle(["root", "child"], {backgroundColor: "#ffffff"});
(defaultItem.submenu as IMenu[]).find(entry => entry.id === "spline").click(undefined, undefined);
assert.deepEqual(defaults, ["rounded"], "a stale menu cannot change preferences after editing is disabled");
diff --git a/app/src/protyle/render/listMindmap/connectors.test.ts b/app/src/protyle/render/listMindmap/connectors.test.ts
index 17ddcc25bb..e1896f3b41 100644
--- a/app/src/protyle/render/listMindmap/connectors.test.ts
+++ b/app/src/protyle/render/listMindmap/connectors.test.ts
@@ -70,6 +70,42 @@ test("rounded orthogonal corners stop the shared trunk at each outer tangent", (
"aligned nodes need no corner and retain a continuous horizontal connection");
});
+test("reference themes overlay root trunks in branch order and keep their shared geometry out of hit paths", () => {
+ for (const style of ["orthogonal", "rounded"] as const) {
+ const result = buildListMindmapConnectors("root", positions, edges, style, () => new PathFixture(), true);
+ assert.deepEqual(result.trunkParents, ["b"], "only non-root parents retain one common trunk");
+ const corner = style === "rounded" ? 8 : 0;
+ assert.deepEqual(result.branches[0].trunk.commands, [
+ ["move", 120, 120], ["line", 140, 120], ["line", 140, 20 + corner],
+ ]);
+ assert.deepEqual(result.branches[1].trunk.commands, [
+ ["move", 120, 120], ["line", 140, 120], ["line", 140, 220 - corner],
+ ]);
+ assert.equal(result.branches[2].trunk, undefined);
+ assert.ok(result.branches.every(branch => {
+ const x = branch.path.commands[0][1];
+ return typeof x === "number" && x >= 140;
+ }),
+ "selectable paths exclude the horizontal root stem and vertical overlap");
+ assert.equal(result.branches[0].path.commands.at(-1).at(-1), 20,
+ "filled first-level nodes attach at their center");
+ assert.equal(result.branches[2].path.commands.at(-1).at(-1), 240,
+ "deeper unfilled nodes keep their text underline");
+ const reordered = buildListMindmapConnectors("root", positions, [edges[1], edges[0], edges[2]],
+ style, () => new PathFixture(), true);
+ assert.deepEqual(reordered.branches.map(branch => branch.id), ["b", "a", "c"]);
+ assert.deepEqual(reordered.branches[0].trunk.commands, result.branches[1].trunk.commands);
+ assert.deepEqual(reordered.branches[1].trunk.commands, result.branches[0].trunk.commands);
+ }
+ for (const style of ["spline", "bezier"] as const) {
+ const result = buildListMindmapConnectors("root", positions, edges, style, () => new PathFixture(), true);
+ assert.equal(result.trunks.length, 0);
+ assert.ok(result.branches.every(branch => !branch.trunk));
+ assert.equal(result.branches[0].path.commands.at(-1).at(-1), 20);
+ assert.equal(result.branches[2].path.commands[0].at(-1), 220);
+ }
+});
+
test("the connector submenu checks the saved preset and selects exactly one whole-map style", () => {
const labels = {listMindmapConnectorStyle: "Connectors", listMindmapConnectorSpline: "Fork",
listMindmapConnectorOrthogonal: "Elbow", listMindmapConnectorBezier: "Fan", listMindmapConnectorRounded: "Rounded"};
diff --git a/app/src/protyle/render/listMindmap/connectors.ts b/app/src/protyle/render/listMindmap/connectors.ts
index 28b2319a34..6a40d5c0a7 100644
--- a/app/src/protyle/render/listMindmap/connectors.ts
+++ b/app/src/protyle/render/listMindmap/connectors.ts
@@ -42,12 +42,15 @@ export const buildListMindmapSummaryConnector = <T extends ConnectorPath>(
// 连线路径只使用已完成的节点布局,共享主干不进入分支的命中路径。
export const buildListMindmapConnectors = <T extends ConnectorPath>(
rootID: string, positions: Map<string, ListMindmapPosition>, edges: {from: string, to: string}[],
- style: ListMindmapConnectorStyle, makePath: () => T,
+ style: ListMindmapConnectorStyle, makePath: () => T, branchTheme = false,
) => {
const trunks: T[] = [];
const trunkParents: string[] = [];
- const branches: {id: string, path: T}[] = [];
+ const branches: {id: string, path: T, trunk?: T}[] = [];
const groups = new Map<string, ListMindmapPosition[]>();
+ const firstLevel = new Set(branchTheme ? edges.filter(edge => edge.from === rootID).map(edge => edge.to) : []);
+ const anchorY = (node: ListMindmapPosition) => node.y +
+ (node.id === rootID || firstLevel.has(node.id) ? node.height / 2 : node.height);
edges.forEach(edge => {
const from = positions.get(edge.from);
const to = positions.get(edge.to);
@@ -62,8 +65,8 @@ export const buildListMindmapConnectors = <T extends ConnectorPath>(
return;
}
const startX = from.x + from.width;
- const startY = from.y + (edge.from === rootID ? from.height / 2 : from.height);
- const endY = to.y + to.height;
+ const startY = anchorY(from);
+ const endY = anchorY(to);
const center = (startX + to.x) / 2;
const path = makePath();
path.moveTo(startX, startY);
@@ -74,14 +77,14 @@ export const buildListMindmapConnectors = <T extends ConnectorPath>(
groups.forEach((children, parentID) => {
const from = positions.get(parentID);
const startX = from.x + from.width;
- const startY = from.y + (parentID === rootID ? from.height / 2 : from.height);
+ const startY = anchorY(from);
const endX = children.reduce((left, node) => Math.min(left, node.x), Infinity);
const trunkX = (startX + endX) / 2;
const radius = style === "rounded" ? Math.min(8, Math.max(0, endX - startX) / 4) : 0;
let top = startY;
let bottom = startY;
children.forEach(to => {
- const endY = to.y + to.height;
+ const endY = anchorY(to);
const corner = Math.min(radius, Math.abs(endY - startY) / 2);
const branchY = endY - Math.sign(endY - startY) * corner;
top = Math.min(top, branchY);
@@ -92,8 +95,19 @@ export const buildListMindmapConnectors = <T extends ConnectorPath>(
path.quadraticCurveTo(trunkX, endY, trunkX + corner, endY);
}
path.lineTo(to.x + to.width, endY);
- branches.push({id: to.id, path});
+ if (branchTheme && parentID === rootID) {
+ const trunk = makePath();
+ trunk.moveTo(startX, startY);
+ trunk.lineTo(trunkX, startY);
+ trunk.lineTo(trunkX, branchY);
+ branches.push({id: to.id, path, trunk});
+ } else {
+ branches.push({id: to.id, path});
+ }
});
+ if (branchTheme && parentID === rootID) {
+ return;
+ }
const trunk = makePath();
trunk.moveTo(startX, startY);
trunk.lineTo(trunkX, startY);
diff --git a/app/src/protyle/render/listMindmap/model.test.ts b/app/src/protyle/render/listMindmap/model.test.ts
index 039eb58332..6cf2318bc3 100644
--- a/app/src/protyle/render/listMindmap/model.test.ts
+++ b/app/src/protyle/render/listMindmap/model.test.ts
@@ -192,8 +192,10 @@ test("appearance metadata is additive and rejects invalid palettes and branch sl
const appearance = {version: 1, palette: ["#123456", "#abcdef"], backgroundColor: "#ffffff", extension: "keep"};
const source = JSON.stringify({...base, appearance});
assert.equal(JSON.stringify(parseListMindmapMetadata(source)), source);
- const withRootColor = JSON.stringify({...base, appearance: {...appearance, rootColor: "#112233", nodeStyle: "layered"}});
- assert.equal(JSON.stringify(parseListMindmapMetadata(withRootColor)), withRootColor);
+ for (const nodeStyle of ["layered", "branch"]) {
+ const withRootColor = JSON.stringify({...base, appearance: {...appearance, rootColor: "#112233", nodeStyle}});
+ assert.equal(JSON.stringify(parseListMindmapMetadata(withRootColor)), withRootColor);
+ }
for (const invalid of [null, [], {}, {...appearance, version: 2}, {...appearance, palette: ["red"]},
{...appearance, backgroundColor: "url(x)"},
...[null, "", "red", "url(x)", 123].map(rootColor => ({...appearance, rootColor})),
diff --git a/app/src/protyle/render/listMindmap/view.ts b/app/src/protyle/render/listMindmap/view.ts
index 8a4758b0b8..43390f9b47 100644
--- a/app/src/protyle/render/listMindmap/view.ts
+++ b/app/src/protyle/render/listMindmap/view.ts
@@ -2042,12 +2042,14 @@ export class ListMindmapView {
const themeLineColor = (id: string) => {
const color = this.themeColors?.get(id)?.lineColor;
if (color && !paletteLines.has(color)) {
- paletteLines.set(color, getMindmapLineColor(color, canvasColor));
+ paletteLines.set(color, this.model.metadata.appearance?.nodeStyle === "branch" ?
+ color : getMindmapLineColor(color, canvasColor));
}
return paletteLines.get(color);
};
const connectors = buildListMindmapConnectors(this.model.root.id, this.positions, this.edges,
- this.model.metadata.connectorStyle || "bezier", () => new Path2D());
+ this.model.metadata.connectorStyle || "bezier", () => new Path2D(),
+ this.model.metadata.appearance?.nodeStyle === "branch");
const trunkOpacities = new Map<string, number>();
if (this.foldOpacities) {
this.edges.forEach(edge => {
@@ -2069,7 +2071,7 @@ export class ListMindmapView {
context.setLineDash(style.lineDash ? [6, 4] : []);
context.stroke(path);
});
- connectors.branches.forEach(({id, path}) => {
+ connectors.branches.forEach(({id, path, trunk}) => {
const style = {...rootStyle, ...this.model.metadata.nodes[id]};
this.linePaths.push({id, relation: false, path});
context.beginPath();
@@ -2077,10 +2079,17 @@ export class ListMindmapView {
const hovered = this.hoveredLine === `edge:${id}`;
const lineStyle = resolveLineStyle(lineStyles, style.lineColor || themeLineColor(id),
style.lineWidth, defaultLine, selected, hovered, this.themeColors?.get(id)?.lineWidth);
- context.strokeStyle = lineStyle.color;
- context.lineWidth = lineStyle.width;
context.globalAlpha = this.foldOpacities?.get(id) ?? 1;
context.setLineDash(style.lineDash ? [6, 4] : []);
+ if (trunk) {
+ const trunkStyle = resolveLineStyle(lineStyles, style.lineColor || themeLineColor(id),
+ style.lineWidth, defaultLine, false, false, this.themeColors?.get(id)?.lineWidth);
+ context.strokeStyle = trunkStyle.color;
+ context.lineWidth = trunkStyle.width;
+ context.stroke(trunk);
+ }
+ context.strokeStyle = lineStyle.color;
+ context.lineWidth = lineStyle.width;
context.stroke(path);
});
this.model.metadata.relations.forEach((relation) => {
diff --git a/app/tests/fixtures/list-mindmap-appearance-palettes.json b/app/tests/fixtures/list-mindmap-appearance-palettes.json
new file mode 100644
index 0000000000..59711a56e1
--- /dev/null
+++ b/app/tests/fixtures/list-mindmap-appearance-palettes.json
@@ -0,0 +1,86 @@
+[
+ {
+ "id": "colorful",
+ "rootColor": "#1e293b",
+ "colors": [
+ "#2563eb",
+ "#dc2626",
+ "#15803d",
+ "#9333ea",
+ "#c2410c",
+ "#0e7490"
+ ]
+ },
+ {
+ "id": "soft",
+ "rootColor": "#64748b",
+ "colors": [
+ "#bfdbfe",
+ "#fecaca",
+ "#bbf7d0",
+ "#e9d5ff",
+ "#fed7aa",
+ "#a5f3fc"
+ ]
+ },
+ {
+ "id": "forest",
+ "rootColor": "#14532d",
+ "colors": [
+ "#166534",
+ "#047857",
+ "#4d7c0f",
+ "#0f766e",
+ "#3f6212",
+ "#15803d"
+ ]
+ },
+ {
+ "id": "ocean",
+ "rootColor": "#082f49",
+ "colors": [
+ "#0c4a6e",
+ "#0369a1",
+ "#0277b4",
+ "#087e9b",
+ "#087f75",
+ "#0f766e"
+ ]
+ },
+ {
+ "id": "sunset",
+ "rootColor": "#7c2d12",
+ "colors": [
+ "#9a3412",
+ "#c2410c",
+ "#c94c0d",
+ "#be123c",
+ "#9f1239",
+ "#7e22ce"
+ ]
+ },
+ {
+ "id": "lavender",
+ "rootColor": "#3b0764",
+ "colors": [
+ "#4c1d95",
+ "#6d28d9",
+ "#7c3aed",
+ "#9842db",
+ "#c084fc",
+ "#e9d5ff"
+ ]
+ },
+ {
+ "id": "monochrome",
+ "rootColor": "#111827",
+ "colors": [
+ "#1f2937",
+ "#374151",
+ "#4b5563",
+ "#6b7280",
+ "#9ca3af",
+ "#d1d5db"
+ ]
+ }
+]
diff --git a/kernel/model/transaction_mindmap_appearance.go b/kernel/model/transaction_mindmap_appearance.go
index 14677834d0..4755027b97 100644
--- a/kernel/model/transaction_mindmap_appearance.go
+++ b/kernel/model/transaction_mindmap_appearance.go
@@ -26,7 +26,7 @@ func validListMindmapAppearance(value any) bool {
return false
}
}
- if value, exists := data["nodeStyle"]; exists && value != "layered" {
+ if value, exists := data["nodeStyle"]; exists && value != "layered" && value != "branch" {
return false
}
if value, exists := data["backgroundColor"]; exists {
diff --git a/kernel/model/transaction_mindmap_appearance_crypto_test.go b/kernel/model/transaction_mindmap_appearance_crypto_test.go
index 3505d19aec..13f305ba9e 100644
--- a/kernel/model/transaction_mindmap_appearance_crypto_test.go
+++ b/kernel/model/transaction_mindmap_appearance_crypto_test.go
@@ -89,7 +89,9 @@ func TestListMindmapAppearanceEncrypted(t *testing.T) {
appearance["nodeStyle"] = "layered"
data["nodes"].(map[string]any)[ids[1]].(map[string]any)["branchColor"] = 0
styled, _ := json.Marshal(data)
- for _, value := range []string{string(legacyStyled), string(styled), string(legacyStyled), original, string(styled)} {
+ appearance["nodeStyle"] = "branch"
+ referenceStyled, _ := json.Marshal(data)
+ for _, value := range []string{string(legacyStyled), string(styled), string(referenceStyled), string(styled), original, string(referenceStyled)} {
attrs, _ := json.Marshal(map[string]string{listMindmapMetadataAttr: value})
tx := &Transaction{DoOperations: []*Operation{{Action: "setAttrs", ID: list.ID, Data: string(attrs)}}}
if err = PerformTxSync(tx); err != nil {
@@ -125,7 +127,7 @@ func TestListMindmapAppearanceEncrypted(t *testing.T) {
exported, err := io.ReadAll(reader)
_ = reader.Close()
if err != nil || !json.Valid(exported) || !bytes.Contains(exported, []byte("#2563eb")) ||
- !bytes.Contains(exported, []byte("#1e293b")) || !bytes.Contains(exported, []byte("layered")) ||
+ !bytes.Contains(exported, []byte("#1e293b")) || !bytes.Contains(exported, []byte("branch")) ||
!bytes.Contains(exported, []byte("Legacy summary")) {
t.Fatalf("export lost the appearance or legacy content: %v", err)
}
diff --git a/kernel/model/transaction_mindmap_appearance_test.go b/kernel/model/transaction_mindmap_appearance_test.go
index 5f887f43c8..db770d6574 100644
--- a/kernel/model/transaction_mindmap_appearance_test.go
+++ b/kernel/model/transaction_mindmap_appearance_test.go
@@ -8,7 +8,8 @@ import (
func TestPruneListMindmapAppearance(t *testing.T) {
for _, version := range []string{"1", "2"} {
- for _, rootColor := range []string{"", `"rootColor":"#112233",`, `"rootColor":"#112233","nodeStyle":"layered",`} {
+ for _, rootColor := range []string{"", `"rootColor":"#112233",`, `"rootColor":"#112233","nodeStyle":"layered",`,
+ `"rootColor":"#112233","nodeStyle":"branch",`} {
_, list, _ := mindmapTestTree()
appearance := `{"version":1,` + rootColor + `"palette":["#123456","#abcdef"],"backgroundColor":"#ffffff","extension":9007199254740993}`
original := `{"version":` + version + `,"appearance":` + appearance +
@@ -49,7 +50,8 @@ func TestPruneListMindmapAppearance(t *testing.T) {
func TestValidListMindmapAppearance(t *testing.T) {
for _, source := range []string{`{"version":1,"palette":[]}`, `{"version":1,"palette":["#AbCdEf"],"backgroundColor":""}`,
`{"version":1,"palette":["#AbCdEf"],"rootColor":"#112233"}`, `{"version":1,"palette":[],"rootColor":"#AABBCC"}`,
- `{"version":1,"palette":["#AbCdEf"],"rootColor":"#112233","nodeStyle":"layered"}`} {
+ `{"version":1,"palette":["#AbCdEf"],"rootColor":"#112233","nodeStyle":"layered"}`,
+ `{"version":1,"palette":["#AbCdEf"],"rootColor":"#112233","nodeStyle":"branch"}`} {
var value any
_ = json.Unmarshal([]byte(source), &value)
if !validListMindmapAppearance(value) {