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

+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, …). */