fix: complete GhostMaps locale and voice integration with current main

This commit is contained in:
Mazeyar Moeini Feizabadi committed 2026-10-26 16:29:48 +01:00
1 parent 4da002bd42
commit 9496ee4d64
8 files changed
+39 -5

No files matched your search

+2 -1
View File
@@ -43,7 +43,8 @@ test('the complete Realtime tool payload pins the manifest-generated layer relea
// reset guidance/defaults update only move_camera and mode descriptions.
// Restore base descriptions; append only globe-rotation defaults and fit guidance.
// S2 GhostMaps adds its layer id to the generated layer enums.
'1f95d78074559217872ccbdfa57d4363264ea88c1a22b259e6ebba3c8189b806',
// Compact alias separators preserve the existing prompt budget.
'0128b5e28a8baf0d6466bfdbc6e7a80fd4bb32d0d22ccadfade2af641714f12a',
);
});
+3 -1
View File
@@ -525,6 +525,8 @@ const SELF_EVIDENT_IDS = new Set([
'radio',
'wind',
'directions',
// The brand is already the layer id; all spoken aliases remain accepted.
's2-ghostmaps',
]);
/**
@@ -539,7 +541,7 @@ export function voiceLayerAliasHint() {
entry.toggle && entry.aliases.length && !SELF_EVIDENT_IDS.has(entry.id),
)
.map((entry) => `${entry.aliases.slice(0, 2).join('/')}→${entry.id}`)
.join('; ');
.join(';');
}
/** Field names that already carry their unit (altitudeM, speedKts, …). */