mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
- i18n scanner: lastError sink, no false sinks on defaults and ternaries - shared src/i18n/marker.js for modules that only mark strings - wind field messages move to wind/fields.js; CITY_POIS imports from cityPois.js - drop review IDs, change history and stale references from comments and docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
986 B
JavaScript
29 lines
986 B
JavaScript
import { msg } from '../i18n/marker.js';
|
|
|
|
/**
|
|
* English names for installations without a mapped name. Data keeps them
|
|
* English (server, AI tools, voice context); classLabel.js and
|
|
* militaryAwarenessEngine.js translate them.
|
|
*/
|
|
|
|
/** Name of an unnamed feature, by installation class. */
|
|
export const UNNAMED_INSTALLATION_LABEL_BY_CLASS = Object.freeze({
|
|
airfield: msg('Military airfield'),
|
|
naval_base: msg('Naval base'),
|
|
range: msg('Firing range'),
|
|
military_land: msg('Military land'),
|
|
});
|
|
|
|
/** Name of an unnamed feature without a usable class. */
|
|
export const UNNAMED_INSTALLATION_FALLBACK = msg('Mapped installation');
|
|
|
|
/** Name of a military polygon the names pack has not named. */
|
|
export const UNNAMED_MILITARY_AREA = msg('Military area');
|
|
|
|
/** Every name above, for the display to translate. */
|
|
export const UNNAMED_PLACE_NAMES = Object.freeze([
|
|
...Object.values(UNNAMED_INSTALLATION_LABEL_BY_CLASS),
|
|
UNNAMED_INSTALLATION_FALLBACK,
|
|
UNNAMED_MILITARY_AREA,
|
|
]);
|