i18n(ja): apply review round 2

Catalog fixes from the second review round (squawk 7600/7700 names,
transit occupancy, radio category, cyclone advisory wording, Orbital Watch,
validation and hint texts), cockpit distances keep "km" in Japanese as in
Chinese, the CCTV context line uses the translated view band, and the
Japanese layer status line no longer splits "1分以内".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-28 22:06:29 +04:00
1 parent 8ca7f52d19
commit cd1f573647
7 files changed
+103 -42

No files matched your search

+17 -1
View File
@@ -8,6 +8,22 @@ import {
isDatasheetFov,
} from './modelSpecs.js';
/** The camera's zoom bucket (cctv model) in the HUD's view-band words. */
function viewBandLabel(band) {
switch (band) {
case 'street':
return t('STREET', { context: 'view band' });
case 'city':
return t('CITY', { context: 'view band' });
case 'regional':
return t('REGIONAL', { context: 'view band' });
case 'global':
return t('GLOBAL', { context: 'view band' });
default:
return band.toUpperCase();
}
}
export function createPresentation({
state: layerState,
services,
@@ -82,7 +98,7 @@ export function createPresentation({
: t('SRC {value}', {
value: String(active.camera.feedType || 'image').toUpperCase(),
}),
t('{value} CONTEXT', { value: viewBand.toUpperCase() }),
t('{value} CONTEXT', { value: viewBandLabel(viewBand) }),
// Identified hardware: append the model's datasheet specs + attribution.
active.camera.spec
? t('{spec} · SPECS: CCTV-DATABASE.COM', {