-
{t('ai.generate.diagram') || 'Générer un diagramme'}
- {generateLoading === 'diagram' && (
-
{t('ai.generate.loading') || 'Génération en cours…'}
- )}
+ {/* ── Diagram ── */}
+
+
+
+
+
+
+
+
+
+
-
+
+
{/* Diagram result */}
{generateResult?.type === 'diagram' && generateResult.canvasId && (
-
+
{t('ai.generate.openDiagram') || 'Ouvrir dans le Lab'}
diff --git a/memento-note/locales/en.json b/memento-note/locales/en.json
index 7118a25..5375bed 100644
--- a/memento-note/locales/en.json
+++ b/memento-note/locales/en.json
@@ -447,6 +447,17 @@
"openDiagram": "Open in Lab",
"error": "Error during generation",
"noNoteId": "Save the note first",
+ "theme": "Theme",
+ "style": "Style",
+ "diagramType": "Type",
+ "typeAuto": "Auto",
+ "styleSoft": "Soft",
+ "styleSharp": "Sharp",
+ "styleRounded": "Rounded",
+ "stylePill": "Pill",
+ "styleSketchy": "Sketchy",
+ "styleAustere": "Austere",
+ "styleSketchPlus": "Sketch+",
"toastLoading": {
"slides": "⏳ Generating presentation…",
"diagram": "⏳ Generating diagram…"
diff --git a/memento-note/locales/fr.json b/memento-note/locales/fr.json
index cc7da95..f5dc742 100644
--- a/memento-note/locales/fr.json
+++ b/memento-note/locales/fr.json
@@ -447,6 +447,17 @@
"openDiagram": "Ouvrir dans le Lab",
"error": "Erreur lors de la génération",
"noNoteId": "Enregistrez d'abord la note",
+ "theme": "Thème",
+ "style": "Style",
+ "diagramType": "Type",
+ "typeAuto": "Auto",
+ "styleSoft": "Soft",
+ "styleSharp": "Sharp",
+ "styleRounded": "Arrondi",
+ "stylePill": "Pill",
+ "styleSketchy": "Sketchy",
+ "styleAustere": "Austère",
+ "styleSketchPlus": "Sketch+",
"toastLoading": {
"slides": "⏳ Génération de la présentation en cours…",
"diagram": "⏳ Génération du diagramme en cours…"