fix: table prompt in French, tab title shows filename
CI / lint (push) Successful in 14s
CI / security (push) Successful in 7s
CI / test (push) Successful in 25s
CI / build (push) Successful in 2s

"Nombre de colonnes/lignes" prompts. Tab title now shows "Title - ObsiGate Forge" when file loaded, "ObsiGate Forge - Demo" in demo mode.
This commit is contained in:
2026-06-05 23:34:30 -04:00
parent 218c77dafb
commit f42e37489b
+4 -2
View File
@@ -458,6 +458,7 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
// Demo mode
ta.value = '# Demo Document\n\nType **/** for commands. Select text for formatting.\n\n## Features\n\n- Slash commands: type / at start of line\n- Bubble menu: select text\n- AI actions: use the sparkle button or slash /ai\n- Preview: click the eye button\n';
statFile.textContent = 'Demo mode';
document.title = 'ObsiGate Forge — Demo';
originalContent = ta.value;
updateStats();
schedulePreview();
@@ -478,6 +479,7 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
if (m) title = m[1];
document.getElementById('poc-title').value = title;
statFile.textContent = fileVault + '/' + filePath;
document.title = title + ' — ObsiGate Forge';
updateStats();
schedulePreview();
})
@@ -736,8 +738,8 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
}
// Table: prompt for dimensions
if (action === 'table') {
var cols = parseInt(prompt('Number of columns?', '3'));
var rows = parseInt(prompt('Number of rows?', '3'));
var cols = parseInt(prompt('Nombre de colonnes ?', '3'));
var rows = parseInt(prompt('Nombre de lignes ?', '3'));
if (!cols || !rows || cols < 1 || rows < 1) { ta.focus(); return; }
var hdr = '|'; var sep = '|';
for (var c = 1; c <= cols; c++) { hdr += ' Col ' + c + ' |'; sep += '-------|'; }