From 1f08e3a525adcbb242eaf733d8dee61c15080561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Fri, 22 May 2026 19:01:50 +0400 Subject: [PATCH] =?UTF-8?q?v69:=20=D1=81=D0=BB=D0=BE=D0=B3=D0=B8=20=D0=B2?= =?UTF-8?q?=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B5=20=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=B8=20=E2=80=94=20hover=20=D0=B6?= =?UTF-8?q?=D1=91=D0=BB=D1=82=D1=8B=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.html | 44 ++++++++++++++++++-------------------------- js/main.js | 26 +------------------------- js/storage.js | 18 +++++++++++++++++- 3 files changed, 36 insertions(+), 52 deletions(-) diff --git a/dist/index.html b/dist/index.html index aabc33e..2a30556 100644 --- a/dist/index.html +++ b/dist/index.html @@ -112,6 +112,22 @@ async function renderRecHistory() { recs.map(r => { const d = new Date(r.ts); const time = d.toLocaleTimeString('ru-RU', {hour:'2-digit',minute:'2-digit'}); + let trHTML = ''; + if (r.transcription) { + trHTML = '' + + r.transcription.split(/\s+/).map(w => { + const sy = syllabifyIT(w); + if (sy.includes('-')) { + return sy.split('-').map(s => + '' + s + '' + ).join('·'); + } + return w; + }).join(' ') + + ''; + } return '
' + '' + r.word + '' + @@ -119,7 +135,7 @@ async function renderRecHistory() { '' + '' + '' + - (r.transcription ? '' + syllabifyPhrase(r.transcription) + '' : '') + + trHTML + '' + '
'; }).join(''); @@ -666,7 +682,7 @@ async function doCompare(blob, originalText, duration) {