diff --git a/frontend/index.html b/frontend/index.html index ce03447..0ae7c2d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7991,7 +7991,7 @@ function fcpDiffHtml(expectedHex, actualHex) { for (const it of a.items) if (!eMap[it.key]) keys.push(it.key); let html = ''; if (keys.length) { - html += '
| ' + esc(t('Parameter')) + ' | ' + @@ -8296,7 +8296,7 @@ const LANG_RU = { 'Filetype + size (FCP)': 'Тип файла + размер (FCP)', 'Exact FCI': 'Полный FCI', 'FCI hex (raw SELECT response)': 'FCI hex (сырой ответ SELECT)', - 'FCP parameters': 'Параметры FCP', + 'FCI parameters': 'Параметры FCI', 'Parameter': 'Параметр', 'Decoded FCI': 'Декодированный FCI', 'Decode failed': 'Ошибка декодирования', diff --git a/frontend/sw.js b/frontend/sw.js index 5c51a26..3fb80fa 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'otaman-v78'; +const CACHE = 'otaman-v79'; const URLS = [ 'index.html', 'help.html', diff --git a/frontend/tests/profiler.test.js b/frontend/tests/profiler.test.js index d9e97df..d74290f 100644 --- a/frontend/tests/profiler.test.js +++ b/frontend/tests/profiler.test.js @@ -682,7 +682,7 @@ test('fcpDecode accepts long-form BER lengths (81/82) — editor preview regress delete global.t; }); -test('fcpDiffHtml highlights differing FCP parameters', () => { +test('fcpDiffHtml highlights differing FCI parameters', () => { global.t = s => s; const same = fcpDiffHtml(FCP_TRANSPARENT, FCP_TRANSPARENT); assert.ok(same.includes('File size')); @@ -727,7 +727,7 @@ test('profilerRenderReport shows the decoded FCI diff for a raw fci mismatch', ( { label: 'fci', ok: false, expected: FCP_TRANSPARENT, actual: '62128002000A8202412183026F078A0105880110' }, ] }, ]); - assert.ok(html.includes('FCP parameters')); + assert.ok(html.includes('FCI parameters')); assert.ok(html.includes('9 bytes')); assert.ok(html.includes('10 bytes')); assert.ok(html.includes('text-red-600')); @@ -780,7 +780,7 @@ test('fcpDiffHtml appends decode-failure notes for corrupt sides', () => { global.t = s => s; const trunc = '6216' + FCP_TRANSPARENT.slice(4); const html = fcpDiffHtml(trunc, FCP_TRANSPARENT); - assert.ok(html.includes('FCP parameters'), html); + assert.ok(html.includes('FCI parameters'), html); assert.ok(html.includes('9 bytes')); assert.ok(html.includes('expected: ') && html.includes('TLV 62 declares 22 bytes')); // both sides empty -> nothing rendered
|---|