feat(i18n): translate the whole interface

Mark every UI string the unmarked-text check reported (534) plus text it
cannot see (helpers, joined labels, runtime-built panels), and translate
the result to Spanish and Russian: 1,679 messages each.

- Kept on purpose, with the reason where the text lives: provider and
  product names, place and camera names, codes and units, dB values, the HUD
  terminal readouts, demo shot titles that saved projects look up by title,
  and text for AI tools and the voice model.
- Modules shared with the server or AI tools stay free of the i18n import
  (local msg); the wind reading and voice session stay English and are
  translated where the page shows them.
- npm test now runs the unmarked-text check.
- Fixes on the way: a duplicated radio privacy paragraph, the contact panel
  toggle saying Expand while open, the CSS filter mistaking & for CSS.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-12 19:24:42 +04:00
1 parent ee72133574
commit 3129e531e6
99 files changed
+4670 -1294

No files matched your search

@@ -351,6 +351,7 @@ function buildWorkload(count) {
id: `mover-${index}`,
position: () => position,
variant: 'label',
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: `TRK ${1000 + index}`,
details: [`ALT ${10_000 + index * 25}`],
priority: index % 7,
@@ -461,6 +462,7 @@ function buildPhase3FirmsWorkload(count) {
position,
gapPx: 10,
accent: '224, 82, 82',
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: `▲ ${50 + fireIndex} MW`,
details: ['high · 2h · N20'],
selected: false,
@@ -551,6 +553,7 @@ function buildPhase3VesselsWorkload(count) {
position,
gapPx: 10,
accent: '224, 82, 82',
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: `▲ ${50 + fireIndex} MW`,
details: ['high · 2h · N20'],
selected: false,
@@ -570,6 +573,7 @@ function buildPhase3VesselsWorkload(count) {
position,
gapPx: selected ? 12 : 10,
accent: '57, 213, 255',
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: selected ? 'SELECTED VESSEL' : `VESSEL ${vesselIndex}`,
details: selected
? ['CARGO · 14.5KT · 231°', 'MMSI 353136000 · POS: LIVE']
@@ -644,6 +648,7 @@ function buildPhase3TrackedWorkload(count) {
gevTrackedId: 'flights:allocation-probe',
gevDisplayPosition: selected.position,
gevLabelModel: {
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: 'ALLOC01',
details: ['FL350 · 451 kts', 'TEST AIR · A320'],
accent: '#39d0ff',
@@ -694,6 +699,7 @@ function buildPhase4CctvWorkload(count) {
const entry = createCctvThumbnailOverlayEntry({
id: active ? 'cctv:active' : `cctv:${index}`,
position,
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
title: active ? 'ACTIVE CAMERA' : `CAMERA ${index}`,
frameSlot: slot,
rank: index,
@@ -867,6 +873,7 @@ function buildPhase5CivilWorkload(count) {
const entry = registration?.entries[0];
if (!entry)
throw new Error('phase5-civil requires the protected tracked entry');
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
entry.title = 'ALLOC01 · FL350 · 451 kts';
entry.details = ['TEST AIR · A320', 'AUS → LAX'];
return workload;
@@ -881,6 +888,7 @@ function buildPhase5MilitaryWorkload(count) {
if (!entry)
throw new Error('phase5-military requires the protected tracked entry');
entry.id = 'military:allocation-probe';
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
entry.title = 'RCH451';
entry.details = ['C17 · 05-8152', 'USAF · 28000 ft · 400 kt'];
entry.accent = '#ffd166';
@@ -1067,6 +1075,7 @@ function appendSubmarineCableWorkload(workload, count) {
id: `${kind}-reference-${index}-alloc`,
kind,
label:
// i18n-ignore: synthetic allocation-benchmark fixture, not shown as UI
kind === 'cable' ? `Cable System ${index}` : `Landing Point ${index}`,
tip: position,
distanceM: 200_000 + index * 40_000,