i18n: rename 'FCP parameters' -> 'FCI parameters' in the check report (RU: 'Параметры FCI')

SW cache v78 -> v79.
This commit is contained in:
2026-09-11 21:54:11 +03:00
parent 36281e02fd
commit aa6a9ed1b5
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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 += '<div class="mt-1 text-xs text-gray-500 dark:text-slate-400">' + esc(t('FCP parameters')) + '</div>';
html += '<div class="mt-1 text-xs text-gray-500 dark:text-slate-400">' + esc(t('FCI parameters')) + '</div>';
html += '<table class="w-full text-xs border-collapse">';
html += '<thead><tr class="border-b border-gray-200 dark:border-slate-700">' +
'<th class="text-left py-0.5 px-1 font-medium text-gray-500 dark:text-slate-400">' + esc(t('Parameter')) + '</th>' +
@@ -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': 'Ошибка декодирования',
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v78';
const CACHE = 'otaman-v79';
const URLS = [
'index.html',
'help.html',
+3 -3
View File
@@ -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