Translate the rest of the Context card's facts

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-16 14:59:17 -08:00
1 parent 4554713f98
commit 4b350cb9ae
22 files changed
+2460 -316

No files matched your search

+332 -222
View File
@@ -1,5 +1,7 @@
import { getContextStore } from './contextStore.js';
import { msg } from '../i18n/marker.js';
import { AIRCRAFT_CLASS_LABELS } from './aircraftClass.js';
import { aircraftEmergency } from './aircraftEmergency.js';
/**
* One way to read any thing on the map, whichever layer holds it.
@@ -17,10 +19,11 @@ import { msg } from '../i18n/marker.js';
/**
* How a layer's items are named and drawn, by layer id. `headline` names the
* fields that lead a card as its big figures, in order; `name` is what an
* item without a name of its own goes by.
* item without a name of its own goes by. `kind` is also the English the card
* shows, through t(), for what the item is.
*/
const AIRCRAFT = {
kind: 'aircraft',
kind: msg('aircraft'),
icon: 'flight',
moving: true,
headline: ['altitudeM', 'speedMps', 'heading'],
@@ -30,71 +33,71 @@ const KINDS = Object.freeze({
military: AIRCRAFT,
'local-adsb': AIRCRAFT,
'ais-live-vessels': {
kind: 'vessel',
kind: msg('vessel'),
icon: 'directions_boat',
moving: true,
headline: ['speedKts', 'courseDeg', 'navStatus'],
},
satellites: {
kind: 'satellite',
kind: msg('satellite'),
icon: 'satellite_alt',
moving: true,
headline: ['altitudeM', 'speedMps'],
},
'rocket-launches': { kind: 'launch', icon: 'rocket_launch' },
'rocket-launches': { kind: msg('launch'), icon: 'rocket_launch' },
'local-firms': {
kind: 'fire',
kind: msg('fire'),
icon: 'local_fire_department',
headline: ['frp', 'confidence'],
name: 'Fire detection',
name: msg('Fire detection'),
},
'fire-perimeters': {
kind: 'fire perimeter',
kind: msg('fire perimeter'),
icon: 'local_fire_department',
headline: ['acres', 'containedPct'],
},
earthquakes: {
kind: 'earthquake',
kind: msg('earthquake'),
icon: 'earthquake',
headline: ['magnitude', 'depthKm'],
},
'weather-cyclones': {
kind: 'storm',
kind: msg('storm'),
icon: 'cyclone',
headline: ['windKt', 'pressureHpa'],
},
'air-quality': {
kind: 'air quality station',
kind: msg('air quality station'),
icon: 'air',
headline: ['value', 'band'],
},
'military-installations': { kind: 'installation', icon: 'factory' },
'local-dams': { kind: 'dam', icon: 'factory', headline: ['capacity'] },
'military-installations': { kind: msg('installation'), icon: 'factory' },
'local-dams': { kind: msg('dam'), icon: 'factory', headline: ['capacity'] },
'local-datacenters': {
kind: 'data centre',
kind: msg('data centre'),
icon: 'factory',
headline: ['capacity'],
},
'osm-places': { kind: 'place', icon: 'location_on' },
'osm-places': { kind: msg('place'), icon: 'location_on' },
transit: {
kind: 'vehicle',
kind: msg('vehicle'),
icon: 'train',
moving: true,
headline: ['speedMps', 'courseDeg'],
},
bikeshare: {
kind: 'bike station',
kind: msg('bike station'),
icon: 'pedal_bike',
headline: ['bikesAvailable', 'docksAvailable'],
},
'alpr-cameras': { kind: 'plate reader', icon: 'videocam' },
cctv: { kind: 'camera', icon: 'videocam' },
'alpr-cameras': { kind: msg('plate reader'), icon: 'videocam' },
cctv: { kind: msg('camera'), icon: 'videocam' },
'drone-airspace': {
kind: 'airspace',
kind: msg('airspace'),
icon: 'pentagon',
headline: ['lowerAltitude', 'upperAltitude'],
},
'wildlife-sightings': { kind: 'sighting', icon: 'pets' },
'wildlife-sightings': { kind: msg('sighting'), icon: 'pets' },
});
/** Fields a record may name itself by, best first. */
@@ -220,76 +223,76 @@ const FACT_ORDER = [
/** Plain labels for record fields. Unlisted fields are spelled out. */
const FACT_LABELS = Object.freeze({
callsign: 'Callsign',
registration: 'Registration',
operator: 'Operator',
aircraftClass: 'Aircraft class',
routeOrigin: 'From',
routeDestination: 'To',
altitudeM: 'Altitude',
speedMps: 'Speed',
speedKts: 'Speed',
heading: 'Heading',
courseDeg: 'Course',
verticalRateMps: 'Vertical rate',
squawk: 'Squawk',
emergencyBroadcast: 'Emergency',
onGround: 'On the ground',
originCountry: 'Country',
lastContactAtMs: 'Last contact',
shipType: 'Ship type',
destination: 'Destination',
navStatus: 'Status',
magnitude: 'Magnitude',
depthKm: 'Depth',
timeMs: 'Time',
place: 'Place',
frp: 'Fire power',
confidence: 'Confidence',
satellite: 'Satellite',
sensor: 'Sensor',
acqTime: 'Detected',
acres: 'Area',
containedPct: 'Contained',
discoveredTime: 'Discovered',
category: 'Type',
windKt: 'Wind',
pressureHpa: 'Pressure',
classification: 'Class',
basin: 'Basin',
value: 'Index',
band: 'Level',
risk: 'Health risk',
bikesAvailable: 'Bikes',
docksAvailable: 'Docks',
lowerAltitude: 'Floor',
upperAltitude: 'Ceiling',
timesOfUse: 'Active',
mode: 'Mode',
noradId: 'NORAD ID',
satelliteClass: 'Class',
mmsi: 'MMSI',
icao24: 'ICAO24',
capacity: 'Capacity',
output: 'Output',
river: 'River',
class: 'Class',
kind: 'Type',
'addr:city': 'City',
'addr:state': 'State',
'addr:country': 'Country',
'addr:street': 'Street',
start_date: 'Opened',
height: 'Height',
'plant:source': 'Source',
'plant:output:electricity': 'Output',
'generator:source': 'Source',
'capacity:it_load': 'IT load',
waterway: 'Waterway',
military: 'Military',
landuse: 'Land use',
power: 'Power',
telecom: 'Telecom',
callsign: msg('Callsign'),
registration: msg('Registration'),
operator: msg('Operator'),
aircraftClass: msg('Aircraft class'),
routeOrigin: msg('From'),
routeDestination: msg('To'),
altitudeM: msg('Altitude'),
speedMps: msg('Speed'),
speedKts: msg('Speed'),
heading: msg('Heading'),
courseDeg: msg('Course'),
verticalRateMps: msg('Vertical rate'),
squawk: msg('Squawk'),
emergencyBroadcast: msg('Emergency'),
onGround: msg('On the ground'),
originCountry: msg('Country'),
lastContactAtMs: msg('Last contact'),
shipType: msg('Ship type'),
destination: msg('Destination'),
navStatus: msg('Status'),
magnitude: msg('Magnitude'),
depthKm: msg('Depth'),
timeMs: msg('Time'),
place: msg('Place'),
frp: msg('Fire power'),
confidence: msg('Confidence'),
satellite: msg('Satellite'),
sensor: msg('Sensor'),
acqTime: msg('Detected'),
acres: msg('Area'),
containedPct: msg('Contained'),
discoveredTime: msg('Discovered'),
category: msg('Type'),
windKt: msg('Wind'),
pressureHpa: msg('Pressure'),
classification: msg('Class'),
basin: msg('Basin'),
value: msg('Index'),
band: msg('Level'),
risk: msg('Health risk'),
bikesAvailable: msg('Bikes'),
docksAvailable: msg('Docks'),
lowerAltitude: msg('Floor'),
upperAltitude: msg('Ceiling'),
timesOfUse: msg('Active'),
mode: msg('Mode'),
noradId: msg('NORAD ID'),
satelliteClass: msg('Class'),
mmsi: msg('MMSI'),
icao24: msg('ICAO24'),
capacity: msg('Capacity'),
output: msg('Output'),
river: msg('River'),
class: msg('Class'),
kind: msg('Type'),
'addr:city': msg('City'),
'addr:state': msg('State'),
'addr:country': msg('Country'),
'addr:street': msg('Street'),
start_date: msg('Opened'),
height: msg('Height'),
'plant:source': msg('Source'),
'plant:output:electricity': msg('Output'),
'generator:source': msg('Source'),
'capacity:it_load': msg('IT load'),
waterway: msg('Waterway'),
military: msg('Military'),
landuse: msg('Land use'),
power: msg('Power'),
telecom: msg('Telecom'),
});
/** OSM bookkeeping tags that say nothing about the place itself. */
@@ -315,7 +318,7 @@ const finite = (value) =>
/** What a layer's items are, and the glyph that stands for them. */
export function entityKind(layerId) {
return KINDS[layerId] || { kind: 'feature', icon: 'location_on' };
return KINDS[layerId] || { kind: msg('feature'), icon: 'location_on' };
}
/** Latitude and longitude of a record, whichever names it uses. */
@@ -379,15 +382,16 @@ const isEpochMs = (value) =>
* @param {*} value
* @param {object} [options]
* @param {number} [options.nowMs]
* @returns {{value: string, age?: number}|null}
* @returns {{value: string, words?: object, age?: number}|null} `value` is
* the English; `words` (see words()) is what the UI shows through t().
*/
/** Codes the feeds use, in words. */
const CODE_WORDS = Object.freeze({
motion: {
moving: 'Moving',
stopped: 'Stopped',
waiting: 'Waiting for update',
'no-fix': 'No recent fix',
moving: msg('Moving'),
stopped: msg('Stopped'),
waiting: msg('Waiting for update'),
'no-fix': msg('No recent fix'),
},
// GTFS-RT vehicle states, as the operator last reported them.
status: {
@@ -396,36 +400,81 @@ const CODE_WORDS = Object.freeze({
STOPPED_AT: msg('Stopped at a stop'),
},
occupancy: {
EMPTY: 'Empty',
MANY_SEATS_AVAILABLE: 'Many seats free',
FEW_SEATS_AVAILABLE: 'Few seats free',
STANDING_ROOM_ONLY: 'Standing room only',
CRUSHED_STANDING_ROOM_ONLY: 'Crowded',
FULL: 'Full',
NOT_ACCEPTING_PASSENGERS: 'Not taking passengers',
EMPTY: msg('Empty'),
MANY_SEATS_AVAILABLE: msg('Many seats free'),
FEW_SEATS_AVAILABLE: msg('Few seats free'),
STANDING_ROOM_ONLY: msg('Standing room only'),
CRUSHED_STANDING_ROOM_ONLY: msg('Crowded'),
FULL: msg('Full'),
NOT_ACCEPTING_PASSENGERS: msg('Not taking passengers'),
},
classification: {
TD: 'Tropical depression',
TS: 'Tropical storm',
HU: 'Hurricane',
MH: 'Major hurricane',
TY: 'Typhoon',
STY: 'Super typhoon',
TC: 'Tropical cyclone',
SD: 'Subtropical depression',
SS: 'Subtropical storm',
PTC: 'Post-tropical cyclone',
TD: msg('Tropical depression'),
TS: msg('Tropical storm'),
HU: msg('Hurricane'),
MH: msg('Major hurricane'),
TY: msg('Typhoon'),
STY: msg('Super typhoon'),
TC: msg('Tropical cyclone'),
SD: msg('Subtropical depression'),
SS: msg('Subtropical storm'),
PTC: msg('Post-tropical cyclone'),
},
category: { WF: 'Wildfire', RX: 'Prescribed burn' },
category: { WF: msg('Wildfire'), RX: msg('Prescribed burn') },
basin: {
AL: 'Atlantic',
EP: 'Eastern Pacific',
CP: 'Central Pacific',
WP: 'Western Pacific',
IO: 'Indian Ocean',
SH: 'Southern Hemisphere',
AL: msg('Atlantic'),
EP: msg('Eastern Pacific'),
CP: msg('Central Pacific'),
WP: msg('Western Pacific'),
IO: msg('Indian Ocean'),
SH: msg('Southern Hemisphere'),
},
// Transit modes, as plainWord would spell the feed's codes.
mode: {
bus: msg('Bus'),
trolleybus: msg('Trolleybus'),
tram: msg('Tram'),
cable_tram: msg('Cable tram'),
subway: msg('Subway'),
monorail: msg('Monorail'),
rail: msg('Rail'),
funicular: msg('Funicular'),
aerial_lift: msg('Aerial lift'),
ferry: msg('Ferry'),
unknown: msg('Unknown'),
},
aircraftClass: AIRCRAFT_CLASS_LABELS,
});
/**
* A feed code in English words (`classification` `HU` → `Hurricane`), for the
* UI to show through t(); '' when the code has none.
*/
export function codeWord(field, code) {
return CODE_WORDS[field]?.[text(code)] || '';
}
/** Code words whose English means something else elsewhere in the catalog. */
const CODE_CONTEXTS = Object.freeze({ 'motion:stopped': 'vehicle motion' });
/**
* Words for the UI to show through t(): `{text, values?, context?, fixed?}`
* is English with `{placeholders}` (numbers in `values` are formatted for the
* language, with `fixed` decimals when given); `{date}` is a moment shown as
* a date. Each fact, insight and warning that has them keeps its English in
* `value` too, for search, matching and tests.
*/
function words(text, values, { context, fixed } = {}) {
const out = { text };
if (values) out.values = values;
if (context) out.context = context;
if (fixed !== undefined) out.fixed = fixed;
return out;
}
const said = (value, text, values, options) => ({
value,
words: words(text, values, options),
});
/** A number rounded to at most `digits` decimals, as `round` shows it. */
const roundTo = (n, digits = 0) => Number(n.toFixed(digits));
/** A feed's bare lowercase word as people write it: `data_center` → `Data center`. */
function plainWord(shown) {
@@ -438,19 +487,19 @@ function plainWord(shown) {
function shipTypeName(code) {
const n = Number(code);
if (!Number.isInteger(n) || n < 1 || n > 99) return '';
if (n === 30) return 'Fishing';
if (n === 31 || n === 32 || n === 52) return 'Tug';
if (n === 35) return 'Military';
if (n === 36) return 'Sailing';
if (n === 37) return 'Pleasure craft';
if (n === 50) return 'Pilot vessel';
if (n === 51) return 'Search and rescue';
if (n === 55) return 'Law enforcement';
if (n >= 40 && n <= 49) return 'High-speed craft';
if (n >= 60 && n <= 69) return 'Passenger';
if (n >= 70 && n <= 79) return 'Cargo';
if (n >= 80 && n <= 89) return 'Tanker';
return 'Other';
if (n === 30) return msg('Fishing');
if (n === 31 || n === 32 || n === 52) return msg('Tug');
if (n === 35) return msg('Military');
if (n === 36) return msg('Sailing');
if (n === 37) return msg('Pleasure craft');
if (n === 50) return msg('Pilot vessel');
if (n === 51) return msg('Search and rescue');
if (n === 55) return msg('Law enforcement');
if (n >= 40 && n <= 49) return msg('High-speed craft');
if (n >= 60 && n <= 69) return msg('Passenger');
if (n >= 70 && n <= 79) return msg('Cargo');
if (n >= 80 && n <= 89) return msg('Tanker');
return msg('Other');
}
export function formatFact(
@@ -458,14 +507,21 @@ export function formatFact(
value,
{ nowMs = Date.now(), kind = '' } = {},
) {
if (field === 'shipType' && shipTypeName(value))
return { value: shipTypeName(value) };
if (value === true) return { value: 'Yes' };
if (field === 'shipType' && shipTypeName(value)) {
const name = shipTypeName(value);
return said(name, name);
}
if (value === true) return said('Yes', msg('Yes'));
if (value === false || value === null || value === undefined) return null;
const number = typeof value === 'number' ? value : null;
if (number !== null && !Number.isFinite(number)) return null;
const round = (n, digits = 0) =>
n.toLocaleString('en-US', { maximumFractionDigits: digits });
// A figure with its unit: English for the value, words for the UI.
const figure = (n, digits, text, english) =>
said(english.replace('{n}', round(n, digits)), text, {
n: roundTo(n, digits),
});
if (number !== null) {
if (
/AtMs$|^timeMs$|^acqTime$|^observedMs$|^updatedTime$/.test(field) &&
@@ -481,44 +537,50 @@ export function formatFact(
year: 'numeric',
timeZone: 'UTC',
}),
words: { date: number },
};
// Aviation altitudes read in feet; orbits in kilometres.
if (field === 'altitudeM')
return {
value:
number >= 100_000
? `${round(number / 1000)} km`
: `${round(number * 3.28084)} ft`,
};
return number >= 100_000
? figure(number / 1000, 0, msg('{n} km'), '{n} km')
: figure(number * 3.28084, 0, msg('{n} ft'), '{n} ft');
// Orbital speeds read in km/s, road and rail in km/h, the rest in knots.
if (field === 'speedMps' && number >= 2000)
return { value: `${round(number / 1000, 2)} km/s` };
return figure(number / 1000, 2, msg('{n} km/s'), '{n} km/s');
if (field === 'speedMps' && kind === 'vehicle')
return { value: `${round(number * 3.6)} km/h` };
if (field === 'speedMps') return { value: `${round(number * 1.94384)} kt` };
if (field === 'speedKts') return { value: `${round(number, 1)} kt` };
return figure(number * 3.6, 0, msg('{n} km/h'), '{n} km/h');
if (field === 'speedMps')
return figure(number * 1.94384, 0, msg('{n} kt'), '{n} kt');
if (field === 'speedKts') return figure(number, 1, msg('{n} kt'), '{n} kt');
if (field === 'verticalRateMps')
return { value: `${round(number * 196.85)} ft/min` };
return figure(number * 196.85, 0, msg('{n} ft/min'), '{n} ft/min');
if (/^(heading|courseDeg)$/.test(field))
return { value: `${round(number)}°` };
if (field === 'depthKm') return { value: `${round(number, 1)} km` };
if (field === 'magnitude') return { value: `M ${round(number, 1)}` };
if (field === 'frp') return { value: `${round(number, 1)} MW` };
return figure(number, 0, msg('{n}°'), '{n}°');
if (field === 'depthKm') return figure(number, 1, msg('{n} km'), '{n} km');
if (field === 'magnitude') return figure(number, 1, msg('M {n}'), 'M {n}');
if (field === 'frp') return figure(number, 1, msg('{n} MW'), '{n} MW');
if (field === 'confidence' && number <= 1)
return { value: `${round(number * 100)}%` };
if (/Pct$/.test(field)) return { value: `${round(number)}%` };
if (/Kt$/.test(field)) return { value: `${round(number)} kt` };
if (/Hpa$/.test(field)) return { value: `${round(number)} hPa` };
if (field === 'acres') return { value: `${round(number)} acres` };
if (/Km$/.test(field)) return { value: `${round(number, 1)} km` };
if (/M$/.test(field)) return { value: `${round(number)} m` };
return { value: round(number, 2) };
return figure(number * 100, 0, msg('{n}%'), '{n}%');
if (/Pct$/.test(field)) return figure(number, 0, msg('{n}%'), '{n}%');
if (/Kt$/.test(field)) return figure(number, 0, msg('{n} kt'), '{n} kt');
if (/Hpa$/.test(field)) return figure(number, 0, msg('{n} hPa'), '{n} hPa');
if (field === 'acres')
return figure(number, 0, msg('{n} acres'), '{n} acres');
if (/Km$/.test(field)) return figure(number, 1, msg('{n} km'), '{n} km');
if (/M$/.test(field)) return figure(number, 0, msg('{n} m'), '{n} m');
// A bare number: only its digits follow the language.
return figure(number, 2, '{n}', '{n}');
}
const raw = text(value);
if (!raw) return null;
const coded = CODE_WORDS[field]?.[raw];
if (coded)
return said(coded, coded, null, {
context: CODE_CONTEXTS[`${field}:${raw}`],
});
// Identifiers and names stay exactly as the feed gives them.
const verbatim = KEY_FIELDS.includes(field) || TITLE_FIELDS.includes(field);
const shown = CODE_WORDS[field]?.[raw] || (verbatim ? raw : plainWord(raw));
const shown = verbatim ? raw : plainWord(raw);
return { value: shown.length > 80 ? `${shown.slice(0, 77)}…` : shown };
}
@@ -555,6 +617,7 @@ export function recordFacts(
FACT_LABELS[field] ||
spellOut(field),
value: formatted.value,
...(formatted.words ? { words: formatted.words } : {}),
});
}
return { facts, observedAgeMs };
@@ -742,45 +805,64 @@ function storeRecord(identity) {
*/
/** What a transponder code means when it is one of the emergency codes. */
const EMERGENCY_SQUAWKS = Object.freeze({
7500: 'Hijack (squawk 7500)',
7600: 'Radio failure (squawk 7600)',
7700: 'Emergency (squawk 7700)',
7500: msg('Hijack (squawk 7500)'),
7600: msg('Radio failure (squawk 7600)'),
7700: msg('Emergency (squawk 7700)'),
});
/**
* A record's warnings as `{value, words}`: the English and, for the ones this
* module words, what the UI shows through t(). A layer's own alert text has
* no words; it shows as the feed gives it.
*/
function warningEntries(record) {
if (!record) return [];
const found = [];
const kind = text(record.emergencyKind);
if (record.emergency === true || (kind && kind.toLowerCase() !== 'none')) {
// A known ADS-B emergency goes by its name; another word as given.
const named = kind ? aircraftEmergency({ emergency: kind })?.label : '';
found.push(
kind
? said(`Emergency: ${named || kind}`, msg('Emergency: {kind}'), {
kind: named ? words(named) : kind,
})
: said('Emergency declared', msg('Emergency declared')),
);
}
const squawk = EMERGENCY_SQUAWKS[Number(record.squawk)];
if (squawk && !found.length) found.push(said(squawk, squawk));
if (record.tsunami === true || Number(record.tsunami) === 1)
found.push(said('Tsunami warning issued', msg('Tsunami warning issued')));
// `alert` is left out: feeds use it for a level (an earthquake's PAGER
// colour), not a warning to read out.
for (const field of ['warning', 'advisory']) {
const value = text(record[field]);
if (value && !found.some((entry) => entry.value === value))
found.push({ value, words: null });
}
return found;
}
/**
* Warnings a record carries, most serious first: an aircraft emergency or
* emergency squawk, a tsunami flag, or a layer's own alert text. These lead
* the card, ahead of any facts.
* @param {?object} record
* @returns {string[]}
* @returns {string[]} In English; cards and alerts also carry their words.
*/
export function recordWarnings(record) {
if (!record) return [];
const found = [];
const kind = text(record.emergencyKind);
if (record.emergency === true || (kind && kind.toLowerCase() !== 'none'))
found.push(kind ? `Emergency: ${kind}` : 'Emergency declared');
const squawk = EMERGENCY_SQUAWKS[Number(record.squawk)];
if (squawk && !found.length) found.push(squawk);
if (record.tsunami === true || Number(record.tsunami) === 1)
found.push('Tsunami warning issued');
// `alert` is left out: feeds use it for a level (an earthquake's PAGER
// colour), not a warning to read out.
for (const field of ['warning', 'advisory']) {
const value = text(record[field]);
if (value && !found.includes(value)) found.push(value);
}
return found;
return warningEntries(record).map((entry) => entry.value);
}
/** What a routine transponder code says, for the codes with a meaning. */
const SQUAWK_MEANINGS = Object.freeze({
1200: 'VFR, no flight plan',
7000: 'VFR conspicuity',
2000: 'IFR, no code yet',
7500: 'Hijack',
7600: 'Radio failure',
7700: 'Emergency',
1200: msg('VFR, no flight plan'),
7000: msg('VFR conspicuity'),
2000: msg('IFR, no code yet'),
7500: msg('Hijack'),
7600: msg('Radio failure'),
7700: msg('Emergency'),
});
/** Speed of sound (m/s) at a height, from the standard atmosphere. */
@@ -796,8 +878,9 @@ function speedOfSound(heightM) {
* than repeat the facts listed below them.
* @param {?object} record
* @param {{nowMs?: number}} [options]
* @returns {Array<{label: string, labelValues?: object, value: string}>}
* `label` is English for t(), with `labelValues` filling its placeholders.
* @returns {Array<{label: string, labelValues?: object, value: string, words?: object}>}
* `label` is English for t(), with `labelValues` filling its placeholders;
* `value` is the English and `words` what the UI shows (see words()).
*/
export function aircraftInsights(record, { nowMs = Date.now() } = {}) {
if (!record) return [];
@@ -809,17 +892,24 @@ export function aircraftInsights(record, { nowMs = Date.now() } = {}) {
(finite(record.speedKts) !== null ? record.speedKts * 0.514444 : null),
);
if (record.onGround === true)
out.push({ label: msg('Phase'), value: 'On the ground' });
else if (climbMps !== null) {
const fpm = climbMps * 196.85;
out.push({
label: msg('Phase'),
value:
fpm > 300
? `Climbing ${Math.round(fpm / 100) * 100} ft/min`
: fpm < -300
? `Descending ${Math.round(-fpm / 100) * 100} ft/min`
: 'Cruising, level',
...said('On the ground', msg('On the ground')),
});
else if (climbMps !== null) {
const fpm = climbMps * 196.85;
const rate = Math.round(Math.abs(fpm) / 100) * 100;
out.push({
label: msg('Phase'),
...(fpm > 300
? said(`Climbing ${rate} ft/min`, msg('Climbing {n} ft/min'), {
n: rate,
})
: fpm < -300
? said(`Descending ${rate} ft/min`, msg('Descending {n} ft/min'), {
n: rate,
})
: said('Cruising, level', msg('Cruising, level'))),
});
}
if (altitudeM !== null && altitudeM > 900)
@@ -830,24 +920,30 @@ export function aircraftInsights(record, { nowMs = Date.now() } = {}) {
if (speedMps !== null && altitudeM !== null && speedMps > 60)
out.push({
label: msg('Mach'),
value: `M ${(speedMps / speedOfSound(altitudeM)).toFixed(2)}`,
...said(
`M ${(speedMps / speedOfSound(altitudeM)).toFixed(2)}`,
msg('M {n}'),
{ n: roundTo(speedMps / speedOfSound(altitudeM), 2) },
{ fixed: 2 },
),
});
const squawk = Number(record.squawk);
if (SQUAWK_MEANINGS[squawk])
out.push({
label: msg('Squawk {code}'),
labelValues: { code: String(record.squawk) },
value: SQUAWK_MEANINGS[squawk],
...said(SQUAWK_MEANINGS[squawk], SQUAWK_MEANINGS[squawk]),
});
const seen = finite(record.lastContactAtMs ?? record.timeMs);
if (seen !== null) {
const seconds = Math.max(0, Math.round((nowMs - seen) / 1000));
out.push({
label: msg('Signal'),
value:
seconds < 90
? `${seconds} s ago`
: `${Math.round(seconds / 60)} min ago`,
...(seconds < 90
? said(`${seconds} s ago`, msg('{n} s ago'), { n: seconds })
: said(`${Math.round(seconds / 60)} min ago`, msg('{n} min ago'), {
n: Math.round(seconds / 60),
})),
});
}
return out;
@@ -904,6 +1000,9 @@ export function describeEntity(
const key = record
? recordKey(layerId, record)
: `${layerId}:${text(identity.id) || title}`;
const warnings = warningEntries(record);
const aircraftClass =
kind.kind === 'aircraft' ? text(record?.aircraftClass) || null : null;
return {
key,
layerId,
@@ -914,14 +1013,19 @@ export function describeEntity(
// The fields that lead the card as its big figures.
headline: kind.headline || [],
title,
// The kind's own name, when the item goes by it, for the UI to translate.
titleWords: kind.name && title === kind.name ? words(kind.name) : null,
lat: at?.lat ?? null,
lon: at?.lon ?? null,
altitudeM: finite(record?.altitudeM ?? identity.altitudeM),
facts: facts.filter((fact) => fact.value !== title),
warnings: recordWarnings(record),
warnings: warnings.map((entry) => entry.value),
// The same warnings for the UI to show: words, or null to show as given.
warningWords: warnings.map((entry) => entry.words),
// For the aircraft card's model and route line.
aircraftClass:
kind.kind === 'aircraft' ? text(record?.aircraftClass) || null : null,
aircraftClass,
// Its class's English name, for the UI to translate; null when unknown.
aircraftClassName: AIRCRAFT_CLASS_LABELS[aircraftClass] || null,
insights:
kind.kind === 'aircraft' ? aircraftInsights(record, { nowMs }) : [],
operator: text(record?.operator) || null,
@@ -1125,14 +1229,14 @@ function tallyBy(records, labelOf, { keep = 4 } = {}) {
}
const AIRCRAFT_CLASS_NAMES = {
airliner: 'Airliners',
widebody: 'Widebodies',
bizjet: 'Business jets',
light: 'Light aircraft',
helicopter: 'Helicopters',
turboprop: 'Turboprops',
fastjet: 'Fast jets',
quadjet: 'Four-engine jets',
airliner: msg('Airliners'),
widebody: msg('Widebodies'),
bizjet: msg('Business jets'),
light: msg('Light aircraft'),
helicopter: msg('Helicopters'),
turboprop: msg('Turboprops'),
fastjet: msg('Fast jets'),
quadjet: msg('Four-engine jets'),
};
/**
@@ -1212,7 +1316,11 @@ export function layerBreakdown(dataManager, layerId, { rect = null } = {}) {
});
splits.push({
title: msg('Mode'),
parts: tallyBy(records, (record) => plainWord(text(record.mode))),
parts: tallyBy(
records,
(record) =>
CODE_WORDS.mode[record.mode] || plainWord(text(record.mode)),
),
});
const operators = tallyBy(records, (record) => text(record.operator));
if (operators.length > 1)
@@ -1246,12 +1354,12 @@ export function layerBreakdown(dataManager, layerId, { rect = null } = {}) {
return m === null
? ''
: m >= 6
? 'M6 and above'
? msg('M6 and above')
: m >= 5
? 'M5 to 6'
? msg('M5 to 6')
: m >= 4
? 'M4 to 5'
: 'Below M4';
? msg('M4 to 5')
: msg('Below M4');
};
splits.push({ title: msg('Magnitude'), parts: tallyBy(records, band) });
}
@@ -1473,7 +1581,7 @@ export function alertsNear(
const found = [];
for (const layer of enabledLayers(dataManager)) {
for (const record of layerRecords(dataManager, layer.id)) {
const warnings = recordWarnings(record);
const warnings = warningEntries(record);
if (!warnings.length) continue;
const km = distanceKm(here, recordPosition(record));
if (!(km <= radiusKm)) continue;
@@ -1481,7 +1589,9 @@ export function alertsNear(
key: recordKey(layer.id, record),
icon: entityKind(layer.id).icon,
title: recordTitle(record) || layerName(dataManager, layer.id),
text: warnings[0],
text: warnings[0].value,
// What the UI shows for it: words, or null to show `text` as given.
words: warnings[0].words,
distanceKm: km,
identity: {
layerId: layer.id,
+137 -2
View File
@@ -4223,7 +4223,7 @@
"Context tabs": "علامات تبويب السياق",
"Inspector": "الفاحص",
"Properties": "الخصائص",
"Level": "ثابت",
"Level": "المستوى",
"Last {n} min": "آخر {n} د",
"Just now": "الآن",
"Since selected": "منذ التحديد",
@@ -4323,5 +4323,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "لا توجد طبقة محمّلة بها شيء في العرض. فعّل بعضها في طبقات البيانات.",
"Places in view": "أماكن في العرض",
"Show here": "عرض هنا",
"Ask GEV what's here": "اسأل GEV عمّا هنا"
"Ask GEV what's here": "اسأل GEV عمّا هنا",
"aircraft": "طائرة",
"vessel": "سفينة",
"launch": "إطلاق",
"fire": "حريق",
"Fire detection": "رصد حريق",
"fire perimeter": "محيط حريق",
"earthquake": "زلزال",
"storm": "عاصفة",
"air quality station": "محطة جودة الهواء",
"installation": "منشأة",
"dam": "سد",
"data centre": "مركز بيانات",
"place": "مكان",
"vehicle": "مركبة",
"bike station": "محطة دراجات",
"plate reader": "قارئ لوحات",
"camera": "كاميرا",
"airspace": "مجال جوي",
"sighting": "مشاهدة",
"Callsign": "رمز النداء",
"Registration": "التسجيل",
"Aircraft class": "فئة الطائرة",
"Course": "المسار",
"Vertical rate": "معدل الصعود",
"Squawk": "رمز المرسل المجيب",
"Emergency": "طوارئ",
"Last contact": "آخر اتصال",
"Ship type": "نوع السفينة",
"Destination": "الوجهة",
"Depth": "العمق",
"Time": "الوقت",
"Place": "المكان",
"Fire power": "قدرة الحريق",
"Satellite": "القمر الصناعي",
"Sensor": "المستشعر",
"Detected": "رُصد",
"Contained": "نسبة الاحتواء",
"Discovered": "اكتُشف",
"Basin": "الحوض",
"Index": "المؤشر",
"Health risk": "الخطر الصحي",
"Bikes": "الدراجات",
"Docks": "المراسي",
"Floor": "الحد الأدنى",
"Ceiling": "الحد الأعلى",
"Active": "نشط",
"NORAD ID": "معرّف NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "السعة",
"Output": "الإنتاج",
"River": "النهر",
"City": "المدينة",
"State": "الولاية",
"Street": "الشارع",
"Opened": "افتُتح",
"Height": "الارتفاع",
"IT load": "حمل تقنية المعلومات",
"Waterway": "المجرى المائي",
"Military": "عسكري",
"Land use": "استخدام الأرض",
"Telecom": "الاتصالات",
"feature": "عنصر",
"Empty": "فارغة",
"Many seats free": "مقاعد كثيرة متاحة",
"Few seats free": "مقاعد قليلة متاحة",
"Standing room only": "وقوف فقط",
"Crowded": "مزدحمة",
"Not taking passengers": "لا تقبل ركابًا",
"Major hurricane": "إعصار كبير",
"Typhoon": "إعصار التيفون",
"Super typhoon": "إعصار تيفون هائل",
"Tropical cyclone": "إعصار مداري",
"Prescribed burn": "حرق مخطط",
"Atlantic": "الأطلسي",
"Eastern Pacific": "شرق المحيط الهادئ",
"Central Pacific": "وسط المحيط الهادئ",
"Western Pacific": "غرب المحيط الهادئ",
"Indian Ocean": "المحيط الهندي",
"Southern Hemisphere": "نصف الكرة الجنوبي",
"Cable tram": "ترام بالكابل",
"Aerial lift": "تلفريك",
"Fishing": "صيد",
"Tug": "قاطرة",
"Sailing": "شراعي",
"Pleasure craft": "قارب نزهة",
"Pilot vessel": "سفينة إرشاد",
"Search and rescue": "بحث وإنقاذ",
"Law enforcement": "إنفاذ القانون",
"High-speed craft": "مركب عالي السرعة",
"Passenger": "ركاب",
"Cargo": "شحن",
"Tanker": "ناقلة",
"Yes": "نعم",
"{n} ft": "{n} قدم",
"{n} km/s": "{n} كم/ث",
"{n} km/h": "{n} كم/س",
"{n} kt": "{n} عقدة",
"{n} ft/min": "{n} قدم/د",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} ميغاواط",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "اختطاف (الرمز 7500)",
"Radio failure (squawk 7600)": "عطل لاسلكي (الرمز 7600)",
"Emergency (squawk 7700)": "حالة طوارئ (الرمز 7700)",
"Emergency: {kind}": "طوارئ: {kind}",
"Emergency declared": "أُعلنت حالة طوارئ",
"Tsunami warning issued": "صدر تحذير من تسونامي",
"VFR, no flight plan": "VFR، بلا خطة طيران",
"VFR conspicuity": "رمز VFR العام",
"IFR, no code yet": "IFR، بلا رمز بعد",
"Hijack": "اختطاف",
"Climbing {n} ft/min": "يصعد {n} قدم/د",
"Descending {n} ft/min": "يهبط {n} قدم/د",
"Cruising, level": "طيران مستوٍ",
"Airliners": "طائرات ركاب",
"Widebodies": "طائرات عريضة البدن",
"Business jets": "طائرات رجال أعمال",
"Helicopters": "مروحيات",
"Turboprops": "طائرات مروحية توربينية",
"Fast jets": "طائرات نفاثة سريعة",
"Four-engine jets": "طائرات رباعية المحركات",
"M6 and above": "M6 فأكثر",
"M5 to 6": "من M5 إلى 6",
"M4 to 5": "من M4 إلى 5",
"Below M4": "أقل من M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "البلد",
"altitude|Level": "ثابت",
"{h} h {m} min": "{h} س {m} د",
"{n} min": "{n} د",
"{speed} {direction}": "{speed} {direction}",
"{n} mm": "{n} مم"
}
+137 -2
View File
@@ -3859,7 +3859,7 @@
"Context tabs": "Kontext-Tabs",
"Inspector": "Inspektor",
"Properties": "Eigenschaften",
"Level": "Gleichbleibend",
"Level": "Stufe",
"Last {n} min": "Letzte {n} Min.",
"Just now": "Gerade eben",
"Since selected": "Seit der Auswahl",
@@ -3951,5 +3951,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Keine geladene Ebene hat etwas im Blick. Schalte welche unter Datenebenen ein.",
"Places in view": "Orte im Blick",
"Show here": "Hier anzeigen",
"Ask GEV what's here": "GEV fragen, was hier ist"
"Ask GEV what's here": "GEV fragen, was hier ist",
"aircraft": "Flugzeug",
"vessel": "Schiff",
"launch": "Start",
"fire": "Feuer",
"Fire detection": "Feuererkennung",
"fire perimeter": "Brandfläche",
"earthquake": "Erdbeben",
"storm": "Sturm",
"air quality station": "Luftmessstation",
"installation": "Anlage",
"dam": "Damm",
"data centre": "Rechenzentrum",
"place": "Ort",
"vehicle": "Fahrzeug",
"bike station": "Fahrradstation",
"plate reader": "Kennzeichenleser",
"camera": "Kamera",
"airspace": "Luftraum",
"sighting": "Sichtung",
"Callsign": "Rufzeichen",
"Registration": "Kennzeichen",
"Aircraft class": "Flugzeugklasse",
"Course": "Kurs über Grund",
"Vertical rate": "Steigrate",
"Squawk": "Squawk",
"Emergency": "Notfall",
"Last contact": "Letzter Kontakt",
"Ship type": "Schiffstyp",
"Destination": "Ziel",
"Depth": "Tiefe",
"Time": "Zeit",
"Place": "Ort",
"Fire power": "Feuerleistung",
"Satellite": "Satellit",
"Sensor": "Sensor",
"Detected": "Erkannt",
"Contained": "Eingedämmt",
"Discovered": "Entdeckt",
"Basin": "Becken",
"Index": "Index",
"Health risk": "Gesundheitsrisiko",
"Bikes": "Fahrräder",
"Docks": "Stellplätze",
"Floor": "Untergrenze",
"Ceiling": "Obergrenze",
"Active": "Aktiv",
"NORAD ID": "NORAD-ID",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Kapazität",
"Output": "Leistung",
"River": "Fluss",
"City": "Stadt",
"State": "Bundesstaat",
"Street": "Straße",
"Opened": "Eröffnet",
"Height": "Höhe",
"IT load": "IT-Last",
"Waterway": "Wasserweg",
"Military": "Militär",
"Land use": "Landnutzung",
"Telecom": "Telekommunikation",
"feature": "Objekt",
"Empty": "Leer",
"Many seats free": "Viele Plätze frei",
"Few seats free": "Wenige Plätze frei",
"Standing room only": "Nur Stehplätze",
"Crowded": "Überfüllt",
"Not taking passengers": "Kein Einstieg",
"Major hurricane": "Schwerer Hurrikan",
"Typhoon": "Taifun",
"Super typhoon": "Supertaifun",
"Tropical cyclone": "Tropischer Wirbelsturm",
"Prescribed burn": "Kontrolliertes Abbrennen",
"Atlantic": "Atlantik",
"Eastern Pacific": "Ostpazifik",
"Central Pacific": "Zentralpazifik",
"Western Pacific": "Westpazifik",
"Indian Ocean": "Indischer Ozean",
"Southern Hemisphere": "Südhalbkugel",
"Cable tram": "Kabelstraßenbahn",
"Aerial lift": "Seilbahn",
"Fishing": "Fischerei",
"Tug": "Schlepper",
"Sailing": "Segelschiff",
"Pleasure craft": "Sportboot",
"Pilot vessel": "Lotsenboot",
"Search and rescue": "Seenotrettung",
"Law enforcement": "Behördenschiff",
"High-speed craft": "Schnellboot",
"Passenger": "Passagierschiff",
"Cargo": "Frachter",
"Tanker": "Tanker",
"Yes": "Ja",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n} %",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Entführung (Squawk 7500)",
"Radio failure (squawk 7600)": "Funkausfall (Squawk 7600)",
"Emergency (squawk 7700)": "Notfall (Squawk 7700)",
"Emergency: {kind}": "Notfall: {kind}",
"Emergency declared": "Notfall erklärt",
"Tsunami warning issued": "Tsunamiwarnung ausgegeben",
"VFR, no flight plan": "VFR, ohne Flugplan",
"VFR conspicuity": "VFR-Standardcode",
"IFR, no code yet": "IFR, noch kein Code",
"Hijack": "Entführung",
"Climbing {n} ft/min": "Steigt mit {n} ft/min",
"Descending {n} ft/min": "Sinkt mit {n} ft/min",
"Cruising, level": "Reiseflug, gleichbleibend",
"Airliners": "Verkehrsflugzeuge",
"Widebodies": "Großraumflugzeuge",
"Business jets": "Businessjets",
"Helicopters": "Hubschrauber",
"Turboprops": "Turboprops",
"Fast jets": "Kampfjets",
"Four-engine jets": "Vierstrahlige Jets",
"M6 and above": "M6 und mehr",
"M5 to 6": "M5 bis 6",
"M4 to 5": "M4 bis 5",
"Below M4": "Unter M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Land",
"altitude|Level": "Gleichbleibend",
"{h} h {m} min": "{h} Std. {m} Min.",
"{n} min": "{n} Min.",
"{speed} {direction}": "{speed} aus {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -3950,7 +3950,7 @@
"Context tabs": "Pestañas de Contexto",
"Inspector": "Inspector",
"Properties": "Propiedades",
"Level": "Nivelado",
"Level": "Nivel",
"Last {n} min": "Últimos {n} min",
"Just now": "Justo ahora",
"Since selected": "Desde la selección",
@@ -4044,5 +4044,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Ninguna capa cargada tiene nada a la vista. Activa algunas en Capas de datos.",
"Places in view": "Lugares a la vista",
"Show here": "Mostrar aquí",
"Ask GEV what's here": "Preguntar a GEV qué hay aquí"
"Ask GEV what's here": "Preguntar a GEV qué hay aquí",
"aircraft": "aeronave",
"vessel": "buque",
"launch": "lanzamiento",
"fire": "incendio",
"Fire detection": "Detección de fuego",
"fire perimeter": "perímetro de incendio",
"earthquake": "sismo",
"storm": "tormenta",
"air quality station": "estación de calidad del aire",
"installation": "instalación",
"dam": "presa",
"data centre": "centro de datos",
"place": "lugar",
"vehicle": "vehículo",
"bike station": "estación de bicicletas",
"plate reader": "lector de matrículas",
"camera": "cámara",
"airspace": "espacio aéreo",
"sighting": "avistamiento",
"Callsign": "Indicativo",
"Registration": "Matrícula",
"Aircraft class": "Clase de aeronave",
"Course": "Rumbo",
"Vertical rate": "Velocidad vertical",
"Squawk": "Squawk",
"Emergency": "Emergencia",
"Last contact": "Último contacto",
"Ship type": "Tipo de buque",
"Destination": "Destino",
"Depth": "Profundidad",
"Time": "Hora",
"Place": "Lugar",
"Fire power": "Potencia del fuego",
"Satellite": "Satélite",
"Sensor": "Sensor",
"Detected": "Detectado",
"Contained": "Contenido",
"Discovered": "Descubierto",
"Basin": "Cuenca",
"Index": "Índice",
"Health risk": "Riesgo para la salud",
"Bikes": "Bicicletas",
"Docks": "Anclajes",
"Floor": "Límite inferior",
"Ceiling": "Límite superior",
"Active": "Activo",
"NORAD ID": "ID NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Capacidad",
"Output": "Producción",
"River": "Río",
"City": "Ciudad",
"State": "Estado",
"Street": "Calle",
"Opened": "Inaugurado",
"Height": "Altura",
"IT load": "Carga de TI",
"Waterway": "Vía fluvial",
"Military": "Militar",
"Land use": "Uso del suelo",
"Telecom": "Telecomunicaciones",
"feature": "elemento",
"Empty": "Vacío",
"Many seats free": "Muchos asientos libres",
"Few seats free": "Pocos asientos libres",
"Standing room only": "Solo de pie",
"Crowded": "Lleno",
"Not taking passengers": "No admite pasajeros",
"Major hurricane": "Huracán mayor",
"Typhoon": "Tifón",
"Super typhoon": "Supertifón",
"Tropical cyclone": "Ciclón tropical",
"Prescribed burn": "Quema prescrita",
"Atlantic": "Atlántico",
"Eastern Pacific": "Pacífico oriental",
"Central Pacific": "Pacífico central",
"Western Pacific": "Pacífico occidental",
"Indian Ocean": "Océano Índico",
"Southern Hemisphere": "Hemisferio sur",
"Cable tram": "Tranvía de cable",
"Aerial lift": "Teleférico",
"Fishing": "Pesca",
"Tug": "Remolcador",
"Sailing": "Velero",
"Pleasure craft": "Embarcación de recreo",
"Pilot vessel": "Embarcación de prácticos",
"Search and rescue": "Búsqueda y rescate",
"Law enforcement": "Fuerzas del orden",
"High-speed craft": "Embarcación de alta velocidad",
"Passenger": "Pasajeros",
"Cargo": "Carga",
"Tanker": "Petrolero",
"Yes": "Sí",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n} %",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Secuestro (squawk 7500)",
"Radio failure (squawk 7600)": "Fallo de radio (squawk 7600)",
"Emergency (squawk 7700)": "Emergencia (squawk 7700)",
"Emergency: {kind}": "Emergencia: {kind}",
"Emergency declared": "Emergencia declarada",
"Tsunami warning issued": "Alerta de tsunami emitida",
"VFR, no flight plan": "VFR, sin plan de vuelo",
"VFR conspicuity": "Código VFR de visibilidad",
"IFR, no code yet": "IFR, aún sin código",
"Hijack": "Secuestro",
"Climbing {n} ft/min": "Ascendiendo a {n} ft/min",
"Descending {n} ft/min": "Descendiendo a {n} ft/min",
"Cruising, level": "Crucero, nivelado",
"Airliners": "Aviones comerciales",
"Widebodies": "Aviones de fuselaje ancho",
"Business jets": "Jets ejecutivos",
"Helicopters": "Helicópteros",
"Turboprops": "Turbohélices",
"Fast jets": "Reactores rápidos",
"Four-engine jets": "Cuatrimotores",
"M6 and above": "M6 o más",
"M5 to 6": "M5 a 6",
"M4 to 5": "M4 a 5",
"Below M4": "Menos de M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "País",
"altitude|Level": "Nivelado",
"{h} h {m} min": "{h} h {m} min",
"{n} min": "{n} min",
"{speed} {direction}": "{speed} del {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -3950,7 +3950,7 @@
"Context tabs": "Onglets du Contexte",
"Inspector": "Inspecteur",
"Properties": "Propriétés",
"Level": "Stable",
"Level": "Niveau",
"Last {n} min": "{n} dernières min",
"Just now": "À l’instant",
"Since selected": "Depuis la sélection",
@@ -4044,5 +4044,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Aucune couche chargée n’a rien de visible. Activez-en dans Couches.",
"Places in view": "Lieux visibles",
"Show here": "Afficher ici",
"Ask GEV what's here": "Demander à GEV ce qu’il y a ici"
"Ask GEV what's here": "Demander à GEV ce qu’il y a ici",
"aircraft": "aéronef",
"vessel": "navire",
"launch": "lancement",
"fire": "feu",
"Fire detection": "Détection de feu",
"fire perimeter": "périmètre de feu",
"earthquake": "séisme",
"storm": "tempête",
"air quality station": "station de qualité de l’air",
"installation": "installation",
"dam": "barrage",
"data centre": "centre de données",
"place": "lieu",
"vehicle": "véhicule",
"bike station": "station de vélos",
"plate reader": "lecteur de plaques",
"camera": "caméra",
"airspace": "espace aérien",
"sighting": "observation",
"Callsign": "Indicatif",
"Registration": "Immatriculation",
"Aircraft class": "Classe d’aéronef",
"Course": "Route",
"Vertical rate": "Vitesse verticale",
"Squawk": "Squawk",
"Emergency": "Urgence",
"Last contact": "Dernier contact",
"Ship type": "Type de navire",
"Destination": "Destination",
"Depth": "Profondeur",
"Time": "Heure",
"Place": "Lieu",
"Fire power": "Puissance du feu",
"Satellite": "Satellite",
"Sensor": "Capteur",
"Detected": "Détecté",
"Contained": "Maîtrisé",
"Discovered": "Découvert",
"Basin": "Bassin",
"Index": "Indice",
"Health risk": "Risque sanitaire",
"Bikes": "Vélos",
"Docks": "Bornes",
"Floor": "Plancher",
"Ceiling": "Plafond",
"Active": "Actif",
"NORAD ID": "ID NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Capacité",
"Output": "Production",
"River": "Rivière",
"City": "Ville",
"State": "État",
"Street": "Rue",
"Opened": "Ouvert",
"Height": "Hauteur",
"IT load": "Charge informatique",
"Waterway": "Voie d’eau",
"Military": "Militaire",
"Land use": "Occupation du sol",
"Telecom": "Télécoms",
"feature": "élément",
"Empty": "Vide",
"Many seats free": "Beaucoup de places libres",
"Few seats free": "Peu de places libres",
"Standing room only": "Places debout uniquement",
"Crowded": "Bondé",
"Not taking passengers": "Ne prend pas de passagers",
"Major hurricane": "Ouragan majeur",
"Typhoon": "Typhon",
"Super typhoon": "Super typhon",
"Tropical cyclone": "Cyclone tropical",
"Prescribed burn": "Brûlage dirigé",
"Atlantic": "Atlantique",
"Eastern Pacific": "Pacifique Est",
"Central Pacific": "Pacifique central",
"Western Pacific": "Pacifique Ouest",
"Indian Ocean": "Océan Indien",
"Southern Hemisphere": "Hémisphère sud",
"Cable tram": "Tramway à câble",
"Aerial lift": "Remontée par câble",
"Fishing": "Pêche",
"Tug": "Remorqueur",
"Sailing": "Voilier",
"Pleasure craft": "Navire de plaisance",
"Pilot vessel": "Bateau pilote",
"Search and rescue": "Recherche et sauvetage",
"Law enforcement": "Forces de l’ordre",
"High-speed craft": "Navire à grande vitesse",
"Passenger": "Passagers",
"Cargo": "Cargo",
"Tanker": "Pétrolier",
"Yes": "Oui",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} nd",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n} %",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Détournement (squawk 7500)",
"Radio failure (squawk 7600)": "Panne radio (squawk 7600)",
"Emergency (squawk 7700)": "Urgence (squawk 7700)",
"Emergency: {kind}": "Urgence : {kind}",
"Emergency declared": "Urgence déclarée",
"Tsunami warning issued": "Alerte au tsunami émise",
"VFR, no flight plan": "VFR, sans plan de vol",
"VFR conspicuity": "Code VFR de visibilité",
"IFR, no code yet": "IFR, pas encore de code",
"Hijack": "Détournement",
"Climbing {n} ft/min": "En montée à {n} ft/min",
"Descending {n} ft/min": "En descente à {n} ft/min",
"Cruising, level": "En croisière, palier",
"Airliners": "Avions de ligne",
"Widebodies": "Gros-porteurs",
"Business jets": "Jets d’affaires",
"Helicopters": "Hélicoptères",
"Turboprops": "Turbopropulseurs",
"Fast jets": "Avions de chasse",
"Four-engine jets": "Quadriréacteurs",
"M6 and above": "M6 et plus",
"M5 to 6": "M5 à 6",
"M4 to 5": "M4 à 5",
"Below M4": "Moins de M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Pays",
"altitude|Level": "Stable",
"{h} h {m} min": "{h} h {m} min",
"{n} min": "{n} min",
"{speed} {direction}": "{speed} de {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -3950,7 +3950,7 @@
"Context tabs": "לשוניות ההקשר",
"Inspector": "בודק",
"Properties": "מאפיינים",
"Level": "יציב",
"Level": "רמה",
"Last {n} min": "{n} הדקות האחרונות",
"Just now": "כרגע",
"Since selected": "מאז הבחירה",
@@ -4044,5 +4044,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "לאף שכבה טעונה אין דבר בתצוגה. הפעילו שכבות בשכבות נתונים.",
"Places in view": "מקומות בתצוגה",
"Show here": "הצגה כאן",
"Ask GEV what's here": "לשאול את GEV מה יש כאן"
"Ask GEV what's here": "לשאול את GEV מה יש כאן",
"aircraft": "כלי טיס",
"vessel": "כלי שיט",
"launch": "שיגור",
"fire": "שריפה",
"Fire detection": "זיהוי שריפה",
"fire perimeter": "היקף שריפה",
"earthquake": "רעידת אדמה",
"storm": "סופה",
"air quality station": "תחנת איכות אוויר",
"installation": "מתקן",
"dam": "סכר",
"data centre": "מרכז נתונים",
"place": "מקום",
"vehicle": "כלי רכב",
"bike station": "תחנת אופניים",
"plate reader": "קורא לוחיות רישוי",
"camera": "מצלמה",
"airspace": "מרחב אווירי",
"sighting": "תצפית",
"Callsign": "אות קריאה",
"Registration": "רישום",
"Aircraft class": "סוג כלי טיס",
"Course": "נתיב",
"Vertical rate": "קצב אנכי",
"Squawk": "סקוואק",
"Emergency": "חירום",
"Last contact": "קשר אחרון",
"Ship type": "סוג כלי שיט",
"Destination": "יעד",
"Depth": "עומק",
"Time": "זמן",
"Place": "מקום",
"Fire power": "עוצמת השריפה",
"Satellite": "לוויין",
"Sensor": "חיישן",
"Detected": "זוהה",
"Contained": "בשליטה",
"Discovered": "התגלה",
"Basin": "אגן",
"Index": "מדד",
"Health risk": "סיכון בריאותי",
"Bikes": "אופניים",
"Docks": "עמדות",
"Floor": "גבול תחתון",
"Ceiling": "גבול עליון",
"Active": "פעיל",
"NORAD ID": "מזהה NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "קיבולת",
"Output": "תפוקה",
"River": "נהר",
"City": "עיר",
"State": "מדינה",
"Street": "רחוב",
"Opened": "נפתח",
"Height": "גובה",
"IT load": "עומס IT",
"Waterway": "נתיב מים",
"Military": "צבאי",
"Land use": "שימוש בקרקע",
"Telecom": "תקשורת",
"feature": "פריט",
"Empty": "ריק",
"Many seats free": "מקומות פנויים רבים",
"Few seats free": "מעט מקומות פנויים",
"Standing room only": "מקומות עמידה בלבד",
"Crowded": "צפוף",
"Not taking passengers": "לא מעלה נוסעים",
"Major hurricane": "הוריקן חזק",
"Typhoon": "טייפון",
"Super typhoon": "סופר־טייפון",
"Tropical cyclone": "ציקלון טרופי",
"Prescribed burn": "שריפה מבוקרת",
"Atlantic": "האוקיינוס האטלנטי",
"Eastern Pacific": "מזרח האוקיינוס השקט",
"Central Pacific": "מרכז האוקיינוס השקט",
"Western Pacific": "מערב האוקיינוס השקט",
"Indian Ocean": "האוקיינוס ההודי",
"Southern Hemisphere": "חצי הכדור הדרומי",
"Cable tram": "חשמלית כבלים",
"Aerial lift": "רכבל",
"Fishing": "דיג",
"Tug": "גוררת",
"Sailing": "מפרשית",
"Pleasure craft": "כלי שיט לפנאי",
"Pilot vessel": "סירת נתבים",
"Search and rescue": "חיפוש והצלה",
"Law enforcement": "אכיפת חוק",
"High-speed craft": "כלי שיט מהיר",
"Passenger": "נוסעים",
"Cargo": "מטען",
"Tanker": "מכלית",
"Yes": "כן",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kt",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "חטיפה (סקוואק 7500)",
"Radio failure (squawk 7600)": "תקלת קשר (סקוואק 7600)",
"Emergency (squawk 7700)": "חירום (סקוואק 7700)",
"Emergency: {kind}": "חירום: {kind}",
"Emergency declared": "הוכרז מצב חירום",
"Tsunami warning issued": "הוצאה אזהרת צונאמי",
"VFR, no flight plan": "VFR, ללא תוכנית טיסה",
"VFR conspicuity": "קוד VFR כללי",
"IFR, no code yet": "IFR, עדיין ללא קוד",
"Hijack": "חטיפה",
"Climbing {n} ft/min": "מטפס {n} ft/min",
"Descending {n} ft/min": "יורד {n} ft/min",
"Cruising, level": "שיוט, גובה קבוע",
"Airliners": "מטוסי נוסעים",
"Widebodies": "מטוסי גוף רחב",
"Business jets": "מטוסי מנהלים",
"Helicopters": "מסוקים",
"Turboprops": "מטוסי טורבו־פרופ",
"Fast jets": "מטוסי קרב",
"Four-engine jets": "מטוסים ארבעה־מנועיים",
"M6 and above": "M6 ומעלה",
"M5 to 6": "M5 עד 6",
"M4 to 5": "M4 עד 5",
"Below M4": "מתחת ל־M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "מדינה",
"altitude|Level": "יציב",
"{h} h {m} min": "{h} שע׳ {m} דק׳",
"{n} min": "{n} דק׳",
"{speed} {direction}": "{speed} מ־{direction}",
"{n} mm": "{n} מ״מ"
}
+137 -2
View File
@@ -3950,7 +3950,7 @@
"Context tabs": "Schede di Contesto",
"Inspector": "Ispettore",
"Properties": "Proprietà",
"Level": "Stabile",
"Level": "Livello",
"Last {n} min": "Ultimi {n} min",
"Just now": "Proprio ora",
"Since selected": "Dalla selezione",
@@ -4044,5 +4044,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Nessun livello caricato ha qualcosa in vista. Attivane alcuni in Livelli dati.",
"Places in view": "Luoghi in vista",
"Show here": "Mostra qui",
"Ask GEV what's here": "Chiedi a GEV cosa c’è qui"
"Ask GEV what's here": "Chiedi a GEV cosa c’è qui",
"aircraft": "aeromobile",
"vessel": "nave",
"launch": "lancio",
"fire": "incendio",
"Fire detection": "Rilevamento di fuoco",
"fire perimeter": "perimetro dell’incendio",
"earthquake": "terremoto",
"storm": "tempesta",
"air quality station": "stazione della qualità dell’aria",
"installation": "installazione",
"dam": "diga",
"data centre": "data center",
"place": "luogo",
"vehicle": "veicolo",
"bike station": "stazione bici",
"plate reader": "lettore di targhe",
"camera": "telecamera",
"airspace": "spazio aereo",
"sighting": "avvistamento",
"Callsign": "Nominativo",
"Registration": "Marche",
"Aircraft class": "Classe di aeromobile",
"Course": "Rotta",
"Vertical rate": "Velocità verticale",
"Squawk": "Squawk",
"Emergency": "Emergenza",
"Last contact": "Ultimo contatto",
"Ship type": "Tipo di nave",
"Destination": "Destinazione",
"Depth": "Profondità",
"Time": "Ora",
"Place": "Luogo",
"Fire power": "Potenza del fuoco",
"Satellite": "Satellite",
"Sensor": "Sensore",
"Detected": "Rilevato",
"Contained": "Contenuto",
"Discovered": "Scoperto",
"Basin": "Bacino",
"Index": "Indice",
"Health risk": "Rischio per la salute",
"Bikes": "Bici",
"Docks": "Stalli",
"Floor": "Limite inferiore",
"Ceiling": "Limite superiore",
"Active": "Attivo",
"NORAD ID": "ID NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Capacità",
"Output": "Produzione",
"River": "Fiume",
"City": "Città",
"State": "Stato",
"Street": "Via",
"Opened": "Aperto",
"Height": "Altezza",
"IT load": "Carico IT",
"Waterway": "Corso d’acqua",
"Military": "Militare",
"Land use": "Uso del suolo",
"Telecom": "Telecomunicazioni",
"feature": "elemento",
"Empty": "Vuoto",
"Many seats free": "Molti posti liberi",
"Few seats free": "Pochi posti liberi",
"Standing room only": "Solo posti in piedi",
"Crowded": "Affollato",
"Not taking passengers": "Non accetta passeggeri",
"Major hurricane": "Uragano maggiore",
"Typhoon": "Tifone",
"Super typhoon": "Supertifone",
"Tropical cyclone": "Ciclone tropicale",
"Prescribed burn": "Fuoco prescritto",
"Atlantic": "Atlantico",
"Eastern Pacific": "Pacifico orientale",
"Central Pacific": "Pacifico centrale",
"Western Pacific": "Pacifico occidentale",
"Indian Ocean": "Oceano Indiano",
"Southern Hemisphere": "Emisfero australe",
"Cable tram": "Tram a fune",
"Aerial lift": "Funivia",
"Fishing": "Pesca",
"Tug": "Rimorchiatore",
"Sailing": "Vela",
"Pleasure craft": "Diporto",
"Pilot vessel": "Pilotina",
"Search and rescue": "Ricerca e soccorso",
"Law enforcement": "Forze dell’ordine",
"High-speed craft": "Unità veloce",
"Passenger": "Passeggeri",
"Cargo": "Mercantile",
"Tanker": "Petroliera",
"Yes": "Sì",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Dirottamento (squawk 7500)",
"Radio failure (squawk 7600)": "Avaria radio (squawk 7600)",
"Emergency (squawk 7700)": "Emergenza (squawk 7700)",
"Emergency: {kind}": "Emergenza: {kind}",
"Emergency declared": "Emergenza dichiarata",
"Tsunami warning issued": "Allerta tsunami emessa",
"VFR, no flight plan": "VFR, senza piano di volo",
"VFR conspicuity": "Codice VFR di cospicuità",
"IFR, no code yet": "IFR, codice non ancora assegnato",
"Hijack": "Dirottamento",
"Climbing {n} ft/min": "In salita a {n} ft/min",
"Descending {n} ft/min": "In discesa a {n} ft/min",
"Cruising, level": "Crociera, livellato",
"Airliners": "Aerei di linea",
"Widebodies": "Aerei a fusoliera larga",
"Business jets": "Business jet",
"Helicopters": "Elicotteri",
"Turboprops": "Turboelica",
"Fast jets": "Jet veloci",
"Four-engine jets": "Quadrimotori",
"M6 and above": "M6 e oltre",
"M5 to 6": "Da M5 a 6",
"M4 to 5": "Da M4 a 5",
"Below M4": "Sotto M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Paese",
"altitude|Level": "Stabile",
"{h} h {m} min": "{h} h {m} min",
"{n} min": "{n} min",
"{speed} {direction}": "{speed} da {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -3768,7 +3768,7 @@
"Context tabs": "コンテキストのタブ",
"Inspector": "インスペクター",
"Properties": "プロパティ",
"Level": "水平",
"Level": "レベル",
"Last {n} min": "過去{n}分",
"Just now": "たった今",
"Since selected": "選択以降",
@@ -3858,5 +3858,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "ロード済みのレイヤーに表示中のものはありません。データレイヤーでオンにしてください。",
"Places in view": "表示中の地名",
"Show here": "ここに表示",
"Ask GEV what's here": "ここに何があるかGEVに質問"
"Ask GEV what's here": "ここに何があるかGEVに質問",
"aircraft": "航空機",
"vessel": "船舶",
"launch": "打ち上げ",
"fire": "火災",
"Fire detection": "火災検知",
"fire perimeter": "火災範囲",
"earthquake": "地震",
"storm": "嵐",
"air quality station": "大気質測定局",
"installation": "施設",
"dam": "ダム",
"data centre": "データセンター",
"place": "場所",
"vehicle": "車両",
"bike station": "自転車ステーション",
"plate reader": "ナンバー読取装置",
"camera": "カメラ",
"airspace": "空域",
"sighting": "目撃",
"Callsign": "コールサイン",
"Registration": "登録記号",
"Aircraft class": "機種区分",
"Course": "針路",
"Vertical rate": "昇降率",
"Squawk": "スコーク",
"Emergency": "緊急",
"Last contact": "最終受信",
"Ship type": "船種",
"Destination": "目的地",
"Depth": "深さ",
"Time": "時刻",
"Place": "場所",
"Fire power": "火災放射強度",
"Satellite": "衛星",
"Sensor": "センサー",
"Detected": "検知",
"Contained": "鎮圧率",
"Discovered": "発見",
"Basin": "海域",
"Index": "指数",
"Health risk": "健康リスク",
"Bikes": "自転車",
"Docks": "ドック",
"Floor": "下限",
"Ceiling": "上限",
"Active": "有効時間",
"NORAD ID": "NORAD ID",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "容量",
"Output": "出力",
"River": "河川",
"City": "市区町村",
"State": "州",
"Street": "通り",
"Opened": "開業",
"Height": "高さ",
"IT load": "ITロード",
"Waterway": "水路",
"Military": "軍用",
"Land use": "土地利用",
"Telecom": "通信",
"feature": "地物",
"Empty": "空車",
"Many seats free": "空席多数",
"Few seats free": "空席わずか",
"Standing room only": "立席のみ",
"Crowded": "混雑",
"Not taking passengers": "乗車不可",
"Major hurricane": "大型ハリケーン",
"Typhoon": "台風",
"Super typhoon": "スーパー台風",
"Tropical cyclone": "熱帯低気圧",
"Prescribed burn": "計画的野焼き",
"Atlantic": "大西洋",
"Eastern Pacific": "東太平洋",
"Central Pacific": "中部太平洋",
"Western Pacific": "西太平洋",
"Indian Ocean": "インド洋",
"Southern Hemisphere": "南半球",
"Cable tram": "ケーブルカー",
"Aerial lift": "ロープウェイ",
"Fishing": "漁船",
"Tug": "タグボート",
"Sailing": "帆船",
"Pleasure craft": "プレジャーボート",
"Pilot vessel": "水先船",
"Search and rescue": "捜索救難",
"Law enforcement": "法執行機関",
"High-speed craft": "高速船",
"Passenger": "旅客船",
"Cargo": "貨物船",
"Tanker": "タンカー",
"Yes": "はい",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kt",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "ハイジャック(スコーク7500)",
"Radio failure (squawk 7600)": "無線故障(スコーク7600)",
"Emergency (squawk 7700)": "緊急事態(スコーク7700)",
"Emergency: {kind}": "緊急:{kind}",
"Emergency declared": "緊急事態宣言",
"Tsunami warning issued": "津波警報発表",
"VFR, no flight plan": "VFR・飛行計画なし",
"VFR conspicuity": "VFR視認用コード",
"IFR, no code yet": "IFR・コード未割当",
"Hijack": "ハイジャック",
"Climbing {n} ft/min": "上昇中 {n} ft/min",
"Descending {n} ft/min": "降下中 {n} ft/min",
"Cruising, level": "巡航・水平飛行",
"Airliners": "旅客機",
"Widebodies": "ワイドボディ機",
"Business jets": "ビジネスジェット",
"Helicopters": "ヘリコプター",
"Turboprops": "ターボプロップ機",
"Fast jets": "高速ジェット機",
"Four-engine jets": "4発ジェット機",
"M6 and above": "M6以上",
"M5 to 6": "M5〜6",
"M4 to 5": "M4〜5",
"Below M4": "M4未満",
"{kind} {name}": "{kind}{name}",
"place|Country": "国",
"altitude|Level": "水平",
"{h} h {m} min": "{h}時間{m}分",
"{n} min": "{n}分",
"{speed} {direction}": "{direction}の風 {speed}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -3950,7 +3950,7 @@
"Context tabs": "Abas do Contexto",
"Inspector": "Inspetor",
"Properties": "Propriedades",
"Level": "Nivelado",
"Level": "Nível",
"Last {n} min": "Últimos {n} min",
"Just now": "Agora mesmo",
"Since selected": "Desde a seleção",
@@ -4044,5 +4044,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Nenhuma camada carregada tem algo à vista. Ative algumas em Camadas de dados.",
"Places in view": "Lugares à vista",
"Show here": "Mostrar aqui",
"Ask GEV what's here": "Perguntar ao GEV o que há aqui"
"Ask GEV what's here": "Perguntar ao GEV o que há aqui",
"aircraft": "aeronave",
"vessel": "embarcação",
"launch": "lançamento",
"fire": "incêndio",
"Fire detection": "Detecção de fogo",
"fire perimeter": "perímetro de incêndio",
"earthquake": "terremoto",
"storm": "tempestade",
"air quality station": "estação de qualidade do ar",
"installation": "instalação",
"dam": "barragem",
"data centre": "data center",
"place": "local",
"vehicle": "veículo",
"bike station": "estação de bicicletas",
"plate reader": "leitor de placas",
"camera": "câmera",
"airspace": "espaço aéreo",
"sighting": "avistamento",
"Callsign": "Indicativo",
"Registration": "Matrícula",
"Aircraft class": "Classe da aeronave",
"Course": "Rumo",
"Vertical rate": "Razão vertical",
"Squawk": "Squawk",
"Emergency": "Emergência",
"Last contact": "Último contato",
"Ship type": "Tipo de embarcação",
"Destination": "Destino",
"Depth": "Profundidade",
"Time": "Hora",
"Place": "Local",
"Fire power": "Potência do fogo",
"Satellite": "Satélite",
"Sensor": "Sensor",
"Detected": "Detectado",
"Contained": "Contido",
"Discovered": "Descoberto",
"Basin": "Bacia",
"Index": "Índice",
"Health risk": "Risco à saúde",
"Bikes": "Bicicletas",
"Docks": "Vagas",
"Floor": "Limite inferior",
"Ceiling": "Limite superior",
"Active": "Ativo",
"NORAD ID": "ID NORAD",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Capacidade",
"Output": "Produção",
"River": "Rio",
"City": "Cidade",
"State": "Estado",
"Street": "Rua",
"Opened": "Inaugurado",
"Height": "Altura",
"IT load": "Carga de TI",
"Waterway": "Hidrovia",
"Military": "Militar",
"Land use": "Uso do solo",
"Telecom": "Telecomunicações",
"feature": "elemento",
"Empty": "Vazio",
"Many seats free": "Muitos lugares livres",
"Few seats free": "Poucos lugares livres",
"Standing room only": "Só em pé",
"Crowded": "Lotado",
"Not taking passengers": "Não aceita passageiros",
"Major hurricane": "Furacão de grande intensidade",
"Typhoon": "Tufão",
"Super typhoon": "Supertufão",
"Tropical cyclone": "Ciclone tropical",
"Prescribed burn": "Queima prescrita",
"Atlantic": "Atlântico",
"Eastern Pacific": "Pacífico Oriental",
"Central Pacific": "Pacífico Central",
"Western Pacific": "Pacífico Ocidental",
"Indian Ocean": "Oceano Índico",
"Southern Hemisphere": "Hemisfério Sul",
"Cable tram": "Bonde a cabo",
"Aerial lift": "Teleférico",
"Fishing": "Pesca",
"Tug": "Rebocador",
"Sailing": "Veleiro",
"Pleasure craft": "Embarcação de recreio",
"Pilot vessel": "Embarcação de praticagem",
"Search and rescue": "Busca e salvamento",
"Law enforcement": "Fiscalização",
"High-speed craft": "Embarcação de alta velocidade",
"Passenger": "Passageiros",
"Cargo": "Carga",
"Tanker": "Petroleiro",
"Yes": "Sim",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kt",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Sequestro (squawk 7500)",
"Radio failure (squawk 7600)": "Falha de rádio (squawk 7600)",
"Emergency (squawk 7700)": "Emergência (squawk 7700)",
"Emergency: {kind}": "Emergência: {kind}",
"Emergency declared": "Emergência declarada",
"Tsunami warning issued": "Alerta de tsunami emitido",
"VFR, no flight plan": "VFR, sem plano de voo",
"VFR conspicuity": "Código VFR de visibilidade",
"IFR, no code yet": "IFR, ainda sem código",
"Hijack": "Sequestro",
"Climbing {n} ft/min": "Subindo a {n} ft/min",
"Descending {n} ft/min": "Descendo a {n} ft/min",
"Cruising, level": "Cruzeiro, nivelado",
"Airliners": "Aviões comerciais",
"Widebodies": "Aviões de fuselagem larga",
"Business jets": "Jatos executivos",
"Helicopters": "Helicópteros",
"Turboprops": "Turboélices",
"Fast jets": "Jatos rápidos",
"Four-engine jets": "Quadrimotores",
"M6 and above": "M6 ou mais",
"M5 to 6": "M5 a 6",
"M4 to 5": "M4 a 5",
"Below M4": "Abaixo de M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "País",
"altitude|Level": "Nivelado",
"{h} h {m} min": "{h} h {m} min",
"{n} min": "{n} min",
"{speed} {direction}": "{speed} de {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -4041,7 +4041,7 @@
"Context tabs": "Вкладки контекста",
"Inspector": "Инспектор",
"Properties": "Свойства",
"Level": "Без изменений",
"Level": "Уровень",
"Last {n} min": "За {n} мин",
"Just now": "Только что",
"Since selected": "С момента выбора",
@@ -4137,5 +4137,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Ни в одном загруженном слое ничего не видно. Включите слои в разделе «Слои данных».",
"Places in view": "Места в поле зрения",
"Show here": "Показать здесь",
"Ask GEV what's here": "Спросить GEV, что здесь"
"Ask GEV what's here": "Спросить GEV, что здесь",
"aircraft": "воздушное судно",
"vessel": "судно",
"launch": "запуск",
"fire": "пожар",
"Fire detection": "Обнаружение пожара",
"fire perimeter": "контур пожара",
"earthquake": "землетрясение",
"storm": "шторм",
"air quality station": "станция качества воздуха",
"installation": "объект",
"dam": "плотина",
"data centre": "центр обработки данных",
"place": "место",
"vehicle": "транспорт",
"bike station": "велостанция",
"plate reader": "считыватель номеров",
"camera": "камера",
"airspace": "воздушное пространство",
"sighting": "наблюдение",
"Callsign": "Позывной",
"Registration": "Регистрация",
"Aircraft class": "Класс ВС",
"Course": "Курс",
"Vertical rate": "Вертикальная скорость",
"Squawk": "Сквок",
"Emergency": "Чрезвычайная ситуация",
"Last contact": "Последний контакт",
"Ship type": "Тип судна",
"Destination": "Пункт назначения",
"Depth": "Глубина",
"Time": "Время",
"Place": "Место",
"Fire power": "Мощность пожара",
"Satellite": "Спутник",
"Sensor": "Датчик",
"Detected": "Обнаружено",
"Contained": "Локализован",
"Discovered": "Обнаружен",
"Basin": "Бассейн",
"Index": "Индекс",
"Health risk": "Риск для здоровья",
"Bikes": "Велосипеды",
"Docks": "Места",
"Floor": "Нижняя граница",
"Ceiling": "Верхняя граница",
"Active": "Действует",
"NORAD ID": "NORAD ID",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Мощность",
"Output": "Выработка",
"River": "Река",
"City": "Город",
"State": "Штат",
"Street": "Улица",
"Opened": "Открыт",
"Height": "Высота",
"IT load": "ИТ-нагрузка",
"Waterway": "Водный путь",
"Military": "Военное",
"Land use": "Землепользование",
"Telecom": "Связь",
"feature": "объект",
"Empty": "Пусто",
"Many seats free": "Много свободных мест",
"Few seats free": "Мало свободных мест",
"Standing room only": "Только стоячие места",
"Crowded": "Переполнено",
"Not taking passengers": "Посадки нет",
"Major hurricane": "Сильный ураган",
"Typhoon": "Тайфун",
"Super typhoon": "Супертайфун",
"Tropical cyclone": "Тропический циклон",
"Prescribed burn": "Контролируемый пал",
"Atlantic": "Атлантика",
"Eastern Pacific": "Восточная часть Тихого океана",
"Central Pacific": "Центральная часть Тихого океана",
"Western Pacific": "Западная часть Тихого океана",
"Indian Ocean": "Индийский океан",
"Southern Hemisphere": "Южное полушарие",
"Cable tram": "Канатный трамвай",
"Aerial lift": "Канатная дорога",
"Fishing": "Рыболовное",
"Tug": "Буксир",
"Sailing": "Парусное",
"Pleasure craft": "Прогулочное",
"Pilot vessel": "Лоцманское",
"Search and rescue": "Поисково-спасательное",
"Law enforcement": "Правоохранительное",
"High-speed craft": "Скоростное",
"Passenger": "Пассажирское",
"Cargo": "Грузовое",
"Tanker": "Танкер",
"Yes": "Да",
"{n} ft": "{n} фт",
"{n} km/s": "{n} км/с",
"{n} km/h": "{n} км/ч",
"{n} kt": "{n} уз",
"{n} ft/min": "{n} фт/мин",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} МВт",
"{n}%": "{n}%",
"{n} hPa": "{n} гПа",
"Hijack (squawk 7500)": "Захват (сквок 7500)",
"Radio failure (squawk 7600)": "Отказ радиосвязи (сквок 7600)",
"Emergency (squawk 7700)": "Бедствие (сквок 7700)",
"Emergency: {kind}": "Чрезвычайная ситуация: {kind}",
"Emergency declared": "Объявлена чрезвычайная ситуация",
"Tsunami warning issued": "Объявлена угроза цунами",
"VFR, no flight plan": "ПВП, без плана полёта",
"VFR conspicuity": "Общий код ПВП",
"IFR, no code yet": "ППП, код ещё не назначен",
"Hijack": "Захват",
"Climbing {n} ft/min": "Набор высоты {n} фт/мин",
"Descending {n} ft/min": "Снижение {n} фт/мин",
"Cruising, level": "Крейсерский полёт",
"Airliners": "Авиалайнеры",
"Widebodies": "Широкофюзеляжные",
"Business jets": "Бизнес-джеты",
"Helicopters": "Вертолёты",
"Turboprops": "Турбовинтовые",
"Fast jets": "Скоростные реактивные",
"Four-engine jets": "Четырёхмоторные",
"M6 and above": "M6 и выше",
"M5 to 6": "M5–6",
"M4 to 5": "M4–5",
"Below M4": "Ниже M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Страна",
"altitude|Level": "Без изменений",
"{h} h {m} min": "{h} ч {m} мин",
"{n} min": "{n} мин",
"{speed} {direction}": "{speed}, {direction}",
"{n} mm": "{n} мм"
}
+137 -2
View File
@@ -3859,7 +3859,7 @@
"Context tabs": "Flikar i Kontext",
"Inspector": "Inspektör",
"Properties": "Egenskaper",
"Level": "Oförändrad",
"Level": "Nivå",
"Last {n} min": "Senaste {n} min",
"Just now": "Nyss",
"Since selected": "Sedan valet",
@@ -3951,5 +3951,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "Inget inläst lager har något i vyn. Slå på några under Datalager.",
"Places in view": "Platser i vyn",
"Show here": "Visa här",
"Ask GEV what's here": "Fråga GEV vad som finns här"
"Ask GEV what's here": "Fråga GEV vad som finns här",
"aircraft": "flygplan",
"vessel": "fartyg",
"launch": "uppskjutning",
"fire": "brand",
"Fire detection": "Branddetektering",
"fire perimeter": "brandområde",
"earthquake": "jordbävning",
"storm": "storm",
"air quality station": "luftkvalitetsstation",
"installation": "anläggning",
"dam": "damm",
"data centre": "datacenter",
"place": "plats",
"vehicle": "fordon",
"bike station": "cykelstation",
"plate reader": "skyltläsare",
"camera": "kamera",
"airspace": "luftrum",
"sighting": "observation",
"Callsign": "Anropssignal",
"Registration": "Registrering",
"Aircraft class": "Flygplansklass",
"Course": "Kurs",
"Vertical rate": "Vertikal hastighet",
"Squawk": "Squawk",
"Emergency": "Nödläge",
"Last contact": "Senaste kontakt",
"Ship type": "Fartygstyp",
"Destination": "Destination",
"Depth": "Djup",
"Time": "Tid",
"Place": "Plats",
"Fire power": "Brandeffekt",
"Satellite": "Satellit",
"Sensor": "Sensor",
"Detected": "Upptäckt",
"Contained": "Under kontroll",
"Discovered": "Upptäckt",
"Basin": "Bassäng",
"Index": "Index",
"Health risk": "Hälsorisk",
"Bikes": "Cyklar",
"Docks": "Platser",
"Floor": "Undre gräns",
"Ceiling": "Övre gräns",
"Active": "Aktiv",
"NORAD ID": "NORAD-ID",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Kapacitet",
"Output": "Effekt",
"River": "Flod",
"City": "Stad",
"State": "Delstat",
"Street": "Gata",
"Opened": "Öppnad",
"Height": "Höjd",
"IT load": "IT-last",
"Waterway": "Vattenväg",
"Military": "Militär",
"Land use": "Markanvändning",
"Telecom": "Telekom",
"feature": "objekt",
"Empty": "Tom",
"Many seats free": "Många lediga platser",
"Few seats free": "Få lediga platser",
"Standing room only": "Endast ståplatser",
"Crowded": "Trångt",
"Not taking passengers": "Tar inte emot resenärer",
"Major hurricane": "Kraftig orkan",
"Typhoon": "Tyfon",
"Super typhoon": "Supertyfon",
"Tropical cyclone": "Tropisk cyklon",
"Prescribed burn": "Naturvårdsbränning",
"Atlantic": "Atlanten",
"Eastern Pacific": "Östra Stilla havet",
"Central Pacific": "Centrala Stilla havet",
"Western Pacific": "Västra Stilla havet",
"Indian Ocean": "Indiska oceanen",
"Southern Hemisphere": "Södra halvklotet",
"Cable tram": "Kabelspårvagn",
"Aerial lift": "Linbana",
"Fishing": "Fiske",
"Tug": "Bogserbåt",
"Sailing": "Segelfartyg",
"Pleasure craft": "Fritidsbåt",
"Pilot vessel": "Lotsbåt",
"Search and rescue": "Sjöräddning",
"Law enforcement": "Myndighetsfartyg",
"High-speed craft": "Snabbgående fartyg",
"Passenger": "Passagerarfartyg",
"Cargo": "Lastfartyg",
"Tanker": "Tankfartyg",
"Yes": "Ja",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n} %",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "Kapning (squawk 7500)",
"Radio failure (squawk 7600)": "Radiofel (squawk 7600)",
"Emergency (squawk 7700)": "Nödläge (squawk 7700)",
"Emergency: {kind}": "Nödläge: {kind}",
"Emergency declared": "Nödläge utlyst",
"Tsunami warning issued": "Tsunamivarning utfärdad",
"VFR, no flight plan": "VFR, ingen färdplan",
"VFR conspicuity": "VFR-standardkod",
"IFR, no code yet": "IFR, ingen kod än",
"Hijack": "Kapning",
"Climbing {n} ft/min": "Stiger {n} ft/min",
"Descending {n} ft/min": "Sjunker {n} ft/min",
"Cruising, level": "Marschflyg, plant",
"Airliners": "Trafikflygplan",
"Widebodies": "Widebody-plan",
"Business jets": "Affärsjet",
"Helicopters": "Helikoptrar",
"Turboprops": "Turbopropplan",
"Fast jets": "Stridsflygplan",
"Four-engine jets": "Fyrmotoriga jetplan",
"M6 and above": "M6 och över",
"M5 to 6": "M5 till 6",
"M4 to 5": "M4 till 5",
"Below M4": "Under M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Land",
"altitude|Level": "Oförändrad",
"{h} h {m} min": "{h} h {m} min",
"{n} min": "{n} min",
"{speed} {direction}": "{speed} från {direction}",
"{n} mm": "{n} mm"
}
+137 -2
View File
@@ -4041,7 +4041,7 @@
"Context tabs": "Вкладки контексту",
"Inspector": "Інспектор",
"Properties": "Властивості",
"Level": "Без змін",
"Level": "Рівень",
"Last {n} min": "За {n} хв",
"Just now": "Щойно",
"Since selected": "Від вибору",
@@ -4137,5 +4137,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "У жодному завантаженому шарі нічого не видно. Увімкніть шари в розділі «Шари даних».",
"Places in view": "Місця в полі зору",
"Show here": "Показати тут",
"Ask GEV what's here": "Запитати GEV, що тут"
"Ask GEV what's here": "Запитати GEV, що тут",
"aircraft": "повітряне судно",
"vessel": "судно",
"launch": "запуск",
"fire": "пожежа",
"Fire detection": "Виявлення пожежі",
"fire perimeter": "контур пожежі",
"earthquake": "землетрус",
"storm": "шторм",
"air quality station": "станція якості повітря",
"installation": "об’єкт",
"dam": "гребля",
"data centre": "центр обробки даних",
"place": "місце",
"vehicle": "транспорт",
"bike station": "велостанція",
"plate reader": "зчитувач номерів",
"camera": "камера",
"airspace": "повітряний простір",
"sighting": "спостереження",
"Callsign": "Позивний",
"Registration": "Реєстрація",
"Aircraft class": "Клас ПС",
"Course": "Курс",
"Vertical rate": "Вертикальна швидкість",
"Squawk": "Сквок",
"Emergency": "Надзвичайна ситуація",
"Last contact": "Останній контакт",
"Ship type": "Тип судна",
"Destination": "Пункт призначення",
"Depth": "Глибина",
"Time": "Час",
"Place": "Місце",
"Fire power": "Потужність пожежі",
"Satellite": "Супутник",
"Sensor": "Датчик",
"Detected": "Виявлено",
"Contained": "Локалізовано",
"Discovered": "Виявлено",
"Basin": "Басейн",
"Index": "Індекс",
"Health risk": "Ризик для здоров’я",
"Bikes": "Велосипеди",
"Docks": "Місця",
"Floor": "Нижня межа",
"Ceiling": "Верхня межа",
"Active": "Діє",
"NORAD ID": "NORAD ID",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "Потужність",
"Output": "Вироблення",
"River": "Річка",
"City": "Місто",
"State": "Штат",
"Street": "Вулиця",
"Opened": "Відкрито",
"Height": "Висота",
"IT load": "ІТ-навантаження",
"Waterway": "Водний шлях",
"Military": "Військове",
"Land use": "Землекористування",
"Telecom": "Зв’язок",
"feature": "об’єкт",
"Empty": "Порожньо",
"Many seats free": "Багато вільних місць",
"Few seats free": "Мало вільних місць",
"Standing room only": "Лише стоячі місця",
"Crowded": "Переповнено",
"Not taking passengers": "Посадки немає",
"Major hurricane": "Сильний ураган",
"Typhoon": "Тайфун",
"Super typhoon": "Супертайфун",
"Tropical cyclone": "Тропічний циклон",
"Prescribed burn": "Контрольоване випалювання",
"Atlantic": "Атлантика",
"Eastern Pacific": "Східна частина Тихого океану",
"Central Pacific": "Центральна частина Тихого океану",
"Western Pacific": "Західна частина Тихого океану",
"Indian Ocean": "Індійський океан",
"Southern Hemisphere": "Південна півкуля",
"Cable tram": "Канатний трамвай",
"Aerial lift": "Канатна дорога",
"Fishing": "Рибальське",
"Tug": "Буксир",
"Sailing": "Вітрильне",
"Pleasure craft": "Прогулянкове",
"Pilot vessel": "Лоцманське",
"Search and rescue": "Пошуково-рятувальне",
"Law enforcement": "Правоохоронне",
"High-speed craft": "Швидкісне",
"Passenger": "Пасажирське",
"Cargo": "Вантажне",
"Tanker": "Танкер",
"Yes": "Так",
"{n} ft": "{n} фт",
"{n} km/s": "{n} км/с",
"{n} km/h": "{n} км/год",
"{n} kt": "{n} вуз",
"{n} ft/min": "{n} фт/хв",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} МВт",
"{n}%": "{n}%",
"{n} hPa": "{n} гПа",
"Hijack (squawk 7500)": "Захоплення (сквок 7500)",
"Radio failure (squawk 7600)": "Відмова радіозв’язку (сквок 7600)",
"Emergency (squawk 7700)": "Лихо (сквок 7700)",
"Emergency: {kind}": "Надзвичайна ситуація: {kind}",
"Emergency declared": "Оголошено надзвичайну ситуацію",
"Tsunami warning issued": "Оголошено загрозу цунамі",
"VFR, no flight plan": "ПВП, без плану польоту",
"VFR conspicuity": "Загальний код ПВП",
"IFR, no code yet": "ППП, код ще не призначено",
"Hijack": "Захоплення",
"Climbing {n} ft/min": "Набір висоти {n} фт/хв",
"Descending {n} ft/min": "Зниження {n} фт/хв",
"Cruising, level": "Крейсерський політ",
"Airliners": "Авіалайнери",
"Widebodies": "Широкофюзеляжні",
"Business jets": "Бізнес-джети",
"Helicopters": "Гелікоптери",
"Turboprops": "Турбогвинтові",
"Fast jets": "Швидкісні реактивні",
"Four-engine jets": "Чотиримоторні",
"M6 and above": "M6 і вище",
"M5 to 6": "M5–6",
"M4 to 5": "M4–5",
"Below M4": "Нижче M4",
"{kind} {name}": "{kind} {name}",
"place|Country": "Країна",
"altitude|Level": "Без змін",
"{h} h {m} min": "{h} год {m} хв",
"{n} min": "{n} хв",
"{speed} {direction}": "{speed}, {direction}",
"{n} mm": "{n} мм"
}
+137 -2
View File
@@ -3768,7 +3768,7 @@
"Context tabs": "态势标签页",
"Inspector": "检查器",
"Properties": "属性",
"Level": "平飞",
"Level": "等级",
"Last {n} min": "最近 {n} 分钟",
"Just now": "刚刚",
"Since selected": "自选中起",
@@ -3858,5 +3858,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "已加载的图层在视野内都没有内容。请在数据图层中开启一些。",
"Places in view": "视野内的地点",
"Show here": "在此显示",
"Ask GEV what's here": "问问 GEV 这里有什么"
"Ask GEV what's here": "问问 GEV 这里有什么",
"aircraft": "飞机",
"vessel": "船舶",
"launch": "发射",
"fire": "火点",
"Fire detection": "火点探测",
"fire perimeter": "火场范围",
"earthquake": "地震",
"storm": "风暴",
"air quality station": "空气质量站",
"installation": "设施",
"dam": "水坝",
"data centre": "数据中心",
"place": "地点",
"vehicle": "车辆",
"bike station": "单车站",
"plate reader": "车牌识别器",
"camera": "摄像头",
"airspace": "空域",
"sighting": "目击",
"Callsign": "呼号",
"Registration": "注册号",
"Aircraft class": "机型类别",
"Course": "航线",
"Vertical rate": "垂直速率",
"Squawk": "应答机编码",
"Emergency": "紧急情况",
"Last contact": "最后联系",
"Ship type": "船舶类型",
"Destination": "目的地",
"Depth": "深度",
"Time": "时间",
"Place": "地点",
"Fire power": "火点功率",
"Satellite": "卫星",
"Sensor": "传感器",
"Detected": "探测时间",
"Contained": "已控制",
"Discovered": "发现时间",
"Basin": "海域",
"Index": "指数",
"Health risk": "健康风险",
"Bikes": "单车",
"Docks": "车桩",
"Floor": "下限",
"Ceiling": "上限",
"Active": "生效时间",
"NORAD ID": "NORAD 编号",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "容量",
"Output": "输出",
"River": "河流",
"City": "城市",
"State": "州",
"Street": "街道",
"Opened": "启用",
"Height": "高度",
"IT load": "IT 负载",
"Waterway": "水道",
"Military": "军用",
"Land use": "土地用途",
"Telecom": "电信",
"feature": "要素",
"Empty": "空车",
"Many seats free": "空座较多",
"Few seats free": "空座较少",
"Standing room only": "仅剩站位",
"Crowded": "拥挤",
"Not taking passengers": "不载客",
"Major hurricane": "强飓风",
"Typhoon": "台风",
"Super typhoon": "超强台风",
"Tropical cyclone": "热带气旋",
"Prescribed burn": "计划烧除",
"Atlantic": "大西洋",
"Eastern Pacific": "东太平洋",
"Central Pacific": "中太平洋",
"Western Pacific": "西太平洋",
"Indian Ocean": "印度洋",
"Southern Hemisphere": "南半球",
"Cable tram": "缆索电车",
"Aerial lift": "空中缆车",
"Fishing": "渔船",
"Tug": "拖船",
"Sailing": "帆船",
"Pleasure craft": "游艇",
"Pilot vessel": "引航船",
"Search and rescue": "搜救船",
"Law enforcement": "执法船",
"High-speed craft": "高速船",
"Passenger": "客船",
"Cargo": "货船",
"Tanker": "油轮",
"Yes": "是",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "劫机(应答机编码 7500)",
"Radio failure (squawk 7600)": "无线电故障(应答机编码 7600)",
"Emergency (squawk 7700)": "紧急情况(应答机编码 7700)",
"Emergency: {kind}": "紧急情况:{kind}",
"Emergency declared": "已宣布紧急情况",
"Tsunami warning issued": "已发布海啸警报",
"VFR, no flight plan": "VFR,无飞行计划",
"VFR conspicuity": "VFR 识别码",
"IFR, no code yet": "IFR,尚未分配编码",
"Hijack": "劫机",
"Climbing {n} ft/min": "爬升 {n} ft/min",
"Descending {n} ft/min": "下降 {n} ft/min",
"Cruising, level": "巡航,平飞",
"Airliners": "客机",
"Widebodies": "宽体机",
"Business jets": "公务机",
"Helicopters": "直升机",
"Turboprops": "涡桨飞机",
"Fast jets": "高速喷气机",
"Four-engine jets": "四发喷气机",
"M6 and above": "M6 及以上",
"M5 to 6": "M5 至 6",
"M4 to 5": "M4 至 5",
"Below M4": "M4 以下",
"{kind} {name}": "{kind}{name}",
"place|Country": "国家",
"altitude|Level": "平飞",
"{h} h {m} min": "{h} 小时 {m} 分钟",
"{n} min": "{n} 分钟",
"{speed} {direction}": "{direction}风 {speed}",
"{n} mm": "{n} 毫米"
}
+137 -2
View File
@@ -3768,7 +3768,7 @@
"Context tabs": "態勢分頁",
"Inspector": "檢查器",
"Properties": "屬性",
"Level": "平飛",
"Level": "等級",
"Last {n} min": "最近 {n} 分鐘",
"Just now": "剛剛",
"Since selected": "自選取起",
@@ -3858,5 +3858,140 @@
"No loaded layer has anything in view. Turn some on in Data Layers.": "已載入的圖層在視野內都沒有內容。請在數據圖層中開啟一些。",
"Places in view": "視野內的地點",
"Show here": "在此顯示",
"Ask GEV what's here": "問問 GEV 這裡有什麼"
"Ask GEV what's here": "問問 GEV 這裡有什麼",
"aircraft": "飛機",
"vessel": "船舶",
"launch": "發射",
"fire": "火點",
"Fire detection": "火點偵測",
"fire perimeter": "火場範圍",
"earthquake": "地震",
"storm": "風暴",
"air quality station": "空氣品質站",
"installation": "設施",
"dam": "水壩",
"data centre": "資料中心",
"place": "地點",
"vehicle": "車輛",
"bike station": "單車站",
"plate reader": "車牌辨識器",
"camera": "攝影機",
"airspace": "空域",
"sighting": "目擊",
"Callsign": "呼號",
"Registration": "註冊號",
"Aircraft class": "機型類別",
"Course": "航線",
"Vertical rate": "垂直速率",
"Squawk": "應答機編碼",
"Emergency": "緊急情況",
"Last contact": "最後聯繫",
"Ship type": "船舶類型",
"Destination": "目的地",
"Depth": "深度",
"Time": "時間",
"Place": "地點",
"Fire power": "火點功率",
"Satellite": "衛星",
"Sensor": "感測器",
"Detected": "偵測時間",
"Contained": "已控制",
"Discovered": "發現時間",
"Basin": "海域",
"Index": "指數",
"Health risk": "健康風險",
"Bikes": "單車",
"Docks": "車樁",
"Floor": "下限",
"Ceiling": "上限",
"Active": "生效時間",
"NORAD ID": "NORAD 編號",
"MMSI": "MMSI",
"ICAO24": "ICAO24",
"Capacity": "容量",
"Output": "輸出",
"River": "河流",
"City": "城市",
"State": "州",
"Street": "街道",
"Opened": "啟用",
"Height": "高度",
"IT load": "IT 負載",
"Waterway": "水道",
"Military": "軍用",
"Land use": "土地用途",
"Telecom": "電信",
"feature": "要素",
"Empty": "空車",
"Many seats free": "空座較多",
"Few seats free": "空座較少",
"Standing room only": "僅剩站位",
"Crowded": "擁擠",
"Not taking passengers": "不載客",
"Major hurricane": "強颶風",
"Typhoon": "颱風",
"Super typhoon": "超強颱風",
"Tropical cyclone": "熱帶氣旋",
"Prescribed burn": "計畫燒除",
"Atlantic": "大西洋",
"Eastern Pacific": "東太平洋",
"Central Pacific": "中太平洋",
"Western Pacific": "西太平洋",
"Indian Ocean": "印度洋",
"Southern Hemisphere": "南半球",
"Cable tram": "纜索電車",
"Aerial lift": "空中纜車",
"Fishing": "漁船",
"Tug": "拖船",
"Sailing": "帆船",
"Pleasure craft": "遊艇",
"Pilot vessel": "引航船",
"Search and rescue": "搜救船",
"Law enforcement": "執法船",
"High-speed craft": "高速船",
"Passenger": "客船",
"Cargo": "貨船",
"Tanker": "油輪",
"Yes": "是",
"{n} ft": "{n} ft",
"{n} km/s": "{n} km/s",
"{n} km/h": "{n} km/h",
"{n} kt": "{n} kn",
"{n} ft/min": "{n} ft/min",
"{n}°": "{n}°",
"M {n}": "M {n}",
"{n} MW": "{n} MW",
"{n}%": "{n}%",
"{n} hPa": "{n} hPa",
"Hijack (squawk 7500)": "劫機(應答機編碼 7500)",
"Radio failure (squawk 7600)": "無線電故障(應答機編碼 7600)",
"Emergency (squawk 7700)": "緊急情況(應答機編碼 7700)",
"Emergency: {kind}": "緊急情況:{kind}",
"Emergency declared": "已宣布緊急情況",
"Tsunami warning issued": "已發布海嘯警報",
"VFR, no flight plan": "VFR,無飛行計畫",
"VFR conspicuity": "VFR 識別碼",
"IFR, no code yet": "IFR,尚未分配編碼",
"Hijack": "劫機",
"Climbing {n} ft/min": "爬升 {n} ft/min",
"Descending {n} ft/min": "下降 {n} ft/min",
"Cruising, level": "巡航,平飛",
"Airliners": "客機",
"Widebodies": "廣體機",
"Business jets": "公務機",
"Helicopters": "直升機",
"Turboprops": "渦槳飛機",
"Fast jets": "高速噴射機",
"Four-engine jets": "四發噴射機",
"M6 and above": "M6 及以上",
"M5 to 6": "M5 至 6",
"M4 to 5": "M4 至 5",
"Below M4": "M4 以下",
"{kind} {name}": "{kind}{name}",
"place|Country": "國家",
"altitude|Level": "平飛",
"{h} h {m} min": "{h} 小時 {m} 分鐘",
"{n} min": "{n} 分鐘",
"{speed} {direction}": "{direction}風 {speed}",
"{n} mm": "{n} 毫米"
}
+190 -13
View File
@@ -47,7 +47,15 @@
"▲ {frp} MW",
"ICAO: {id}",
"MMSI: {id}",
"NORAD: {id}"
"NORAD: {id}",
"MMSI",
"ICAO24",
"{n}°",
"M {n}",
"{n}%",
"{n} hPa",
"{kind} {name}",
"{speed} {direction}"
],
"de": [
"1090 MHz",
@@ -262,7 +270,24 @@
"Magnitude",
"Live · {age}",
"{n} m",
"{n} km"
"{n} km",
"Squawk",
"Sensor",
"Index",
"MMSI",
"ICAO24",
"Tanker",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n} hPa",
"Turboprops",
"{kind} {name}",
"{n} mm"
],
"es": [
"1 min/s",
@@ -436,7 +461,23 @@
"Inspector",
"{n} m",
"{n} km",
"Error"
"Error",
"Squawk",
"Sensor",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n} hPa",
"{kind} {name}",
"{h} h {m} min",
"{n} min",
"{n} mm"
],
"fr": [
"1 min/s",
@@ -669,7 +710,26 @@
"{n} acres",
"Altitude",
"{n} m",
"{n} km"
"{n} km",
"installation",
"Squawk",
"Destination",
"Satellite",
"MMSI",
"ICAO24",
"Cargo",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n} hPa",
"{kind} {name}",
"{h} h {m} min",
"{n} min",
"{n} mm"
],
"it": [
"1 min/s",
@@ -882,7 +942,24 @@
"Mach",
"Squawk {code}",
"{n} m",
"{n} km"
"{n} km",
"Squawk",
"Satellite",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa",
"{kind} {name}",
"{h} h {m} min",
"{n} min",
"{n} mm"
],
"ja": [
"1090 MHz",
@@ -950,7 +1027,21 @@
"MMSI: {id}",
"NORAD: {id}",
"{n} m",
"{n} km"
"{n} km",
"NORAD ID",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} kt",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa",
"{n} mm"
],
"pt": [
"1 min/s",
@@ -1123,7 +1214,25 @@
"{n} acres",
"Altitude",
"{n} m",
"{n} km"
"{n} km",
"Squawk",
"Sensor",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} kt",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa",
"{kind} {name}",
"{h} h {m} min",
"{n} min",
"{n} mm"
],
"ru": [
"1900–1945",
@@ -1160,7 +1269,14 @@
"ICAO: {id}",
"MMSI: {id}",
"NORAD: {id}",
"{datasets} · {tiles} · {packs}"
"{datasets} · {tiles} · {packs}",
"NORAD ID",
"MMSI",
"ICAO24",
"{n}°",
"M {n}",
"{n}%",
"{kind} {name}"
],
"sv": [
"STATION",
@@ -1330,7 +1446,26 @@
"{n} acres",
"Live · {age}",
"{n} m",
"{n} km"
"{n} km",
"storm",
"Squawk",
"Destination",
"Sensor",
"Index",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n} hPa",
"{kind} {name}",
"{h} h {m} min",
"{n} min",
"{n} mm"
],
"uk": [
"1900–1945",
@@ -1361,7 +1496,14 @@
"{division}, {country}",
"ICAO: {id}",
"MMSI: {id}",
"NORAD: {id}"
"NORAD: {id}",
"NORAD ID",
"MMSI",
"ICAO24",
"{n}°",
"M {n}",
"{n}%",
"{kind} {name}"
],
"zh-CN": [
"1090 MHz",
@@ -1434,7 +1576,18 @@
"iNaturalist ↗",
"iNaturalist",
"{n} m",
"{n} km"
"{n} km",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa"
],
"zh-Hant": [
"1090 MHz",
@@ -1507,7 +1660,18 @@
"iNaturalist ↗",
"iNaturalist",
"{n} m",
"{n} km"
"{n} km",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa"
],
"he": [
"{speed} kn",
@@ -1609,6 +1773,19 @@
"MMSI: {id}",
"NORAD: {id}",
"{n} m",
"{n} km"
"{n} km",
"MMSI",
"ICAO24",
"{n} ft",
"{n} km/s",
"{n} km/h",
"{n} kt",
"{n} ft/min",
"{n}°",
"M {n}",
"{n} MW",
"{n}%",
"{n} hPa",
"{kind} {name}"
]
}
+23 -3
View File
@@ -1,4 +1,4 @@
import { distanceKm } from '../data/entityContext.js';
import { codeWord, distanceKm } from '../data/entityContext.js';
import { msg, t, tn } from '../i18n/index.js';
import { createUsgsEarthquakeSource } from '../layers/earthquakes/source.js';
import { createCycloneSource } from '../layers/cyclones/source.js';
@@ -46,7 +46,17 @@ const perimeters = () =>
snapshot('perimeters', () => createWfigsPerimeterSource().getSnapshot());
const fires = () => snapshot('fires', () => createFirmsSource().getSnapshot());
const COMPASS = ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW'];
// English compass points, which the UI shows through t().
const COMPASS = [
msg('N'),
msg('NE'),
msg('E'),
msg('SE'),
msg('S'),
msg('SW'),
msg('W'),
msg('NW'),
];
/** The compass point from one spot to another, like "NE". */
export function compassPoint(from, to) {
const rad = Math.PI / 180;
@@ -78,6 +88,16 @@ function perimeterMiddle(row) {
return { lat: lat / ring.length, lon: lon / ring.length };
}
/** A storm as "Hurricane Melissa": its class in words when the code has them. */
function stormTitle(storm) {
const word = codeWord('classification', storm.classification);
if (!word)
return [storm.classification, storm.name].filter(Boolean).join(' ');
return storm.name
? t('{kind} {name}', { kind: t(word), name: storm.name })
: t(word);
}
/**
* Hazards within a radius of a spot, nearest first within each kind:
* `[{kind, icon, title, detail, distanceKm, at}]`. Every kind uses the same
@@ -121,7 +141,7 @@ export async function hazardsNear(lat, lon, radiusKm = 250) {
add({
kind: 'storm',
icon: 'cyclone',
title: [storm.classification, storm.name].filter(Boolean).join(' '),
title: stormTitle(storm),
detail: storm.windKt ? t('{n} kt winds', { n: storm.windKt }) : '',
time: Date.parse(storm.positionAt) || null,
at,
+63
View File
@@ -10,6 +10,69 @@ import {
searchEntities,
viewSummary,
} from '../../data/entityContext.js';
import { formatDate, formatNumber, t } from '../../i18n/index.js';
const FACT_DATE = Object.freeze({
day: 'numeric',
month: 'short',
year: 'numeric',
timeZone: 'UTC',
});
/**
* Words from entityContext (a fact's, an insight's or a warning's `words`) in
* the active language, or `fallback` (its English as given) when it has none.
* @param {?{text?: string, values?: object, context?: string, fixed?: number, date?: number}} words
* @param {string} [fallback]
* @returns {string}
*/
export function sayWords(words, fallback = '') {
if (!words) return fallback;
if (words.date !== undefined) return formatDate(words.date, FACT_DATE);
const digits =
words.fixed === undefined
? { maximumFractionDigits: 2 }
: {
minimumFractionDigits: words.fixed,
maximumFractionDigits: words.fixed,
};
const values = {};
for (const [name, value] of Object.entries(words.values || {}))
values[name] =
typeof value === 'number'
? formatNumber(value, digits)
: value && typeof value === 'object'
? sayWords(value)
: value;
if (words.context) values.context = words.context;
return t(words.text, values);
}
/** A fact's or insight's value in the active language. */
export const factValue = (fact) => sayWords(fact?.words, fact?.value ?? '');
/**
* A fact's label in the active language. Labels whose plain English means
* something else elsewhere in the catalog take a context here.
*/
export function factLabel(fact) {
if (fact?.label === 'Country') return t('Country', { context: 'place' });
return t(fact?.label || '', fact?.labelValues);
}
/**
* A figure split for a tile, so its number can lead: `{number, unit}` in the
* active language. A value that does not start with its number shows whole.
*/
export function factFigure(fact) {
const words = fact?.words;
if (words?.text?.startsWith('{n}') && typeof words.values?.n === 'number')
return {
number: sayWords({ ...words, text: '{n}' }),
unit: sayWords({ ...words, values: { ...words.values, n: '' } }).trim(),
};
return { number: factValue(fact), unit: '' };
}
/** How often an open card re-reads its item, so moving things stay current. */
const REFRESH_MS = 2000;
+10 -6
View File
@@ -1,6 +1,6 @@
<script setup>
import { computed, ref, watch } from 'vue';
import { t } from '../../../i18n/index.js';
import { formatNumber, t } from '../../../i18n/index.js';
// A height as a filled graph (an aircraft's altitude, the camera's height):
// each reading since it opened, left to right. The scale fits the readings (never less than about
@@ -36,10 +36,14 @@ watch(
);
const feet = (m) => Math.round((m * 3.28084) / 100) * 100;
const number = (value) => value.toLocaleString('en-US');
const number = (value) => formatNumber(value, { maximumFractionDigits: 1 });
const metric = (m) =>
m >= 100_000 ? `${number(Math.round(m / 1000))} km` : m >= 1000 ? `${(m / 1000).toFixed(1)} km` : `${number(Math.round(m))} m`;
const shown = (m) => (props.unit === 'metric' ? metric(m) : `${number(feet(m))} ft`);
m >= 100_000
? t('{n} km', { n: number(Math.round(m / 1000)) })
: m >= 1000
? t('{n} km', { n: formatNumber(m / 1000, { minimumFractionDigits: 1, maximumFractionDigits: 1 }) })
: t('{n} m', { n: number(Math.round(m)) });
const shown = (m) => (props.unit === 'metric' ? metric(m) : t('{n} ft', { n: number(feet(m)) }));
const graph = computed(() => {
const list = readings.value;
@@ -68,7 +72,7 @@ const graph = computed(() => {
const line = points.map(([px, py], index) => `${index ? 'L' : 'M'}${px.toFixed(2)} ${py.toFixed(2)}`).join(' ');
const moved = last.m - first.m;
const change = props.unit === 'metric' ? (Math.abs(moved) >= Math.max(1, last.m * 0.005) ? moved : 0) : feet(last.m) - feet(first.m);
const changeText = props.unit === 'metric' ? metric(Math.abs(moved)) : `${number(Math.abs(change))} ft`;
const changeText = props.unit === 'metric' ? metric(Math.abs(moved)) : t('{n} ft', { n: number(Math.abs(change)) });
const minutes = Math.floor((last.at - first.at) / 60_000);
return {
line,
@@ -78,7 +82,7 @@ const graph = computed(() => {
top: shown(log ? 10 ** top : top),
bottom: shown(log ? 10 ** bottom : bottom),
trend: change > 0 ? 'up' : change < 0 ? 'down' : 'level',
change: change ? `${change > 0 ? '+' : '−'}${changeText}` : t('Level'),
change: change ? `${change > 0 ? '+' : '−'}${changeText}` : t('Level', { context: 'altitude' }),
since: minutes >= 1 ? t('Last {n} min', { n: minutes }) : props.unit === 'metric' ? t('Just now') : t('Since selected'),
};
});
+24 -19
View File
@@ -1,13 +1,14 @@
<script setup>
import { computed, nextTick, ref, watch } from 'vue';
import { storeToRefs } from 'pinia';
import { t } from '../../../i18n/index.js';
import { useEntityCardStore } from '../../stores/entityCard.js';
import { formatNumber, t } from '../../../i18n/index.js';
import { factFigure, factLabel, factValue, sayWords, useEntityCardStore } from '../../stores/entityCard.js';
import AltitudeGraph from './AltitudeGraph.vue';
import { contextNeedle, contextSearchText, matchesContextSearch } from '../../contextSearch.js';
import CctvPreview from './CctvPreview.vue';
import { useCctvStore } from '../../stores/cctv.js';
import SpotConditions from './SpotConditions.vue';
import { shownLayerName } from '../../layerNames.js';
import { countryName, nearestCity } from '../../../data/wikidataCities.js';
// The Context panel's card for one thing on the map: what it is, its facts,
@@ -19,6 +20,7 @@ const { card, lost, tick } = storeToRefs(store);
const { frame: cctvFrame } = storeToRefs(useCctvStore());
const shownTitle = computed(() => {
const current = card.value;
if (current?.titleWords) return sayWords(current.titleWords, current.title);
if (current?.layerId !== 'cctv') return current?.title;
const f = cctvFrame.value;
if (!f || f.cameraId !== current.identity?.id) return current.title;
@@ -64,7 +66,9 @@ const position = computed(() => {
});
const distance = (km) =>
km < 1 ? t('{n} m', { n: Math.round(km * 1000) }) : t('{n} km', { n: km < 10 ? km.toFixed(1) : Math.round(km) });
km < 1
? t('{n} m', { n: formatNumber(Math.round(km * 1000)) })
: t('{n} km', { n: formatNumber(km < 10 ? Number(km.toFixed(1)) : Math.round(km)) });
const source = computed(() => {
void tick.value;
@@ -95,11 +99,6 @@ const restFacts = computed(() => {
return (card.value?.facts || []).filter((fact) => !shown.has(fact.field));
});
// A figure split into its number and unit, so the number can lead.
function splitValue(value) {
const match = String(value).match(/^([-−+]?[\d.,]+|M [\d.]+)\s*(.*)$/);
return match ? { number: match[1], unit: match[2] } : { number: String(value), unit: '' };
}
// The line under the name: who runs it and what it is. The layer is already
// named on the line above the title.
@@ -107,14 +106,15 @@ const subtitle = computed(() => {
const current = card.value;
if (!current) return '';
const cls = current.aircraftClass;
return [current.operator, cls && cls[0].toUpperCase() + cls.slice(1)].filter(Boolean).join(' · ');
const clsName = current.aircraftClassName ? t(current.aircraftClassName) : cls && cls[0].toUpperCase() + cls.slice(1);
return [current.operator, clsName].filter(Boolean).join(' · ');
});
// The details grid leaves out what the header already says.
// The Context search narrows them to the ones whose name or value holds its
// text, and looks through every fact, the headline ones included.
const gridFacts = computed(() =>
contextNeedle.value
? (card.value?.facts || []).filter((fact) => matchesContextSearch(t(fact.label), fact.value))
? (card.value?.facts || []).filter((fact) => matchesContextSearch(factLabel(fact), factValue(fact), fact.value))
: restFacts.value.filter((fact) => !(card.value?.operator && fact.field === 'operator') && !(card.value?.aircraftClass && fact.field === 'aircraftClass')),
);
@@ -140,7 +140,11 @@ const routeProgress = computed(() => {
const speedKmh = Number.isFinite(current.speedMps) ? current.speedMps * 3.6 : null;
const hours = speedKmh && speedKmh > 80 ? left / speedKmh : null;
const eta =
hours === null ? null : hours >= 1 ? `${Math.floor(hours)} h ${Math.round((hours % 1) * 60)} min` : `${Math.max(1, Math.round(hours * 60))} min`;
hours === null
? null
: hours >= 1
? t('{h} h {m} min', { h: Math.floor(hours), m: Math.round((hours % 1) * 60) })
: t('{n} min', { n: Math.max(1, Math.round(hours * 60)) });
return {
share: Math.min(1, Math.max(0, share)),
flown: distance(flown),
@@ -192,7 +196,8 @@ const kindLine = computed(() => {
if (!current) return '';
const layer = current.layerName || '';
const plain = (words) => words.toLowerCase().replace(/s\b/g, '');
return plain(layer).includes(plain(current.kind)) ? layer : `${kindLabel.value} · ${layer}`;
const shown = shownLayerName(layer, current.layerId);
return plain(layer).includes(plain(current.kind)) ? shown : `${kindLabel.value} · ${shown}`;
});
// A new item starts at the top of the panel, not wherever the last one was
@@ -220,8 +225,8 @@ watch(
<span class="material-symbols-outlined entity-hero__glyph" aria-hidden="true">{{ card.icon }}</span>
<div v-if="tiles.length" class="entity-hero__figures">
<div v-for="fact in tiles" :key="fact.field" class="entity-hero__figure">
<strong>{{ splitValue(fact.value).number }}<small v-if="splitValue(fact.value).unit">{{ splitValue(fact.value).unit }}</small></strong>
<span>{{ t(fact.label) }}</span>
<strong>{{ factFigure(fact).number }}<small v-if="factFigure(fact).unit">{{ factFigure(fact).unit }}</small></strong>
<span>{{ factLabel(fact) }}</span>
</div>
</div>
<span v-else class="entity-hero__kind">{{ kindLabel }}</span>
@@ -247,7 +252,7 @@ watch(
<div v-if="card.warnings?.length" class="entity-card__warning" role="alert">
<span class="material-symbols-outlined" aria-hidden="true">warning</span>
<span>{{ card.warnings.join(' · ') }}</span>
<span>{{ card.warnings.map((warning, index) => sayWords(card.warningWords?.[index], warning)).join(' · ') }}</span>
</div>
<div v-if="card.route" class="entity-card__route" :class="{ 'entity-card__route--unverified': !card.route.verified, 'entity-card__route--progress': routeProgress }">
@@ -276,8 +281,8 @@ watch(
<div v-if="tiles.length && heroKind !== 'none' && !contextNeedle" class="entity-card__tiles" :style="{ gridTemplateColumns: `repeat(${tiles.length}, minmax(0, 1fr))` }">
<div v-for="fact in tiles" :key="fact.field" class="entity-card__tile">
<span>{{ t(fact.label) }}</span>
<strong>{{ splitValue(fact.value).number }}<small v-if="splitValue(fact.value).unit">{{ splitValue(fact.value).unit }}</small></strong>
<span>{{ factLabel(fact) }}</span>
<strong>{{ factFigure(fact).number }}<small v-if="factFigure(fact).unit">{{ factFigure(fact).unit }}</small></strong>
</div>
</div>
@@ -286,8 +291,8 @@ watch(
<h4>{{ contextNeedle ? t('Matching details') : t('Details') }}</h4>
<dl class="entity-card__facts">
<div v-for="fact in gridFacts" :key="fact.field" class="entity-card__fact">
<dt>{{ t(fact.label) }}</dt>
<dd>{{ fact.value }}</dd>
<dt>{{ factLabel(fact) }}</dt>
<dd>{{ factValue(fact) }}</dd>
</div>
</dl>
</section>
+23 -15
View File
@@ -1,12 +1,12 @@
<script setup>
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { onLocaleChange, t } from '../../../i18n/index.js';
import { formatNumber, onLocaleChange, t } from '../../../i18n/index.js';
import { compassName, hazardsNear, regionalBrief, weatherLook } from '../../spotConditions.js';
import { distanceKm } from '../../../data/entityContext.js';
import { CONTEXT_RADIUS_STEPS, contextRadiusKm, setContextRadiusKm } from '../../contextRadius.js';
import { contextNeedle, matchesContextSearch } from '../../contextSearch.js';
import UiSlider from '../../kit/UiSlider.js';
import { useEntityCardStore } from '../../stores/entityCard.js';
import { sayWords, useEntityCardStore } from '../../stores/entityCard.js';
import { useOmnibarStore } from '../../stores/omnibar.js';
import { shownLayerName } from '../../layerNames.js';
@@ -44,7 +44,7 @@ let readingHazards = 0;
let settle = null;
const radiusKm = contextRadiusKm;
const radiusText = computed(() => `${radiusKm.value.toLocaleString()} km`);
const radiusText = computed(() => t('{n} km', { n: formatNumber(radiusKm.value) }));
const radiusIndex = computed(() => Math.max(0, CONTEXT_RADIUS_STEPS.indexOf(radiusKm.value)));
const pickRadius = (index) => setContextRadiusKm(CONTEXT_RADIUS_STEPS[index]);
@@ -101,7 +101,7 @@ const alerts = computed(() => {
void tick.value;
return store
.alertsAt(props.lat, props.lon, { radiusKm: radiusKm.value, limit: searching.value ? 40 : 4 })
.filter((alert) => matchesContextSearch(alert.title, alert.text));
.filter((alert) => matchesContextSearch(alert.title, sayWords(alert.words, alert.text), alert.text));
});
const shownHazards = computed(() =>
hazards.value.filter((hazard) => matchesContextSearch(hazard.title, hazard.detail, hazardLayers.value[hazard.kind]?.name)).slice(0, searching.value ? 12 : 5),
@@ -142,18 +142,25 @@ const weatherFacts = computed(() => {
if (!now) return [];
const facts = [];
if (Number.isFinite(now.windKph)) {
const from = Number.isFinite(now.windDirectionDeg)
? ` ${compassName(now.windDirectionDeg)}`
: '';
facts.push({ label: t('Wind'), value: `${round(now.windKph)} km/h${from}` });
const speed = t('{n} km/h', { n: formatNumber(round(now.windKph)) });
facts.push({
label: t('Wind'),
value: Number.isFinite(now.windDirectionDeg) ? t('{speed} {direction}', { speed, direction: t(compassName(now.windDirectionDeg)) }) : speed,
});
}
if (Number.isFinite(now.cloudCoverPct)) facts.push({ label: t('Cloud'), value: `${round(now.cloudCoverPct)}%` });
if (Number.isFinite(now.cloudCoverPct)) facts.push({ label: t('Cloud'), value: t('{n}%', { n: formatNumber(round(now.cloudCoverPct)) }) });
if (Number.isFinite(now.visibilityM))
facts.push({
label: t('Visibility'),
value: now.visibilityM >= 10_000 ? `${round(now.visibilityM / 1000)} km` : `${(now.visibilityM / 1000).toFixed(1)} km`,
value: t('{n} km', {
n: formatNumber(now.visibilityM >= 10_000 ? round(now.visibilityM / 1000) : Number((now.visibilityM / 1000).toFixed(1))),
}),
});
if (Number.isFinite(now.precipitationMm))
facts.push({
label: t('Rain'),
value: t('{n} mm', { n: formatNumber(now.precipitationMm, { minimumFractionDigits: 1, maximumFractionDigits: 1 }) }),
});
if (Number.isFinite(now.precipitationMm)) facts.push({ label: t('Rain'), value: `${now.precipitationMm.toFixed(1)} mm` });
return facts;
});
@@ -161,7 +168,8 @@ const articles = computed(() =>
props.entity ? [] : (brief.value?.articles || []).filter((article) => matchesContextSearch(article.title, article.domain)).slice(0, 3),
);
const distance = (km) => (km < 10 ? `${km.toFixed(1)} km` : `${Math.round(km).toLocaleString()} km`);
const distance = (km) =>
t('{n} km', { n: km < 10 ? formatNumber(km, { minimumFractionDigits: 1, maximumFractionDigits: 1 }) : formatNumber(Math.round(km)) });
function ago(ms) {
if (!Number.isFinite(ms)) return '';
const minutes = Math.max(0, Math.round((Date.now() - ms) / 60_000));
@@ -300,7 +308,7 @@ const sources = computed(() => {
<span class="spot-conditions__row-dot" aria-hidden="true"></span>{{ hazardLayers[hazard.kind].name }}
</span>
</span>
<span class="spot-conditions__row-meta">{{ distance(hazard.distanceKm) }} {{ hazard.direction }}</span>
<span class="spot-conditions__row-meta">{{ distance(hazard.distanceKm) }} {{ t(hazard.direction) }}</span>
</button>
</li>
</ul>
@@ -319,7 +327,7 @@ const sources = computed(() => {
<span class="material-symbols-outlined" aria-hidden="true">{{ alert.icon }}</span>
<span class="spot-conditions__row-main">
<span class="spot-conditions__row-title">{{ alert.title }}</span>
<span class="spot-conditions__row-detail">{{ alert.text }}</span>
<span class="spot-conditions__row-detail">{{ sayWords(alert.words, alert.text) }}</span>
</span>
<span class="spot-conditions__row-meta">{{ distance(alert.distanceKm) }}</span>
</button>
@@ -339,7 +347,7 @@ const sources = computed(() => {
<span class="material-symbols-outlined" aria-hidden="true">{{ item.icon }}</span>
<span class="spot-conditions__row-main">
<span class="spot-conditions__row-title">{{ item.title }}</span>
<span class="spot-conditions__row-detail">{{ item.layerName }}</span>
<span class="spot-conditions__row-detail">{{ shownLayerName(item.layerName, item.layerId) }}</span>
</span>
<span class="spot-conditions__row-meta">{{ distance(item.distanceKm) }}</span>
</button>
+3 -3
View File
@@ -201,7 +201,7 @@ const dial = computed(() => {
shadow,
day: elevation > 0,
elevation: Math.round(elevation),
direction: compass[Math.round(bearing / 45) % 8],
direction: t(compass[Math.round(bearing / 45) % 8]),
shine,
clock,
gnomon: {
@@ -310,7 +310,7 @@ const caption = computed(() =>
/>
<text v-for="(line, i) in dial.hours" :key="`t${line.h}`" :x="line.label.x" :y="line.label.y + 2.6">{{ ROMAN[i] }}</text>
</g>
<text :x="dial.poleLabel.x" :y="dial.poleLabel.y + 3" class="sun-dial__pole">{{ dial.poleText }}</text>
<text :x="dial.poleLabel.x" :y="dial.poleLabel.y + 3" class="sun-dial__pole">{{ t(dial.poleText) }}</text>
<!-- The shadow, then the gnomon standing over it. -->
<polygon v-if="dial.shadow" :points="dial.shadow" fill="#000" opacity="0.6" filter="url(#sun-dial-shadow)" />
@@ -356,7 +356,7 @@ const caption = computed(() =>
:x="c.x * 20"
:y="c.y * 20 + 2.3"
:class="['sun-dial__compass-label', { north: c.k === 'N' }]"
>{{ c.k }}</text>
>{{ t(c.k) }}</text>
</g>
</svg>
<figcaption>{{ caption }}</figcaption>
+11 -9
View File
@@ -2,7 +2,7 @@
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { storeToRefs } from 'pinia';
import { contextNeedle, contextSearchText, matchesContextSearch } from '../../contextSearch.js';
import { t, tn } from '../../../i18n/index.js';
import { formatNumber, t, tn } from '../../../i18n/index.js';
import { citiesAround, countryName, nearestCity } from '../../../data/wikidataCities.js';
import { useEntityCardStore } from '../../stores/entityCard.js';
import { useOmnibarStore } from '../../stores/omnibar.js';
@@ -179,16 +179,16 @@ function breakdownOf(layerId, loaded) {
if (!found) return null;
const basis = globeView.value
? loaded !== null && loaded > found.total
? t('Of {n} read, {total} loaded', { n: found.total.toLocaleString(), total: loaded.toLocaleString() })
: t('Of all {n}', { n: found.total.toLocaleString() })
: t('Of {n} in view', { n: found.total.toLocaleString() });
? t('Of {n} read, {total} loaded', { n: formatNumber(found.total), total: formatNumber(loaded) })
: t('Of all {n}', { n: formatNumber(found.total) })
: t('Of {n} in view', { n: formatNumber(found.total) });
return {
basis,
splits: found.splits.map((split) => ({
title: t(split.title),
parts: split.parts.map((part, index) => ({
label: t(part.label),
count: part.count.toLocaleString(),
count: formatNumber(part.count),
share: `${((part.count / found.total) * 100).toFixed(1)}%`,
color: SPLIT_COLORS[index % SPLIT_COLORS.length],
})),
@@ -268,7 +268,9 @@ function turnOn(layer) {
}
const distance = (km) =>
km < 1 ? t('{n} m', { n: Math.round(km * 1000) }) : t('{n} km', { n: km < 10 ? km.toFixed(1) : Math.round(km) });
km < 1
? t('{n} m', { n: formatNumber(Math.round(km * 1000)) })
: t('{n} km', { n: formatNumber(km < 10 ? Number(km.toFixed(1)) : Math.round(km)) });
</script>
<template>
@@ -293,7 +295,7 @@ const distance = (km) =>
<div class="view-context__world-grid">
<component :is="tile.on ? 'div' : 'button'" v-for="tile in worldTiles" :key="tile.id" :type="tile.on ? undefined : 'button'" class="view-context__world-tile" :class="{ 'is-off': !tile.on }" :title="tile.on ? undefined : t('Turn on {name}', { name: tile.name })" @click="tile.on ? undefined : turnOn(tile)">
<span class="material-symbols-outlined" aria-hidden="true">{{ tile.icon }}</span>
<strong>{{ tile.on ? (tile.count === null ? '…' : tile.count.toLocaleString()) : t('Off') }}</strong>
<strong>{{ tile.on ? (tile.count === null ? '…' : formatNumber(tile.count)) : t('Off') }}</strong>
<span>{{ tile.name }}</span>
</component>
</div>
@@ -312,7 +314,7 @@ const distance = (km) =>
<span class="view-context__live-main">
<span class="view-context__live-name">{{ layer.name }}</span>
<span class="view-context__live-meta">
<template v-if="layer.total !== null">{{ t('{n} loaded', { n: layer.total.toLocaleString() }) }} · </template>{{ t('{n} in view', { n: layer.inView }) }}<template v-if="layer.updated"> · {{ layer.updated }}</template>
<template v-if="layer.total !== null">{{ t('{n} loaded', { n: formatNumber(layer.total) }) }} · </template>{{ t('{n} in view', { n: layer.inView }) }}<template v-if="layer.updated"> · {{ layer.updated }}</template>
</span>
</span>
<span class="view-context__live-state" :class="`view-context__live-state--${layer.state.tone}`">{{ layer.state.text }}</span>
@@ -352,7 +354,7 @@ const distance = (km) =>
<div v-for="group in groups" :key="group.layerId" class="view-context__group">
<h4>
<span class="material-symbols-outlined" aria-hidden="true">{{ group.icon }}</span>
<span>{{ group.layerName }}</span>
<span>{{ shownLayerName(group.layerName, group.layerId) }}</span>
<span class="view-context__count">{{ group.count }}</span>
</h4>
<ul>