frontend: Tooltip am Geisterknoten "Untergliederung fehlt"
Erklärt in allen sieben Sprachen die Regel aus SPEC §5: ab T-Shirt-Größe M sollte ein Element weiter untergliedert werden. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
4ec6818f6f
commit
8398e8ea64
+9
-1
@@ -689,7 +689,8 @@ function nodeHtml(n, extra){
|
|||||||
const html = n.url
|
const html = n.url
|
||||||
? `<a class="${cls}" href="${esc(n.url).replace(/"/g,'"')}" target="_blank" rel="noopener"${title}>${inner}</a>`
|
? `<a class="${cls}" href="${esc(n.url).replace(/"/g,'"')}" target="_blank" rel="noopener"${title}>${inner}</a>`
|
||||||
: `<div class="${cls}"${title}>${inner}</div>`;
|
: `<div class="${cls}"${title}>${inner}</div>`;
|
||||||
const ghost = `<div class="ghost-node">${esc(t('ghost'))}</div>`;
|
const ghostTip = esc(t('ghostTooltip')).replace(/"/g,'"');
|
||||||
|
const ghost = `<div class="ghost-node" title="${ghostTip}">${esc(t('ghost'))}</div>`;
|
||||||
return html + (need ? ghost : '');
|
return html + (need ? ghost : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -944,6 +945,7 @@ document.getElementById('copyDiagram').addEventListener('click', async () => {
|
|||||||
const I18N = {
|
const I18N = {
|
||||||
de: {
|
de: {
|
||||||
subtitle:"Werkbaum – Ein Text-basierter WBS/Projektstrukturplan/Feature-Tree Diagramm-Editor.",
|
subtitle:"Werkbaum – Ein Text-basierter WBS/Projektstrukturplan/Feature-Tree Diagramm-Editor.",
|
||||||
|
ghostTooltip:"Ab Größe M sollte ein Element weiter untergliedert werden.",
|
||||||
discardedTooltip:"Verworfene Knoten samt Teilbaum ein-/ausblenden",
|
discardedTooltip:"Verworfene Knoten samt Teilbaum ein-/ausblenden",
|
||||||
fullscreenTooltip:"Vollbild – Panels nutzen die ganze Fensterbreite",
|
fullscreenTooltip:"Vollbild – Panels nutzen die ganze Fensterbreite",
|
||||||
brandTooltip:"„Werkbaum“ bedeutet so viel wie ‚Werk-Baum‘ — der Baum des Projektstrukturplans (WBS).",
|
brandTooltip:"„Werkbaum“ bedeutet so viel wie ‚Werk-Baum‘ — der Baum des Projektstrukturplans (WBS).",
|
||||||
@@ -972,6 +974,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
subtitle:"Werkbaum – A text-based WBS / work breakdown structure / feature-tree diagram editor.",
|
subtitle:"Werkbaum – A text-based WBS / work breakdown structure / feature-tree diagram editor.",
|
||||||
|
ghostTooltip:"From size M upward, an item should be broken down further.",
|
||||||
discardedTooltip:"Show/hide discarded nodes and their subtree",
|
discardedTooltip:"Show/hide discarded nodes and their subtree",
|
||||||
fullscreenTooltip:"Full screen – panels use the full window width",
|
fullscreenTooltip:"Full screen – panels use the full window width",
|
||||||
brandTooltip:"“Werkbaum” means roughly ‘work tree’ — the tree of the work breakdown structure (WBS).",
|
brandTooltip:"“Werkbaum” means roughly ‘work tree’ — the tree of the work breakdown structure (WBS).",
|
||||||
@@ -1000,6 +1003,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
es: {
|
es: {
|
||||||
subtitle:"Werkbaum – Un editor de diagramas basado en texto para EDT / estructura de desglose del trabajo / árbol de características.",
|
subtitle:"Werkbaum – Un editor de diagramas basado en texto para EDT / estructura de desglose del trabajo / árbol de características.",
|
||||||
|
ghostTooltip:"A partir de la talla M, un elemento debería desglosarse más.",
|
||||||
discardedTooltip:"Mostrar u ocultar los nodos descartados y su subárbol",
|
discardedTooltip:"Mostrar u ocultar los nodos descartados y su subárbol",
|
||||||
fullscreenTooltip:"Pantalla completa – los paneles usan todo el ancho de la ventana",
|
fullscreenTooltip:"Pantalla completa – los paneles usan todo el ancho de la ventana",
|
||||||
brandTooltip:"«Werkbaum» significa algo así como ‘árbol de trabajo’ — el árbol de la estructura de desglose del trabajo (EDT).",
|
brandTooltip:"«Werkbaum» significa algo así como ‘árbol de trabajo’ — el árbol de la estructura de desglose del trabajo (EDT).",
|
||||||
@@ -1028,6 +1032,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
fr: {
|
fr: {
|
||||||
subtitle:"Werkbaum – Un éditeur de diagrammes basé sur le texte pour WBS / organigramme des tâches / arbre de fonctionnalités.",
|
subtitle:"Werkbaum – Un éditeur de diagrammes basé sur le texte pour WBS / organigramme des tâches / arbre de fonctionnalités.",
|
||||||
|
ghostTooltip:"À partir de la taille M, un élément devrait être décomposé davantage.",
|
||||||
discardedTooltip:"Afficher/masquer les nœuds abandonnés et leur sous-arbre",
|
discardedTooltip:"Afficher/masquer les nœuds abandonnés et leur sous-arbre",
|
||||||
fullscreenTooltip:"Plein écran – les panneaux occupent toute la largeur de la fenêtre",
|
fullscreenTooltip:"Plein écran – les panneaux occupent toute la largeur de la fenêtre",
|
||||||
brandTooltip:"« Werkbaum » signifie à peu près « arbre de travail » — l’arbre de l’organigramme des tâches (WBS).",
|
brandTooltip:"« Werkbaum » signifie à peu près « arbre de travail » — l’arbre de l’organigramme des tâches (WBS).",
|
||||||
@@ -1056,6 +1061,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
pl: {
|
pl: {
|
||||||
subtitle:"Werkbaum – Edytor diagramów oparty na tekście: WBS / struktura podziału pracy / drzewo funkcji.",
|
subtitle:"Werkbaum – Edytor diagramów oparty na tekście: WBS / struktura podziału pracy / drzewo funkcji.",
|
||||||
|
ghostTooltip:"Od rozmiaru M element powinien być dalej podzielony.",
|
||||||
discardedTooltip:"Pokaż/ukryj odrzucone węzły wraz z poddrzewem",
|
discardedTooltip:"Pokaż/ukryj odrzucone węzły wraz z poddrzewem",
|
||||||
fullscreenTooltip:"Pełny ekran – panele wykorzystują całą szerokość okna",
|
fullscreenTooltip:"Pełny ekran – panele wykorzystują całą szerokość okna",
|
||||||
brandTooltip:"„Werkbaum” znaczy mniej więcej ‚drzewo pracy’ — drzewo struktury podziału pracy (WBS).",
|
brandTooltip:"„Werkbaum” znaczy mniej więcej ‚drzewo pracy’ — drzewo struktury podziału pracy (WBS).",
|
||||||
@@ -1084,6 +1090,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
ru: {
|
ru: {
|
||||||
subtitle:"Werkbaum – текстовый редактор диаграмм: СДР / структура декомпозиции работ / дерево функций.",
|
subtitle:"Werkbaum – текстовый редактор диаграмм: СДР / структура декомпозиции работ / дерево функций.",
|
||||||
|
ghostTooltip:"Начиная с размера M элемент следует далее декомпозировать.",
|
||||||
discardedTooltip:"Показать/скрыть отклонённые узлы вместе с поддеревом",
|
discardedTooltip:"Показать/скрыть отклонённые узлы вместе с поддеревом",
|
||||||
fullscreenTooltip:"Полный экран – панели занимают всю ширину окна",
|
fullscreenTooltip:"Полный экран – панели занимают всю ширину окна",
|
||||||
brandTooltip:"«Werkbaum» примерно означает ‚дерево работ’ — дерево структуры декомпозиции работ (СДР).",
|
brandTooltip:"«Werkbaum» примерно означает ‚дерево работ’ — дерево структуры декомпозиции работ (СДР).",
|
||||||
@@ -1112,6 +1119,7 @@ const I18N = {
|
|||||||
},
|
},
|
||||||
hi: {
|
hi: {
|
||||||
subtitle:"Werkbaum – टेक्स्ट-आधारित आरेख संपादक: WBS / कार्य विभाजन संरचना / फ़ीचर-ट्री।",
|
subtitle:"Werkbaum – टेक्स्ट-आधारित आरेख संपादक: WBS / कार्य विभाजन संरचना / फ़ीचर-ट्री।",
|
||||||
|
ghostTooltip:"आकार M से ऊपर किसी तत्व को और अधिक उप-विभाजित करना चाहिए।",
|
||||||
discardedTooltip:"अस्वीकृत नोड्स और उनके उप-वृक्ष दिखाएँ/छिपाएँ",
|
discardedTooltip:"अस्वीकृत नोड्स और उनके उप-वृक्ष दिखाएँ/छिपाएँ",
|
||||||
fullscreenTooltip:"पूर्ण स्क्रीन – पैनल पूरी विंडो चौड़ाई का उपयोग करते हैं",
|
fullscreenTooltip:"पूर्ण स्क्रीन – पैनल पूरी विंडो चौड़ाई का उपयोग करते हैं",
|
||||||
brandTooltip:"„Werkbaum“ का अर्थ लगभग ‚कार्य-वृक्ष‘ है — कार्य विभाजन संरचना (WBS) का वृक्ष।",
|
brandTooltip:"„Werkbaum“ का अर्थ लगभग ‚कार्य-वृक्ष‘ है — कार्य विभाजन संरचना (WBS) का वृक्ष।",
|
||||||
|
|||||||
Reference in New Issue
Block a user