i18n: fix the LGTM review findings and tidy the branch texts

- 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]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-16 21:00:28 +04:00
1 parent 0ed05568f7
commit 20f4cf3763
178 files changed
+918 -948

No files matched your search

+3 -5
View File
@@ -12,11 +12,9 @@ import {
import { localizeLayerName } from './layerNames.js';
/**
* A blocked-visibility reason in the UI language. The lifecycle keeps reasons
* English (they also reach voice and tool callers): the Space Missions guard
* is re-composed from its template with the layer name localized, any other
* known sentence ("Data source unavailable") is looked up as is, and an
* unknown one — a live provider message — passes through.
* A blocked-visibility reason in the UI language. Reasons stay English (voice
* and tools read them): the Space Missions refusal is rebuilt with the layer
* name localized, a known sentence is looked up, anything else passes.
*/
export function localizeVisibilityBlockReason(reason) {
if (typeof reason !== 'string' || !reason) return reason;