fix(analyst): keep the Mapped Installations empty note English

getStats().statusMessage was translated inside the layer, and the
analyst uses it as the empty note it returns to the model, so an empty
military-installations query carried Spanish or Russian text in an
English tool result. Report installationFeedback() as English again;
the displays translate it by its shape.
This commit is contained in:
daikaginza committed 2026-10-17 07:28:26 +07:00
1 parent dddd1fa03f
commit 4515c5146a
3 files changed
+116 -90

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { msg } from '../i18n/marker.js';
// layers/installations/controls.js translates describeInstallationFeedback().
// installationFeedback() is English data; ui/statusText.js shows it translated.
const REASONS = Object.freeze({
rate_limited: msg('Overpass rate-limited'),
timeout: msg('Overpass timed out'),