From aa6a9ed1b5b08663feb76d932606873553529b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Fri, 11 Sep 2026 21:54:11 +0300 Subject: [PATCH] =?UTF-8?q?i18n:=20rename=20'FCP=20parameters'=20->=20'FCI?= =?UTF-8?q?=20parameters'=20in=20the=20check=20report=20(RU:=20'=D0=9F?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D1=8B=20FCI')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SW cache v78 -> v79. --- frontend/index.html | 4 ++-- frontend/sw.js | 2 +- frontend/tests/profiler.test.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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('FCP parameters')) + '
'; + html += '
' + esc(t('FCI parameters')) + '
'; html += ''; html += '' + '' + @@ -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
' + esc(t('Parameter')) + '