utopia-ia/elffuss-code public
Changesets · Branches · Tags · Compare
| Changeset | 47ed48012e12bea3a12c0867a8d1d48355b0c36f4191b8342f6f9125b9dd829c |
|---|---|
| Author | KikoCis <kikocisneros@gmail.com> · 2026-10-10 16:50 +02:00 |
| Committer | KikoCis <kikocisneros@gmail.com> · 2026-10-11 14:15 +02:00 |
| Parents | c020a5bdc1e7 |
2 files changed
modified web/index.html +1 −1
| @@ -126,7 +126,7 @@ | ||
| 126 | 126 | <button type="button" id="btn-ancho" title="Ensanchar el chat a toda la ventana (vuelve a pulsar para recuperar el editor)">⇔</button> |
| 127 | 127 | <div id="conv-tabs"></div> |
| 128 | 128 | <div id="history-panel" hidden></div> |
| 129 | - <div id="chat-log"></div> | |
| 129 | + <div id="chat-log" role="log" aria-live="polite" aria-relevant="additions" aria-label="Conversación"></div> | |
| 130 | 130 | <div id="menu" hidden></div> |
| 131 | 131 | <div id="composer-wrap"> |
| 132 | 132 | <div id="ctx-meter" title="contexto acumulado en la conversación"> |
modified web/js/i18n.js +3 −0
| @@ -223,6 +223,7 @@ | ||
| 223 | 223 | viewBuilding: "Construyendo…", viewFailed: "No pude construir la vista: {e}", flipChat: "Chat", flipEditor: "Editor", |
| 224 | 224 | termClear: "limpiar", tTermClear: "limpiar la pantalla del terminal", |
| 225 | 225 | drawerTitle: "Archivos y herramientas", |
| 226 | + chatLogLabel: "Conversación", | |
| 226 | 227 | clearModelsConfirm: "Vas a borrar {size} de modelos guardados en este navegador.\n\nNo se pierde nada tuyo: solo los pesos descargados. La próxima vez habrá que bajarlos otra vez.\n\n¿Seguir?", |
| 227 | 228 | clearModelsShared: "Ojo: el almacén compartido de Elffuss no se pudo consultar desde aquí; puede quedar algo guardado ahí.", |
| 228 | 229 | clearModelsDone: "💾 Liberados {size}.", clearModelsFailed: "No se pudo vaciar: {what}.", |
| @@ -447,6 +448,7 @@ | ||
| 447 | 448 | viewBuilding: "Building…", viewFailed: "Couldn't build the view: {e}", flipChat: "Chat", flipEditor: "Editor", |
| 448 | 449 | termClear: "clear", tTermClear: "clear the terminal screen", |
| 449 | 450 | drawerTitle: "Files and tools", |
| 451 | + chatLogLabel: "Conversation", | |
| 450 | 452 | clearModelsConfirm: "You are about to delete {size} of models stored in this browser.\n\nNothing of yours is lost: only the downloaded weights. Next time they will be downloaded again.\n\nContinue?", |
| 451 | 453 | clearModelsShared: "Note: Elffuss's shared store could not be checked from here; something may remain stored there.", |
| 452 | 454 | clearModelsDone: "💾 Freed {size}.", clearModelsFailed: "Couldn't clear: {what}.", |
| @@ -495,4 +497,5 @@ | ||
| 495 | 497 | '#term-clear': 'tTermClear', |
| 496 | 498 | }; |
| 497 | 499 | for (const [sel, key] of Object.entries(titles)) set(sel, 'title', key); |
| 500 | + document.getElementById('chat-log')?.setAttribute('aria-label', t('chatLogLabel')); | |
| 498 | 501 | } |