mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
Say the alias hint filters only the first two aliases, and drop an id the filter now covers
This commit is contained in:
1 parent
473ea3b90b
commit
9fecc9c4ee
2 files changed
+4
-6
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
- Leave layer aliases the layer id already spells, such as "dams" for
|
- Leave layer aliases the layer id already spells, such as "dams" for
|
||||||
`local-dams`, out of the voice layer hint. The Realtime prompt is 305
|
`local-dams`, out of the voice layer hint. The Realtime prompt is 305
|
||||||
characters shorter, leaving room under the 52,000 gate for new
|
characters shorter, leaving room under the 52,000 gate for new
|
||||||
voice-toggleable layers; every alias is still accepted (quanticsoul4772,
|
voice-toggleable layers; every alias is still accepted (@quanticsoul4772,
|
||||||
#1462).
|
#1462).
|
||||||
@@ -525,8 +525,6 @@ const SELF_EVIDENT_IDS = new Set([
|
|||||||
'radio',
|
'radio',
|
||||||
'wind',
|
'wind',
|
||||||
'directions',
|
'directions',
|
||||||
// The brand is already the layer id; all spoken aliases remain accepted.
|
|
||||||
's2-ghostmaps',
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/** Lower case with spaces and hyphens removed: "Data centers" → "datacenters". */
|
/** Lower case with spaces and hyphens removed: "Data centers" → "datacenters". */
|
||||||
@@ -535,9 +533,9 @@ const spelled = (text) => text.toLowerCase().replace(/[\s-]+/g, '');
|
|||||||
/**
|
/**
|
||||||
* Compact model-facing alias hint: "alias/alias→id; …" for toggleable layers
|
* Compact model-facing alias hint: "alias/alias→id; …" for toggleable layers
|
||||||
* whose id is not already the spoken word. At most two aliases per layer keep
|
* whose id is not already the spoken word. At most two aliases per layer keep
|
||||||
* the tool JSON small; the runner accepts the full alias list. An alias the id
|
* the tool JSON small; the runner accepts the full alias list. Of those two,
|
||||||
* already spells ("dams"→local-dams, "weather radar"→weather-radar) is left
|
* an alias the id already spells ("dams"→local-dams, "weather radar"→
|
||||||
* out, and so is a layer with no other alias.
|
* weather-radar) is left out, and a layer with neither left gets no hint.
|
||||||
* @returns {string} One line for the layerId description.
|
* @returns {string} One line for the layerId description.
|
||||||
*/
|
*/
|
||||||
export function voiceLayerAliasHint() {
|
export function voiceLayerAliasHint() {
|
||||||
|
|||||||
Reference in new issue
Block a user