From 093d04b7cafb5d1c0125d95ae03b9fa51303cd3b Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Fri, 19 Jun 2026 10:54:40 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20graph.js=20syntax=20error=20at=20line=20?= =?UTF-8?q?768=20=E2=80=94=20template=20literal=20inside=20single=20quotes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Line 768: changed to string concatenation in ternary expression - Verified: 0 remaining ${t(...)} inside single quotes in graph.js, sync.js, ai.js --- frontend/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/graph.js b/frontend/js/graph.js index d903953..5c6c860 100644 --- a/frontend/js/graph.js +++ b/frontend/js/graph.js @@ -765,7 +765,7 @@ export const GraphViewManager = { if (hit) { this._canvas.style.cursor = 'pointer'; this._canvas.title = hit.node.type === 'file' - ? `📄 ${hit.node.name} (${t('graph.click_to_open')}${e.ctrlKey ? ', ${t('graph.ctrl_hover_preview_short')}' : ''})` + ? `📄 ${hit.node.name} (${t('graph.click_to_open')}${e.ctrlKey ? ', ' + t('graph.ctrl_hover_preview_short') : ''})` : `📁 ${hit.node.name} (cliquer pour explorer)`; // Ctrl+hover: fetch content preview for file nodes