mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 16:52:20 +00:00
Merge main into german/i18n-plurals-context
This commit is contained in:
commit
64b9cef14b
209 files changed
+35415
-701
No files matched your search
@@ -0,0 +1,8 @@
|
||||
- Stories: GEV scenes told as stories on the live globe. A Stories button
|
||||
opens Explore, a feed of the scenes GEV ships and the person's own (saved
|
||||
from AUTHORING, or drafts) with a pin each and an idle tour between them; a
|
||||
story plays with chapters, key moments and its data sources, and Close puts
|
||||
the person's view, clock and layers back. Play after a pause, a seek or a
|
||||
paused story link goes on from that exact moment. AUTHORING gains
|
||||
THUMBNAIL, topic tags and SAVE TO STORIES
|
||||
(Manjunath, @manjunath22466; Kevin Rajan, @kvnloo; #1724).
|
||||
@@ -0,0 +1,5 @@
|
||||
- Rebuild Context around one card for whatever is picked (facts, route,
|
||||
weather, local news and what is nearby) and a description of the view when
|
||||
nothing is; Contacts, Space Missions and Radio stay in it, and the Labels
|
||||
and 3D aircraft settings move into its Properties tab while their layers
|
||||
are on (manjunath22466, samehkhamis, #1773).
|
||||
@@ -0,0 +1,4 @@
|
||||
- Preview what Context's card shows: a flight's photo, its route on a small
|
||||
globe, its fleet model turning and the view from its cockpit; a vessel's
|
||||
photo; and the ground beneath a satellite, with its altitude and speed
|
||||
graphed (manjunath22466, samehkhamis, #1774).
|
||||
@@ -0,0 +1,5 @@
|
||||
- Switch the base map through the globe port on Cesium as well: Google 3D
|
||||
turned off is kept and shown again without reloading, Esri reaches its
|
||||
deepest level with the parent's imagery where it has none, and keyless
|
||||
terrain that does not answer falls back to the flat ellipsoid (Sameh
|
||||
Khamis, @samehkhamis, #1775).
|
||||
@@ -0,0 +1,3 @@
|
||||
- Launches and satellites stop holding the world clock after they are
|
||||
destroyed, so an application started again in the same page no longer keeps
|
||||
the old one in memory (Sameh Khamis, @samehkhamis, #1778).
|
||||
+4
-1
@@ -284,7 +284,10 @@ rejects delayed responses; a new start requests a fresh secret. Secret expiry
|
||||
limits connection creation and does not describe the connected session lifetime.
|
||||
|
||||
`createStandaloneApplication({ voice })` passes these construction options to
|
||||
the controls. An incompatible protocol needs a separate controller adapter;
|
||||
the controls. An app can supply `voice.openStories({ isCurrent })` for what the
|
||||
`open_stories` action does, spoken or typed; it answers true when it opened,
|
||||
`'already-open'`, or false. Without it the action opens the Stories page.
|
||||
An incompatible protocol needs a separate controller adapter;
|
||||
changing an endpoint alone does not translate protocol messages. No alternate
|
||||
model is bundled by this extraction. The Node Realtime provider accepts
|
||||
`realtime: { endpoint, models: { standard, mini }, resolveApiKey, fetchImpl }`;
|
||||
|
||||
+291
-42
@@ -12,11 +12,13 @@ north.
|
||||
|
||||
While anything moves (a layer in motion, the camera, a followed contact), the
|
||||
globe draws at the display's own refresh rate; there is no fixed 60 FPS cap.
|
||||
The Cesium frame port (`src/render/cesium/ports.js`, its `idleFps`) caps a
|
||||
parked scene at `IDLE_FRAME_RATE` (60, `src/renderGovernor.js`) ticks a
|
||||
second while no hold is out, because Cesium still runs the clock, data sources
|
||||
and update listeners on every animation frame even when it skips the draw; the
|
||||
viewer starts at that cap until the frame port takes over. Through the idle
|
||||
The render governor (`src/renderGovernor.js`) caps a parked scene at
|
||||
`IDLE_FRAME_RATE` (60) ticks a second while nothing holds the loop, because
|
||||
Cesium still runs the clock, data sources and update listeners on every
|
||||
animation frame even when it skips the draw, and lifts the cap while anything
|
||||
does: the frame port tells it when the loop's first hold is taken and its last
|
||||
released, its own holds (animated visual styles) included. The viewer starts
|
||||
at that cap until the governor is installed. Through the idle
|
||||
render governor, the camera port holds continuous render from `moveStart` to `moveEnd`, and samples its
|
||||
pose every 250 ms in between, so a camera drifting by rounding errors (no
|
||||
`moveEnd`) is released after half a second at rest and held again if it moves. The world clock holds continuous render while
|
||||
@@ -658,6 +660,147 @@ owner (open state, filters, the rows they show, Remove all) and the text
|
||||
helpers the view renders, so every label follows the locale. Only the modal
|
||||
open/close and focus moves are imperative.
|
||||
|
||||
## Stories — November 13, 2026
|
||||
|
||||
A Stories button (top right, `#hStories`) opens Explore: a feed of stories
|
||||
over GEV's own globe with their pins, then a Story screen with a
|
||||
timeline, chapters and context. Every GEV page loads only what the
|
||||
closed state needs: the boot shell (`src/stories/boot.js`), the store,
|
||||
`StoriesView.vue` with the Stories button, first-visit popup and
|
||||
back-to-story toast, and their styles (`stories-entry.css`). The screens
|
||||
(`ExploreScreen.vue`, `StoryScreen.vue` and their parts), their styles
|
||||
(`stories.css`), the story data (`storyMeta.js`, `catalog.js`) and the
|
||||
controller are separate chunks fetched together on first open, on a
|
||||
`?stories=` / `?story=` link, or on Back or Forward into Stories; a failed
|
||||
fetch is reported and the next attempt tries again. Stories keeps its place
|
||||
in the query, not the share-state hash, with one history entry per screen;
|
||||
Close steps back over those entries, so Back afterwards does not reopen it,
|
||||
and share links carry the Stories screen and place. Explore links use
|
||||
`stories=explore` and optionally `selectedStory`. Player links use `story`
|
||||
and optionally `storyTime` in milliseconds, opening paused at that time.
|
||||
GEV's share link keeps
|
||||
`history.state` when it rewrites the hash, so Stories' entries survive.
|
||||
|
||||
Every story is a GEV scene, played on the person's own globe through
|
||||
`SceneDirector`, with its labels, embedded media, A/B imagery split (marked
|
||||
`data-globe-overlay`) and data-pack cards kept while the rest of GEV is
|
||||
hidden. Explore lists the scenes the person saved to Stories from AUTHORING
|
||||
first (`SceneDirector.storyScenes()`, refreshed on every `stories-changed`),
|
||||
then the person's other scenes with a shot as drafts
|
||||
(`SceneDirector.draftScenes()`, marked DRAFT), then the
|
||||
scenes GEV ships with a camera path while they are in the project
|
||||
(`SceneDirector.hasScene`). Zero-shot drafts can be reopened or deleted
|
||||
from the scene selector in AUTHORING after a reload. A saved scene brings the card image and topics
|
||||
picked for it in AUTHORING; the topic chips use AUTHORING's tag names and
|
||||
order. Explore opens at country level
|
||||
(2,500 km) over the first story and, while idle, flies on to the next story
|
||||
every few seconds, for a minute after the last touch (never with a story
|
||||
picked or with reduced motion). The start view and a picked story's place
|
||||
(at an angle, −60°) are framed in the middle of the map Explore leaves
|
||||
visible (`.ex-map`: beside the feed on a wide screen, above the sheet on a
|
||||
phone), not of the whole canvas; a flight that lands after that area has
|
||||
moved makes one short correction. Stories reaches the globe only
|
||||
through the renderer's ports (`src/render/rendererOf.js`): its flights,
|
||||
pose and Close's restore go through the camera port, and after each landing
|
||||
a continuous-render hold keeps the globe drawing only until the globe port
|
||||
reports the base settled (at most 10 s). Each story's pin, in the
|
||||
world overlay's label style (`src/overlays/worldOverlayTokens.js`), is placed
|
||||
from the query port's projection in the frame port's `postRender`, on every
|
||||
drawn frame, written straight to the pin's transform, and hidden behind the
|
||||
globe (`query.isOccluded`); the pins ask for no frames of their own. Card
|
||||
images are drawn from the keyless Esri World Imagery tiles around the
|
||||
story's place (`src/stories/thumbs.js`: the same Web Mercator tiles, from
|
||||
the same host, that GEV's Esri map draws, read as images) unless the scene
|
||||
has its own; with any other map stack than Esri Satellite
|
||||
(`mapStackController.getActiveId()`) the card shows its placeholder, and a
|
||||
card drawn from Esri earlier is dropped. AUTHORING captures thumbnails only
|
||||
on a ready Esri World Imagery stack and embeds the imagery credit in the
|
||||
exported image. A shot
|
||||
tied to an anchor rather than a place pins the whole-globe view.
|
||||
|
||||
A shipped story's context comes from what GEV knows about it
|
||||
(`src/stories/catalog.js`): what it shows, the place each shot goes, and,
|
||||
for each layer it turns on, what the layer shows and the data sources
|
||||
DATA_SOURCES.md lists for it. The Nepal story carries the event pack's own
|
||||
facts and sources (Vantor imagery and the GeoPera reconstruction, CC BY-NC
|
||||
4.0), and its key moments are the chapters that show them. Topic chips and
|
||||
region choices are the ones the listed stories carry. Closing Stories after
|
||||
a story played puts AUTHORING's own selection back;
|
||||
Open in GEV leaves the story's scene selected there. Entering Stories
|
||||
cancels in-flight Authoring work before it captures the view it will
|
||||
restore. Dragging the timeline previews the time, and releasing
|
||||
it seeks the globe once. Play after a pause, a seek or a paused link goes on
|
||||
from that exact moment (`SceneDirector.startScene` with `fromProgress`), even
|
||||
inside a shot or its final quarter-second: the camera, the hold, the scene
|
||||
clock and the layers' reveals carry on from there (a clip that moment falls in
|
||||
starts again from its beginning, and the hold waits for it, with the
|
||||
timeline held at the shot's end meanwhile). A scene that has actually ended replays from the
|
||||
beginning.
|
||||
|
||||
Opening Stories claims the camera through the shared navigation policy, so
|
||||
orbit, a tracked contact or a flight end, and Cockpit refuses with the
|
||||
policy's own toast ("Exit cockpit to open Stories"). Those owners are not
|
||||
started again on Close: the camera and the world clock (`src/time/worldClock.js`:
|
||||
live, or the time it showed, playing on as if never paused) come back, a
|
||||
follow or orbit does not. While Stories is open it owns the keyboard (`src/stories/keyboard.js`):
|
||||
a key pressed in Stories stops at its root, and a key pressed anywhere else
|
||||
stops at the window, so none of GEV's document-level shortcuts act behind it,
|
||||
except on a playing GEV scene's own on-globe controls (`data-globe-overlay`);
|
||||
the capture-phase listeners (hold Space to talk, a surface's Tab trap, the
|
||||
wildlife card's Escape) check `body.stories-mode` themselves. "Open Stories"
|
||||
works from voice or typed AI chat. Entering Stories ends active or pending
|
||||
microphone capture and blocks microphone starts while Stories owns the
|
||||
globe. Stories shows a notice when it turns off an active or connecting
|
||||
voice session. A typed reply can finish after opening Stories. Globe tool calls
|
||||
are refused while `stories-mode` is set ("Close Stories first").
|
||||
|
||||
The address bar names only the story while Stories is open. Stories holds
|
||||
hash writes (`ShareLinkManager.holdWrites`) and saves a snapshot of the live
|
||||
globe, including when it opens from a story link without a hash.
|
||||
Close dismisses the Stories screens and keeps the keyboard and microphone
|
||||
guards until the previous view is back. The director is waited
|
||||
on until idle (`SceneDirector.whenIdle`: no run and no pending LOAD, seek or
|
||||
interaction; at most 15 s). When the 15 s run out, the scene's layer cleanup
|
||||
still under way is revoked (`SceneDirector.revokeSceneRelease`) before
|
||||
anything is put back, so it cannot turn off a layer Close restores. The camera and world clock are put back (a clock
|
||||
nothing moved while Stories was open, with no jump and the same mode and
|
||||
rate, is left alone), unless a
|
||||
camera owner took over during the wait (a drag on the globe, a layer's
|
||||
focus). History steps back over Stories' entries; once that lands (or after
|
||||
2 s if it never does), the saved share state is re-applied directly
|
||||
(`ShareLinkManager.restore`, since the share link skips a hash it already
|
||||
knows) and the share link writes the live view again. Back out of Stories
|
||||
re-applies it the same way, and Back to Explore from a story re-applies it
|
||||
once the scene has torn down, with the address still naming only Stories.
|
||||
"Open in GEV" (GEV scene stories only) closes the
|
||||
same way but keeps the place and look: nothing is put back, the scene and its
|
||||
current shot are selected (`SceneDirector.selectShot`) and the Scenes panel
|
||||
opens for authoring; Back then goes to the page before Stories. A Close or
|
||||
open made while a traversal is landing runs once it has landed; a second Back
|
||||
to Explore is ignored. Reopening Stories while a closed GEV scene is still
|
||||
tearing down keeps the view from before Stories as the one Close restores.
|
||||
Inside an inline embed Stories is not offered: the URL and history are the
|
||||
host's.
|
||||
|
||||
The Stories button sits left of whatever holds GEV's top-right corner: the
|
||||
ACTIVE STYLE readout (`#style-indicator`), or an element marked with
|
||||
`data-stories-corner` (with or beside the readout; one added after Stories
|
||||
mounts is found within 20 s). On GEV's phone layout,
|
||||
where neither shows, it is icon-only under the corner-actions column
|
||||
(`#corner-actions`), aligned with its right edge. The first-visit popup
|
||||
is a labelled region that does not take focus. The story page's rail offers
|
||||
Open in GEV and Share only. Share on Explore reopens the list with the same
|
||||
shipped story selected. A story link opens paused at the shared
|
||||
point on its timeline. A scene of the person's own (saved or draft)
|
||||
shows as theirs ("You") and has no Share: the project lives on this device,
|
||||
so a link to it would open nothing elsewhere; a link to a story that is not
|
||||
here opens Explore and says so. GEV's own credit line stays on screen throughout, inside the
|
||||
Stories map while a scene plays (`creditPlacement` in
|
||||
`src/stories/format.js`): `stories.css` places the renderer's own credit
|
||||
display (`#cesium-credits`) and the application's credit line
|
||||
(`#gev-credits`, `src/ui/creditsView.js`, with its list opening above it)
|
||||
alike, and exempts both from the rule that hides GEV's chrome.
|
||||
|
||||
## Utilities panel — October 29, 2026
|
||||
|
||||
UTILITIES is its own left-side panel, between Data Layers and Scenes, with
|
||||
@@ -755,6 +898,54 @@ and touch screens, while the rails are hidden (clean view, recording), and it
|
||||
follows the rails' sides in a right-to-left language. On a phone, Visual is in
|
||||
the More sheet with the dock's Visual Presets, as before.
|
||||
|
||||
## Context panel — November 16, 2026
|
||||
|
||||
Context leads with one card for whatever is picked. A click on anything a
|
||||
layer can identify (`src/ui/entityContextBridge.js`, through
|
||||
`src/data/pickedContext.js`) opens its card (`src/ui/stores/entityCard.js`,
|
||||
`src/ui/views/panels/EntityCard.vue`): the item's facts from its record, a
|
||||
route with progress for a flight, an altitude graph, the weather, local
|
||||
time and news where it is, and the flights, vessels, hazards and warnings
|
||||
within the radius the panel sets (25 to 2,500 km). Aircraft, satellites and
|
||||
vessels are followed as they are picked; the card says Following only while
|
||||
the camera follows the card's own item, and closing the card lets go.
|
||||
Aircraft and satellites offer Enter Cockpit and Enter orbital view; transit
|
||||
vehicles show their motion and fleet. A camera's card shows its latest frame
|
||||
from the CCTV panel.
|
||||
|
||||
With nothing picked, the panel describes the view
|
||||
(`src/ui/views/panels/ViewContext.vue`): the place under the middle of the
|
||||
screen and the towns around it from the Wikidata cities pack, the height,
|
||||
the local solar time and daylight, what is in view per layer with live
|
||||
counts and breakdowns, and the same weather and hazards. A search field in
|
||||
the header narrows every list. Expanded, Context becomes a full-height
|
||||
column at the right edge (the left edge right to left) and the map credits
|
||||
stop short of it.
|
||||
|
||||
The Contacts and Space Missions modes and the Radio strip stay in the
|
||||
panel's main tab, below the card. When Contacts follows the aircraft the
|
||||
card shows, its list sits inside the card. Turning Radio or Launches on
|
||||
opens Context. The Properties tab holds the Labels and 3D aircraft
|
||||
settings from Visual while a layer they act on is on.
|
||||
|
||||
Context does its reading only while its panel is open. Weather and news
|
||||
come through the regional brief service; earthquakes, tropical storms and
|
||||
fire perimeters come from the same feeds as their layers, cached for five
|
||||
minutes; satellite fire hits only while the FIRMS layer is on.
|
||||
|
||||
The card's top tile previews what is picked. A flight shows its
|
||||
Planespotters photo once the flights layer has looked one up for the plane
|
||||
it tracks, its route on a small globe (origin to destination, flown part
|
||||
solid, the plane on it), its fleet model turning with callouts of what can
|
||||
be worked out about the flight, and the view ahead from its cockpit with
|
||||
speed and altitude tapes; the model and the cockpit view take turns. A
|
||||
vessel shows its Open Vessel Photos photo, a satellite the ground beneath it
|
||||
from Esri World Imagery with its altitude and speed graphed. The globe, model
|
||||
and cockpit view are drawn by the renderer through its `cardPreviews`
|
||||
application hook (`src/render/cesium/cardPreviews.js`), each in a small scene
|
||||
of its own that frees its graphics context as it closes; the model comes from
|
||||
the fleet set loaded at startup, so opening a card fetches no model.
|
||||
|
||||
## Wikidata cities pack — November 15, 2026
|
||||
|
||||
`src/data/local_data/wikidata_cities/cities.json` bundles 31,827 settlements of
|
||||
@@ -1271,7 +1462,7 @@ Native `<select>` controls declare a dark colour scheme and explicit option
|
||||
colours, so the browser-painted option list matches the panel it drops out of.
|
||||
The scheme is declared on the controls rather than on the document root, so
|
||||
hand-tuned scrollbar and text-input skins are unchanged. Applies to the HUD
|
||||
layout, Authoring, CCTV camera, Radio filter and Draw colour menus.
|
||||
layout, CCTV camera, Radio filter and Draw colour menus.
|
||||
|
||||
Vessel snapshot completeness is separate from freshness. A current snapshot with
|
||||
rejected or duplicate records shows PARTIAL with accepted/received counts; stale
|
||||
@@ -1501,8 +1692,9 @@ holds; stale tick callbacks cannot publish into a replacement. Registered pack
|
||||
rules own presentation overrides and Nepal map fallback without changing saved
|
||||
shots or content. Scene-document validation and legacy migration now have separate
|
||||
owners. Invalid imports preserve the current project; unreadable saved projects
|
||||
are protected from fallback writes. Version 6 is the export format, with
|
||||
zero pitch, low camera heights, scope and detection edits preserved. See [the document contract](SCENE-DOCUMENT.md);
|
||||
are protected from fallback writes. Version 7 adds Scenes' optional Stories
|
||||
metadata (accepted from version 6, which early Stories builds wrote) and reads
|
||||
prior project files, including version 6 drafts, with zero pitch, low camera heights, scope and detection edits preserved. See [the document contract](SCENE-DOCUMENT.md);
|
||||
see [Director](DIRECTOR.md) for camera, pack, action and sharing support.
|
||||
|
||||
Search framing and annotations request semantic map features from an explicit source. The Overpass adapter owns bounded queries, member/tag decoding and request deadlines; callers retain candidate ranking, outline caching, deferred retries and scene placement. Empty, unavailable, transient and throttled outcomes remain distinct; a data reply is refused only for its `remark`, never for text in element tags. Traffic sources return road records and installation sources return mapped records with freshness/saturation metadata, so their layers no longer decode upstream elements. ALPR already normalizes its records in the source. Traffic uses OpenFreeMap roads with optional matched TomTom congestion; ALPR uses an hourly OpenStreetMap extract. Keyless installations use military-area tiles. Detailed feature queries require operator-configured Overpass.
|
||||
@@ -2158,14 +2350,59 @@ native double-click rename. Replacing rows revokes their old listeners. Disposal
|
||||
late file and failed-action completions cannot update removed presentation.
|
||||
|
||||
The panel is titled Authoring and is laid out in four labelled steps: SCENE
|
||||
(picker on its own row, NEW SCENE, DELETE), SHOTS (+ CAPTURE SHOT, UPDATE SHOT,
|
||||
the numbered shot list and a select/rename hint), PREVIEW (PLAY, STOP, NEXT) and
|
||||
SAVE & SHARE (EXPORT, IMPORT, RUN LOG, then the EDIT DETAILS / SHARE SCENE row).
|
||||
(picker on its own row listing every scene in the project, NEW SCENE, DELETE),
|
||||
SHOTS (+ CAPTURE SHOT, UPDATE SHOT, the numbered shot list and a select/rename
|
||||
hint), PREVIEW (PLAY, STOP, NEXT) and SAVE & SHARE (a row of Stories tag chips;
|
||||
the thumbnail preview, CAPTURE THUMBNAIL and SAVE TO STORIES on one row; then
|
||||
EXPORT, IMPORT, RUN LOG, then the EDIT DETAILS / SHARE SCENE row). On load the
|
||||
project's first scene and its first shot are selected, and deleting the
|
||||
selected scene selects the first scene again. Stories' "Open in GEV" selects a
|
||||
scene and shot through `SceneDirector.selectShot`, and the picker follows.
|
||||
With no scene at all (an imported empty project), CAPTURE SHOT asks for a name
|
||||
as NEW SCENE does, creates the scene and captures into it; the director's
|
||||
`captureShot()` names it "Scene N" itself. An IMPORT keeps the scene being
|
||||
edited when the file still has it, else selects the file's first scene that is
|
||||
not a built-in one, else its first scene. Playback still moves the selection to
|
||||
the shot it plays, as before.
|
||||
SAVE TO STORIES marks the scene as published to the Stories page and then reads
|
||||
REMOVE FROM STORIES, which clears the mark; the status line confirms either.
|
||||
The mark is the scene's `stories: true` field, saved with the project and kept
|
||||
through reload, EXPORT and IMPORT; projects without it load unchanged. The
|
||||
director's `setSceneInStories(sceneId, on)` sets or clears it (refusing a scene
|
||||
without shots) and `storyScenes()` lists the marked scenes that have shots, in
|
||||
project order, as `{ id, title, camera, shotCount, thumb, tags }` with the
|
||||
first shot's camera. Every change to that list (the mark, a scene or its last
|
||||
shot deleted, a shot captured into a marked scene or its first shot updated, a
|
||||
marked scene's thumbnail or tags changed, an import) publishes
|
||||
`stories-changed`.
|
||||
Deleting a marked scene's last shot clears its mark.
|
||||
THUMBNAIL keeps the globe as it is drawn now as the scene's Stories
|
||||
card image: it asks the renderer's frame port for a render and reads the
|
||||
renderer's canvas inside that frame's `postRender` (the WebGL canvas does
|
||||
not preserve its drawing buffer; `captureStoryThumb` is handed the frame
|
||||
port and canvas, so the scene document's module stays renderer-free),
|
||||
centre-crops it to 16:9, scales it to 320 × 180 and stores a JPEG data URL
|
||||
(quality 0.82, lowered only if the image would pass the limit) as the scene's
|
||||
`storyThumb`, shown as a 64 × 36 preview beside the button; the status line
|
||||
reads "Thumbnail captured". The tag chips (Floods, Wildfires, Storms,
|
||||
Earthquakes, Flights, Maritime, Space, Conflict, Infrastructure, Climate,
|
||||
from `STORY_TAGS` in `src/scenes/storyTags.js`, shown translated) are toggle
|
||||
buttons with `aria-pressed`; a scene keeps up to five as `storyTags` (English
|
||||
keys), and once it has five the other chips are disabled. Both fields are
|
||||
optional and validated by the scene document (`storyThumb` a base64 JPEG or
|
||||
PNG data URL of at most 300,000 characters, the one text allowed past the
|
||||
usual 65,536 characters; `storyTags` up to five different keys from `STORY_TAGS`), and
|
||||
are kept through save, reload, EXPORT, IMPORT and the shared scene JSON. Share
|
||||
links never carry scene documents, so neither reaches a URL. `storyScenes()`
|
||||
reports them as `thumb` (`''` when none was captured) and `tags`.
|
||||
Every button in the step rows has a tooltip, and the status line is a polite
|
||||
live region. Outside playback a button that would do nothing is disabled:
|
||||
DELETE and CAPTURE SHOT without a scene, UPDATE SHOT without a selected shot,
|
||||
PLAY and NEXT when no scene in the project has a shot (both continue into the
|
||||
following scenes). During playback the authoring and file actions stay disabled
|
||||
DELETE, THUMBNAIL, the tag chips and SAVE TO STORIES without a scene,
|
||||
UPDATE SHOT without a selected shot, SAVE TO STORIES when the scene has no
|
||||
shots, PLAY and NEXT without a scene or when no scene in the project has a shot
|
||||
(both continue into the following scenes), EDIT DETAILS without a selected shot
|
||||
and SHARE SCENE without a scene. EXPORT stays available, since it writes the
|
||||
whole project. During playback the authoring and file actions stay disabled
|
||||
and STOP is enabled, as before; RUN LOG follows the last run, and EDIT DETAILS /
|
||||
SHARE SCENE keep their own checks. PLAY uses the `scene|PLAY` catalog entry,
|
||||
apart from the radio's PLAY.
|
||||
@@ -3809,10 +4046,10 @@ which embeds the MAP_KEY.
|
||||
> a layer that needs no key, already holds one, or names a key the registry does
|
||||
> not recognise. The earthquakes half
|
||||
> still delivers in full. The shared loading reducer now treats an explicitly
|
||||
> declared missing optional key as a configured terminal state rather than a
|
||||
> failed multi-layer mission, so the global chip completes without showing
|
||||
> `LOAD FAILED`. A genuine lifecycle or fetch failure still retains failure
|
||||
> priority.
|
||||
> declared missing optional key as its own terminal state rather than a
|
||||
> failed multi-layer mission, so the global chip ends `KEY REQUIRED` (amber)
|
||||
> instead of `LOAD FAILED`, on the first load and on every refresh. A genuine
|
||||
> lifecycle or fetch failure still retains failure priority.
|
||||
>
|
||||
> **Acceptance changed with that ruling (2026-08-23).** `qa-firstrun` no longer
|
||||
> asserts "a keyless Environmental never shows a failure chip" — that stopped
|
||||
@@ -4504,12 +4741,13 @@ down | auth-failed` (plus the unchanged `missing-key`/`unsupported`) with
|
||||
> specific error or availability state. The shared presentation is delayed to
|
||||
> avoid flashes, visible outside the rails, and retained in
|
||||
> Cockpit. One continuous overlapping load interval retains the strongest
|
||||
> terminal outcome (`failed`, then `cancelled`, then `complete`) until every
|
||||
> participant settles, so a later success cannot mask an earlier failure.
|
||||
> A participating producer's terminal error, unavailable status, or
|
||||
> key-required state also outranks generic completion without requiring a
|
||||
> terminal outcome (`failed`, then `key required`, then `cancelled`, then
|
||||
> `complete`) until every participant settles, so a later success cannot
|
||||
> mask an earlier failure. A participating producer's terminal error or
|
||||
> unavailable status also outranks generic completion without requiring a
|
||||
> separate manager failure event; AIS first-connect expiry therefore ends as
|
||||
> `LOAD FAILED`, not `LOAD COMPLETE`.
|
||||
> `LOAD FAILED`, not `LOAD COMPLETE`. A producer whose only problem is a
|
||||
> missing provider key (`stats.keyRequired`) ends the batch `KEY REQUIRED`.
|
||||
> Slow disable work is labeled as turning live data off rather than
|
||||
> as a completed load. Street Traffic's dedicated sync chip shows genuine
|
||||
> work and one bounded completion; steady TomTom coverage, including 0%, does
|
||||
@@ -8748,24 +8986,35 @@ request HTTPS tiles even on HTTP localhost, with the existing Content Security
|
||||
Policy unchanged. Ion attribution and Bing's per-tile credits are preserved;
|
||||
other ion imagery assets continue through the SDK's standard ion factory.
|
||||
|
||||
The imagery, terrain and 3D factories are the Cesium renderer's
|
||||
(`src/render/cesium/mapImagery.js`, `mapTerrain.js`, `google3d.js`; the
|
||||
package exports `./maps/imagery`, `./maps/terrain` and `./maps/3d` point
|
||||
there). The catalog, the default registry and the controller are
|
||||
Cesium-free: they reach those factories, and the scene operations a
|
||||
switch makes (imagery layers, terrain, the globe's visibility, tilesets),
|
||||
through the scene's map engine (`mapEngineFor` in `src/maps/engine.js`). The
|
||||
Cesium plugin hands the application its own engine with each renderer it makes
|
||||
(`src/render/cesium/mapEngine.js`, through `src/render/applicationHooks.js`),
|
||||
and the application scene loads the photoreal base through it too. A renderer
|
||||
whose plugin hands none switches through its globe port
|
||||
(`src/maps/globeEngine.js`): Esri and OSM as `xyz` imagery, ion's world
|
||||
imagery as `world` imagery, photoreal as the port's photoreal base (turned off
|
||||
while hidden, on again when shown), and world terrain, or without a key
|
||||
Re:Earth's keyless terrain as `quantizedMesh` terrain at its URL
|
||||
(`src/maps/keylessTerrain.js`), as the Cesium engine draws it; a renderer
|
||||
without the `terrain` capability keeps the ellipsoid. A viewer with no renderer bound gets the Cesium engine, with the
|
||||
other unbound ports, from the package's `./render/cesium/unbound` export.
|
||||
The catalog, the default registry and the controller are Cesium-free: they
|
||||
reach the map sources, and the scene operations a switch makes (imagery
|
||||
layers, terrain, the globe's visibility, the photoreal base), through the
|
||||
scene's map engine (`mapEngineFor` in `src/maps/engine.js`). Every renderer,
|
||||
Cesium included, switches through its globe port (`src/maps/globeEngine.js`),
|
||||
unless its plugin hands the application a map engine of its own
|
||||
(`src/render/applicationHooks.js`):
|
||||
|
||||
- Esri World Imagery as `xyz` imagery to its deepest level (23); Esri's "Map
|
||||
data not yet available" picture is answered as a missing tile, so the
|
||||
parent's imagery stays, and a refused tile counts toward the fallback to
|
||||
OSM. OSM as `xyz` imagery to level 19.
|
||||
- Cesium ion's world imagery as `world` imagery; on Cesium that is Bing
|
||||
through ion, its tiles over HTTPS on any page, with ion's credits
|
||||
(`src/render/cesium/mapImagery.js`).
|
||||
- Photoreal as the port's photoreal base, by the same routes as ever (the
|
||||
Google key, else Google's session tokens, else the ion copy;
|
||||
`src/render/cesium/google3d.js`). Turned off, Cesium's globe port keeps the
|
||||
tileset hidden, and the same spec shows it again without loading it anew.
|
||||
`window.__godsEyeView.tileset` is that Cesium tileset, shown or hidden.
|
||||
- World terrain through ion, or without an ion token Re:Earth's keyless
|
||||
terrain as `quantizedMesh` terrain at its URL (`src/maps/keylessTerrain.js`);
|
||||
while the keyless terrain does not answer, the ellipsoid stands in and the
|
||||
map stack tries it again behind it. A renderer without the `terrain`
|
||||
capability keeps the ellipsoid.
|
||||
|
||||
A viewer with no renderer bound gets the Cesium engine
|
||||
(`src/render/cesium/mapEngine.js`), with the other unbound ports, from the
|
||||
package's `./render/cesium/unbound` export.
|
||||
|
||||
The controller accepts other source registries without adding provider branches.
|
||||
Each instance caches source construction, ignores superseded scene changes and
|
||||
@@ -8925,7 +9174,7 @@ when their footprints touch or contain one another, never across a seam toleranc
|
||||
|
||||
### Shared native dropdowns and numeric fields
|
||||
|
||||
- Scene and CCTV selects share the default `gev-field` surface. HUD layout
|
||||
- CCTV selects use the default `gev-field` surface. HUD layout
|
||||
retains compact density; Draw's colour is a row of swatches, not a select. Radio filter, tuner gain and FM frequency
|
||||
use the same base while retaining their feature-specific skins and layout.
|
||||
- The CCTV inline number editor is rendered by its pose chip component with
|
||||
|
||||
+17
-2
@@ -17,7 +17,9 @@ file sharing, along with the remaining extensions.
|
||||
The runner imports no renderer, UI, storage, recipe or dataset. An adapter supplies
|
||||
these phases, in order: `selectShot`, `applyVisual`, `applyLayers`, `travel`,
|
||||
`settle`, `hold`, `completeShot`. Each receives `{ scene, shot, index, total,
|
||||
token }`. It also supplies `releaseScene(scene, token?)` and optionally `complete()`.
|
||||
token, resume }`, where `resume` is the queue item's own (null unless the queue
|
||||
starts partway into its first shot). It also supplies `releaseScene(scene, token?)`
|
||||
and optionally `complete()`.
|
||||
Callbacks may return promises. Each playback invocation requires its own adapter
|
||||
state and token; the caller owns camera arbitration and concurrent-run refusal.
|
||||
|
||||
@@ -32,7 +34,20 @@ acquire no resources. This low-level API expects normalized scene objects;
|
||||
untrusted file validation belongs at the import boundary.
|
||||
|
||||
`src/scenes/playbackAdapter.js` connects this runner to the existing
|
||||
`SceneDirector`. The latter still owns editor state, saved-project import/export,
|
||||
`SceneDirector`. `startScene(sceneId, { fromProgress })` starts a run at a
|
||||
point of the scene's clock: the queue begins with the shot that point falls in,
|
||||
carrying that point's seek state as `resume`. Inside the shot's flight the camera
|
||||
goes on from there along the rest of the path a seek samples, over the rest of the
|
||||
flight; inside its hold, the layers take that moment's state as a seek gives them
|
||||
and then play on from it: a reveal goes on from where the seek put it, and a
|
||||
clip the moment falls in starts again from its beginning (a clip cannot be
|
||||
joined partway), while one the moment is past stays finished. A clip started
|
||||
again plays the hold out as from its start: until its media gate opens (a
|
||||
trimmed clip, with its fade), or for the shot's whole hold (a clip without
|
||||
one). Otherwise only the rest of the hold is waited out. The scene clock
|
||||
carries on from the same point; while a restarted clip plays past where the
|
||||
shot would have ended, the timeline waits at the shot's end until the clip
|
||||
and the rest of the hold finish. `SceneDirector` still owns editor state, saved-project import/export,
|
||||
camera ownership and asynchronous load/seek arbitration. Pure seek calculations
|
||||
live in `src/director/timeline.js`; `src/director/clock.js` owns the run/load/shot
|
||||
tickers, hold deadlines, snapshots and clock subscriptions. Stop settles pending
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ hardware-rendered overlay scenes.
|
||||
|
||||
These frame rates were measured when the globe was capped at 60 FPS. It now
|
||||
draws at the display's refresh rate while anything moves and ticks at most 60
|
||||
times a second when parked (the Cesium frame port's idle rate,
|
||||
times a second when parked (the render governor's idle rate,
|
||||
`IDLE_FRAME_RATE` in `src/renderGovernor.js`).
|
||||
|
||||
The initial-settle measurement is the more useful launch reference because it
|
||||
|
||||
+11
-7
@@ -1,13 +1,14 @@
|
||||
# Scene document format
|
||||
|
||||
Authoring exports a UTF-8 JSON project. Version 5 adds [data packs](DIRECTOR-DATA-PACKS.md)
|
||||
and is the write format. Versions 1, 2, 3, 4 and unversioned legacy files migrate on
|
||||
import without converting their existing shots into authored moves. Unknown versions or unsupported fields are rejected with
|
||||
a field path before the current project, selection or saved bytes change.
|
||||
Authoring exports a UTF-8 JSON project. Version 7 records Stories metadata.
|
||||
Versions 1 through 6 and unversioned legacy files migrate on import, including
|
||||
version 6 projects written by early Stories builds. Existing shots keep their
|
||||
camera behavior. Unknown versions or unsupported fields are rejected with a
|
||||
field path before the current project, selection or saved bytes change.
|
||||
|
||||
```json
|
||||
{
|
||||
"version": 5,
|
||||
"version": 7,
|
||||
"scenes": [{
|
||||
"id": "my-scene",
|
||||
"title": "My scene",
|
||||
@@ -33,6 +34,9 @@ Each scene requires a `shots` array; optional fields are `id`, `title`,
|
||||
`releaseLayerIds`, `appliedShotPacks` and version-4 `anchors`. A pack marker has `id`, optional numeric
|
||||
`version` and `shotBindings` (original shot title to saved shot ID). These markers
|
||||
retain the editor's existing pack-update and rename behavior.
|
||||
From version 6 (written by early Stories builds), scenes may include `stories`
|
||||
(true when saved to Stories), `storyThumb` (a JPEG or PNG data URL of at most
|
||||
300,000 characters) and `storyTags` (up to five supported topic keys).
|
||||
|
||||
Shots accept `id`, `title`, `durationSec`, `holdSec`, `camera`, `visual`, `layers`,
|
||||
`sourcePackId`, `sourcePackVersion` and version-4 `move`. Scene IDs are unique within the project;
|
||||
@@ -75,8 +79,8 @@ UTF-8 size before JSON decoding; the file importer also checks file size before
|
||||
reading it. Migration/defaults live separately in `src/scenes/project.js`.
|
||||
|
||||
Limits are 5 MiB, 256 scenes, 10,000 total shots, 10,000 entries per collection,
|
||||
24 levels of nesting, 200,000 visited values, 65,536 characters per JSON string,
|
||||
256 characters per field/ID, and 4,096 characters per title. Numeric values must
|
||||
24 levels of nesting, 200,000 visited values, 65,536 characters per JSON string
|
||||
(300,000 for a Stories thumbnail), 256 characters per field/ID, and 4,096 characters per title. Numeric values must
|
||||
be finite. Camera limits are latitude ±90, longitude ±180, altitude −12,000 to
|
||||
1 billion meters, heading/roll ±360 and pitch ±90; durations/holds are at most
|
||||
86,400 seconds. Post-processing values are bounded and normalized to the existing
|
||||
|
||||
+2
-1
@@ -26,7 +26,7 @@
|
||||
with the sources: src/materialSymbolsSubset.test.mjs fails when a source
|
||||
names a glyph this list is missing, because a missing glyph does not draw
|
||||
a box — the ligature never forms and the element renders the literal word. -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0&icon_names=adjust,align_horizontal_left,align_horizontal_right,arrow_drop_down,arrow_forward,arrow_left,arrow_right,bolt,bug_report,category,chevron_left,chevron_right,close,close_fullscreen,dark_mode,delete,directions_boat,draw,east,eco,egg_alt,filter_list,flare,flight,handyman,layers,layers_clear,light_mode,local_fire_department,location_on,more_horiz,movie,my_location,navigation,normal,on,open_in_full,palette,partly_cloudy_day,pause,pentagon,pest_control,pets,play_arrow,public,question_mark,radar,radio,radio_button_checked,radio_button_unchecked,raven,restart_alt,right_panel_close,right_panel_open,rocket_launch,satellite_alt,search,set_meal,settings,skip_next,skip_previous,streetview,timeline,traffic,tune,umbrella,upload_file,videocam,view_in_ar,visibility,visibility_off,water_drop,zoom_in_map" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0&icon_names=add,adjust,ads_click,air,airline_seat_recline_normal,align_horizontal_left,align_horizontal_right,arrow_drop_down,arrow_forward,arrow_left,arrow_right,bolt,bug_report,category,chevron_left,chevron_right,close,close_fullscreen,cloud,cyclone,dark_mode,delete,directions_boat,draw,earthquake,east,eco,egg_alt,emergency_home,factory,filter_list,flare,flight,foggy,handyman,history,label,layers,layers_clear,light_mode,local_fire_department,location_city,location_off,location_on,more_horiz,movie,my_location,navigation,newspaper,normal,on,open_in_full,palette,partly_cloudy_day,pause,pedal_bike,pentagon,pest_control,pets,photo_camera,play_arrow,public,question_mark,radar,radio,radio_button_checked,radio_button_unchecked,rainy,raven,restart_alt,right_panel_close,right_panel_open,rocket_launch,satellite_alt,schedule,search,set_meal,settings,skip_next,skip_previous,star,streetview,sunny,thunderstorm,timeline,traffic,train,travel_explore,tune,umbrella,upload_file,videocam,view_in_ar,visibility,visibility_off,warning,water_drop,weather_snowy,zoom_in_map" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="gev-view" data-gev-view="scene-chrome"></div>
|
||||
@@ -39,6 +39,7 @@
|
||||
<div class="gev-view" data-gev-view="provider-settings"></div>
|
||||
<!-- Intelligence HUD Overlay -->
|
||||
<div class="gev-view" data-gev-view="intel-hud"></div>
|
||||
<div id="gev-stories-host" class="gev-view" data-gev-view="stories"></div>
|
||||
|
||||
<!-- Loading screen -->
|
||||
<div id="loading-screen">
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
"test:track": "node scripts/track-regression.mjs",
|
||||
"qa:stub-boot": "node scripts/qa-stub-boot.mjs",
|
||||
"qa:conformance": "node scripts/qa-conformance.mjs",
|
||||
"qa:stories": "node scripts/qa-stories.mjs",
|
||||
"qa:map-source-tray": "node scripts/qa-map-source-tray.mjs",
|
||||
"qa:street-level": "node scripts/qa-street-level.mjs",
|
||||
"qa:street-level:fixtures": "node scripts/qa-street-level.mjs --fixtures",
|
||||
|
||||
@@ -320,6 +320,9 @@
|
||||
"src/ui/scenes.js",
|
||||
"src/ui/sceneControls.js",
|
||||
"src/ui/scenePresentation.js",
|
||||
"src/scenes/storyThumb.test.mjs",
|
||||
"src/scenes/storyThumb.js",
|
||||
"src/scenes/storyTags.js",
|
||||
"src/ui/sceneControls.test.mjs",
|
||||
"scripts/qa-scene-controls.mjs",
|
||||
"scripts/qa-action-buttons.mjs",
|
||||
@@ -1318,6 +1321,30 @@
|
||||
"src/ui/stores/owners.test.mjs",
|
||||
"src/ui/stores/panels.test.mjs",
|
||||
"src/ui/stores/status.js",
|
||||
"src/stories/catalog.js",
|
||||
"src/stories/format.js",
|
||||
"src/stories/gevLogo.js",
|
||||
"src/stories/storyMeta.js",
|
||||
"src/stories/thumbs.js",
|
||||
"src/stories/thumbs.test.mjs",
|
||||
"src/stories/controller.js",
|
||||
"src/stories/gevPlayer.js",
|
||||
"src/stories/gevPlayer.test.mjs",
|
||||
"src/stories/boot.js",
|
||||
"src/stories/keyboard.js",
|
||||
"src/stories/keyboard.test.mjs",
|
||||
"src/stories/boot.test.mjs",
|
||||
"src/stories/controller.test.mjs",
|
||||
"src/ui/storiesCredit.test.mjs",
|
||||
"src/ui/styles/stories.css",
|
||||
"src/ui/styles/stories-entry.css",
|
||||
"src/ui/views/stories/ExploreScreen.vue",
|
||||
"src/ui/views/stories/StoriesHeader.vue",
|
||||
"src/ui/views/stories/StoryContext.vue",
|
||||
"src/ui/views/stories/StoryRail.vue",
|
||||
"src/ui/views/stories/StoryScreen.vue",
|
||||
"src/ui/views/stories/StoryTimeline.vue",
|
||||
"src/ui/stores/stories.js",
|
||||
"src/ui/statusChipsView.test.mjs",
|
||||
"src/ui/statusChipOwners.test.mjs",
|
||||
"src/ui/toast.js",
|
||||
|
||||
+104
-37
@@ -77,6 +77,19 @@
|
||||
"src/app/application.js",
|
||||
"src/ui/vueRuntime.js",
|
||||
"src/ui/views/index.js",
|
||||
"src/ui/views/StoriesView.vue",
|
||||
"src/ui/views/stories/StoryContext.vue",
|
||||
"src/ui/views/stories/StoriesHeader.vue",
|
||||
"src/ui/views/stories/ExploreScreen.vue",
|
||||
"src/ui/views/stories/StoryScreen.vue",
|
||||
"src/ui/views/stories/StoryRail.vue",
|
||||
"src/ui/views/stories/StoryTimeline.vue",
|
||||
"src/ui/stores/stories.js",
|
||||
"src/ui/styles/stories.css",
|
||||
"src/stories/format.js",
|
||||
"src/stories/keyboard.js",
|
||||
"src/stories/storyMeta.js",
|
||||
"src/stories/gevLogo.js",
|
||||
"src/ui/views/CockpitView.vue",
|
||||
"src/ui/views/panels/CockpitProgress.vue",
|
||||
"src/cockpitProgress.js",
|
||||
@@ -236,7 +249,43 @@
|
||||
"src/ui/kit/UiIcon.vue",
|
||||
"src/ui/stores/worldTime.js",
|
||||
"src/ui/views/panels/WorldTimeline.vue",
|
||||
"src/ui/surfaceKeyboard.js"
|
||||
"src/ui/surfaceKeyboard.js",
|
||||
"src/scenes/storyTags.js",
|
||||
"src/ui/contextLayerTabs.js",
|
||||
"src/ui/contextSearch.js",
|
||||
"src/ui/layerNames.js",
|
||||
"src/ui/views/panels/AltitudeGraph.vue",
|
||||
"src/ui/stores/omnibar.js",
|
||||
"src/ui/views/panels/SunDial.vue",
|
||||
"src/ui/views/panels/CctvPreview.vue",
|
||||
"src/data/contextStore.js",
|
||||
"src/data/entityContext.js",
|
||||
"src/ui/stores/entityCard.js",
|
||||
"src/ui/contextRadius.js",
|
||||
"src/layers/firms/source.js",
|
||||
"src/layers/earthquakes/records.js",
|
||||
"src/ui/views/panels/ViewContext.vue",
|
||||
"src/layers/earthquakes/source.js",
|
||||
"src/layers/cyclones/source.js",
|
||||
"src/i18n/marker.js",
|
||||
"src/sources/httpBody.js",
|
||||
"src/layers/perimeters/source.js",
|
||||
"src/ui/spotConditions.js",
|
||||
"src/ui/views/panels/SpotConditions.vue",
|
||||
"src/data/wikidataCities.js",
|
||||
"src/ui/views/panels/EntityCard.vue",
|
||||
"src/data/aircraftEmergency.js",
|
||||
"src/data/aircraftClass.js",
|
||||
"src/data/entityRecords.js",
|
||||
"src/ui/views/panels/RouteGlobe.vue",
|
||||
"src/maps/attribution.js",
|
||||
"src/ui/views/panels/FlightCockpitView.vue",
|
||||
"src/ui/views/panels/PreviewHud.vue",
|
||||
"src/data/fleetTrailAnchors.js",
|
||||
"src/ui/views/panels/SatelliteGroundView.vue",
|
||||
"src/data/vesselTypes.js",
|
||||
"src/data/fleetModels.js",
|
||||
"src/ui/views/panels/AircraftModelHero.vue"
|
||||
],
|
||||
"external": ["vue", "pinia", "vue-i18n"]
|
||||
},
|
||||
@@ -1507,7 +1556,6 @@
|
||||
"src/ui/stores/cockpit.js",
|
||||
"src/ui/stores/locale.js",
|
||||
"src/ui/stores/providerSettings.js",
|
||||
"src/ui/stores/sceneSharing.js",
|
||||
"src/ui/stores/voice.js",
|
||||
"src/ui/stores/location.js",
|
||||
"src/ui/stores/display.js",
|
||||
@@ -1587,7 +1635,18 @@
|
||||
"src/render/vectorBase/style.js",
|
||||
"src/render/vectorBase/paint.js",
|
||||
"src/render/vectorBase/expressions.js",
|
||||
"src/time/frameWait.js"
|
||||
"src/time/frameWait.js",
|
||||
"src/ui/stores/omnibar.js",
|
||||
"src/data/contextStore.js",
|
||||
"src/data/pickedContext.js",
|
||||
"src/data/entityContext.js",
|
||||
"src/data/aircraftClass.js",
|
||||
"src/data/aircraftEmergency.js",
|
||||
"src/ui/stores/entityCard.js",
|
||||
"src/ui/entityContextBridge.js",
|
||||
"src/data/trackingClickGesture.js",
|
||||
"src/ui/stores/sceneSharing.js",
|
||||
"src/maps/attribution.js"
|
||||
],
|
||||
"external": [
|
||||
"cesium",
|
||||
@@ -1655,7 +1714,9 @@
|
||||
"src/director/sharing/preview.js",
|
||||
"src/i18n/marker.js",
|
||||
"src/director/sharing/lifetime.js",
|
||||
"src/director/authoring.js"
|
||||
"src/director/authoring.js",
|
||||
"src/scenes/storyTags.js",
|
||||
"src/scenes/storyThumb.js"
|
||||
],
|
||||
"external": []
|
||||
},
|
||||
@@ -1786,7 +1847,9 @@
|
||||
"src/render/cesium/zoomOutGuard.js",
|
||||
"src/render/cesium/sceneOcclusionProbe.js",
|
||||
"src/render/occlusion/depthProbe.js",
|
||||
"src/data/detectionOcclusion.js"
|
||||
"src/data/detectionOcclusion.js",
|
||||
"src/scenes/storyTags.js",
|
||||
"src/scenes/storyThumb.js"
|
||||
],
|
||||
"external": ["cesium", "vue", "pinia", "vue-i18n", "kdbush"]
|
||||
},
|
||||
@@ -2369,7 +2432,8 @@
|
||||
"src/render/vectorBase/paint.js",
|
||||
"src/layers/wind/streamlines.js",
|
||||
"src/layers/wind/model.js",
|
||||
"src/sky/assets.js"
|
||||
"src/sky/assets.js",
|
||||
"src/render/cesium/cardPreviews.js"
|
||||
],
|
||||
"external": ["cesium", "pbf", "@mapbox/vector-tile", "kdbush"]
|
||||
},
|
||||
@@ -2518,7 +2582,8 @@
|
||||
"src/render/applicationHooks.js",
|
||||
"src/maps/globeEngine.js",
|
||||
"src/maps/engine.js",
|
||||
"src/maps/keylessTerrain.js"
|
||||
"src/maps/keylessTerrain.js",
|
||||
"src/maps/attribution.js"
|
||||
],
|
||||
"external": ["cesium"]
|
||||
},
|
||||
@@ -3971,7 +4036,8 @@
|
||||
"src/ui/stores/voice.js",
|
||||
"src/ui/vueRuntime.js",
|
||||
"src/ui/stores/pointerReticle.js",
|
||||
"src/ui/i18n.js"
|
||||
"src/ui/i18n.js",
|
||||
"src/ui/stores/omnibar.js"
|
||||
],
|
||||
"external": ["vue", "pinia", "vue-i18n"]
|
||||
},
|
||||
@@ -4116,6 +4182,24 @@
|
||||
"src/render/cesium/applicationViewer.js",
|
||||
"src/render/cesium/ctrlWheelZoom.js",
|
||||
"src/render/cesium/starrySky.js",
|
||||
"src/stories/catalog.js",
|
||||
"src/stories/format.js",
|
||||
"src/stories/keyboard.js",
|
||||
"src/stories/storyMeta.js",
|
||||
"src/stories/gevLogo.js",
|
||||
"src/stories/boot.js",
|
||||
"src/stories/controller.js",
|
||||
"src/stories/gevPlayer.js",
|
||||
"src/stories/thumbs.js",
|
||||
"src/ui/views/StoriesView.vue",
|
||||
"src/ui/views/stories/StoryContext.vue",
|
||||
"src/ui/views/stories/StoriesHeader.vue",
|
||||
"src/ui/views/stories/ExploreScreen.vue",
|
||||
"src/ui/views/stories/StoryScreen.vue",
|
||||
"src/ui/views/stories/StoryRail.vue",
|
||||
"src/ui/views/stories/StoryTimeline.vue",
|
||||
"src/ui/stores/stories.js",
|
||||
"src/ui/styles/stories.css",
|
||||
"src/sky/stars.js",
|
||||
"src/app/atmosphereCompat.js",
|
||||
"src/bloom.js",
|
||||
@@ -5144,37 +5228,13 @@
|
||||
"src/library/entries/wri-global-power-plants.json",
|
||||
"src/library/entries/wv-statewide-imagery.json",
|
||||
"src/library/formats.js",
|
||||
"src/library/entries/gvp-holocene-volcanoes.json",
|
||||
"src/library/entries/nasa-black-marble.json",
|
||||
"src/library/entries/nasa-eonet-events.json",
|
||||
"src/library/catalog.js",
|
||||
"src/library/source.js",
|
||||
"src/library/layers.js",
|
||||
"src/library/controller.js",
|
||||
"src/library/extent.js",
|
||||
"src/library/camera.js",
|
||||
"src/library/entries/imf-portwatch-disruptions.json",
|
||||
"src/library/entries/imf-portwatch-chokepoints.json",
|
||||
"src/library/entries/noaa-tide-stations.json",
|
||||
"src/library/entries/nws-active-alerts.json",
|
||||
"src/library/entries/wri-global-power-plants.json",
|
||||
"src/library/entries/fema-usa-structures.json",
|
||||
"src/library/entries/epc-england-wales.json",
|
||||
"src/library/parquet.js",
|
||||
"src/library/entries/bkg-topplus-open.json",
|
||||
"src/library/entries/epa-superfund-sites.json",
|
||||
"src/library/entries/epa-toxic-release-facilities.json",
|
||||
"src/library/entries/gbif-occurrence-density.json",
|
||||
"src/library/entries/gdacs-disaster-alerts.json",
|
||||
"src/library/entries/gsi-japan-map.json",
|
||||
"src/library/entries/ign-orthophotos-france.json",
|
||||
"src/library/entries/gsi-japan-photo.json",
|
||||
"src/library/entries/jrc-surface-water.json",
|
||||
"src/library/entries/ntad-national-bridges.json",
|
||||
"src/library/entries/usgs-hydrography.json",
|
||||
"src/library/entries/macrostrat-geology.json",
|
||||
"src/library/entries/swisstopo-swissimage.json",
|
||||
"src/library/entries/usgs-topo.json",
|
||||
"src/library/outlines.js",
|
||||
"src/library/relief.js",
|
||||
"src/sceneCommandRelease.js",
|
||||
@@ -5366,7 +5426,14 @@
|
||||
"src/layers/flights/placed.js",
|
||||
"src/data/placementProvider.js",
|
||||
"src/data/courseFromFixes.js",
|
||||
"src/time/frameWait.js"
|
||||
"src/time/frameWait.js",
|
||||
"src/scenes/storyTags.js",
|
||||
"src/scenes/storyThumb.js",
|
||||
"src/ui/stores/omnibar.js",
|
||||
"src/data/entityContext.js",
|
||||
"src/ui/stores/entityCard.js",
|
||||
"src/ui/entityContextBridge.js",
|
||||
"src/render/cesium/cardPreviews.js"
|
||||
],
|
||||
"external": [
|
||||
"hls.js",
|
||||
@@ -6135,8 +6202,6 @@
|
||||
"src/layers/osmPlaces/index.js",
|
||||
"src/app/layers/osmPlaces.js",
|
||||
"src/layers/awareness/rangeRing.js",
|
||||
"src/data/feedState.js",
|
||||
"src/loadingFeedback.js",
|
||||
"src/data/firmsIntensity.js",
|
||||
"src/data/firmsHeatRaster.js",
|
||||
"src/layers/firms/heatImagery.js",
|
||||
@@ -6194,7 +6259,8 @@
|
||||
"src/layers/flights/placed.js",
|
||||
"src/data/placementProvider.js",
|
||||
"src/data/courseFromFixes.js",
|
||||
"src/time/frameWait.js"
|
||||
"src/time/frameWait.js",
|
||||
"src/maps/attribution.js"
|
||||
],
|
||||
"external": [
|
||||
"hls.js",
|
||||
@@ -6811,7 +6877,8 @@
|
||||
"src/ui/vueRuntime.js",
|
||||
"src/ui/stores/voice.js",
|
||||
"src/ui/stores/pointerReticle.js",
|
||||
"src/ui/i18n.js"
|
||||
"src/ui/i18n.js",
|
||||
"src/ui/stores/omnibar.js"
|
||||
],
|
||||
"external": ["vue", "pinia", "vue-i18n"]
|
||||
},
|
||||
|
||||
@@ -116,7 +116,7 @@ try {
|
||||
document.getElementById('loading-screen')?.classList.contains('hidden'),
|
||||
{ timeout: 60000 },
|
||||
);
|
||||
await page.click('[data-collapse-target="scene-panel"]');
|
||||
await page.click('[data-rail-item="scene-panel"]');
|
||||
const before = await page.evaluate(() =>
|
||||
JSON.stringify(window.__godsEyeView.sceneDirector._project),
|
||||
);
|
||||
@@ -304,18 +304,17 @@ try {
|
||||
window.__godsEyeView.sceneDirector.getInteractionState().count === 1,
|
||||
)),
|
||||
);
|
||||
await page.waitForFunction(
|
||||
() => window.__godsEyeView.tileset?.tilesLoaded === true,
|
||||
{ timeout: 60000 },
|
||||
);
|
||||
const activeMapReady = () => {
|
||||
const { viewer, mapStackController } = window.__godsEyeView;
|
||||
const tileset = mapStackController.getImageryHostTileset();
|
||||
if (tileset) return tileset.tilesLoaded;
|
||||
return viewer.scene.globe.show && viewer.scene.globe.tilesLoaded;
|
||||
};
|
||||
await page.waitForFunction(activeMapReady, { timeout: 60000 });
|
||||
await page.screenshot({ path: path.join(output, 'rendered.png') });
|
||||
fs.writeFileSync(
|
||||
path.join(output, 'report.json'),
|
||||
JSON.stringify(
|
||||
await page.evaluate(() => ({
|
||||
tilesSettled: window.__godsEyeView.tileset?.tilesLoaded === true,
|
||||
})),
|
||||
),
|
||||
JSON.stringify({ tilesSettled: await page.evaluate(activeMapReady) }),
|
||||
);
|
||||
await page.evaluate(() => window.__godsEyeView.sceneDirector.stopScene());
|
||||
check(
|
||||
@@ -368,6 +367,16 @@ try {
|
||||
);
|
||||
await page.screenshot({ path: path.join(output, 'narrow.png') });
|
||||
await page.keyboard.press('Escape');
|
||||
await page.setViewport({ width: 1440, height: 900 });
|
||||
await page.waitForSelector('[data-rail-item="scene-panel"]', {
|
||||
visible: true,
|
||||
});
|
||||
if (
|
||||
await page.$eval('#scene-panel', (panel) =>
|
||||
panel.classList.contains('collapsed'),
|
||||
)
|
||||
)
|
||||
await page.click('[data-rail-item="scene-panel"]');
|
||||
const pending = await page.evaluate(async () => {
|
||||
const d = window.__godsEyeView.sceneDirector;
|
||||
let finish;
|
||||
|
||||
@@ -590,14 +590,9 @@ async function main() {
|
||||
*
|
||||
* KEYED — both datasets must actually arrive, and a failure banner in
|
||||
* that state is a real defect, so the chip IS asserted.
|
||||
* KEYLESS — only the LAYER ROW is asserted: FIRMS reports KEY REQUIRED,
|
||||
* which is the honest surface a keyless visitor is judged on.
|
||||
* The GLOBAL chip is deliberately NOT asserted in either
|
||||
* direction here: it has no key-required terminal state and
|
||||
* folds that row into a misleading LOAD FAILED. That
|
||||
* aggregation is a defect in the shared state machine
|
||||
* (`src/loadingFeedback.js`), LEDGERED post-launch — it is not
|
||||
* a desirable outcome and not this tile's contract.
|
||||
* KEYLESS — the LAYER ROW reports KEY REQUIRED, and the GLOBAL chip
|
||||
* never says LOAD FAILED: a missing key ends the batch
|
||||
* KEY REQUIRED (`src/loadingFeedback.js`).
|
||||
*/
|
||||
const keyless = state.firmsError === 'KEY REQUIRED';
|
||||
console.log(` \x1b[2m FIRMS key state: ${keyless ? 'KEYLESS' : 'KEYED'} `
|
||||
@@ -613,6 +608,12 @@ async function main() {
|
||||
(state.counts.earthquakes ?? 0) > 0,
|
||||
`${state.counts.earthquakes} quakes`,
|
||||
);
|
||||
const keylessChip = await readLoadingChip(page);
|
||||
record(
|
||||
'KEYLESS: the global chip never says LOAD FAILED for a missing key',
|
||||
!keylessChip.some((entry) => /LOAD FAILED/i.test(entry)),
|
||||
keylessChip.join(' → ') || 'no chip',
|
||||
);
|
||||
} else {
|
||||
record(
|
||||
'KEYED: both datasets actually arrive',
|
||||
|
||||
@@ -45,7 +45,7 @@ try {
|
||||
window.__qaSceneState.push(notification),
|
||||
);
|
||||
});
|
||||
await page.click('[data-collapse-target="scene-panel"]');
|
||||
await page.click('[data-rail-item="scene-panel"]');
|
||||
await page.click('#scene-new-btn');
|
||||
await page.waitForFunction(
|
||||
() =>
|
||||
@@ -278,7 +278,7 @@ try {
|
||||
panel.classList.contains('collapsed'),
|
||||
)
|
||||
)
|
||||
await page.click('[data-collapse-target="scene-panel"]');
|
||||
await page.click('[data-rail-item="scene-panel"]');
|
||||
await page.waitForSelector('#scene-download-btn', { visible: true });
|
||||
await page.click('#scene-download-btn');
|
||||
const metadata = await page.evaluate(async () =>
|
||||
@@ -426,6 +426,10 @@ try {
|
||||
);
|
||||
}),
|
||||
);
|
||||
promptValue = 'Disposal scene';
|
||||
await page.click('#scene-new-btn');
|
||||
await page.click('#scene-capture-btn');
|
||||
await page.waitForSelector('.scene-shot-label', { visible: true });
|
||||
const teardown = await page.evaluate(async () => {
|
||||
const director = window.__godsEyeView.sceneDirector;
|
||||
const controls = director._controls;
|
||||
|
||||
@@ -0,0 +1,146 @@
|
||||
/** Run against the built app's preview server (QA_BASE_URL, port 4173 by default). */
|
||||
import assert from 'node:assert/strict';
|
||||
import puppeteer from 'puppeteer';
|
||||
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
args: [
|
||||
'--no-sandbox',
|
||||
...(process.platform === 'darwin'
|
||||
? ['--use-angle=metal', '--enable-gpu']
|
||||
: ['--use-gl=angle', '--use-angle=swiftshader']),
|
||||
],
|
||||
});
|
||||
|
||||
try {
|
||||
const page = await browser.newPage();
|
||||
await page.setViewport({ width: 1440, height: 900 });
|
||||
await page.emulateMediaFeatures([
|
||||
{ name: 'prefers-reduced-motion', value: 'reduce' },
|
||||
]);
|
||||
const url = new URL(process.env.QA_BASE_URL || 'http://localhost:4173/');
|
||||
url.searchParams.set('welcome', '0');
|
||||
url.searchParams.set('story', 'gev:flights-radar');
|
||||
url.searchParams.set('storyTime', '1250');
|
||||
url.hash =
|
||||
'v=2&lat=20&lon=10&alt=2500000&heading=0&pitch=-90&roll=0&style=normal&map=esri-imagery';
|
||||
await page.goto(url.href, { waitUntil: 'domcontentloaded' });
|
||||
|
||||
async function waitForPausedStory() {
|
||||
await page.waitForSelector('#tlTrack', { visible: true, timeout: 60000 });
|
||||
await page.waitForFunction(
|
||||
() => window.__godsEyeView?.styleManager.activeStyle === 'retro',
|
||||
{ timeout: 30000 },
|
||||
);
|
||||
const timing = await page.evaluate(async () => {
|
||||
const director = window.__godsEyeView.sceneDirector;
|
||||
await director.whenIdle();
|
||||
return {
|
||||
elapsed: director.getPlaybackTimingState().snapshot.sceneElapsedSec,
|
||||
running: director.running,
|
||||
};
|
||||
});
|
||||
assert.equal(timing.running, false);
|
||||
assert.ok(Math.abs(timing.elapsed - 1.25) < 0.001);
|
||||
}
|
||||
|
||||
await waitForPausedStory();
|
||||
await page.evaluate(() => history.back());
|
||||
await page.waitForSelector('#scrExplore', { visible: true });
|
||||
await page.waitForFunction(
|
||||
() => window.__godsEyeView.styleManager.activeStyle === 'normal',
|
||||
);
|
||||
await page.evaluate(() => history.forward());
|
||||
await waitForPausedStory();
|
||||
await page.waitForFunction(() =>
|
||||
document.activeElement.matches(
|
||||
'#scrStory .s-back, #scrStory .s-trail button',
|
||||
),
|
||||
);
|
||||
console.log('Back and Forward restore the style, paused time and focus');
|
||||
|
||||
await page.click('#tlPlay');
|
||||
const resumedAt = await (
|
||||
await page.waitForFunction(
|
||||
() => {
|
||||
const snap =
|
||||
window.__godsEyeView.sceneDirector.getPlaybackTimingState().snapshot;
|
||||
return snap?.running ? snap.sceneElapsedSec : false;
|
||||
},
|
||||
{ timeout: 30000 },
|
||||
)
|
||||
).jsonValue();
|
||||
assert.ok(
|
||||
resumedAt >= 1.25 && resumedAt < 3,
|
||||
`Play went on from ${resumedAt} s, not the paused 1.25 s`,
|
||||
);
|
||||
await page.click('#tlPlay');
|
||||
await page.waitForFunction(() => !window.__godsEyeView.sceneDirector.running);
|
||||
await page.evaluate(() => window.__godsEyeView.sceneDirector.whenIdle());
|
||||
console.log('Play goes on from the paused time, not the start of the shot');
|
||||
|
||||
const track = await page.$('#tlTrack');
|
||||
const box = await track.boundingBox();
|
||||
assert.ok(box.width > 0);
|
||||
await page.evaluate(() => {
|
||||
const director = window.__godsEyeView.sceneDirector;
|
||||
const seek = director.seekScene.bind(director);
|
||||
window.qaSeekProgress = [];
|
||||
director.seekScene = (...args) => {
|
||||
window.qaSeekProgress.push(args[1]);
|
||||
return seek(...args);
|
||||
};
|
||||
});
|
||||
const y = box.y + box.height / 2;
|
||||
const at = (fraction) => box.x + box.width * fraction;
|
||||
await page.mouse.move(at(0.25), y);
|
||||
await page.mouse.down();
|
||||
await page.mouse.move(at(0.65), y, { steps: 12 });
|
||||
await page.waitForFunction(
|
||||
() =>
|
||||
Number(document.querySelector('#tlTrack').getAttribute('aria-valuenow')) >
|
||||
25,
|
||||
);
|
||||
assert.deepEqual(await page.evaluate(() => window.qaSeekProgress), []);
|
||||
await page.mouse.up();
|
||||
await page.waitForFunction(() => window.qaSeekProgress.length === 1);
|
||||
await page.evaluate(() => window.__godsEyeView.sceneDirector.whenIdle());
|
||||
assert.equal(await page.evaluate(() => window.qaSeekProgress.length), 1);
|
||||
console.log('A timeline drag updates the preview before one released seek');
|
||||
|
||||
const pose = () =>
|
||||
page.evaluate(() => window.__godsEyeView.styleManager.getCameraState());
|
||||
const before = await pose();
|
||||
await page.click('#railGev');
|
||||
await page.waitForFunction(
|
||||
() =>
|
||||
!document.body.classList.contains('stories-mode') &&
|
||||
document
|
||||
.querySelector('#scene-select option:checked')
|
||||
?.textContent.includes('Global Flights Radar'),
|
||||
);
|
||||
const after = await pose();
|
||||
assert.ok(Math.abs(after.lat - before.lat) < 0.01);
|
||||
assert.ok(Math.abs(after.lon - before.lon) < 0.01);
|
||||
assert.ok(Math.abs(after.alt - before.alt) < 100);
|
||||
await page.waitForFunction(() => document.activeElement.id === 'hStories');
|
||||
console.log('Open in GEV selects the scene without moving its camera');
|
||||
await page.click('#scene-thumb-btn');
|
||||
await page.waitForFunction(() =>
|
||||
document
|
||||
.querySelector('#scene-thumb-preview')
|
||||
?.src.startsWith('data:image/jpeg;'),
|
||||
);
|
||||
console.log('Authoring captures an Esri thumbnail through the real renderer');
|
||||
|
||||
// This width is within GEV's phone layout and used to miss Stories' layout.
|
||||
await page.setViewport({ width: 710, height: 844 });
|
||||
await page.goto(url.href, { waitUntil: 'domcontentloaded' });
|
||||
await waitForPausedStory();
|
||||
await page.waitForFunction(() =>
|
||||
document.activeElement.matches('#scrStory .s-back'),
|
||||
);
|
||||
console.log('The phone layout uses the same breakpoint as GEV');
|
||||
} finally {
|
||||
await browser.close();
|
||||
}
|
||||
@@ -26,7 +26,7 @@ function realtimeDirectives(
|
||||
'analyst_query ANSWERS questions; it never moves the camera or starts tracking. For requests to FOLLOW or TRACK a specific aircraft/ship, call track_entity (get_entity_context first when the target is ambiguous), never analyst_query as the final or only action. For "follow/track the nearest aircraft", first call analyst_query with the aircraft layer(s), sortBy=distance, and limit=1, then call track_entity with the returned aircraft identity in the same turn. The lookup alone does not fulfill a follow/track command.',
|
||||
'For a request to enable an aircraft layer and SELECT or FIND the nearest/closest aircraft near a named place — for example, "Turn on flights and select the closest aircraft to Austin" — call select_nearest_aircraft once. It atomically turns on the requested aircraft layer first, waits for location arrival, refreshes that layer for the destination viewport, filters out landed/on-ground records, and selects the nearest airborne result. A healthy fallback feed is valid data, never an enable failure. Do not also call fly_to_location, set_layer_visibility, analyst_query, track_entity, set_context_mode, or control_cockpit for the same request.',
|
||||
'For ANALYTICAL questions about loaded layer data — how many / which / fastest / highest / biggest / nearest / next flights, ships, fires, earthquakes, satellites, launches, storms, transit, bikes, bases, datacenters or dams ("how many flights over Texas", "anything above 40,000 feet") — call analyst_query, not get_entity_context. Always set scope by WHERE: "around here" or "near this" while pointing is kind pointer, never view. Filter on the attribute the user names ("MODIS" → sensor eq MODIS). Say the count with its scope in a few words ("37 loaded flights over Texas") plus one or two examples by name. If the needed layer is off, say so and offer to turn it on. "Which of THOSE…" about the last answer → followUp=true with only the new filter/sort.',
|
||||
'WORLD QUERIES — the query tools (get_weather, get_wind, search_places, places_nearby, plan_route, get_cyclones, get_fire_perimeters, get_bike_share, get_transit_vehicles, get_traffic_flow, situation_brief, military_awareness and the other get_* and find_* tools you have) look up data anywhere in the world without changing the map and without any layer being on. Use them when the user asks about a place they are not looking at or data whose layer is off ("what is the weather in Tokyo", "how do I drive from Austin to Dallas", "any wildfires in California"). For aircraft, ships, earthquakes, active fires, datacenters, dams and satellites overhead, use analyst_query over the layers instead, turning the layer on first when the user wants it. Use analyst_query and get_entity_context for what the app has loaded or what is on screen. Answer from the result summary and data, mention its source when it has one, and never claim the map changed. If the user also wants to SEE it, use the matching app action (fly_to_location, set_layer_visibility) as well.',
|
||||
'WORLD QUERIES: query tools (get_weather, get_wind, search_places, places_nearby, plan_route, get_cyclones, get_fire_perimeters, get_bike_share, get_transit_vehicles, get_traffic_flow, situation_brief, military_awareness and other get_* and find_* tools) look up any place without changing the map or enabling layers. Use them for places out of view or data whose layer is off. For aircraft, ships, earthquakes, active fires, datacenters, dams and satellites overhead, use analyst_query over layers instead; enable the layer first if asked. Use analyst_query and get_entity_context for loaded data or what is on screen. Answer from the result; name its source if supplied and never claim the map changed. If asked to show it, also use the matching app action (fly_to_location, set_layer_visibility).',
|
||||
'WHERE, for every tool that takes a place or scope, in this order: (1) a place the user names, or an areaId you already have; (2) explicit pointing — "this/that one/here/around here" while pointer_context shows pointing or a target → "pointer"; (3) the Contacts subject while Contacts is active, or the selection when the user refers to it; (4) the current view. A selected datacenter, dam, fire or cable never silently becomes the centre.',
|
||||
'AREAS: resolve_area turns a named boundary (country, state, province, county, city, district, natural region) into an areaId; to outline it pass draw=true; annotate_map is for marks, not boundaries. Count inside it → analyst_query kind=area with the areaId (or kind=region); "the area I drew" → kind=drawn; "the area you outlined" → kind=annotation. Imagery of a place → resolve_area, then find_imagery. Ambiguous name: call resolve_area; on needsClarification ask which, never guess.' +
|
||||
(overpass
|
||||
|
||||
@@ -309,6 +309,11 @@ export const ACTION_DESCRIPTIONS = {
|
||||
},
|
||||
},
|
||||
},
|
||||
open_stories: {
|
||||
description:
|
||||
'Open the Stories Explore list on request ("open Stories", "show the story list"). Turns off voice.',
|
||||
$position: 1,
|
||||
},
|
||||
control_scene: {
|
||||
description:
|
||||
'Cinematic scene playback: list scenes, play one scene by name, stop, advance, or read status. Play starts a single named scene and returns immediately.',
|
||||
|
||||
Vendored
+1
@@ -38,6 +38,7 @@ export function createApplicationControls({
|
||||
...services,
|
||||
...operations.surface.controlServices,
|
||||
searchAndFlyTo: operations.searchAndFlyTo,
|
||||
pickWorldFromScreen: operations.annotationResolver?.pickWorldFromScreen,
|
||||
fetchRegionalBrief: (...args) =>
|
||||
operations.requests.regional.getBrief(...args),
|
||||
...catalogControlServices(catalog),
|
||||
|
||||
+57
-19
@@ -1,4 +1,11 @@
|
||||
import { onFollowChanged } from '../data/followed.js';
|
||||
import {
|
||||
bootStories,
|
||||
stopVoiceForStories,
|
||||
storiesOpener,
|
||||
} from '../stories/boot.js';
|
||||
import { t } from '../i18n/index.js';
|
||||
import { useStoriesStore } from '../ui/stores/stories.js';
|
||||
import { SceneDirector } from '../scenes/director.js';
|
||||
import { initAnnotations } from '../annotations/index.js';
|
||||
import { initDrawTool } from '../annotations/drawTool.js';
|
||||
@@ -18,6 +25,7 @@ import { createLibraryBrowser } from '../ui/libraryBrowser.js';
|
||||
import { useDataLibraryStore } from '../ui/stores/dataLibrary.js';
|
||||
import { localGeoJsonServices } from './localGeojsonServices.js';
|
||||
import { initGevVoiceCommands } from '../voice/gevRealtime.js';
|
||||
import { isStoriesOpen } from '../voice/realtimeInputPolicy.js';
|
||||
import { installViews, isEmbeddedInline } from './embed.js';
|
||||
import {
|
||||
installScopeMask,
|
||||
@@ -76,6 +84,26 @@ export function createApplicationTools({
|
||||
}),
|
||||
);
|
||||
onSceneDirector?.(sceneDirector);
|
||||
// Stories: GEV scenes on this globe, from a Stories button. Its screens,
|
||||
// styles, story data and controller load on first use.
|
||||
const storiesStore = useStoriesStore(applicationPinia());
|
||||
let voiceCommands;
|
||||
const stories = bootStories({
|
||||
// Inline in a host page, the URL and history are the host's.
|
||||
available: !isEmbeddedInline(),
|
||||
viewer,
|
||||
director: sceneDirector,
|
||||
store: storiesStore,
|
||||
onEnter: () => {
|
||||
if (stopVoiceForStories(voiceCommands?.session))
|
||||
storiesStore.flashToast(t('Voice is disabled in Stories.'), 4000);
|
||||
},
|
||||
onLoadFailed: () =>
|
||||
styleManager._showToast?.(
|
||||
t('Stories could not load. Check the connection and try again.'),
|
||||
),
|
||||
});
|
||||
defer(() => stories.destroy());
|
||||
const annotations = initAnnotations({
|
||||
viewer,
|
||||
tileset,
|
||||
@@ -260,30 +288,40 @@ export function createApplicationTools({
|
||||
// loop burning behind a hidden tab. (perf wave 2 fix)
|
||||
syncVisibilitySuspension();
|
||||
|
||||
window.__godsEyeView = {
|
||||
viewer,
|
||||
styleManager,
|
||||
tileset,
|
||||
dataManager,
|
||||
sceneDirector,
|
||||
mapStackController,
|
||||
annotations,
|
||||
weatherEffects,
|
||||
cockpitCloudEffects,
|
||||
getRenderGovernorDiagnostics,
|
||||
surfaceServices: operations.surface,
|
||||
requestRender: governorRequestRender,
|
||||
entityRecords: { read: readEntityRecord, write: entityRecord },
|
||||
// What the renderer's plugin lets QA scripts read (the Cesium viewer,
|
||||
// for the default renderer), in place of the scene object above.
|
||||
...scene.qaHandles,
|
||||
};
|
||||
window.__godsEyeView = Object.defineProperties(
|
||||
{
|
||||
viewer,
|
||||
styleManager,
|
||||
tileset,
|
||||
dataManager,
|
||||
sceneDirector,
|
||||
mapStackController,
|
||||
annotations,
|
||||
weatherEffects,
|
||||
cockpitCloudEffects,
|
||||
getRenderGovernorDiagnostics,
|
||||
surfaceServices: operations.surface,
|
||||
requestRender: governorRequestRender,
|
||||
entityRecords: { read: readEntityRecord, write: entityRecord },
|
||||
},
|
||||
// What the renderer's plugin lets QA scripts read (the Cesium viewer and
|
||||
// its photoreal tileset, for the default renderer), in place of the
|
||||
// scene's objects above; read as they are when asked.
|
||||
Object.getOwnPropertyDescriptors(scene.qaHandles ?? {}),
|
||||
);
|
||||
const debug = window.__godsEyeView;
|
||||
defer(() => {
|
||||
if (window.__godsEyeView === debug) delete window.__godsEyeView;
|
||||
});
|
||||
const voiceCommands = initGevVoiceCommands({
|
||||
voiceCommands = initGevVoiceCommands({
|
||||
...voice,
|
||||
canStartVoice: () => !isStoriesOpen(),
|
||||
// An app may supply what open_stories does; the Stories page by default.
|
||||
openStories: storiesOpener({
|
||||
openStories: voice?.openStories,
|
||||
store: storiesStore,
|
||||
stories,
|
||||
}),
|
||||
floorServices: operations.surface.groundFloor,
|
||||
annotationResolver: operations.annotationResolver,
|
||||
searchNavigation: operations.searchAndFlyTo,
|
||||
|
||||
@@ -152,7 +152,7 @@ test('Context async action buttons remain focused while busy', () => {
|
||||
assert.match(clearButton, /:aria-busy=/);
|
||||
});
|
||||
|
||||
test('Context header holds only its title, edge switch and collapse control', () => {
|
||||
test('Context header holds its title, search, expand, edge switch and collapse control', () => {
|
||||
const panel = html.match(
|
||||
/<div id="global-context-panel"[\s\S]*?<div class="cyber-panel-body[ "]/,
|
||||
);
|
||||
@@ -174,6 +174,10 @@ test('Context header holds only its title, edge switch and collapse control', ()
|
||||
assert.deepEqual(tags, [
|
||||
'span.panel-title',
|
||||
'span.panel-divider',
|
||||
'button.context-dock-btn',
|
||||
'span.material-symbols-outlined',
|
||||
'button.context-dock-btn',
|
||||
'span.material-symbols-outlined',
|
||||
'button.panel-edge-btn',
|
||||
'span.material-symbols-outlined',
|
||||
'button.panel-collapse-btn',
|
||||
|
||||
+489
-112
@@ -95,7 +95,10 @@ function specificity(selector) {
|
||||
if (rest[i] === '(') depth += 1;
|
||||
else if (rest[i] === ')') {
|
||||
depth -= 1;
|
||||
if (depth === 0) { end = i; break; }
|
||||
if (depth === 0) {
|
||||
end = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
assert.ok(end > 0, `unbalanced functional pseudo-class in "${selector}"`);
|
||||
@@ -116,7 +119,9 @@ function specificity(selector) {
|
||||
classes += (rest.match(/\[[^\]]*\]/g) || []).length;
|
||||
types += (rest.match(/::[\w-]+/g) || []).length;
|
||||
classes += (rest.replace(/::[\w-]+/g, '').match(/:[\w-]+/g) || []).length;
|
||||
types += (rest.replace(/\[[^\]]*\]/g, '').match(/(?:^|[\s>+~])[a-zA-Z][\w-]*/g) || []).length;
|
||||
types += (
|
||||
rest.replace(/\[[^\]]*\]/g, '').match(/(?:^|[\s>+~])[a-zA-Z][\w-]*/g) || []
|
||||
).length;
|
||||
return [ids, classes, types];
|
||||
}
|
||||
|
||||
@@ -165,7 +170,11 @@ function flattenRules(source) {
|
||||
rules.push({
|
||||
order: rules.length,
|
||||
media: [...mediaStack],
|
||||
parts: splitTopLevel(head, ',').map((part) => part.trim().replace(/\(\s+/g, '(').replace(/\s+\)/g, ')')).filter(Boolean),
|
||||
parts: splitTopLevel(head, ',')
|
||||
.map((part) =>
|
||||
part.trim().replace(/\(\s+/g, '(').replace(/\s+\)/g, ')'),
|
||||
)
|
||||
.filter(Boolean),
|
||||
decls,
|
||||
});
|
||||
index = close + 1;
|
||||
@@ -217,14 +226,37 @@ const RECOGNIZED = new Set([
|
||||
'#command-dock.dock-has-two-pinned-trays #control-panel.dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content',
|
||||
]);
|
||||
|
||||
const ELEMENT_KEYS = ['#cesium-credits', '#command-dock', '#right-context-rail', '.dock-popover-content'];
|
||||
const DOCKED_RAIL = 'body.context-docked #right-context-rail';
|
||||
const ELEMENT_KEYS = [
|
||||
'#cesium-credits',
|
||||
'#command-dock',
|
||||
'#right-context-rail',
|
||||
'.dock-popover-content',
|
||||
];
|
||||
|
||||
// Any of these on a modelled element's own box changes the geometry this pin
|
||||
// reasons about, so each occurrence must be recognized and vetted.
|
||||
const GUARDED_PROPS = new Set([
|
||||
'bottom', 'top', 'inset', 'inset-block', 'inset-block-end', 'inset-inline', 'inset-inline-end',
|
||||
'margin', 'margin-bottom', 'margin-block', 'margin-block-end', 'all',
|
||||
'height', 'min-height', 'max-height', 'position', 'transform', 'translate', 'scale', 'zoom',
|
||||
'bottom',
|
||||
'top',
|
||||
'inset',
|
||||
'inset-block',
|
||||
'inset-block-end',
|
||||
'inset-inline',
|
||||
'inset-inline-end',
|
||||
'margin',
|
||||
'margin-bottom',
|
||||
'margin-block',
|
||||
'margin-block-end',
|
||||
'all',
|
||||
'height',
|
||||
'min-height',
|
||||
'max-height',
|
||||
'position',
|
||||
'transform',
|
||||
'translate',
|
||||
'scale',
|
||||
'zoom',
|
||||
]);
|
||||
|
||||
// Custom properties allowed inside a modelled offset. Each is a pinned-tray
|
||||
@@ -265,6 +297,11 @@ function ownBoxEntries() {
|
||||
// The phone shell is its own layout; mobileShell.test.mjs pins its
|
||||
// attribution clearance.
|
||||
if (part.startsWith('body.mobile-shell')) continue;
|
||||
// So is Stories, with GEV's chrome stepped aside; storiesCredit.test.mjs
|
||||
// pins its attribution placement.
|
||||
if (
|
||||
/^body\.stories-mode:not\(#gs-a\):not\(#gs-b\) #(cesium|gev)-credits$/.test(part)
|
||||
) continue;
|
||||
entries.push({ rule, part });
|
||||
}
|
||||
}
|
||||
@@ -285,7 +322,10 @@ function parseMediaCondition(condition) {
|
||||
function appliesAt(rule, width, label) {
|
||||
return rule.media.every((condition) => {
|
||||
const maxWidth = parseMediaCondition(condition);
|
||||
assert.ok(maxWidth !== null, `unmodelled media condition "${condition}" gates ${label}`);
|
||||
assert.ok(
|
||||
maxWidth !== null,
|
||||
`unmodelled media condition "${condition}" gates ${label}`,
|
||||
);
|
||||
return width <= maxWidth;
|
||||
});
|
||||
}
|
||||
@@ -300,13 +340,26 @@ function resolve(candidates, prop, width, label) {
|
||||
if (!candidates.includes(part)) continue;
|
||||
for (const decl of rule.decls) {
|
||||
if (decl.prop !== prop) continue;
|
||||
const contender = { decl, part, order: rule.order, spec: specificity(part) };
|
||||
if (!winner) { winner = contender; continue; }
|
||||
const byImportance = Number(contender.decl.important) - Number(winner.decl.important);
|
||||
const contender = {
|
||||
decl,
|
||||
part,
|
||||
order: rule.order,
|
||||
spec: specificity(part),
|
||||
};
|
||||
if (!winner) {
|
||||
winner = contender;
|
||||
continue;
|
||||
}
|
||||
const byImportance =
|
||||
Number(contender.decl.important) - Number(winner.decl.important);
|
||||
const bySpecificity = compareSpecificity(contender.spec, winner.spec);
|
||||
if (byImportance > 0
|
||||
|| (byImportance === 0 && bySpecificity > 0)
|
||||
|| (byImportance === 0 && bySpecificity === 0 && contender.order > winner.order)) {
|
||||
if (
|
||||
byImportance > 0 ||
|
||||
(byImportance === 0 && bySpecificity > 0) ||
|
||||
(byImportance === 0 &&
|
||||
bySpecificity === 0 &&
|
||||
contender.order > winner.order)
|
||||
) {
|
||||
winner = contender;
|
||||
}
|
||||
}
|
||||
@@ -320,10 +373,26 @@ function resolve(candidates, prop, width, label) {
|
||||
function toPx(value, viewportHeight, where) {
|
||||
const trimmed = value.trim();
|
||||
const inner = /^calc\(/.test(trimmed) ? trimmed.slice(5, -1) : trimmed;
|
||||
assert.doesNotMatch(inner, /\bcalc\(/, `nested calc() in ${where}: "${value}"`);
|
||||
assert.doesNotMatch(inner, /\b(min|max|clamp|env|attr|round|mod)\(/, `unmodelled function in ${where}: "${value}"`);
|
||||
assert.doesNotMatch(inner, /[*/]/, `unmodelled operator in ${where}: "${value}"`);
|
||||
assert.doesNotMatch(inner, /\s-\s/, `unmodelled subtraction in ${where}: "${value}"`);
|
||||
assert.doesNotMatch(
|
||||
inner,
|
||||
/\bcalc\(/,
|
||||
`nested calc() in ${where}: "${value}"`,
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
inner,
|
||||
/\b(min|max|clamp|env|attr|round|mod)\(/,
|
||||
`unmodelled function in ${where}: "${value}"`,
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
inner,
|
||||
/[*/]/,
|
||||
`unmodelled operator in ${where}: "${value}"`,
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
inner,
|
||||
/\s-\s/,
|
||||
`unmodelled subtraction in ${where}: "${value}"`,
|
||||
);
|
||||
let total = 0;
|
||||
for (const raw of splitTopLevel(inner, '+')) {
|
||||
const term = raw.trim();
|
||||
@@ -331,40 +400,60 @@ function toPx(value, viewportHeight, where) {
|
||||
if (term === '100%') continue; // the tray's own panel height, added separately
|
||||
if (term.startsWith('var(')) {
|
||||
const name = term.slice(4, term.lastIndexOf(')')).split(',')[0].trim();
|
||||
assert.ok(VETTED_VARS.has(name), `unvetted custom property ${name} in ${where}: "${value}"`);
|
||||
assert.ok(
|
||||
VETTED_VARS.has(name),
|
||||
`unvetted custom property ${name} in ${where}: "${value}"`,
|
||||
);
|
||||
if (name === '--world-timeline-lift') total += liftPx;
|
||||
continue; // proven non-negative; 0 is the conservative floor
|
||||
}
|
||||
assert.match(term, /^-?[\d.]+(px|rem|vh)$/, `unmodelled length term "${term}" in ${where}: "${value}"`);
|
||||
assert.match(
|
||||
term,
|
||||
/^-?[\d.]+(px|rem|vh)$/,
|
||||
`unmodelled length term "${term}" in ${where}: "${value}"`,
|
||||
);
|
||||
const number = Number.parseFloat(term);
|
||||
if (term.endsWith('rem')) total += number * REM_PX;
|
||||
else if (term.endsWith('vh')) total += number * viewportHeight / 100;
|
||||
else if (term.endsWith('vh')) total += (number * viewportHeight) / 100;
|
||||
else total += number;
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
||||
const WIDTHS = [1440, 1024, 980, 900, 830, 800, 760, 721, 720, 700, 640, 600, 480, 375];
|
||||
const WIDTHS = [
|
||||
1440, 1024, 980, 900, 830, 800, 760, 721, 720, 700, 640, 600, 480, 375,
|
||||
];
|
||||
const HEIGHTS = [500, 560, 640, 700, 800, 900, 1000, 1080, 1200, 1440, 1600];
|
||||
|
||||
const CREDIT_SELECTORS = ['#cesium-credits', 'body:not(.ui-clean-view):not(.recording-mode) #cesium-credits'];
|
||||
const MINIMAL_HUD_CREDIT = "body:not(.ui-clean-view):not(.recording-mode):has(#intel-hud[data-variant='minimal'].active) #cesium-credits";
|
||||
const TRAY_ORDINARY = ['#command-dock .dock-popover-content', '#command-dock #location-bar .dock-popover-content'];
|
||||
const CREDIT_SELECTORS = [
|
||||
'#cesium-credits',
|
||||
'body:not(.ui-clean-view):not(.recording-mode) #cesium-credits',
|
||||
];
|
||||
const MINIMAL_HUD_CREDIT =
|
||||
"body:not(.ui-clean-view):not(.recording-mode):has(#intel-hud[data-variant='minimal'].active) #cesium-credits";
|
||||
const TRAY_ORDINARY = [
|
||||
'#command-dock .dock-popover-content',
|
||||
'#command-dock #location-bar .dock-popover-content',
|
||||
];
|
||||
const TRAY_SCENARIOS = [
|
||||
{ name: 'ordinary tray', offset: TRAY_ORDINARY },
|
||||
{
|
||||
name: 'one pinned tray',
|
||||
offset: [...TRAY_ORDINARY,
|
||||
'#command-dock.dock-has-pinned-tray #location-bar:not(.collapsed):not(.dock-pinned) .dock-popover-content'],
|
||||
offset: [
|
||||
...TRAY_ORDINARY,
|
||||
'#command-dock.dock-has-pinned-tray #location-bar:not(.collapsed):not(.dock-pinned) .dock-popover-content',
|
||||
],
|
||||
stackVar: '--dock-pinned-stack-height',
|
||||
},
|
||||
{
|
||||
name: 'two pinned trays (upper)',
|
||||
offset: [...TRAY_ORDINARY,
|
||||
offset: [
|
||||
...TRAY_ORDINARY,
|
||||
// The stock form still governs above 900px; the ID form is what keeps it
|
||||
// ahead of the ordinary narrow rule below it.
|
||||
'#command-dock.dock-has-two-pinned-trays .dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content',
|
||||
'#command-dock.dock-has-two-pinned-trays #location-bar.dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content'],
|
||||
'#command-dock.dock-has-two-pinned-trays #location-bar.dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content',
|
||||
],
|
||||
stackVar: '--dock-lower-pinned-height',
|
||||
},
|
||||
];
|
||||
@@ -377,12 +466,18 @@ function creditTopPx(width, height) {
|
||||
function trayBottomPx(scenario, width, height) {
|
||||
const dock = resolve(['#command-dock'], 'bottom', width, 'command dock');
|
||||
const offset = resolve(scenario.offset, 'bottom', width, scenario.name);
|
||||
const margin = resolve(['#command-dock #location-bar:not(.collapsed) .dock-popover-content'],
|
||||
'margin-bottom', width, 'open tray margin');
|
||||
return toPx(dock.decl.value, height, 'dock bottom')
|
||||
+ COMPACT_DOCK_HEIGHT_PX
|
||||
+ toPx(offset.decl.value, height, `${scenario.name} offset`)
|
||||
+ toPx(margin.decl.value, height, 'tray margin');
|
||||
const margin = resolve(
|
||||
['#command-dock #location-bar:not(.collapsed) .dock-popover-content'],
|
||||
'margin-bottom',
|
||||
width,
|
||||
'open tray margin',
|
||||
);
|
||||
return (
|
||||
toPx(dock.decl.value, height, 'dock bottom') +
|
||||
COMPACT_DOCK_HEIGHT_PX +
|
||||
toPx(offset.decl.value, height, `${scenario.name} offset`) +
|
||||
toPx(margin.decl.value, height, 'tray margin')
|
||||
);
|
||||
}
|
||||
|
||||
// ── Fail-closed guards ──────────────────────────────────────────────────────
|
||||
@@ -390,15 +485,31 @@ function trayBottomPx(scenario, width, height) {
|
||||
test('the specificity calculator itself is pinned', () => {
|
||||
const cases = [
|
||||
['#cesium-credits', [1, 0, 0]],
|
||||
['body:not(.ui-clean-view):not(.recording-mode) #cesium-credits', [1, 2, 1]],
|
||||
[
|
||||
'body:not(.ui-clean-view):not(.recording-mode) #cesium-credits',
|
||||
[1, 2, 1],
|
||||
],
|
||||
['#command-dock #location-bar .dock-popover-content', [2, 1, 0]],
|
||||
['#command-dock.dock-has-pinned-tray #location-bar:not(.collapsed):not(.dock-pinned) .dock-popover-content', [2, 4, 0]],
|
||||
['#command-dock.dock-has-two-pinned-trays #location-bar.dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content', [2, 5, 0]],
|
||||
['#command-dock.dock-has-two-pinned-trays .dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content', [1, 5, 0]],
|
||||
[
|
||||
'#command-dock.dock-has-pinned-tray #location-bar:not(.collapsed):not(.dock-pinned) .dock-popover-content',
|
||||
[2, 4, 0],
|
||||
],
|
||||
[
|
||||
'#command-dock.dock-has-two-pinned-trays #location-bar.dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content',
|
||||
[2, 5, 0],
|
||||
],
|
||||
[
|
||||
'#command-dock.dock-has-two-pinned-trays .dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content',
|
||||
[1, 5, 0],
|
||||
],
|
||||
['#command-dock .dock-popover-content::after', [1, 1, 1]],
|
||||
];
|
||||
for (const [selector, expected] of cases) {
|
||||
assert.deepEqual(specificity(selector), expected, `specificity of "${selector}"`);
|
||||
assert.deepEqual(
|
||||
specificity(selector),
|
||||
expected,
|
||||
`specificity of "${selector}"`,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -407,28 +518,46 @@ test('the model refuses every cascade construct it cannot resolve', () => {
|
||||
for (const { rule, part } of ownBoxEntries()) {
|
||||
const guarded = rule.decls.filter((decl) => GUARDED_PROPS.has(decl.prop));
|
||||
if (!guarded.length) continue;
|
||||
// Expanded Context covers the right edge top to bottom; the credit row
|
||||
// stops short of it instead (the docked-Context test below).
|
||||
if (part === DOCKED_RAIL) continue;
|
||||
if (!RECOGNIZED.has(part)) {
|
||||
complaints.push(`unrecognized selector positions a modelled element: "${part}" (${guarded.map((d) => d.prop).join(', ')})`);
|
||||
complaints.push(
|
||||
`unrecognized selector positions a modelled element: "${part}" (${guarded.map((d) => d.prop).join(', ')})`,
|
||||
);
|
||||
continue;
|
||||
}
|
||||
for (const condition of rule.media) {
|
||||
if (parseMediaCondition(condition) === null) {
|
||||
complaints.push(`unmodelled media condition "${condition}" on "${part}"`);
|
||||
complaints.push(
|
||||
`unmodelled media condition "${condition}" on "${part}"`,
|
||||
);
|
||||
}
|
||||
}
|
||||
if (rule.media.length > 1) {
|
||||
complaints.push(`nested media queries on "${part}": ${rule.media.join(' && ')}`);
|
||||
complaints.push(
|
||||
`nested media queries on "${part}": ${rule.media.join(' && ')}`,
|
||||
);
|
||||
}
|
||||
for (const decl of guarded) {
|
||||
// Measurement is synchronous and restored before returning or painting.
|
||||
// Only these two exact declarations earn the exemption tested below.
|
||||
const railMeasurement = part === '#right-context-rail[data-rail-measuring]'
|
||||
&& ((decl.prop === 'height' && decl.value === 'auto')
|
||||
|| (decl.prop === 'max-height' && decl.value === 'none'));
|
||||
if (decl.important && !railMeasurement) complaints.push(`!important on ${decl.prop} of "${part}"`);
|
||||
if (decl.prop === 'inset' || decl.prop === 'margin' || decl.prop === 'all'
|
||||
|| decl.prop.startsWith('inset-') || decl.prop.startsWith('margin-block')) {
|
||||
complaints.push(`shorthand ${decl.prop} on "${part}" — the model reads longhands only`);
|
||||
const railMeasurement =
|
||||
part === '#right-context-rail[data-rail-measuring]' &&
|
||||
((decl.prop === 'height' && decl.value === 'auto') ||
|
||||
(decl.prop === 'max-height' && decl.value === 'none'));
|
||||
if (decl.important && !railMeasurement)
|
||||
complaints.push(`!important on ${decl.prop} of "${part}"`);
|
||||
if (
|
||||
decl.prop === 'inset' ||
|
||||
decl.prop === 'margin' ||
|
||||
decl.prop === 'all' ||
|
||||
decl.prop.startsWith('inset-') ||
|
||||
decl.prop.startsWith('margin-block')
|
||||
) {
|
||||
complaints.push(
|
||||
`shorthand ${decl.prop} on "${part}" — the model reads longhands only`,
|
||||
);
|
||||
}
|
||||
if (decl.prop === 'height' || decl.prop === 'max-height') {
|
||||
// A capped height can override `bottom` and invalidate the measured
|
||||
@@ -437,68 +566,159 @@ test('the model refuses every cascade construct it cannot resolve', () => {
|
||||
// modelled band by the rail clearance test) and `.layout-focus`
|
||||
// (proven inapplicable at <=720px by the mobile-mode test), plus
|
||||
// synchronous measurement, which is removed before any paint.
|
||||
const railOwn = part === '#right-context-rail' && decl.prop === 'max-height';
|
||||
const railOwn =
|
||||
part === '#right-context-rail' && decl.prop === 'max-height';
|
||||
const railFocus = part === '#right-context-rail.layout-focus';
|
||||
if (!railOwn && !railFocus && !railMeasurement) complaints.push(`${decl.prop}: ${decl.value} on "${part}"`);
|
||||
if (!railOwn && !railFocus && !railMeasurement)
|
||||
complaints.push(`${decl.prop}: ${decl.value} on "${part}"`);
|
||||
}
|
||||
if (decl.prop === 'transform' && /translateY|translate3d|matrix|scale\(/.test(decl.value)) {
|
||||
if (
|
||||
decl.prop === 'transform' &&
|
||||
/translateY|translate3d|matrix|scale\(/.test(decl.value)
|
||||
) {
|
||||
const identity = decl.value === 'translateY(0) scale(1)';
|
||||
const closedTray = part === '#command-dock .dock-popover-content'
|
||||
&& decl.value === 'translateY(0.55rem) scale(0.985)';
|
||||
if (!identity && !closedTray) complaints.push(`vertical transform on "${part}": ${decl.value}`);
|
||||
const closedTray =
|
||||
part === '#command-dock .dock-popover-content' &&
|
||||
decl.value === 'translateY(0.55rem) scale(0.985)';
|
||||
if (!identity && !closedTray)
|
||||
complaints.push(`vertical transform on "${part}": ${decl.value}`);
|
||||
}
|
||||
if (decl.prop === 'translate' || decl.prop === 'scale' || decl.prop === 'zoom') {
|
||||
complaints.push(`${decl.prop} on "${part}" moves the box outside the model`);
|
||||
if (
|
||||
decl.prop === 'translate' ||
|
||||
decl.prop === 'scale' ||
|
||||
decl.prop === 'zoom'
|
||||
) {
|
||||
complaints.push(
|
||||
`${decl.prop} on "${part}" moves the box outside the model`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
assert.deepEqual(complaints, [], `the attribution model cannot resolve:\n ${complaints.join('\n ')}\n`);
|
||||
assert.deepEqual(
|
||||
complaints,
|
||||
[],
|
||||
`the attribution model cannot resolve:\n ${complaints.join('\n ')}\n`,
|
||||
);
|
||||
});
|
||||
|
||||
test('custom properties inside modelled offsets are provably non-negative', () => {
|
||||
// The model evaluates them at 0, which is only a conservative floor if they
|
||||
// can never go negative. Both writers are checked: CSS and the JS.
|
||||
const declared = RULES.flatMap((rule) => rule.decls.filter((decl) => VETTED_VARS.has(decl.prop)));
|
||||
assert.ok(declared.length >= VETTED_VARS.size, 'every vetted custom property needs a CSS default');
|
||||
const declared = RULES.flatMap((rule) =>
|
||||
rule.decls.filter((decl) => VETTED_VARS.has(decl.prop)),
|
||||
);
|
||||
assert.ok(
|
||||
declared.length >= VETTED_VARS.size,
|
||||
'every vetted custom property needs a CSS default',
|
||||
);
|
||||
for (const decl of declared) {
|
||||
assert.doesNotMatch(decl.value, /-\s*\d/, `${decl.prop} has a negative CSS default: ${decl.value}`);
|
||||
const shape = FIXED_LENGTH_VARS.has(decl.prop) ? /^(0|\d+px)$/ : /^(0|0px)$/;
|
||||
assert.match(decl.value, shape, `${decl.prop} default is not a vetted shape: ${decl.value}`);
|
||||
assert.doesNotMatch(
|
||||
decl.value,
|
||||
/-\s*\d/,
|
||||
`${decl.prop} has a negative CSS default: ${decl.value}`,
|
||||
);
|
||||
const shape = FIXED_LENGTH_VARS.has(decl.prop)
|
||||
? /^(0|\d+px)$/
|
||||
: /^(0|0px)$/;
|
||||
assert.match(
|
||||
decl.value,
|
||||
shape,
|
||||
`${decl.prop} default is not a vetted shape: ${decl.value}`,
|
||||
);
|
||||
}
|
||||
const layout = fs.readFileSync(new URL('./ui/panelLayoutController.js', import.meta.url), 'utf8');
|
||||
const layout = fs.readFileSync(
|
||||
new URL('./ui/panelLayoutController.js', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
const start = layout.indexOf('_updateCommandDockTrayStack() {');
|
||||
assert.ok(start > 0, '_updateCommandDockTrayStack is missing');
|
||||
const writer = layout.slice(start, layout.indexOf(' _scheduleAdaptivePanelLayout(', start));
|
||||
const writer = layout.slice(
|
||||
start,
|
||||
layout.indexOf(' _scheduleAdaptivePanelLayout(', start),
|
||||
);
|
||||
// Every value traces back to a rect height, floored at 0 and rounded up.
|
||||
assert.match(writer, /const locationHeight =\s*[\s\S]{0,180}?getBoundingClientRect\(\)\.height\s*\|\| 0;/);
|
||||
assert.match(writer, /const presetsHeight =\s*[\s\S]{0,180}?getBoundingClientRect\(\)\.height\s*\|\| 0;/);
|
||||
assert.match(writer, /const lowerPinnedHeight =\s*[\s\S]{0,220}?getBoundingClientRect\(\)\.height\s*\|\| 0;/);
|
||||
assert.match(writer, /const locationHeightPx = Math\.ceil\(locationHeight\);/);
|
||||
assert.match(
|
||||
writer,
|
||||
/const locationHeight =\s*[\s\S]{0,180}?getBoundingClientRect\(\)\.height\s*\|\| 0;/,
|
||||
);
|
||||
assert.match(
|
||||
writer,
|
||||
/const presetsHeight =\s*[\s\S]{0,180}?getBoundingClientRect\(\)\.height\s*\|\| 0;/,
|
||||
);
|
||||
assert.match(
|
||||
writer,
|
||||
/const lowerPinnedHeight =\s*[\s\S]{0,220}?getBoundingClientRect\(\)\.height\s*\|\| 0;/,
|
||||
);
|
||||
assert.match(
|
||||
writer,
|
||||
/const locationHeightPx = Math\.ceil\(locationHeight\);/,
|
||||
);
|
||||
assert.match(writer, /const presetsHeightPx = Math\.ceil\(presetsHeight\);/);
|
||||
assert.match(writer, /'--dock-location-pinned-height',\s*`\$\{locationHeightPx\}px`/);
|
||||
assert.match(writer, /'--dock-presets-pinned-height',\s*`\$\{presetsHeightPx\}px`/);
|
||||
assert.match(writer, /'--dock-lower-pinned-height',\s*`\$\{Math\.ceil\(lowerPinnedHeight\)\}px`/);
|
||||
assert.match(
|
||||
writer,
|
||||
/'--dock-location-pinned-height',\s*`\$\{locationHeightPx\}px`/,
|
||||
);
|
||||
assert.match(
|
||||
writer,
|
||||
/'--dock-presets-pinned-height',\s*`\$\{presetsHeightPx\}px`/,
|
||||
);
|
||||
assert.match(
|
||||
writer,
|
||||
/'--dock-lower-pinned-height',\s*`\$\{Math\.ceil\(lowerPinnedHeight\)\}px`/,
|
||||
);
|
||||
assert.match(writer, /'--dock-pinned-stack-height', stackHeight/);
|
||||
assert.match(writer, /const stackHeight =\s*pinnedCount > 1[\s\S]{0,160}?`calc\(\$\{locationHeightPx\}px \+ \$\{presetsHeightPx\}px \+ 1\.2rem\)`/);
|
||||
assert.match(
|
||||
writer,
|
||||
/const stackHeight =\s*pinnedCount > 1[\s\S]{0,160}?`calc\(\$\{locationHeightPx\}px \+ \$\{presetsHeightPx\}px \+ 1\.2rem\)`/,
|
||||
);
|
||||
});
|
||||
|
||||
test('the inputs behind the measured constants are unchanged', () => {
|
||||
// 28px credit / 62px dock are measured, not derived. Guard the CSS that
|
||||
// determines them so a change forces a re-measure instead of a silent drift.
|
||||
const creditBase = RULES.find((rule) => rule.parts.length === 1 && rule.parts[0] === '#cesium-credits');
|
||||
const creditBase = RULES.find(
|
||||
(rule) => rule.parts.length === 1 && rule.parts[0] === '#cesium-credits',
|
||||
);
|
||||
assert.ok(creditBase, '#cesium-credits base rule is missing');
|
||||
const declOf = (rule, prop) => rule.decls.find((decl) => decl.prop === prop)?.value;
|
||||
assert.equal(declOf(creditBase, 'font-size'), '10px', 'credit font-size drives its measured 28px height');
|
||||
assert.equal(declOf(creditBase, 'white-space'), 'nowrap', 'a wrapping credit is taller than the measured 28px');
|
||||
for (const prop of ['height', 'min-height', 'max-height', 'line-height', 'padding']) {
|
||||
assert.equal(declOf(creditBase, prop), undefined, `#cesium-credits gained ${prop}; re-measure CREDIT_HEIGHT_PX`);
|
||||
const declOf = (rule, prop) =>
|
||||
rule.decls.find((decl) => decl.prop === prop)?.value;
|
||||
assert.equal(
|
||||
declOf(creditBase, 'font-size'),
|
||||
'10px',
|
||||
'credit font-size drives its measured 28px height',
|
||||
);
|
||||
assert.equal(
|
||||
declOf(creditBase, 'white-space'),
|
||||
'nowrap',
|
||||
'a wrapping credit is taller than the measured 28px',
|
||||
);
|
||||
for (const prop of [
|
||||
'height',
|
||||
'min-height',
|
||||
'max-height',
|
||||
'line-height',
|
||||
'padding',
|
||||
]) {
|
||||
assert.equal(
|
||||
declOf(creditBase, prop),
|
||||
undefined,
|
||||
`#cesium-credits gained ${prop}; re-measure CREDIT_HEIGHT_PX`,
|
||||
);
|
||||
}
|
||||
// Only `min-height` may floor the dock — that direction only ADDS clearance.
|
||||
for (const { rule, part } of ownBoxEntries()) {
|
||||
if (part !== '#command-dock') continue;
|
||||
for (const decl of rule.decls) {
|
||||
assert.notEqual(decl.prop, 'height', 'a fixed dock height invalidates COMPACT_DOCK_HEIGHT_PX');
|
||||
assert.notEqual(decl.prop, 'max-height', 'a capped dock height invalidates COMPACT_DOCK_HEIGHT_PX');
|
||||
assert.notEqual(
|
||||
decl.prop,
|
||||
'height',
|
||||
'a fixed dock height invalidates COMPACT_DOCK_HEIGHT_PX',
|
||||
);
|
||||
assert.notEqual(
|
||||
decl.prop,
|
||||
'max-height',
|
||||
'a capped dock height invalidates COMPACT_DOCK_HEIGHT_PX',
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -509,23 +729,44 @@ test('the full-width rail cannot inherit a height that overrides its floor', ()
|
||||
// over-constrained. It is safe only because the rail's layout pass switches
|
||||
// to a mobile mode at the SAME breakpoint and removes both the class and the
|
||||
// custom property. Pin that, or the exemption above is unearned.
|
||||
const rail = fs.readFileSync(path.join(ROOT, 'src', 'ui', 'rightPanelRail.js'), 'utf8');
|
||||
const rail = fs.readFileSync(
|
||||
path.join(ROOT, 'src', 'ui', 'rightPanelRail.js'),
|
||||
'utf8',
|
||||
);
|
||||
const gate = rail.indexOf("windowRef.matchMedia('(max-width: 720px)')");
|
||||
assert.ok(gate > 0, 'the rail layout pass no longer keys off (max-width: 720px)');
|
||||
const mobileBranch = rail.slice(gate, rail.indexOf("layoutMode = 'mobile'", gate) + 40);
|
||||
assert.ok(
|
||||
gate > 0,
|
||||
'the rail layout pass no longer keys off (max-width: 720px)',
|
||||
);
|
||||
const mobileBranch = rail.slice(
|
||||
gate,
|
||||
rail.indexOf("layoutMode = 'mobile'", gate) + 40,
|
||||
);
|
||||
assert.match(mobileBranch, /stack\.classList\.remove\('layout-focus'\)/);
|
||||
assert.match(mobileBranch, /stack\.style\.removeProperty\('--right-stack-max-height'\)/);
|
||||
assert.match(
|
||||
mobileBranch,
|
||||
/stack\.style\.removeProperty\('--right-stack-max-height'\)/,
|
||||
);
|
||||
});
|
||||
|
||||
test('right rail measurement cannot persist into a painted attribution layout', () => {
|
||||
const rail = fs.readFileSync(path.join(ROOT, 'src', 'ui', 'rightPanelRail.js'), 'utf8');
|
||||
const rail = fs.readFileSync(
|
||||
path.join(ROOT, 'src', 'ui', 'rightPanelRail.js'),
|
||||
'utf8',
|
||||
);
|
||||
const start = rail.indexOf("stack.setAttribute('data-rail-measuring', '')");
|
||||
const end = rail.indexOf("stack.removeAttribute('data-rail-measuring')", start);
|
||||
const end = rail.indexOf(
|
||||
"stack.removeAttribute('data-rail-measuring')",
|
||||
start,
|
||||
);
|
||||
assert.ok(start > rail.indexOf("layoutMode = 'mobile'"));
|
||||
assert.ok(end > start);
|
||||
const measurement = rail.slice(start, end);
|
||||
assert.match(measurement, /try \{[\s\S]*\} finally \{/);
|
||||
assert.doesNotMatch(measurement, /\b(?:await|return|yield)\b|requestAnimationFrame|setTimeout/);
|
||||
assert.doesNotMatch(
|
||||
measurement,
|
||||
/\b(?:await|return|yield)\b|requestAnimationFrame|setTimeout/,
|
||||
);
|
||||
});
|
||||
|
||||
// ── Clearance ───────────────────────────────────────────────────────────────
|
||||
@@ -540,15 +781,22 @@ test('every open dock tray clears the required credit at every modelled viewport
|
||||
for (const scenario of TRAY_SCENARIOS) {
|
||||
for (const width of WIDTHS.filter((w) => w <= 900)) {
|
||||
for (const height of HEIGHTS) {
|
||||
const clearance = trayBottomPx(scenario, width, height) - creditTopPx(width, height);
|
||||
const clearance =
|
||||
trayBottomPx(scenario, width, height) - creditTopPx(width, height);
|
||||
if (clearance < MIN_CLEARANCE_PX) {
|
||||
failures.push(`${scenario.name} @ ${width}x${height} lift ${lift}: ${clearance.toFixed(1)}px`);
|
||||
failures.push(
|
||||
`${scenario.name} @ ${width}x${height} lift ${lift}: ${clearance.toFixed(1)}px`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
assert.deepEqual(failures, [], `a dock tray re-enters the credit band:\n ${failures.join('\n ')}\n`);
|
||||
assert.deepEqual(
|
||||
failures,
|
||||
[],
|
||||
`a dock tray re-enters the credit band:\n ${failures.join('\n ')}\n`,
|
||||
);
|
||||
});
|
||||
|
||||
test('a pinned tray still stacks above its sibling at narrow widths', () => {
|
||||
@@ -575,33 +823,100 @@ test('the full-width context rail clears the required credit at every modelled v
|
||||
if (decl.prop === 'bottom') anchors.push({ rule, decl });
|
||||
}
|
||||
}
|
||||
assert.equal(anchors.length, 1, 'the rail has exactly one bottom anchor to reason about');
|
||||
assert.equal(parseMediaCondition(anchors[0].rule.media[0]), 720, 'the rail only goes full-width below 720px');
|
||||
assert.equal(
|
||||
anchors.length,
|
||||
1,
|
||||
'the rail has exactly one bottom anchor to reason about',
|
||||
);
|
||||
assert.equal(
|
||||
parseMediaCondition(anchors[0].rule.media[0]),
|
||||
720,
|
||||
'the rail only goes full-width below 720px',
|
||||
);
|
||||
|
||||
const failures = [];
|
||||
for (const width of WIDTHS.filter((w) => w <= 720)) {
|
||||
// `bottom` only governs the floor while the box is not height-capped:
|
||||
// top + bottom + a resolved height is over-constrained and drops `bottom`.
|
||||
assert.equal(
|
||||
resolve(['#right-context-rail'], 'max-height', width, 'context rail').decl.value,
|
||||
resolve(['#right-context-rail'], 'max-height', width, 'context rail').decl
|
||||
.value,
|
||||
'none',
|
||||
`at ${width}px the rail is height-capped, so its bottom anchor no longer decides its floor`,
|
||||
);
|
||||
eachLift((lift) => {
|
||||
for (const height of HEIGHTS) {
|
||||
const rail = resolve(['#right-context-rail'], 'bottom', width, 'context rail');
|
||||
const clearance = toPx(rail.decl.value, height, 'rail bottom') - creditTopPx(width, height);
|
||||
if (clearance < MIN_CLEARANCE_PX) failures.push(`${width}x${height} lift ${lift}: ${clearance.toFixed(1)}px`);
|
||||
const rail = resolve(
|
||||
['#right-context-rail'],
|
||||
'bottom',
|
||||
width,
|
||||
'context rail',
|
||||
);
|
||||
const clearance =
|
||||
toPx(rail.decl.value, height, 'rail bottom') -
|
||||
creditTopPx(width, height);
|
||||
if (clearance < MIN_CLEARANCE_PX)
|
||||
failures.push(
|
||||
`${width}x${height} lift ${lift}: ${clearance.toFixed(1)}px`,
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
assert.deepEqual(failures, [], `context rail re-enters the credit band at ${failures.join(', ')}`);
|
||||
assert.deepEqual(
|
||||
failures,
|
||||
[],
|
||||
`context rail re-enters the credit band at ${failures.join(', ')}`,
|
||||
);
|
||||
});
|
||||
|
||||
test('expanded Context and the credit row never overlap', () => {
|
||||
const docked = RULES.filter((rule) => rule.parts.includes(DOCKED_RAIL));
|
||||
assert.equal(
|
||||
docked.length,
|
||||
1,
|
||||
'expanded Context has exactly one rule for its column',
|
||||
);
|
||||
assert.deepEqual(
|
||||
docked[0].media,
|
||||
[],
|
||||
'the expanded column applies at every width',
|
||||
);
|
||||
const decl = (prop) => docked[0].decls.find((d) => d.prop === prop)?.value;
|
||||
assert.equal(decl('right'), '0');
|
||||
assert.equal(decl('width'), 'var(--context-dock-width)');
|
||||
// The credit row starts under 3rem from the left and may run to its
|
||||
// max-width: with 3rem and the column's width taken off, it ends short of
|
||||
// the column.
|
||||
for (const base of [CREDIT_SELECTORS[1], MINIMAL_HUD_CREDIT]) {
|
||||
const selector = base.replace('body:not(', 'body.context-docked:not(');
|
||||
assert.ok(compareSpecificity(specificity(selector), specificity(base)) > 0);
|
||||
for (const width of WIDTHS) {
|
||||
const left = resolve([base], 'left', width, 'credit').decl.value;
|
||||
const rem = /^(\d*\.?\d+)rem$/.exec(left);
|
||||
assert.ok(
|
||||
rem && Number(rem[1]) < 3,
|
||||
`at ${width}px the credit starts at ${left}`,
|
||||
);
|
||||
assert.equal(
|
||||
resolve([base, selector], 'max-width', width, 'docked credit').decl
|
||||
.value,
|
||||
'calc(100vw - 3rem - var(--context-dock-width))',
|
||||
`at ${width}px the credit row can run under expanded Context`,
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
test('the dock anchor changes at 720px — the 2vh cancellation is band-limited', () => {
|
||||
const lift = 'var(--world-timeline-lift, 0px)';
|
||||
assert.equal(resolve(['#command-dock'], 'bottom', 800, 'dock').decl.value, `calc(2vh + ${lift})`);
|
||||
assert.equal(resolve(['#command-dock'], 'bottom', 720, 'dock').decl.value, `calc(8px + ${lift})`);
|
||||
assert.equal(
|
||||
resolve(['#command-dock'], 'bottom', 800, 'dock').decl.value,
|
||||
`calc(2vh + ${lift})`,
|
||||
);
|
||||
assert.equal(
|
||||
resolve(['#command-dock'], 'bottom', 720, 'dock').decl.value,
|
||||
`calc(8px + ${lift})`,
|
||||
);
|
||||
assert.equal(
|
||||
resolve(CREDIT_SELECTORS, 'bottom', 720, 'credit').decl.value,
|
||||
`calc(2vh + 5rem + ${lift})`,
|
||||
@@ -612,10 +927,16 @@ test('the dock anchor changes at 720px — the 2vh cancellation is band-limited'
|
||||
test('the minimal-HUD credit variant tracks the ordinary one', () => {
|
||||
// It is MORE specific, so if the two ever diverge the model reads the wrong
|
||||
// anchor while the browser paints the other.
|
||||
assert.ok(compareSpecificity(specificity(MINIMAL_HUD_CREDIT), specificity(CREDIT_SELECTORS[1])) > 0);
|
||||
assert.ok(
|
||||
compareSpecificity(
|
||||
specificity(MINIMAL_HUD_CREDIT),
|
||||
specificity(CREDIT_SELECTORS[1]),
|
||||
) > 0,
|
||||
);
|
||||
for (const width of WIDTHS) {
|
||||
assert.equal(
|
||||
resolve([MINIMAL_HUD_CREDIT], 'bottom', width, 'minimal-HUD credit').decl.value,
|
||||
resolve([MINIMAL_HUD_CREDIT], 'bottom', width, 'minimal-HUD credit').decl
|
||||
.value,
|
||||
resolve(CREDIT_SELECTORS, 'bottom', width, 'credit').decl.value,
|
||||
`the minimal-HUD credit anchor diverges at ${width}px`,
|
||||
);
|
||||
@@ -623,25 +944,81 @@ test('the minimal-HUD credit variant tracks the ordinary one', () => {
|
||||
});
|
||||
|
||||
test('the tray only spans the credit corner at the widths the model covers', () => {
|
||||
const widened = RULES.filter((rule) => rule.parts.includes('#command-dock .dock-popover-content')
|
||||
&& rule.decls.some((decl) => decl.prop === 'width' && decl.value.includes('--dock-popover-mobile-width')));
|
||||
const widened = RULES.filter(
|
||||
(rule) =>
|
||||
rule.parts.includes('#command-dock .dock-popover-content') &&
|
||||
rule.decls.some(
|
||||
(decl) =>
|
||||
decl.prop === 'width' &&
|
||||
decl.value.includes('--dock-popover-mobile-width'),
|
||||
),
|
||||
);
|
||||
assert.equal(widened.length, 1);
|
||||
assert.equal(parseMediaCondition(widened[0].media[0]), 900);
|
||||
});
|
||||
|
||||
test('the credit line is never suppressed to make room', () => {
|
||||
const creditBlocks = [...css.matchAll(/#cesium-credits[^{]*\{([^}]*)\}/g)].map((m) => m[1]);
|
||||
const creditBlocks = [
|
||||
...css.matchAll(/#cesium-credits[^{]*\{([^}]*)\}/g),
|
||||
].map((m) => m[1]);
|
||||
assert.ok(creditBlocks.length > 0);
|
||||
for (const block of creditBlocks) {
|
||||
assert.doesNotMatch(block, /display\s*:\s*none/, 'the credit must never be display:none');
|
||||
assert.doesNotMatch(block, /visibility\s*:\s*hidden/, 'the credit must never be hidden');
|
||||
assert.doesNotMatch(block, /opacity\s*:\s*0(\D|$)/, 'the credit must never be faded out');
|
||||
assert.doesNotMatch(
|
||||
block,
|
||||
/display\s*:\s*none/,
|
||||
'the credit must never be display:none',
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
block,
|
||||
/visibility\s*:\s*hidden/,
|
||||
'the credit must never be hidden',
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
block,
|
||||
/opacity\s*:\s*0(\D|$)/,
|
||||
'the credit must never be faded out',
|
||||
);
|
||||
}
|
||||
assert.match(css, /body\.ui-clean-view #cesium-credits,\s*\n\s*body\.recording-mode #cesium-credits \{[^}]*bottom: 36px;/);
|
||||
assert.match(
|
||||
css,
|
||||
/body\.ui-clean-view #cesium-credits,\s*\n\s*body\.recording-mode #cesium-credits \{[^}]*bottom: 36px;/,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
test('OSM-derived layers never force the desktop credit row into a stack', () => {
|
||||
assert.doesNotMatch(css, /body:has\([^)]*alpr-cameras[^}]*#cesium-credits/);
|
||||
assert.doesNotMatch(css, /#cesium-credits\s+\.cesium-credit-expand-link\s*\{[^}]*display:\s*block/);
|
||||
assert.doesNotMatch(
|
||||
css,
|
||||
/#cesium-credits\s+\.cesium-credit-expand-link\s*\{[^}]*display:\s*block/,
|
||||
);
|
||||
});
|
||||
|
||||
test('expanded Context keeps the credits beside it right to left and with the minimal HUD', () => {
|
||||
const css = fs
|
||||
.readFileSync(
|
||||
path.join(ROOT, 'src', 'ui', 'styles', 'context-dock.css'),
|
||||
'utf8',
|
||||
)
|
||||
.replace(/\/\*[\s\S]*?\*\//g, '')
|
||||
.replace(/\s+/g, ' ');
|
||||
const rule = (selectorPart, decl) =>
|
||||
new RegExp(
|
||||
`${selectorPart}[^{}]*:is\\(#cesium-credits, #gev-credits\\) \\{[^}]*${decl}`,
|
||||
).test(css);
|
||||
// Right to left the column docks to the left edge, where the credits start.
|
||||
assert.ok(
|
||||
rule(
|
||||
"html\\[dir='rtl'\\] body\\.context-docked",
|
||||
'left: calc\\(36px \\+ var\\(--context-dock-width\\)\\)',
|
||||
),
|
||||
'right to left, the credits start past the expanded column',
|
||||
);
|
||||
// The minimal HUD puts the credits bottom right, where the column docks.
|
||||
assert.ok(
|
||||
rule(
|
||||
"^.*body\\.context-docked:not\\(\\.ui-clean-view\\):not\\(\\.recording-mode\\):has\\( #intel-hud\\[data-variant='minimal'\\]\\.active \\)",
|
||||
'right: calc\\(36px \\+ var\\(--context-dock-width\\)\\)',
|
||||
),
|
||||
'with the minimal HUD, the credits end before the expanded column',
|
||||
);
|
||||
});
|
||||
@@ -641,6 +641,8 @@ export function placeCard(card, leader, anchor) {
|
||||
function createRoot(documentRef, viewer) {
|
||||
const root = documentRef.createElement('div');
|
||||
root.id = 'bhote-koshi-embedded-media-root';
|
||||
// Drawn over the globe for the scene: Stories keeps it while one plays.
|
||||
root.setAttribute('data-globe-overlay', '');
|
||||
root.setAttribute('aria-live', 'polite');
|
||||
(viewer?.container || documentRef.body)?.append(root);
|
||||
return root;
|
||||
@@ -1120,6 +1122,8 @@ export function createBhoteKoshiEmbeddedMedia({
|
||||
footer.append(title, status, link);
|
||||
const body = documentRef.createElement('div');
|
||||
body.className = 'bhote-embedded-callout-body';
|
||||
// The card takes taps (its container and leader do not); Stories keeps that.
|
||||
body.setAttribute('data-overlay-input', '');
|
||||
body.append(player, footer);
|
||||
card.append(leader, body);
|
||||
root.append(card);
|
||||
|
||||
+131
-51
@@ -1088,6 +1088,10 @@ export function createBhoteKoshiEventLayer({
|
||||
let _sceneRevealAnimationFrame = null;
|
||||
let _sceneRevealHoldActive = false;
|
||||
let _sceneRevealProgress = 1;
|
||||
// How far a timeline seek's settled-camera reveal had come (0..1, linear).
|
||||
let _sceneSeekRevealLinear = 1;
|
||||
// The beat whose clip a run going on from a seek in its hold started again.
|
||||
let _sceneMediaRestartBeatId = null;
|
||||
let _cinematicKeyframes = [];
|
||||
let _cinematicActive = false;
|
||||
let _cinematicReplayArmed = false;
|
||||
@@ -1411,6 +1415,16 @@ export function createBhoteKoshiEventLayer({
|
||||
: null;
|
||||
}
|
||||
|
||||
/** Whether a seek's moment in the hold comes after the shot's clip. */
|
||||
function sceneSeekPassedMedia(seek) {
|
||||
if (_sceneControls.evidenceMediaAutoplay !== true) return false;
|
||||
const mediaDurationSec = Math.max(
|
||||
SCENE_MEDIA_MIN_PLAYBACK_SECONDS,
|
||||
Number(_sceneControls.mediaPlaybackHoldSec) || 0,
|
||||
);
|
||||
return Math.max(0, Number(seek?.holdElapsedSec) || 0) >= mediaDurationSec;
|
||||
}
|
||||
|
||||
function sceneTimelineMediaVisible() {
|
||||
const seek = sceneTimelineSeek();
|
||||
if (!seek || _sceneControls.evidenceMediaAutoplay !== true) return true;
|
||||
@@ -1540,6 +1554,19 @@ export function createBhoteKoshiEventLayer({
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether a run going on from a seek in this beat's hold started its clip
|
||||
* again, so the hold has to play out as from its start.
|
||||
*/
|
||||
function sceneShotRestartsMedia(beatId) {
|
||||
return (
|
||||
_enabled &&
|
||||
_sceneBeatId === beatId &&
|
||||
_sceneMediaRestartBeatId === beatId &&
|
||||
sceneEvidenceMediaAutoplays()
|
||||
);
|
||||
}
|
||||
|
||||
function getSceneShotMediaHold(beatId) {
|
||||
if (
|
||||
!_enabled ||
|
||||
@@ -1821,6 +1848,7 @@ export function createBhoteKoshiEventLayer({
|
||||
function applySceneTimelineSeek() {
|
||||
const seek = sceneTimelineSeek();
|
||||
if (!seek) return false;
|
||||
_sceneSeekRevealLinear = 1;
|
||||
stopScenePathReveal();
|
||||
stopSceneEvidenceReveal();
|
||||
stopSceneMediaPlayback();
|
||||
@@ -1845,6 +1873,43 @@ export function createBhoteKoshiEventLayer({
|
||||
return true;
|
||||
}
|
||||
|
||||
// The settled-camera reveal waits out the shot's clip and its exit
|
||||
// (unless the path runs during the clip), then runs for its duration.
|
||||
const mediaDurationSec =
|
||||
_sceneControls.evidenceMediaAutoplay === true
|
||||
? Math.max(
|
||||
SCENE_MEDIA_MIN_PLAYBACK_SECONDS,
|
||||
Number(_sceneControls.mediaPlaybackHoldSec) || 0,
|
||||
)
|
||||
: 0;
|
||||
const exitDurationSec =
|
||||
_sceneControls.evidenceMediaAutoplay === true
|
||||
? Math.max(
|
||||
SCENE_MEDIA_EXIT_SECONDS,
|
||||
Number(_sceneControls.mediaExitDurationSec) || 0,
|
||||
)
|
||||
: 0;
|
||||
const settledDurationSec = Math.max(
|
||||
0.25,
|
||||
Number(
|
||||
sceneUsesSourcePath()
|
||||
? _sceneControls.evidencePathDurationSec
|
||||
: sceneEvidenceSequenceAnimates()
|
||||
? _sceneControls.evidenceSequenceDurationSec
|
||||
: _sceneControls.evidenceRevealDurationSec,
|
||||
) || 0.9,
|
||||
);
|
||||
const settledStartSec = Math.max(
|
||||
0,
|
||||
Number(_sceneControls.evidencePathStartDelaySec) || 0,
|
||||
_sceneControls.evidencePathDuringMedia === true
|
||||
? 0
|
||||
: mediaDurationSec + exitDurationSec,
|
||||
);
|
||||
const settledLinear = clampUnit(
|
||||
(holdElapsedSec - settledStartSec) / settledDurationSec,
|
||||
);
|
||||
|
||||
if (scenePathMovesDuringCamera()) {
|
||||
const authoredDurationSec = Number(
|
||||
_sceneControls.evidencePathTravelDurationSec,
|
||||
@@ -1870,41 +1935,25 @@ export function createBhoteKoshiEventLayer({
|
||||
Number(_sceneControls.evidenceRevealDurationSec) || 0.9,
|
||||
),
|
||||
);
|
||||
// In the hold, an animated evidence sequence runs on its own clock
|
||||
// after the camera's path; it stands where that clock has it.
|
||||
const sequenceWindow =
|
||||
cameraProgress >= 1 && sceneEvidenceSequenceAnimates()
|
||||
? evidenceSequenceWindow(_sceneBeatId, _evidenceTimeline)
|
||||
: null;
|
||||
if (sequenceWindow) {
|
||||
_sceneSeekRevealLinear = settledLinear;
|
||||
_sceneRevealProgress = smoothstep(0, 1, settledLinear);
|
||||
_progress =
|
||||
sequenceWindow.startProgress +
|
||||
(sequenceWindow.targetProgress - sequenceWindow.startProgress) *
|
||||
_sceneRevealProgress;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
const mediaDurationSec =
|
||||
_sceneControls.evidenceMediaAutoplay === true
|
||||
? Math.max(
|
||||
SCENE_MEDIA_MIN_PLAYBACK_SECONDS,
|
||||
Number(_sceneControls.mediaPlaybackHoldSec) || 0,
|
||||
)
|
||||
: 0;
|
||||
const exitDurationSec =
|
||||
_sceneControls.evidenceMediaAutoplay === true
|
||||
? Math.max(
|
||||
SCENE_MEDIA_EXIT_SECONDS,
|
||||
Number(_sceneControls.mediaExitDurationSec) || 0,
|
||||
)
|
||||
: 0;
|
||||
const pathDurationSec = Math.max(
|
||||
0.25,
|
||||
Number(
|
||||
sceneUsesSourcePath()
|
||||
? _sceneControls.evidencePathDurationSec
|
||||
: sceneEvidenceSequenceAnimates()
|
||||
? _sceneControls.evidenceSequenceDurationSec
|
||||
: _sceneControls.evidenceRevealDurationSec,
|
||||
) || 0.9,
|
||||
);
|
||||
const pathStartSec = Math.max(
|
||||
0,
|
||||
Number(_sceneControls.evidencePathStartDelaySec) || 0,
|
||||
_sceneControls.evidencePathDuringMedia === true
|
||||
? 0
|
||||
: mediaDurationSec + exitDurationSec,
|
||||
);
|
||||
const linear = clampUnit((holdElapsedSec - pathStartSec) / pathDurationSec);
|
||||
const linear = settledLinear;
|
||||
_sceneSeekRevealLinear = linear;
|
||||
_sceneRevealProgress = smoothstep(0, 1, linear);
|
||||
_scenePathRevealProgress =
|
||||
startProgress + (targetProgress - startProgress) * _sceneRevealProgress;
|
||||
@@ -2025,7 +2074,11 @@ export function createBhoteKoshiEventLayer({
|
||||
_scenePathAnimationFrame = requestAnimationFrame(step);
|
||||
}
|
||||
|
||||
function startSceneEvidenceReveal() {
|
||||
/**
|
||||
* Start the settled-camera reveal, from `fromLinear` of its way when a run
|
||||
* goes on from a timeline seek that had already brought it that far.
|
||||
*/
|
||||
function startSceneEvidenceReveal(fromLinear = 0) {
|
||||
stopSceneEvidenceReveal();
|
||||
const sequenceAnimates = sceneEvidenceSequenceAnimates();
|
||||
if (
|
||||
@@ -2069,7 +2122,25 @@ export function createBhoteKoshiEventLayer({
|
||||
);
|
||||
if (sequenceWindow) updateProgress(sequenceWindow.startProgress);
|
||||
let lastTickAt = performance.now();
|
||||
let activeElapsedMs = 0;
|
||||
let activeElapsedMs = clampUnit(fromLinear) * durationMs;
|
||||
const applyReveal = (linear) => {
|
||||
_sceneRevealProgress = smoothstep(0, 1, linear);
|
||||
if (sequenceWindow) {
|
||||
updateProgress(
|
||||
sequenceWindow.startProgress +
|
||||
(sequenceWindow.targetProgress - sequenceWindow.startProgress) *
|
||||
_sceneRevealProgress,
|
||||
);
|
||||
} else if (!scenePathMovesDuringCamera()) {
|
||||
const floodProgress = sourceWindow
|
||||
? sourceWindow.start +
|
||||
(sourceWindow.target - sourceWindow.start) * _sceneRevealProgress
|
||||
: targetFloodProgress * _sceneRevealProgress;
|
||||
updateFloodTrace(floodProgress);
|
||||
updateSurgeFront(floodProgress);
|
||||
}
|
||||
};
|
||||
if (activeElapsedMs > 0) applyReveal(activeElapsedMs / durationMs);
|
||||
renderHost.hold(SCENE_REVEAL_RENDER_HOLD);
|
||||
_sceneRevealHoldActive = true;
|
||||
const step = (now) => {
|
||||
@@ -2086,21 +2157,7 @@ export function createBhoteKoshiEventLayer({
|
||||
activeElapsedMs += tickAt - lastTickAt;
|
||||
lastTickAt = tickAt;
|
||||
const linear = clampUnit(activeElapsedMs / durationMs);
|
||||
_sceneRevealProgress = smoothstep(0, 1, linear);
|
||||
if (sequenceWindow) {
|
||||
updateProgress(
|
||||
sequenceWindow.startProgress +
|
||||
(sequenceWindow.targetProgress - sequenceWindow.startProgress) *
|
||||
_sceneRevealProgress,
|
||||
);
|
||||
} else if (!scenePathMovesDuringCamera()) {
|
||||
const floodProgress = sourceWindow
|
||||
? sourceWindow.start +
|
||||
(sourceWindow.target - sourceWindow.start) * _sceneRevealProgress
|
||||
: targetFloodProgress * _sceneRevealProgress;
|
||||
updateFloodTrace(floodProgress);
|
||||
updateSurgeFront(floodProgress);
|
||||
}
|
||||
applyReveal(linear);
|
||||
renderHost.request('bhote-koshi-scene-beat-reveal');
|
||||
if (linear < 1) {
|
||||
_sceneRevealAnimationFrame = requestAnimationFrame(step);
|
||||
@@ -3786,6 +3843,7 @@ export function createBhoteKoshiEventLayer({
|
||||
_sceneControls.cameraTravel?.completed === true;
|
||||
const previousTravelCancelled =
|
||||
_sceneControls.cameraTravel?.cancelled === true;
|
||||
const previousSeek = sceneTimelineSeek();
|
||||
if (params.presentation === BHOTE_KOSHI_SCENE_PRESENTATION) {
|
||||
_presentation = BHOTE_KOSHI_SCENE_PRESENTATION;
|
||||
_sceneSurface =
|
||||
@@ -3840,6 +3898,27 @@ export function createBhoteKoshiEventLayer({
|
||||
stopSceneMediaPlayback();
|
||||
_sceneMediaPlaybackCompletedBeatId = null;
|
||||
}
|
||||
// A run going on from a seek inside the settled hold plays on from that
|
||||
// moment: the reveal continues from where the seek put it, and the clip
|
||||
// starts again unless the seek was already past it.
|
||||
const resumesSeek =
|
||||
previousSeek != null &&
|
||||
!sceneTimelineSeek() &&
|
||||
!beatChanged &&
|
||||
cameraIsSettled &&
|
||||
cameraWasSettled &&
|
||||
previouslyDeferred &&
|
||||
nowDeferred;
|
||||
if (resumesSeek && sceneSeekPassedMedia(previousSeek))
|
||||
_sceneMediaPlaybackCompletedBeatId = _sceneBeatId;
|
||||
if (
|
||||
resumesSeek &&
|
||||
sceneEvidenceMediaAutoplays() &&
|
||||
!sceneSeekPassedMedia(previousSeek)
|
||||
)
|
||||
_sceneMediaRestartBeatId = _sceneBeatId;
|
||||
else if (beatChanged || sceneTimelineSeek())
|
||||
_sceneMediaRestartBeatId = null;
|
||||
if (!nowDeferred) {
|
||||
stopSceneEvidenceReveal();
|
||||
_sceneRevealProgress = 1;
|
||||
@@ -3906,9 +3985,9 @@ export function createBhoteKoshiEventLayer({
|
||||
!timelineSeekActive &&
|
||||
cameraIsSettled &&
|
||||
(nowDeferred || sceneEvidenceSequenceAnimates()) &&
|
||||
(beatChanged || !previouslyDeferred || !cameraWasSettled)
|
||||
(beatChanged || !previouslyDeferred || !cameraWasSettled || resumesSeek)
|
||||
) {
|
||||
startSceneEvidenceReveal();
|
||||
startSceneEvidenceReveal(resumesSeek ? _sceneSeekRevealLinear : 0);
|
||||
}
|
||||
if (!sceneDirected && params.cinematic === true)
|
||||
startCinematic({ play: params.autoPlay !== false });
|
||||
@@ -3954,6 +4033,7 @@ export function createBhoteKoshiEventLayer({
|
||||
setParams,
|
||||
getParams,
|
||||
getSceneShotMediaHold,
|
||||
sceneShotRestartsMedia,
|
||||
setSceneMediaPlayback,
|
||||
getStats() {
|
||||
return {
|
||||
|
||||
@@ -34,7 +34,7 @@ import {
|
||||
usesProviderEmbeddedEvidence,
|
||||
visibleSegmentCount,
|
||||
} from './bhoteKoshiEvent.js';
|
||||
import { SCENE_RECIPES } from '../scenes/recipes.js';
|
||||
import { SCENE_RECIPES, getSceneAppendRecipeById } from '../scenes/recipes.js';
|
||||
import { LayerLifecycle } from './lifecycle.js';
|
||||
import { createBhoteKoshiEmbeddedMedia } from './bhoteKoshiEmbeddedMedia.js';
|
||||
import { SceneDirector } from '../scenes/director.js';
|
||||
@@ -415,6 +415,180 @@ test('trimmed scene media holds through provider startup, playback and fade, the
|
||||
}
|
||||
});
|
||||
|
||||
test('scene media plays again when a run goes on from a seek inside its hold, unless the seek was past the clip', async () => {
|
||||
const previous = { document: globalThis.document, window: globalThis.window,
|
||||
requestAnimationFrame: globalThis.requestAnimationFrame,
|
||||
cancelAnimationFrame: globalThis.cancelAnimationFrame };
|
||||
installEventDom();
|
||||
globalThis.window = { setTimeout: () => 1, clearTimeout() {} };
|
||||
// The reveal's frames are not driven here; only that it starts.
|
||||
let frames = 0;
|
||||
globalThis.requestAnimationFrame = () => ++frames;
|
||||
globalThis.cancelAnimationFrame = () => {};
|
||||
const event = JSON.parse(await readFile(eventUrl, 'utf8'));
|
||||
let plays = 0;
|
||||
const layer = createBhoteKoshiEventLayer({
|
||||
eventLoader: async () => event,
|
||||
imagerySpecFactory: async (url) => ({ url }),
|
||||
terrainSampler: async (_viewer, observations) => observations.map(() => ({ height: 800 })),
|
||||
mediaLoader: async () => { throw Object.assign(new Error('No bundled clip'), { name: 'AbortError' }); },
|
||||
overlayHost: { setEntries() {}, setVisible() {}, clearSource() {} },
|
||||
renderHost: { request() {}, hold() {}, release() {} },
|
||||
embeddedMediaFactory: () => ({ warm: () => true, show: () => true, play() { plays++; }, pause() {},
|
||||
getPlaybackState: () => ({ phase: 'playing' }), hide() {}, destroy() {} }),
|
||||
});
|
||||
const controls = { evidenceMediaAutoplay: true, mediaPlaybackHoldSec: 4, cameraSettled: true,
|
||||
deferEvidenceUntilCameraSettled: true };
|
||||
const params = (sceneControls) => ({ presentation: 'scene-beat', sceneSurface: 'evidence-beat',
|
||||
beatId: 'mailung-bazzar', sceneContext: { sceneId: 'scene', shotId: 'shot', holdSec: 7.65 }, sceneControls });
|
||||
const seek = (holdElapsedSec) => ({ ...controls,
|
||||
timelineSeek: { cameraProgress: 1, holdElapsedSec, holdDurationSec: 7.65, flightDurationSec: 2 } });
|
||||
try {
|
||||
const viewer = eventViewer();
|
||||
await layer.init(viewer);
|
||||
layer.setSceneMediaPlayback({ sceneId: 'scene', shotId: 'shot', token: { cancelled: false } });
|
||||
// A seek 1 s into the hold shows that moment and plays nothing.
|
||||
layer.setParams(params(seek(1)), { origin: 'scene' });
|
||||
await layer.enable(viewer, { origin: 'scene' });
|
||||
assert.equal(plays, 0);
|
||||
assert.equal(layer.getSceneShotMediaHold('mailung-bazzar'), null);
|
||||
// The run goes on from there: the clip starts again and holds the shot.
|
||||
const framesBefore = frames;
|
||||
layer.setParams(params(controls), { origin: 'scene' });
|
||||
assert.ok(frames > framesBefore, 'the reveal runs again');
|
||||
assert.ok(plays > 0, 'the clip plays');
|
||||
assert.equal(layer.getSceneShotMediaHold('mailung-bazzar').pending, true);
|
||||
// A seek after the clip goes on without it.
|
||||
layer.setParams(params(seek(6)), { origin: 'scene' });
|
||||
const before = plays;
|
||||
layer.setParams(params(controls), { origin: 'scene' });
|
||||
assert.equal(plays, before, 'the clip already played');
|
||||
assert.equal(layer.getSceneShotMediaHold('mailung-bazzar').pending, false);
|
||||
} finally { await layer.destroy(); Object.assign(globalThis, previous); }
|
||||
});
|
||||
|
||||
test('a run going on from a seek in Timure’s hold resumes its evidence sequence from that point', async () => {
|
||||
const keys = ['document', 'window', 'performance', 'requestAnimationFrame', 'cancelAnimationFrame'];
|
||||
const previous = Object.fromEntries(keys.map((key) => [key, globalThis[key]]));
|
||||
installEventDom();
|
||||
let now = 1000;
|
||||
let nextFrame = 0;
|
||||
const frames = new Map();
|
||||
globalThis.window = { setTimeout: () => 1, clearTimeout() {} };
|
||||
globalThis.performance = { now: () => now };
|
||||
globalThis.requestAnimationFrame = (callback) => { frames.set(++nextFrame, callback); return nextFrame; };
|
||||
globalThis.cancelAnimationFrame = (id) => frames.delete(id);
|
||||
const frame = (ms) => {
|
||||
now += ms;
|
||||
const callback = frames.get(nextFrame);
|
||||
frames.delete(nextFrame);
|
||||
callback?.(now);
|
||||
};
|
||||
const event = JSON.parse(await readFile(eventUrl, 'utf8'));
|
||||
const layer = createBhoteKoshiEventLayer({
|
||||
eventLoader: async () => event,
|
||||
imagerySpecFactory: async (url) => ({ url }),
|
||||
terrainSampler: async () => null,
|
||||
mediaLoader: async () => { throw Object.assign(new Error('fixture'), { name: 'AbortError' }); },
|
||||
overlayHost: { setEntries() {}, setVisible() {}, clearSource() {} },
|
||||
renderHost: { request() {}, hold() {}, release() {} },
|
||||
embeddedMediaFactory: () => ({ warm: () => true, show: () => true, play() {}, pause() {},
|
||||
getPlaybackState: () => ({ phase: 'completed' }), hide() {}, destroy() {} }),
|
||||
});
|
||||
const recipe = getSceneAppendRecipeById('bhote-koshi-nepal-evidence-pack');
|
||||
const controls = { ...recipe.runtimeControlsByBeat['timure-cluster'], cameraSettled: true };
|
||||
assert.equal(controls.evidenceSequence, true);
|
||||
assert.equal(controls.evidencePathDuringCamera, true);
|
||||
const params = (sceneControls) => ({ presentation: 'scene-beat', sceneSurface: 'evidence-beat',
|
||||
beatId: 'timure-cluster', sceneControls });
|
||||
// The sequence waits out the 6 s clip and its 0.65 s exit, then runs 12 s:
|
||||
// 8 s into the hold it is 1.35 s along.
|
||||
const seek = { ...controls,
|
||||
timelineSeek: { cameraProgress: 1, holdElapsedSec: 8, holdDurationSec: 12, flightDurationSec: 2 } };
|
||||
const at = (holdElapsedSec) => {
|
||||
layer.setParams(params({ ...seek, timelineSeek: { ...seek.timelineSeek, holdElapsedSec } }),
|
||||
{ origin: 'scene' });
|
||||
return layer.getPlaybackState().progress;
|
||||
};
|
||||
try {
|
||||
const viewer = eventViewer();
|
||||
await layer.init(viewer);
|
||||
layer.setParams(params(seek), { origin: 'scene' });
|
||||
await layer.enable(viewer, { origin: 'scene' });
|
||||
// Where the sequence starts and ends, and where the seek puts it.
|
||||
const start = at(0);
|
||||
const end = at(30);
|
||||
const atSeek = at(8);
|
||||
assert.ok(start < atSeek && atSeek < end, `the seek shows the sequence partway (${start} < ${atSeek} < ${end})`);
|
||||
// The run goes on: the sequence carries on from that point, not 0 or its end.
|
||||
layer.setParams(params(controls), { origin: 'scene' });
|
||||
assert.ok(Math.abs(layer.getPlaybackState().progress - atSeek) < 1e-9, 'it starts where the seek stood');
|
||||
frame(1000);
|
||||
const later = layer.getPlaybackState().progress;
|
||||
assert.ok(atSeek < later && later < end, `and moves on from there (${atSeek} < ${later} < ${end})`);
|
||||
} finally { await layer.destroy(); Object.assign(globalThis, previous); }
|
||||
});
|
||||
|
||||
test('a run going on from a seek in Gyirong’s hold plays its restarted clip out before the next shot', async () => {
|
||||
const previous = { document: globalThis.document, window: globalThis.window,
|
||||
requestAnimationFrame: globalThis.requestAnimationFrame, cancelAnimationFrame: globalThis.cancelAnimationFrame };
|
||||
installEventDom();
|
||||
globalThis.window = { setTimeout: () => 1, clearTimeout() {} };
|
||||
globalThis.requestAnimationFrame = () => 1;
|
||||
globalThis.cancelAnimationFrame = () => {};
|
||||
const event = JSON.parse(await readFile(eventUrl, 'utf8'));
|
||||
let plays = 0;
|
||||
const layer = createBhoteKoshiEventLayer({
|
||||
eventLoader: async () => event,
|
||||
imagerySpecFactory: async (url) => ({ url }),
|
||||
terrainSampler: async (_viewer, observations) => observations.map(() => ({ height: 800 })),
|
||||
mediaLoader: async () => { throw Object.assign(new Error('No bundled clip'), { name: 'AbortError' }); },
|
||||
overlayHost: { setEntries() {}, setVisible() {}, clearSource() {} },
|
||||
renderHost: { request() {}, hold() {}, release() {} },
|
||||
embeddedMediaFactory: () => ({ warm: () => true, show: () => true, play() { plays++; }, pause() {},
|
||||
getPlaybackState: () => ({ phase: 'playing' }), hide() {}, destroy() {} }),
|
||||
});
|
||||
const recipe = getSceneAppendRecipeById('bhote-koshi-nepal-evidence-pack');
|
||||
const controls = { ...recipe.runtimeControlsByBeat['gyirong-border-gate'], cameraSettled: true };
|
||||
const params = (sceneControls) => ({ presentation: 'scene-beat', sceneSurface: 'evidence-beat',
|
||||
beatId: 'gyirong-border-gate', sceneContext: { sceneId: 'scene', shotId: 'shot', holdSec: 9.15 }, sceneControls });
|
||||
const token = { cancelled: false, signal: new AbortController().signal };
|
||||
const hold = async (resume) => {
|
||||
const waits = [];
|
||||
await SceneDirector.prototype._holdShot.call({
|
||||
_layerStatesForShot: () => ({ [layer.id]: { enabled: true, params: params(controls) } }),
|
||||
dataManager: { layers: new Map([[layer.id, { module: layer }]]) },
|
||||
_effectiveShotHoldSec: () => 9.15,
|
||||
_sleep: async (ms) => waits.push(ms),
|
||||
stopScene: () => assert.fail('no timeout'),
|
||||
}, { id: 'scene' }, { id: 'shot' }, token, resume);
|
||||
return waits;
|
||||
};
|
||||
try {
|
||||
const viewer = eventViewer();
|
||||
await layer.init(viewer);
|
||||
layer.setSceneMediaPlayback({ sceneId: 'scene', shotId: 'shot', token });
|
||||
// 5 s into the 9.15 s hold, inside the 6 s clip, which has no media gate.
|
||||
const resume = { holdElapsedSec: 5, holdDurationSec: 9.15 };
|
||||
layer.setParams(params({ ...controls, timelineSeek: { cameraProgress: 1, ...resume, flightDurationSec: 2 } }),
|
||||
{ origin: 'scene' });
|
||||
await layer.enable(viewer, { origin: 'scene' });
|
||||
assert.equal(layer.getSceneShotMediaHold('gyirong-border-gate'), null, 'the clip is not trimmed');
|
||||
layer.setParams(params(controls), { origin: 'scene' });
|
||||
assert.ok(plays > 0, 'the clip starts again');
|
||||
assert.equal(layer.sceneShotRestartsMedia('gyirong-border-gate'), true);
|
||||
assert.deepEqual(await hold(resume), [9150], 'the hold plays out as from its start, not 4.15 s');
|
||||
// A seek after the clip: only the rest of the hold.
|
||||
const late = { holdElapsedSec: 8, holdDurationSec: 9.15 };
|
||||
layer.setParams(params({ ...controls, timelineSeek: { cameraProgress: 1, ...late, flightDurationSec: 2 } }),
|
||||
{ origin: 'scene' });
|
||||
layer.setParams(params(controls), { origin: 'scene' });
|
||||
assert.equal(layer.sceneShotRestartsMedia('gyirong-border-gate'), false);
|
||||
const [rest] = await hold(late);
|
||||
assert.ok(Math.abs(rest - 1150) < 1e-6, String(rest));
|
||||
} finally { await layer.destroy(); Object.assign(globalThis, previous); }
|
||||
});
|
||||
|
||||
test('Pinokio source-card fallback selects authored Director dwell, not an impossible player hold', async () => {
|
||||
const previous = { document: globalThis.document, window: globalThis.window };
|
||||
installEventDom();
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,506 @@
|
||||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import {
|
||||
aircraftInsights,
|
||||
describeEntity,
|
||||
findRecord,
|
||||
formatFact,
|
||||
layerBreakdown,
|
||||
nearbyEntities,
|
||||
recordTitle,
|
||||
recordWarnings,
|
||||
searchEntities,
|
||||
viewSummary,
|
||||
} from './entityContext.js';
|
||||
|
||||
/** A data manager over fixed layer records. */
|
||||
function manager(layers) {
|
||||
const map = new Map(
|
||||
Object.entries(layers).map(([id, { name, records }]) => [
|
||||
id,
|
||||
{ id, name, enabled: true, module: { getAnalystRecords: () => records } },
|
||||
]),
|
||||
);
|
||||
return {
|
||||
layers: map,
|
||||
isEnabled: (id) => map.get(id)?.enabled === true,
|
||||
getAll: () => [...map.values()],
|
||||
};
|
||||
}
|
||||
|
||||
const flights = Array.from({ length: 2500 }, (_, i) => ({
|
||||
id: `FLT${i}`,
|
||||
icao24: `a${String(i).padStart(5, '0')}`,
|
||||
callsign: `FLT${i}`,
|
||||
lat: 34 + i * 0.001,
|
||||
lon: -118,
|
||||
altitudeM: 10000,
|
||||
}));
|
||||
const dams = [
|
||||
{
|
||||
id: 'Grand Coulee Dam',
|
||||
name: 'Grand Coulee Dam',
|
||||
lat: 47.957,
|
||||
lon: -118.981,
|
||||
operator: 'Bureau of Reclamation',
|
||||
},
|
||||
{
|
||||
id: '123456',
|
||||
name: null,
|
||||
lat: 47.9,
|
||||
lon: -118.9,
|
||||
operator: 'Some Utility',
|
||||
},
|
||||
];
|
||||
const dm = manager({
|
||||
flights: { name: 'Live Flights', records: flights },
|
||||
'local-dams': { name: 'Dams', records: dams },
|
||||
});
|
||||
|
||||
test('a click identity finds its record by key, past the first 2000 records', () => {
|
||||
const record = findRecord(dm, {
|
||||
layerId: 'flights',
|
||||
id: 'a02400',
|
||||
lat: 0,
|
||||
lon: 0,
|
||||
});
|
||||
assert.equal(record?.callsign, 'FLT2400');
|
||||
});
|
||||
|
||||
test('a transit click finds its vehicle by the layer key and reads its state', () => {
|
||||
const buses = manager({
|
||||
transit: {
|
||||
name: 'Transit',
|
||||
records: [
|
||||
{
|
||||
id: 'M634',
|
||||
key: 'capmetro-austin:M634',
|
||||
route: '801',
|
||||
operator: 'CapMetro',
|
||||
status: 'IN_TRANSIT_TO',
|
||||
lat: 30.2,
|
||||
lon: -97.7,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
const card = describeEntity(buses, {
|
||||
layerId: 'transit',
|
||||
id: 'capmetro-austin:M634',
|
||||
lat: 30.21,
|
||||
lon: -97.71,
|
||||
});
|
||||
assert.equal(card?.title, 'M634');
|
||||
const facts = Object.fromEntries(
|
||||
card.facts.map((fact) => [fact.label, fact.value]),
|
||||
);
|
||||
assert.equal(facts.Operator, 'CapMetro');
|
||||
assert.equal(facts.Status, 'Heading to next stop');
|
||||
assert.equal(facts.Key, undefined, 'the layer key is not shown');
|
||||
});
|
||||
|
||||
test('transit vehicles break down by motion, mode and reported state', () => {
|
||||
const at = { lat: 30.2, lon: -97.7 };
|
||||
const buses = manager({
|
||||
transit: {
|
||||
name: 'Transit',
|
||||
records: [
|
||||
{
|
||||
id: '1',
|
||||
mode: 'bus',
|
||||
motion: 'moving',
|
||||
status: 'IN_TRANSIT_TO',
|
||||
...at,
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
mode: 'bus',
|
||||
motion: 'stopped',
|
||||
status: 'STOPPED_AT',
|
||||
...at,
|
||||
},
|
||||
{ id: '3', mode: 'rail', motion: 'moving', occupancy: 'FULL', ...at },
|
||||
],
|
||||
},
|
||||
});
|
||||
const breakdown = layerBreakdown(buses, 'transit');
|
||||
assert.equal(breakdown.total, 3);
|
||||
const split = (title) =>
|
||||
Object.fromEntries(
|
||||
breakdown.splits
|
||||
.find((item) => item.title === title)
|
||||
.parts.map((part) => [part.label, part.count]),
|
||||
);
|
||||
assert.deepEqual(split('Motion'), { Moving: 2, Stopped: 1 });
|
||||
assert.deepEqual(split('Mode'), { Bus: 2, Rail: 1 });
|
||||
assert.deepEqual(split('Last reported'), {
|
||||
'Heading to next stop': 1,
|
||||
'Stopped at a stop': 1,
|
||||
});
|
||||
assert.deepEqual(split('Crowding'), { Full: 1 });
|
||||
});
|
||||
|
||||
test('a moving item never borrows a nearby craft when its key is unknown', () => {
|
||||
const record = findRecord(dm, {
|
||||
layerId: 'flights',
|
||||
id: 'zzzzzz',
|
||||
label: 'NOPE',
|
||||
lat: 34.0004,
|
||||
lon: -118.05,
|
||||
});
|
||||
assert.equal(record, null);
|
||||
});
|
||||
|
||||
test('an unnamed site goes by its operator, not its database number', () => {
|
||||
assert.equal(recordTitle(dams[1]), 'Some Utility');
|
||||
});
|
||||
|
||||
test('a card lists facts with units and keeps the title out of them', () => {
|
||||
const card = describeEntity(dm, { layerId: 'flights', id: 'a00001' });
|
||||
assert.equal(card.title, 'FLT1');
|
||||
assert.equal(card.kind, 'aircraft');
|
||||
assert.ok(
|
||||
card.facts.some(
|
||||
(fact) => fact.label === 'Altitude' && fact.value === '32,808 ft',
|
||||
),
|
||||
);
|
||||
assert.ok(!card.facts.some((fact) => fact.value === 'FLT1'));
|
||||
});
|
||||
|
||||
test('nearby lists the closest of the same kind and one of each other layer', () => {
|
||||
const card = describeEntity(dm, {
|
||||
layerId: 'local-dams',
|
||||
id: 'Grand Coulee Dam',
|
||||
});
|
||||
const { same, other } = nearbyEntities(dm, card, { radiusKm: 2000 });
|
||||
assert.equal(same[0].title, 'Some Utility');
|
||||
assert.equal(other.length, 1);
|
||||
assert.equal(other[0].layerId, 'flights');
|
||||
});
|
||||
|
||||
test('search ranks an exact name first and needs two characters', () => {
|
||||
assert.deepEqual(searchEntities(dm, 'f'), []);
|
||||
const [first] = searchEntities(dm, 'FLT12');
|
||||
assert.equal(first.title, 'FLT12');
|
||||
assert.equal(searchEntities(dm, 'coulee')[0]?.title, 'Grand Coulee Dam');
|
||||
});
|
||||
|
||||
test('fact formatting follows the field suffix', () => {
|
||||
assert.equal(formatFact('speedMps', 100).value, '194 kt');
|
||||
// Orbital speeds read in km/s, road and rail in km/h.
|
||||
assert.equal(formatFact('speedMps', 7670).value, '7.67 km/s');
|
||||
assert.equal(
|
||||
formatFact('speedMps', 10, { kind: 'vehicle' }).value,
|
||||
'36 km/h',
|
||||
);
|
||||
// Units follow the field's suffix; feed codes and bare words read as words.
|
||||
assert.equal(formatFact('containedPct', 96).value, '96%');
|
||||
assert.equal(formatFact('windKt', 30).value, '30 kt');
|
||||
assert.equal(formatFact('pressureHpa', 1009).value, '1,009 hPa');
|
||||
assert.equal(formatFact('classification', 'TD').value, 'Tropical depression');
|
||||
assert.equal(formatFact('telecom', 'data_center').value, 'Data center');
|
||||
assert.equal(formatFact('icao24', 'abcdef').value, 'abcdef');
|
||||
assert.equal(formatFact('shipType', 70).value, 'Cargo');
|
||||
assert.equal(formatFact('shipType', 'Tanker').value, 'Tanker');
|
||||
assert.equal(
|
||||
formatFact('discoveredTime', Date.UTC(2026, 5, 29)).value,
|
||||
'29 Jun 2026',
|
||||
);
|
||||
assert.equal(
|
||||
formatFact('updatedTime', 1_700_000_000_000, { nowMs: 1_700_000_060_000 })
|
||||
.age,
|
||||
60_000,
|
||||
);
|
||||
assert.equal(formatFact('altitudeM', 420000).value, '420 km');
|
||||
assert.equal(formatFact('confidence', 0.82).value, '82%');
|
||||
assert.equal(formatFact('onGround', false), null);
|
||||
assert.equal(
|
||||
formatFact('lastContactAtMs', 1_700_000_000_000, {
|
||||
nowMs: 1_700_000_060_000,
|
||||
}).age,
|
||||
60_000,
|
||||
);
|
||||
});
|
||||
|
||||
test('warnings lead with an emergency, then the squawk code, and stay out of the facts', () => {
|
||||
assert.deepEqual(
|
||||
recordWarnings({ emergency: true, emergencyKind: 'medical' }),
|
||||
['Emergency: medical'],
|
||||
);
|
||||
assert.deepEqual(recordWarnings({ squawk: '7600' }), [
|
||||
'Radio failure (squawk 7600)',
|
||||
]);
|
||||
assert.deepEqual(
|
||||
recordWarnings({ squawk: '1200', emergencyKind: 'none' }),
|
||||
[],
|
||||
);
|
||||
assert.deepEqual(recordWarnings({ tsunami: 1 }), ['Tsunami warning issued']);
|
||||
const urgent = manager({
|
||||
flights: {
|
||||
name: 'Live Flights',
|
||||
records: [
|
||||
{
|
||||
id: 'X1',
|
||||
icao24: 'x00001',
|
||||
callsign: 'X1',
|
||||
lat: 1,
|
||||
lon: 1,
|
||||
emergency: true,
|
||||
emergencyKind: 'fuel',
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
const card = describeEntity(urgent, { layerId: 'flights', id: 'x00001' });
|
||||
assert.deepEqual(card.warnings, ['Emergency: fuel']);
|
||||
assert.ok(!card.facts.some((fact) => /emergency/i.test(fact.label)));
|
||||
});
|
||||
|
||||
test('the view summary counts each layer inside the view, closest to the middle first', () => {
|
||||
const groups = viewSummary(
|
||||
dm,
|
||||
{ west: -119, south: 34, east: -117, north: 34.5 },
|
||||
{ lat: 34.1, lon: -118 },
|
||||
{ perLayer: 2 },
|
||||
);
|
||||
assert.equal(groups.length, 1);
|
||||
assert.equal(groups[0].layerId, 'flights');
|
||||
assert.equal(groups[0].count, 501);
|
||||
assert.equal(groups[0].items[0].title, 'FLT100');
|
||||
});
|
||||
|
||||
test('flight insights work out phase, flight level, Mach, squawk meaning and signal age', () => {
|
||||
const insights = aircraftInsights(
|
||||
{
|
||||
altitudeM: 10668,
|
||||
verticalRateMps: 0,
|
||||
speedMps: 230,
|
||||
squawk: '7000',
|
||||
lastContactAtMs: 1_000_000,
|
||||
},
|
||||
{ nowMs: 1_012_000 },
|
||||
);
|
||||
const value = (label) => insights.find((item) => item.label === label)?.value;
|
||||
assert.equal(value('Phase'), 'Cruising, level');
|
||||
assert.equal(value('Flight level'), 'FL350');
|
||||
assert.equal(value('Mach'), 'M 0.78');
|
||||
assert.equal(value('Squawk {code}'), 'VFR conspicuity');
|
||||
assert.deepEqual(
|
||||
insights.find((item) => item.label === 'Squawk {code}').labelValues,
|
||||
{ code: '7000' },
|
||||
);
|
||||
assert.equal(value('Signal'), '12 s ago');
|
||||
assert.equal(aircraftInsights({ onGround: true })[0].value, 'On the ground');
|
||||
assert.match(
|
||||
aircraftInsights({ verticalRateMps: -8 })[0].value,
|
||||
/^Descending 1600 ft\/min$/,
|
||||
);
|
||||
});
|
||||
|
||||
test('a layer breakdown splits aircraft by status and type, inside a view when given', () => {
|
||||
const craft = [
|
||||
{
|
||||
id: 'A',
|
||||
lat: 10,
|
||||
lon: 10,
|
||||
onGround: false,
|
||||
military: false,
|
||||
aircraftClass: 'airliner',
|
||||
},
|
||||
{
|
||||
id: 'B',
|
||||
lat: 10,
|
||||
lon: 11,
|
||||
onGround: false,
|
||||
military: true,
|
||||
aircraftClass: 'fastjet',
|
||||
},
|
||||
{
|
||||
id: 'C',
|
||||
lat: 10,
|
||||
lon: 12,
|
||||
onGround: true,
|
||||
military: true,
|
||||
aircraftClass: 'airliner',
|
||||
},
|
||||
{
|
||||
id: 'D',
|
||||
lat: 60,
|
||||
lon: 12,
|
||||
onGround: false,
|
||||
military: false,
|
||||
aircraftClass: 'airliner',
|
||||
},
|
||||
];
|
||||
const data = manager({
|
||||
flights: { name: 'Live Flights', records: craft },
|
||||
'local-dams': { name: 'Dams', records: dams },
|
||||
});
|
||||
const all = layerBreakdown(data, 'flights');
|
||||
assert.equal(all.total, 4);
|
||||
assert.deepEqual(all.splits[0].parts, [
|
||||
{ label: 'Civilian, in the air', count: 2 },
|
||||
{ label: 'Military, in the air', count: 1 },
|
||||
{ label: 'On the ground', count: 1 },
|
||||
]);
|
||||
assert.deepEqual(all.splits[1].parts, [
|
||||
{ label: 'Airliners', count: 3 },
|
||||
{ label: 'Fast jets', count: 1 },
|
||||
]);
|
||||
const near = layerBreakdown(data, 'flights', {
|
||||
rect: { west: 9, east: 13, south: 9, north: 11 },
|
||||
});
|
||||
assert.equal(near.total, 3);
|
||||
assert.equal(layerBreakdown(data, 'local-dams'), null);
|
||||
});
|
||||
|
||||
test('a moving item with an unknown key is not matched to a craft right beside it', () => {
|
||||
// About 110 m from FLT0: well inside any nearest-item reach.
|
||||
assert.equal(
|
||||
findRecord(dm, {
|
||||
layerId: 'flights',
|
||||
id: 'zzzzzz',
|
||||
label: 'NOPE',
|
||||
lat: 34.001,
|
||||
lon: -118,
|
||||
}),
|
||||
null,
|
||||
);
|
||||
});
|
||||
|
||||
test('sites that share a key are told apart by where the identity says they are', () => {
|
||||
const sites = [
|
||||
{
|
||||
id: 'Amazon Web Services',
|
||||
name: 'Amazon Web Services',
|
||||
lat: -52.942,
|
||||
lon: -70.849,
|
||||
},
|
||||
{
|
||||
id: 'Amazon Web Services',
|
||||
name: 'Amazon Web Services',
|
||||
lat: -33.557,
|
||||
lon: -70.813,
|
||||
},
|
||||
];
|
||||
const data = manager({
|
||||
'local-datacenters': { name: 'Datacenters', records: sites },
|
||||
});
|
||||
const identity = {
|
||||
layerId: 'local-datacenters',
|
||||
id: 'Amazon Web Services',
|
||||
label: 'Amazon Web Services',
|
||||
lat: -33.557,
|
||||
lon: -70.813,
|
||||
};
|
||||
assert.equal(findRecord(data, identity), sites[1]);
|
||||
const card = describeEntity(data, identity);
|
||||
assert.equal(card.lat, -33.557);
|
||||
// The card's own identity finds the same site again, as its refresh does.
|
||||
assert.equal(findRecord(data, card.identity), sites[1]);
|
||||
});
|
||||
|
||||
test('a link is built only from a language code, and a level is not a warning', () => {
|
||||
const site = {
|
||||
id: 'X',
|
||||
name: 'X',
|
||||
lat: 1,
|
||||
lon: 1,
|
||||
wikipedia: 'evil.example/a#:Y',
|
||||
};
|
||||
const data = manager({ 'local-dams': { name: 'Dams', records: [site] } });
|
||||
assert.deepEqual(
|
||||
describeEntity(data, { layerId: 'local-dams', id: 'X', lat: 1, lon: 1 })
|
||||
.links,
|
||||
[],
|
||||
);
|
||||
assert.deepEqual(recordWarnings({ alert: 'green' }), []);
|
||||
});
|
||||
|
||||
test('a breakdown names "Other" once', () => {
|
||||
const ships = [30, 30, 70, 70, 70, 80, 80, 60, 37, 52, 52, 90, 90, 90].map(
|
||||
(shipType, i) => ({
|
||||
id: `S${i}`,
|
||||
mmsi: String(i),
|
||||
lat: 1,
|
||||
lon: 1 + i * 0.01,
|
||||
shipType,
|
||||
}),
|
||||
);
|
||||
const data = manager({
|
||||
'ais-live-vessels': { name: 'Vessels', records: ships },
|
||||
});
|
||||
const labels = layerBreakdown(data, 'ais-live-vessels').splits[0].parts.map(
|
||||
(part) => part.label,
|
||||
);
|
||||
assert.equal(labels.filter((label) => label === 'Other').length <= 1, true);
|
||||
assert.equal(new Set(labels).size, labels.length);
|
||||
});
|
||||
|
||||
test('a card shows the photo its layer looked up: the tracked airliner, the selected vessel', () => {
|
||||
const photo = {
|
||||
src: 'https://cdn.example/p.jpg',
|
||||
link: 'https://example/p',
|
||||
photographer: 'A. Spotter',
|
||||
width: 640,
|
||||
};
|
||||
const planes = manager({
|
||||
flights: {
|
||||
name: 'Live Flights',
|
||||
records: [
|
||||
{
|
||||
id: 'DAL1',
|
||||
icao24: 'aa0001',
|
||||
callsign: 'DAL1',
|
||||
lat: 34,
|
||||
lon: -118,
|
||||
typeCode: 'B739',
|
||||
category: 'A3',
|
||||
},
|
||||
{ id: 'DAL2', icao24: 'aa0002', callsign: 'DAL2', lat: 35, lon: -118 },
|
||||
],
|
||||
},
|
||||
'ais-live-vessels': {
|
||||
name: 'Vessels',
|
||||
records: [
|
||||
{
|
||||
id: 'EVER GIVEN',
|
||||
vesselId: 'v1',
|
||||
mmsi: '353136000',
|
||||
lat: 30,
|
||||
lon: 32,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
planes.layers.get('flights').module.getTrackedSubject = () => ({
|
||||
id: 'aa0001',
|
||||
photo,
|
||||
});
|
||||
planes.layers.get('ais-live-vessels').module.getVesselPhoto = (id) =>
|
||||
id === 'v1' ? { ...photo, licence: 'CC BY 4.0' } : null;
|
||||
|
||||
const tracked = describeEntity(planes, { layerId: 'flights', id: 'aa0001' });
|
||||
assert.deepEqual(tracked.photo, {
|
||||
src: photo.src,
|
||||
link: photo.link,
|
||||
photographer: 'A. Spotter',
|
||||
licence: '',
|
||||
});
|
||||
// What picks the globe's fleet model for it.
|
||||
assert.deepEqual(tracked.aircraftModel, {
|
||||
typeCode: 'B739',
|
||||
category: 'A3',
|
||||
callsign: 'DAL1',
|
||||
});
|
||||
// Photos are looked up for the tracked plane only.
|
||||
assert.equal(
|
||||
describeEntity(planes, { layerId: 'flights', id: 'aa0002' }).photo,
|
||||
null,
|
||||
);
|
||||
assert.equal(
|
||||
describeEntity(planes, { layerId: 'ais-live-vessels', id: 'EVER GIVEN' })
|
||||
.photo.licence,
|
||||
'CC BY 4.0',
|
||||
);
|
||||
});
|
||||
@@ -538,6 +538,15 @@ export function fleetModelSet() {
|
||||
return loaded;
|
||||
}
|
||||
|
||||
/**
|
||||
* The load a layer has started (resolving to the set), or null when none
|
||||
* has: for a view that needs the set but does not fetch it itself.
|
||||
* @returns {Promise<object>|null}
|
||||
*/
|
||||
export function fleetModelSetLoading() {
|
||||
return loading;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch the model set once for every layer: `catalog.json`, `types.json` and
|
||||
* every GLB the catalog names, all up front, so no model is fetched while a
|
||||
|
||||
@@ -91,6 +91,8 @@ const FULL_INFO = {
|
||||
verticalRate: -4.5,
|
||||
onGround: false,
|
||||
klass: 'airliner',
|
||||
typeCode: 'B738',
|
||||
category: 'A3',
|
||||
originCountry: 'United States',
|
||||
airline: 'Southwest Airlines',
|
||||
route: { origin: { code: 'AUS' }, destination: { code: 'LAX' } },
|
||||
@@ -114,6 +116,8 @@ test('flights analyst record: full record maps every contract field', () => {
|
||||
onGround: false,
|
||||
military: false,
|
||||
aircraftClass: 'airliner',
|
||||
typeCode: 'B738',
|
||||
category: 'A3',
|
||||
originCountry: 'United States',
|
||||
operator: 'Southwest Airlines',
|
||||
squawk: null,
|
||||
@@ -124,6 +128,9 @@ test('flights analyst record: full record maps every contract field', () => {
|
||||
lastContactAtMs: null,
|
||||
routeOrigin: 'AUS',
|
||||
routeDestination: 'LAX',
|
||||
routeFrom: null,
|
||||
routeTo: null,
|
||||
routeScheduled: null,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -167,8 +167,10 @@ test('pointer input, camera holds and the stock clicks go through the one dispat
|
||||
[
|
||||
/\.enableInputs\s*=(?!=)/,
|
||||
'writes enableInputs instead of suspendCamera()',
|
||||
// The scene's camera-input holds, which own the flag.
|
||||
['src/render/cesium/cameraInput.js'],
|
||||
// The scene's camera-input holds, which own the flag; the Context
|
||||
// card's previews turn it off in their own small scenes, which take
|
||||
// no input at all.
|
||||
['src/render/cesium/cameraInput.js', 'src/render/cesium/cardPreviews.js'],
|
||||
],
|
||||
[
|
||||
/(?:screenSpaceEventHandler|stockHandler)\??\.removeInputAction\(/,
|
||||
|
||||
@@ -1370,8 +1370,9 @@ test('a cached Context subject re-reads its label when enrichment lands after se
|
||||
/N123AB/,
|
||||
'the rendered Context panel must show the registration without a position change',
|
||||
);
|
||||
// `subjectIdentity` is the subject's id for matching, never shown.
|
||||
assert.doesNotMatch(
|
||||
JSON.stringify(repainted.view),
|
||||
JSON.stringify({ ...repainted.view, subjectIdentity: undefined }),
|
||||
/ae1fa4/,
|
||||
'the hex must be gone from the panel',
|
||||
);
|
||||
|
||||
@@ -73,7 +73,7 @@ test('v3 unversioned bloom already uses scale 2 and is not migrated again in lat
|
||||
}),
|
||||
),
|
||||
);
|
||||
assert.equal(project.version, 6);
|
||||
assert.equal(project.version, 7);
|
||||
assert.equal(project.scenes[0].shots[0].visual.bloom.intensity, 50);
|
||||
});
|
||||
test('move endpoints, easing, shortest arcs and hold agree with scene seeking', () => {
|
||||
|
||||
@@ -258,10 +258,15 @@ class PlaybackClock {
|
||||
this._shotProgressTimer = timer;
|
||||
}
|
||||
|
||||
startScene(scene, shot, token) {
|
||||
/** Drive the scene clock through one shot, `offsetSec` into it when resuming. */
|
||||
startScene(scene, shot, token, offsetSec = 0) {
|
||||
this.stopSceneTimer();
|
||||
const generation = this._sceneGeneration;
|
||||
const timing = this.timingForShot(scene, shot);
|
||||
const offset = Math.max(
|
||||
0,
|
||||
Math.min(timing.durationSec, Number(offsetSec) || 0),
|
||||
);
|
||||
if (
|
||||
generation !== this._sceneGeneration ||
|
||||
this._destroyed ||
|
||||
@@ -269,8 +274,8 @@ class PlaybackClock {
|
||||
token.signal?.aborted
|
||||
)
|
||||
return timing;
|
||||
const startedAt = this.now();
|
||||
this.publish(scene, shot, timing.startElapsedSec, {
|
||||
const startedAt = this.now() - offset * 1000;
|
||||
this.publish(scene, shot, timing.startElapsedSec + offset, {
|
||||
running: true,
|
||||
});
|
||||
if (
|
||||
|
||||
@@ -16,7 +16,9 @@ import { validateSceneDataPacks } from './packs/manifest.js';
|
||||
import { validateSceneCameras } from './cameraDocument.js';
|
||||
export { SCENE_DOCUMENT_LIMITS, SceneDocumentError } from './documentFields.js';
|
||||
import { validateSceneInteractions } from './interactions/document.js';
|
||||
export const SCENE_DOCUMENT_VERSION = 6;
|
||||
import { STORY_TAG_LIMIT, isStoryTagList } from '../scenes/storyTags.js';
|
||||
import { STORY_THUMB_MAX_LENGTH, isStoryThumb } from '../scenes/storyThumb.js';
|
||||
export const SCENE_DOCUMENT_VERSION = 7;
|
||||
|
||||
function visual(value, path, legacy) {
|
||||
fields(value, path, [
|
||||
@@ -58,7 +60,12 @@ function visual(value, path, legacy) {
|
||||
|
||||
/** Validate a parsed scene project without mutating it or applying any state. */
|
||||
export function validateSceneDocument(project) {
|
||||
jsonTree(project, '$', { nodes: 0 });
|
||||
jsonTree(project, '$', {
|
||||
nodes: 0,
|
||||
// A Stories card thumbnail is the one text allowed past the usual limit.
|
||||
longText: (path) =>
|
||||
/^\$\.scenes\.\d+\.storyThumb$/.test(path) ? STORY_THUMB_MAX_LENGTH : 0,
|
||||
});
|
||||
fields(project, '$', [
|
||||
'version',
|
||||
'createdAt',
|
||||
@@ -67,7 +74,11 @@ export function validateSceneDocument(project) {
|
||||
'scenes',
|
||||
]);
|
||||
const version = Object.hasOwn(project, 'version') ? project.version : 1;
|
||||
if (![1, 2, 3, 4, 5, 6].includes(version))
|
||||
if (
|
||||
!Number.isInteger(version) ||
|
||||
version < 1 ||
|
||||
version > SCENE_DOCUMENT_VERSION
|
||||
)
|
||||
fail('$.version', 'unsupported scene project version');
|
||||
const legacy = version < 3;
|
||||
for (const key of ['createdAt', 'updatedAt'])
|
||||
@@ -86,10 +97,31 @@ export function validateSceneDocument(project) {
|
||||
'shots',
|
||||
...(version >= 4 ? ['anchors'] : []),
|
||||
...(version >= 5 ? ['dataPacks'] : []),
|
||||
// Early Stories builds wrote these in version 6 projects.
|
||||
...(version >= 6 ? ['stories', 'storyThumb', 'storyTags'] : []),
|
||||
]);
|
||||
uniqueId(scene, path, sceneIds);
|
||||
optional(scene, 'title', path, (v, p) => string(v, p, 4096));
|
||||
optional(scene, 'releaseLayerIds', path, ids);
|
||||
// Published to the Stories page; absent when it is not.
|
||||
optional(scene, 'stories', path, (value, field) => {
|
||||
if (value !== true) fail(field, 'expected true');
|
||||
});
|
||||
// The Stories card's thumbnail and tags; absent until the author sets them.
|
||||
optional(scene, 'storyThumb', path, (value, field) => {
|
||||
if (!isStoryThumb(value))
|
||||
fail(
|
||||
field,
|
||||
`expected a JPEG or PNG data URL, at most ${STORY_THUMB_MAX_LENGTH} characters`,
|
||||
);
|
||||
});
|
||||
optional(scene, 'storyTags', path, (value, field) => {
|
||||
if (!isStoryTagList(value))
|
||||
fail(
|
||||
field,
|
||||
`expected at most ${STORY_TAG_LIMIT} different Stories tags`,
|
||||
);
|
||||
});
|
||||
optional(scene, 'appliedShotPacks', path, (packs, field) => {
|
||||
array(packs, field);
|
||||
const packIds = new Set();
|
||||
|
||||
@@ -59,7 +59,7 @@ test('v1/v2 bloom migrates once; IDs, edits, pack bindings and zero holds surviv
|
||||
const migrated = normalizeProject(
|
||||
parseSceneDocument(JSON.stringify(project)),
|
||||
);
|
||||
assert.equal(migrated.version, 6);
|
||||
assert.equal(migrated.version, 7);
|
||||
assert.equal(migrated.scenes[0].shots[0].visual.bloom.intensity, 150);
|
||||
assert.equal(migrated.scenes[0].shots[0].id, 'shot');
|
||||
assert.deepEqual(
|
||||
|
||||
@@ -71,7 +71,10 @@ export function jsonTree(value, path, budget, depth = 0) {
|
||||
fail(path, 'project complexity limit exceeded');
|
||||
if (value === null || typeof value === 'boolean') return;
|
||||
if (typeof value === 'string') {
|
||||
if (value.length > SCENE_DOCUMENT_LIMITS.string)
|
||||
if (
|
||||
value.length > SCENE_DOCUMENT_LIMITS.string &&
|
||||
value.length > (budget.longText?.(path) ?? 0)
|
||||
)
|
||||
fail(path, 'text is too long');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ test('v5 packs and shot references round trip through project migration without
|
||||
JSON.stringify({ version, scenes: [{ id: 'old', shots: [] }] }),
|
||||
),
|
||||
);
|
||||
assert.equal(old.version, 6);
|
||||
assert.equal(old.version, 7);
|
||||
assert.equal(old.scenes[0].dataPacks, undefined);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -26,7 +26,9 @@ export function buildPlaybackQueue(
|
||||
/**
|
||||
* Run ordered shots through an application-supplied playback adapter.
|
||||
*
|
||||
* Each phase receives {scene, shot, index, total, token}. The adapter owns
|
||||
* Each phase receives {scene, shot, index, total, token, resume}. `resume` is
|
||||
* the queue item's own, opaque to the runner: a queue may start partway into
|
||||
* its first shot, and the adapter decides what that means. The adapter owns
|
||||
* camera/rendering resources and must observe token.signal or token.cancelled
|
||||
* while awaiting work. The runner rechecks both after every phase; it cannot
|
||||
* interrupt an adapter that ignores cancellation. No timers, UI, storage,
|
||||
@@ -68,7 +70,7 @@ export async function playSceneQueue(
|
||||
throw new Error(`Could not leave scene: ${previousScene.title}`);
|
||||
}
|
||||
for (let index = 0; index < queue.length && !cancelled(); index++) {
|
||||
const { scene, shot } = queue[index];
|
||||
const { scene, shot, resume = null } = queue[index];
|
||||
if (activeScene && activeScene.id !== scene.id) {
|
||||
const toRelease = activeScene;
|
||||
activeScene = null;
|
||||
@@ -76,7 +78,14 @@ export async function playSceneQueue(
|
||||
if (cancelled()) break;
|
||||
}
|
||||
activeScene = scene;
|
||||
const context = { scene, shot, index, total: queue.length, token };
|
||||
const context = {
|
||||
scene,
|
||||
shot,
|
||||
index,
|
||||
total: queue.length,
|
||||
token,
|
||||
resume,
|
||||
};
|
||||
for (const phase of SHOT_PHASES) {
|
||||
if (cancelled()) break;
|
||||
await adapter[phase](context);
|
||||
|
||||
@@ -98,15 +98,10 @@ export const FIRST_RUN_MISSIONS = Object.freeze({
|
||||
// for the FULLY CONFIGURED experience (owner ruling, 2026-08-23): the tile
|
||||
// promises both, so it turns on both, and the subcopy in index.html says so.
|
||||
//
|
||||
// Keyless, FIRMS is honest where it counts — its own layer row reads
|
||||
// "UNAVAILABLE · NASA FIRMS · LIVE · KEY REQUIRED", and the quakes half of
|
||||
// the tile still delivers in full. What is NOT honest is the GLOBAL status
|
||||
// chip, which has no key-required terminal state and folds that row into
|
||||
// "LOAD FAILED". That aggregation is the defect, not this preset: fixing it
|
||||
// means a KEY REQUIRED terminal state in src/loadingFeedback.js, a state
|
||||
// machine shared by every layer and not a thing to refactor the night
|
||||
// before a launch. LEDGERED post-launch. Until it lands, keyless visitors
|
||||
// are judged on the layer row, which tells them the truth.
|
||||
// Keyless, FIRMS says so: its layer row reads
|
||||
// "UNAVAILABLE · NASA FIRMS · LIVE · KEY REQUIRED", the global status chip
|
||||
// ends KEY REQUIRED (src/loadingFeedback.js), and the quakes half of the
|
||||
// tile still delivers in full.
|
||||
layerIds: Object.freeze(['earthquakes', 'local-firms']),
|
||||
busyKey: msg('Scanning active events…'),
|
||||
}),
|
||||
|
||||
@@ -386,8 +386,13 @@ test('one ESC does one thing — a Cockpit utility disclosure stops later docume
|
||||
// they own the same contract: their capture handler is the only one that can
|
||||
// keep a later document listener (Cockpit exit, the launcher) off the key, and
|
||||
// only the immediate form does it.
|
||||
const utilityEsc = ui.slice(ui.indexOf('if (!displayOpen && !radioOpen) return;'));
|
||||
const claim = utilityEsc.slice(0, utilityEsc.indexOf('setCockpitDisclosure(kind, false'));
|
||||
const utilityEsc = ui.slice(
|
||||
ui.indexOf('if (!displayOpen && !radioOpen) return;'),
|
||||
);
|
||||
const claim = utilityEsc.slice(
|
||||
0,
|
||||
utilityEsc.indexOf('setCockpitDisclosure(kind, false'),
|
||||
);
|
||||
assert.match(claim, /event\.preventDefault\(\);/);
|
||||
assert.match(claim, /event\.stopImmediatePropagation\(\);/);
|
||||
assert.doesNotMatch(
|
||||
@@ -606,11 +611,8 @@ test('the tile is the FULLY CONFIGURED experience: quakes and fires together', (
|
||||
const environmental = FIRST_RUN_MISSIONS.environmental;
|
||||
assert.deepEqual(environmental.layerIds, ['earthquakes', 'local-firms']);
|
||||
|
||||
// Keyless, the honest surface is the LAYER ROW ("KEY REQUIRED"), which the
|
||||
// FIRMS layer already reports. The misleading part is the GLOBAL chip folding
|
||||
// that row into LOAD FAILED — a defect in the shared state machine, ledgered
|
||||
// post-launch, and the note must stay where the next editor will read it
|
||||
// rather than being re-discovered as a launcher bug.
|
||||
// Keyless, FIRMS says so on its layer row and in the global chip (both
|
||||
// KEY REQUIRED), and the note says where the chip's ending comes from.
|
||||
const module = fs.readFileSync(
|
||||
new URL('./firstRunExperience.js', import.meta.url),
|
||||
'utf8',
|
||||
@@ -621,7 +623,7 @@ test('the tile is the FULLY CONFIGURED experience: quakes and fires together', (
|
||||
);
|
||||
assert.match(table, /KEY REQUIRED/);
|
||||
assert.match(table, /src\/loadingFeedback\.js/);
|
||||
assert.match(table, /LEDGERED post-launch/);
|
||||
assert.match(table, /global status chip\s+\/\/\s+ends KEY REQUIRED/);
|
||||
});
|
||||
|
||||
test('every visitor gets the same tile — there is no degraded keyless variant', async () => {
|
||||
@@ -991,6 +993,7 @@ test('the voice TOOL SCHEMA matches the pinned contract — the mission mapping
|
||||
'find_imagery',
|
||||
'osm_query',
|
||||
'show_street_level',
|
||||
'open_stories',
|
||||
].includes(tool.name),
|
||||
);
|
||||
const hudLayout = legacyTools.find((tool) => tool.name === 'set_hud')
|
||||
|
||||
+488
-1
@@ -233,6 +233,7 @@
|
||||
"Hold Space to talk": "اضغط مطولًا على Space للتحدث",
|
||||
"Release Space to send": "حرّر Space للإرسال",
|
||||
"Ask or command": "اسأل أو أصدر أمرًا",
|
||||
"Voice is disabled in Stories.": "التحكم الصوتي معطّل في القصص.",
|
||||
"Voice off": "الصوت متوقف",
|
||||
"Running command": "جارٍ تنفيذ الأمر",
|
||||
"Radio did not start": "لم يبدأ الراديو",
|
||||
@@ -4056,5 +4057,491 @@
|
||||
"Search layers…": "ابحث في الطبقات…",
|
||||
"Layer groups": "مجموعات الطبقات",
|
||||
"Jump to {name}": "الانتقال إلى {name}",
|
||||
"No layers match": "لا توجد طبقات مطابقة"
|
||||
"No layers match": "لا توجد طبقات مطابقة",
|
||||
"A GEV scene, played on the live globe.": "مشهد من GEV يُعرض على الكرة الأرضية المباشرة.",
|
||||
"Drag the map to explore · Resume any time": "اسحب الخريطة للاستكشاف · استأنف في أي وقت",
|
||||
"Region": "المنطقة",
|
||||
"Europe": "أوروبا",
|
||||
"Middle East": "الشرق الأوسط",
|
||||
"South Asia": "جنوب آسيا",
|
||||
"East Asia": "شرق آسيا",
|
||||
"Length": "المدة",
|
||||
"Under 1 min": "أقل من دقيقة",
|
||||
"1 min or more": "دقيقة أو أكثر",
|
||||
"Shots": "لقطات",
|
||||
"Layers on": "الطبقات المفعّلة",
|
||||
"Stories": "القصص",
|
||||
"NEW": "جديد",
|
||||
"GEV Stories": "قصص GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "عروض تفاعلية منتقاة لما يحدث على الأرض. شغّل إحداها، وتحكّم بالخريطة متى شئت، ثم تابع القصة من حيث توقفت.",
|
||||
"Browse stories": "تصفّح القصص",
|
||||
"Not now": "ليس الآن",
|
||||
"Opened in GEV": "فُتحت في GEV",
|
||||
"Back to story": "العودة إلى القصة",
|
||||
"GEV Stories explore": "استكشاف قصص GEV",
|
||||
"Resize story list": "تغيير حجم قائمة القصص",
|
||||
"Story list size. Drag, or press to change": "حجم قائمة القصص. اسحب أو اضغط للتغيير",
|
||||
"{n} of {count} stories": {
|
||||
"zero": "{n} من {count} قصة",
|
||||
"one": "{n} من {count} قصة",
|
||||
"two": "{n} من {count} قصة",
|
||||
"few": "{n} من {count} قصص",
|
||||
"many": "{n} من {count} قصة",
|
||||
"other": "{n} من {count} قصة"
|
||||
},
|
||||
"Sort stories": "ترتيب القصص",
|
||||
"Newest": "الأحدث",
|
||||
"Longest": "الأطول",
|
||||
"A–Z": "أ–ي",
|
||||
"{count} filters on": {
|
||||
"zero": "{count} مرشح مفعّل",
|
||||
"one": "مرشح واحد مفعّل ({count})",
|
||||
"two": "مرشحان مفعّلان ({count})",
|
||||
"few": "{count} مرشحات مفعّلة",
|
||||
"many": "{count} مرشحًا مفعّلًا",
|
||||
"other": "{count} مرشح مفعّل"
|
||||
},
|
||||
"Filters": "المرشحات",
|
||||
"Search stories": "البحث في القصص",
|
||||
"Search stories, places, creators": "ابحث في القصص والأماكن والمنشئين",
|
||||
"Clear search": "مسح البحث",
|
||||
"Topics": "المواضيع",
|
||||
"Filter stories": "تصفية القصص",
|
||||
"Show {count} stories": {
|
||||
"zero": "عرض {count} قصة",
|
||||
"one": "عرض قصة واحدة ({count})",
|
||||
"two": "عرض قصتين ({count})",
|
||||
"few": "عرض {count} قصص",
|
||||
"many": "عرض {count} قصة",
|
||||
"other": "عرض {count} قصة"
|
||||
},
|
||||
"No stories match": "لا توجد قصص مطابقة",
|
||||
"Try another word or clear the filters.": "جرّب كلمة أخرى أو امسح المرشحات.",
|
||||
"Clear all": "مسح الكل",
|
||||
"STORY": "قصة",
|
||||
"Play {title}": "تشغيل {title}",
|
||||
"Play story": "تشغيل القصة",
|
||||
"Preview {title}": "معاينة {title}",
|
||||
"Click to preview": "انقر للمعاينة",
|
||||
"Click to play": "انقر للتشغيل",
|
||||
"Tap to play": "المس للتشغيل",
|
||||
"Pick a story or a pin to preview it here": "اختر قصة أو دبوسًا لمعاينته هنا",
|
||||
"Story": "القصة",
|
||||
"{what} link copied": "تم نسخ رابط {what}",
|
||||
"Copy this link: {url}": "انسخ هذا الرابط: {url}",
|
||||
"Back to stories": "العودة إلى القصص",
|
||||
"Back to the globe": "العودة إلى الكرة الأرضية",
|
||||
"Breadcrumb": "مسار التنقل",
|
||||
"Globe": "الكرة الأرضية",
|
||||
"Share": "مشاركة",
|
||||
"Back to GEV": "العودة إلى GEV",
|
||||
"Chapter {n}": "الفصل {n}",
|
||||
"Context. Swipe up or press to open": "السياق. اسحب لأعلى أو اضغط للفتح",
|
||||
"Context. Swipe down or press to close": "السياق. اسحب لأسفل أو اضغط للإغلاق",
|
||||
"Search this story": "البحث في هذه القصة",
|
||||
"Voice search (not in this build)": "البحث الصوتي (غير متاح في هذا الإصدار)",
|
||||
"Search results": "نتائج البحث",
|
||||
"Nothing in this story matches.": "لا شيء في هذه القصة يطابق البحث.",
|
||||
"Chapters": "الفصول",
|
||||
"now": "الآن",
|
||||
"About": "حول",
|
||||
"by {creator}": "بواسطة {creator}",
|
||||
"Key moments": "اللحظات الرئيسية",
|
||||
"Sources": "المصادر",
|
||||
"Background": "الخلفية",
|
||||
"Related stories": "قصص ذات صلة",
|
||||
"Story link copied": "تم نسخ رابط القصة",
|
||||
"You": "أنت",
|
||||
"Open this moment in GEV": "فتح هذه اللحظة في GEV",
|
||||
"Open": "فتح",
|
||||
"Share this story": "مشاركة هذه القصة",
|
||||
"GEV Story": "قصة GEV",
|
||||
"Story card": "بطاقة القصة",
|
||||
"Chapter": "الفصل",
|
||||
"CHAPTER {n} / {total}": "الفصل {n} / {total}",
|
||||
"ON THE MAP": "على الخريطة",
|
||||
"Right now": "الآن",
|
||||
"RIGHT NOW": "الآن",
|
||||
"Minimise card": "تصغير البطاقة",
|
||||
"Expand card": "توسيع البطاقة",
|
||||
"Card pages": "صفحات البطاقة",
|
||||
"Resize context panel": "تغيير حجم لوحة السياق",
|
||||
"Swipe up for context": "اسحب لأعلى لعرض السياق",
|
||||
"Chapter start": "بداية الفصل",
|
||||
"Story time": "وقت القصة",
|
||||
"chapter": "الفصل",
|
||||
"Key moment: {label}": "لحظة رئيسية: {label}",
|
||||
"Exit expanded map": "الخروج من الخريطة الموسّعة",
|
||||
"Expand map": "توسيع الخريطة",
|
||||
"Exit cockpit to open Stories": "اخرج من القمرة لفتح القصص",
|
||||
"Stories could not load. Check the connection and try again.": "تعذّر تحميل القصص. تحقّق من الاتصال ثم حاول مرة أخرى.",
|
||||
"Shot {n} of {total}": "لقطة {n} من {total}",
|
||||
"GEV scene": "مشهد GEV",
|
||||
"SAVE TO STORIES": "حفظ في STORIES",
|
||||
"REMOVE FROM STORIES": "إزالة من STORIES",
|
||||
"Show this scene on the Stories page": "عرض هذا المشهد في صفحة Stories",
|
||||
"Take this scene off the Stories page": "إزالة هذا المشهد من صفحة Stories",
|
||||
"Saved to Stories": "حُفظ في Stories",
|
||||
"Removed from Stories": "أُزيل من Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "مشهد صنعته في GEV، يُعرض على الكرة الأرضية الحية.",
|
||||
"Floods": "فيضانات",
|
||||
"Wildfires": "حرائق الغابات",
|
||||
"Storms": "عواصف",
|
||||
"Earthquakes": "زلازل",
|
||||
"Maritime": "بحري",
|
||||
"Space": "الفضاء",
|
||||
"Conflict": "نزاعات",
|
||||
"Climate": "المناخ",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "انتقل إلى صور Esri World Imagery لالتقاط صورة مصغّرة",
|
||||
"Thumbnail could not be captured": "تعذّر التقاط الصورة المصغّرة",
|
||||
"Thumbnail captured": "تم التقاط الصورة المصغّرة",
|
||||
"Stories tags": "وسوم القصص",
|
||||
"Story thumbnail": "الصورة المصغّرة للقصة",
|
||||
"Use the current view as the Stories card image": "استخدم العرض الحالي صورةً لبطاقة القصص",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "تأتي مواقع الطائرات من ADS-B: لقطة OpenSky Network العالمية، مع adsb.lol حيث لا تتوفر بيانات لدى OpenSky.",
|
||||
"Live-flight fallback (ODbL 1.0)": "مصدر احتياطي للرحلات المباشرة (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "تُحسب مدارات الأقمار الصناعية من العناصر المدارية الحالية لدى CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "تأتي الزلازل من البث المباشر لهيئة المسح الجيولوجي الأمريكية.",
|
||||
"Traffic": "حركة المرور",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "حركة مرور الطرق؛ يتطلب الازدحام المباشر مفتاح TomTom خاصًا بك.",
|
||||
"Live traffic flow, with your own key": "تدفق حركة المرور المباشر، بمفتاحك الخاص",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "حركة الطيران المباشرة حول العالم: المحيط الأطلسي وأوروبا واليابان وسان فرانسيسكو.",
|
||||
"The Atlantic": "المحيط الأطلسي",
|
||||
"Western Europe": "أوروبا الغربية",
|
||||
"Japan": "اليابان",
|
||||
"San Francisco Bay Area": "منطقة خليج سان فرانسيسكو",
|
||||
"Pull back over the Atlantic": "الابتعاد فوق المحيط الأطلسي",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "الأقمار الصناعية في مداراتها، تُشاهَد فوق فلوريدا وأفريقيا وطوكيو وباريس.",
|
||||
"Over Florida": "فوق فلوريدا",
|
||||
"Over Africa": "فوق أفريقيا",
|
||||
"Over Tokyo": "فوق طوكيو",
|
||||
"Over Paris": "فوق باريس",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "زلازل حديثة بالمظهر الحراري: كاليفورنيا واليابان ونيوزيلندا وقبالة البرتغال.",
|
||||
"California": "كاليفورنيا",
|
||||
"New Zealand": "نيوزيلندا",
|
||||
"Off Portugal": "قبالة البرتغال",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "الرحلات والأقمار الصناعية وحركة المرور معًا فوق نيويورك ولوس أنجلوس ولندن.",
|
||||
"New York, closer": "نيويورك، عن قرب",
|
||||
"New York, closer still": "نيويورك، عن قرب أكثر",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "كل الطبقات المباشرة معًا، مع الابتعاد من طوكيو إلى الكوكب بأكمله.",
|
||||
"Tokyo, pulling back": "طوكيو، مع الابتعاد",
|
||||
"Japan and East Asia": "اليابان وشرق آسيا",
|
||||
"South China Sea": "بحر الصين الجنوبي",
|
||||
"The whole globe": "الكرة الأرضية كاملة",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "فيضان Bhote Koshi الانفجاري في نيبال في 26 أغسطس 2026، متتبَّعًا أسفل الوادي حتى Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "مسار الفيضان المُعاد بناؤه (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "صورة مصغّرة",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "لقطة عالمية للرحلات المباشرة (ترخيص غير تجاري للبحث والتعليم)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "العناصر المدارية للأقمار الصناعية وفهرسها (بيانات حكومة الولايات المتحدة)",
|
||||
"Satellite operators, owners and purposes": "مشغلو الأقمار الصناعية ومالكوها وأغراضها",
|
||||
"Earthquake feed (U.S. public domain)": "بث الزلازل (ملكية عامة في الولايات المتحدة)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "صور الأقمار الصناعية التاريخية وما بعد الحدث (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "تصوير مرئي لفيضان Bhote Koshi الانفجاري في 26 أغسطس 2026، وليس نموذجًا رسميًا للمخاطر. المشاهد التاريخية (2021) وما بعد الحدث هي صور Vantor WorldView؛ ومسار النهر هو إعادة بناء من GeoPera. ترتبط مقاطع الشهود بمنشوراتها الأصلية، وأوقات تصويرها غير مُتحقَّق منها.",
|
||||
"That story is not available here": "هذه القصة غير متاحة هنا",
|
||||
"DRAFT": "مسودة",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "مسودة لم تُحفظ كقصة بعد. استخدم «حفظ في STORIES» في «الإنشاء» لحفظها.",
|
||||
"Heading to next stop": "متجه إلى المحطة التالية",
|
||||
"Arriving at a stop": "يصل إلى محطة",
|
||||
"Stopped at a stop": "متوقف في محطة",
|
||||
"Wikipedia": "ويكيبيديا",
|
||||
"Wikidata": "ويكي بيانات",
|
||||
"Website": "الموقع الإلكتروني",
|
||||
"Phase": "المرحلة",
|
||||
"Flight level": "مستوى الطيران",
|
||||
"Mach": "ماخ",
|
||||
"Squawk {code}": "رمز المرسل المجيب {code}",
|
||||
"Signal": "الإشارة",
|
||||
"Civilian, in the air": "مدنية، في الجو",
|
||||
"Military, in the air": "عسكرية، في الجو",
|
||||
"On the ground": "على الأرض",
|
||||
"Motion": "الحركة",
|
||||
"Operator": "المشغّل",
|
||||
"Last reported": "آخر تقرير",
|
||||
"Crowding": "الازدحام",
|
||||
"Class": "الفئة",
|
||||
"Magnitude": "القوة",
|
||||
"Labels": "التسميات",
|
||||
"3D aircraft": "طائرات ثلاثية الأبعاد",
|
||||
"M{mag} earthquake": "زلزال بقوة {mag}",
|
||||
"Earthquake": "زلزال",
|
||||
"{n} kt winds": "رياح {n} عقدة",
|
||||
"Wildfire": "حريق غابات",
|
||||
"{n} acres": "{n} فدان",
|
||||
"{n}% contained": "احتواء {n}%",
|
||||
"prescribed burn": "حرق مخطط",
|
||||
"{count} satellite fire hits": {
|
||||
"zero": "{count} رصد حرائق بالأقمار الصناعية",
|
||||
"one": "رصد واحد لحريق بالأقمار الصناعية ({count})",
|
||||
"two": "رصدان لحرائق بالأقمار الصناعية ({count})",
|
||||
"few": "{count} رصدات لحرائق بالأقمار الصناعية",
|
||||
"many": "{count} رصدًا لحرائق بالأقمار الصناعية",
|
||||
"other": "{count} رصد لحرائق بالأقمار الصناعية"
|
||||
},
|
||||
"last day": "آخر يوم",
|
||||
"Conditions unknown": "الأحوال غير معروفة",
|
||||
"Partly cloudy": "غائم جزئيًا",
|
||||
"Overcast": "غائم كليًا",
|
||||
"Fog": "ضباب",
|
||||
"Drizzle": "رذاذ",
|
||||
"Rain": "مطر",
|
||||
"Snow": "ثلج",
|
||||
"Rain showers": "زخات مطر",
|
||||
"Snow showers": "زخات ثلج",
|
||||
"Thunderstorm": "عاصفة رعدية",
|
||||
"Mixed conditions": "أحوال متقلبة",
|
||||
"Search {name} and nearby": "ابحث في {name} وما حوله",
|
||||
"Search what is in view": "ابحث فيما يظهر في العرض",
|
||||
"Close Context search": "إغلاق البحث في السياق",
|
||||
"Search in Context": "البحث في السياق",
|
||||
"Close search": "إغلاق البحث",
|
||||
"Shrink Context back to a panel": "تصغير السياق إلى لوحة",
|
||||
"Expand Context to a full-height column": "توسيع السياق إلى عمود بكامل الارتفاع",
|
||||
"Context tabs": "علامات تبويب السياق",
|
||||
"Inspector": "الفاحص",
|
||||
"Properties": "الخصائص",
|
||||
"Level": "المستوى",
|
||||
"Last {n} min": "آخر {n} د",
|
||||
"Just now": "الآن",
|
||||
"Since selected": "منذ التحديد",
|
||||
"Altitude": "الارتفاع",
|
||||
"Heading": "الاتجاه",
|
||||
"Field of view": "مجال الرؤية",
|
||||
"Camera frame": "إطار الكاميرا",
|
||||
"Acquiring frame…": "جارٍ جلب الإطار…",
|
||||
"Show a bigger view": "عرض أكبر",
|
||||
"Camera view": "عرض الكاميرا",
|
||||
"More info": "مزيد من المعلومات",
|
||||
"{n} s ago": "قبل {n} ث",
|
||||
"{n} min ago": "قبل {n} د",
|
||||
"{n} h ago": "قبل {n} س",
|
||||
"{n} d ago": "قبل {n} يوم",
|
||||
"Out of feed · last reading": "خارج البث · آخر قراءة",
|
||||
"Live · {age}": "مباشر · {age}",
|
||||
"{n} m": "{n} م",
|
||||
"{n} km": "{n} كم",
|
||||
"updated {age}": "حُدّث {age}",
|
||||
"Selected on the map": "المحدد على الخريطة",
|
||||
"Close card": "إغلاق البطاقة",
|
||||
"{n}% flown": "قُطع {n}%",
|
||||
"to go": "متبقية",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "المسار المجدول لرقم هذه الرحلة لا يطابق موقع الطائرة؛ قد يكون مرحلة أخرى من الرحلة نفسها.",
|
||||
"Scheduled · unverified: does not match where the plane is": "مجدول · غير مؤكد: لا يطابق موقع الطائرة",
|
||||
"Nothing in this item’s details matches “{text}”.": "لا شيء في تفاصيل هذا العنصر يطابق «{text}».",
|
||||
"Matching details": "التفاصيل المطابقة",
|
||||
"Enter orbital view": "دخول العرض المداري",
|
||||
"Enter Cockpit": "دخول القمرة",
|
||||
"Fly to": "الانتقال إلى",
|
||||
"Following": "تتم المتابعة",
|
||||
"Follow": "متابعة",
|
||||
"Ask GEV about {name}": "اسأل GEV عن {name}",
|
||||
"Flights within {radius}": "الرحلات ضمن {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "لا رحلات ضمن {radius} من الطبقات المفعّلة.",
|
||||
"Vessels within {radius}": "السفن ضمن {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "لا سفن ضمن {radius} من الطبقات المفعّلة.",
|
||||
"Cloud": "الغيوم",
|
||||
"Visibility": "الرؤية",
|
||||
"Conditions here": "الأحوال هنا",
|
||||
"feels {n}°": "المحسوسة {n}°",
|
||||
"Reading conditions here…": "جارٍ قراءة الأحوال هنا…",
|
||||
"No weather reading here.": "لا توجد قراءة للطقس هنا.",
|
||||
"Local solar time": "التوقيت الشمسي المحلي",
|
||||
"Nearby radius": "نطاق القرب",
|
||||
"How far out the nearby lists look": "إلى أي مدى تبحث قوائم الجوار",
|
||||
"Hazards within {radius}": "المخاطر ضمن {radius}",
|
||||
"Turns the layer on": "يفعّل الطبقة",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "لا زلازل أو عواصف استوائية أو حرائق غابات مُبلَّغ عنها ضمن {radius}.",
|
||||
"Broadcast alerts within {radius}": "التنبيهات المبثوثة ضمن {radius}",
|
||||
"Also within {radius}": "أيضًا ضمن {radius}",
|
||||
"Local news": "الأخبار المحلية",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "مزولة · {time} بالتوقيت الشمسي · الشمس {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "مزولة · {time} بالتوقيت الشمسي · الشمس تحت الأفق",
|
||||
"{count} things": {
|
||||
"zero": "{count} عنصر",
|
||||
"one": "عنصر واحد ({count})",
|
||||
"two": "عنصران ({count})",
|
||||
"few": "{count} عناصر",
|
||||
"many": "{count} عنصرًا",
|
||||
"other": "{count} عنصر"
|
||||
},
|
||||
"{count} layers": {
|
||||
"zero": "{count} طبقة",
|
||||
"one": "طبقة واحدة ({count})",
|
||||
"two": "طبقتين ({count})",
|
||||
"few": "{count} طبقات",
|
||||
"many": "{count} طبقة",
|
||||
"other": "{count} طبقة"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} في العرض من {layers}",
|
||||
"{n} km up": "على ارتفاع {n} كم",
|
||||
"{n} m up": "على ارتفاع {n} م",
|
||||
"This view": "هذا العرض",
|
||||
"Day": "نهار",
|
||||
"Twilight": "شفق",
|
||||
"Night": "ليل",
|
||||
"Daylight": "ضوء النهار",
|
||||
"sun {n}°": "الشمس {n}°",
|
||||
"Of {n} read, {total} loaded": "من {n} مقروءة، {total} محمّلة",
|
||||
"Of all {n}": "من إجمالي {n}",
|
||||
"Of {n} in view": "من {n} في العرض",
|
||||
"Error": "خطأ",
|
||||
"Stale": "قديم",
|
||||
"In view": "في العرض",
|
||||
"Globe view": "عرض الكرة الأرضية",
|
||||
"Nothing selected": "لا شيء محدد",
|
||||
"Worldwide now": "حول العالم الآن",
|
||||
"Turn on {name}": "تفعيل {name}",
|
||||
"{n} loaded": "{n} محمّلة",
|
||||
"{n} in view": "{n} في العرض",
|
||||
"Turn off {name}": "إيقاف {name}",
|
||||
"Camera height": "ارتفاع الكاميرا",
|
||||
"Nothing in view matches “{text}”.": "لا شيء في العرض يطابق «{text}».",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "لا شيء من الطبقات المفعّلة في العرض هنا. صغّر العرض لرؤية المزيد.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "لا توجد طبقة محمّلة بها شيء في العرض. فعّل بعضها في طبقات البيانات.",
|
||||
"Places in view": "أماكن في العرض",
|
||||
"Show here": "عرض هنا",
|
||||
"Ask GEV what's here": "اسأل GEV عمّا هنا",
|
||||
"aircraft": "طائرة",
|
||||
"vessel": "سفينة",
|
||||
"launch": "إطلاق",
|
||||
"fire": "حريق",
|
||||
"Fire detection": "رصد حريق",
|
||||
"fire perimeter": "محيط حريق",
|
||||
"earthquake": "زلزال",
|
||||
"storm": "عاصفة",
|
||||
"air quality station": "محطة جودة الهواء",
|
||||
"installation": "منشأة",
|
||||
"dam": "سد",
|
||||
"data centre": "مركز بيانات",
|
||||
"place": "مكان",
|
||||
"vehicle": "مركبة",
|
||||
"bike station": "محطة دراجات",
|
||||
"plate reader": "قارئ لوحات",
|
||||
"camera": "كاميرا",
|
||||
"airspace": "مجال جوي",
|
||||
"sighting": "مشاهدة",
|
||||
"Callsign": "رمز النداء",
|
||||
"Registration": "التسجيل",
|
||||
"Aircraft class": "فئة الطائرة",
|
||||
"Course": "المسار",
|
||||
"Vertical rate": "معدل الصعود",
|
||||
"Squawk": "رمز المرسل المجيب",
|
||||
"Emergency": "طوارئ",
|
||||
"Last contact": "آخر اتصال",
|
||||
"Ship type": "نوع السفينة",
|
||||
"Destination": "الوجهة",
|
||||
"Depth": "العمق",
|
||||
"Time": "الوقت",
|
||||
"Place": "المكان",
|
||||
"Fire power": "قدرة الحريق",
|
||||
"Satellite": "القمر الصناعي",
|
||||
"Sensor": "المستشعر",
|
||||
"Detected": "رُصد",
|
||||
"Contained": "نسبة الاحتواء",
|
||||
"Discovered": "اكتُشف",
|
||||
"Basin": "الحوض",
|
||||
"Index": "المؤشر",
|
||||
"Health risk": "الخطر الصحي",
|
||||
"Bikes": "الدراجات",
|
||||
"Docks": "المراسي",
|
||||
"Floor": "الحد الأدنى",
|
||||
"Ceiling": "الحد الأعلى",
|
||||
"Active": "نشط",
|
||||
"NORAD ID": "معرّف NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "السعة",
|
||||
"Output": "الإنتاج",
|
||||
"River": "النهر",
|
||||
"City": "المدينة",
|
||||
"State": "الولاية",
|
||||
"Street": "الشارع",
|
||||
"Opened": "افتُتح",
|
||||
"Height": "الارتفاع",
|
||||
"IT load": "حمل تقنية المعلومات",
|
||||
"Waterway": "المجرى المائي",
|
||||
"Military": "عسكري",
|
||||
"Land use": "استخدام الأرض",
|
||||
"Telecom": "الاتصالات",
|
||||
"feature": "عنصر",
|
||||
"Empty": "فارغة",
|
||||
"Many seats free": "مقاعد كثيرة متاحة",
|
||||
"Few seats free": "مقاعد قليلة متاحة",
|
||||
"Standing room only": "وقوف فقط",
|
||||
"Crowded": "مزدحمة",
|
||||
"Not taking passengers": "لا تقبل ركابًا",
|
||||
"Major hurricane": "إعصار كبير",
|
||||
"Typhoon": "إعصار التيفون",
|
||||
"Super typhoon": "إعصار تيفون هائل",
|
||||
"Tropical cyclone": "إعصار مداري",
|
||||
"Prescribed burn": "حرق مخطط",
|
||||
"Atlantic": "الأطلسي",
|
||||
"Eastern Pacific": "شرق المحيط الهادئ",
|
||||
"Central Pacific": "وسط المحيط الهادئ",
|
||||
"Western Pacific": "غرب المحيط الهادئ",
|
||||
"Indian Ocean": "المحيط الهندي",
|
||||
"Southern Hemisphere": "نصف الكرة الجنوبي",
|
||||
"Cable tram": "ترام بالكابل",
|
||||
"Aerial lift": "تلفريك",
|
||||
"Fishing": "صيد",
|
||||
"Tug": "قاطرة",
|
||||
"Sailing": "شراعي",
|
||||
"Pleasure craft": "قارب نزهة",
|
||||
"Pilot vessel": "سفينة إرشاد",
|
||||
"Search and rescue": "بحث وإنقاذ",
|
||||
"Law enforcement": "إنفاذ القانون",
|
||||
"High-speed craft": "مركب عالي السرعة",
|
||||
"Passenger": "ركاب",
|
||||
"Cargo": "شحن",
|
||||
"Tanker": "ناقلة",
|
||||
"Yes": "نعم",
|
||||
"{n} ft": "{n} قدم",
|
||||
"{n} km/s": "{n} كم/ث",
|
||||
"{n} km/h": "{n} كم/س",
|
||||
"{n} kt": "{n} عقدة",
|
||||
"{n} ft/min": "{n} قدم/د",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} ميغاواط",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "اختطاف (الرمز 7500)",
|
||||
"Radio failure (squawk 7600)": "عطل لاسلكي (الرمز 7600)",
|
||||
"Emergency (squawk 7700)": "حالة طوارئ (الرمز 7700)",
|
||||
"Emergency: {kind}": "طوارئ: {kind}",
|
||||
"Emergency declared": "أُعلنت حالة طوارئ",
|
||||
"Tsunami warning issued": "صدر تحذير من تسونامي",
|
||||
"VFR, no flight plan": "VFR، بلا خطة طيران",
|
||||
"VFR conspicuity": "رمز VFR العام",
|
||||
"IFR, no code yet": "IFR، بلا رمز بعد",
|
||||
"Hijack": "اختطاف",
|
||||
"Climbing {n} ft/min": "يصعد {n} قدم/د",
|
||||
"Descending {n} ft/min": "يهبط {n} قدم/د",
|
||||
"Cruising, level": "طيران مستوٍ",
|
||||
"Airliners": "طائرات ركاب",
|
||||
"Widebodies": "طائرات عريضة البدن",
|
||||
"Business jets": "طائرات رجال أعمال",
|
||||
"Helicopters": "مروحيات",
|
||||
"Turboprops": "طائرات مروحية توربينية",
|
||||
"Fast jets": "طائرات نفاثة سريعة",
|
||||
"Four-engine jets": "طائرات رباعية المحركات",
|
||||
"M6 and above": "M6 فأكثر",
|
||||
"M5 to 6": "من M5 إلى 6",
|
||||
"M4 to 5": "من M4 إلى 5",
|
||||
"Below M4": "أقل من M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "البلد",
|
||||
"altitude|Level": "ثابت",
|
||||
"{h} h {m} min": "{h} س {m} د",
|
||||
"{n} min": "{n} د",
|
||||
"{speed} {direction}": "{speed} {direction}",
|
||||
"{n} mm": "{n} مم",
|
||||
"Scanning": "جارٍ المسح",
|
||||
"Route": "المسار",
|
||||
"3D model": "نموذج ثلاثي الأبعاد",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "منظر قمرة القيادة",
|
||||
"KT": "عقدة",
|
||||
"Course to {code}: {course}": "المسار إلى {code}: {course}",
|
||||
"Over {place}": "فوق {place}",
|
||||
"Below": "في الأسفل"
|
||||
}
|
||||
+464
-1
@@ -801,6 +801,7 @@
|
||||
"Requesting microphone": "Mikrofonzugriff wird angefordert",
|
||||
"Ask or command": "Fragen oder Befehl geben",
|
||||
"Running command": "Befehl läuft",
|
||||
"Voice is disabled in Stories.": "Die Sprachsteuerung ist in Stories deaktiviert.",
|
||||
"Voice off": "Sprache aus",
|
||||
"WebRTC microphone support unavailable": "WebRTC-Mikrofonunterstützung nicht verfügbar",
|
||||
"VOICE UNAVAILABLE": "SPRACHE N. V.",
|
||||
@@ -3668,5 +3669,467 @@
|
||||
"Search layers…": "Ebenen suchen…",
|
||||
"Layer groups": "Ebenengruppen",
|
||||
"Jump to {name}": "Zu {name} springen",
|
||||
"No layers match": "Keine passenden Ebenen"
|
||||
"No layers match": "Keine passenden Ebenen",
|
||||
"A GEV scene, played on the live globe.": "Eine GEV-Szene, abgespielt auf dem Live-Globus.",
|
||||
"Drag the map to explore · Resume any time": "Karte ziehen zum Erkunden · Jederzeit fortsetzen",
|
||||
"Region": "Region",
|
||||
"Europe": "Europa",
|
||||
"Middle East": "Naher Osten",
|
||||
"South Asia": "Südasien",
|
||||
"East Asia": "Ostasien",
|
||||
"Length": "Länge",
|
||||
"Under 1 min": "Unter 1 Min.",
|
||||
"1 min or more": "1 Min. oder mehr",
|
||||
"Shots": "Einstellungen",
|
||||
"Layers on": "Aktive Ebenen",
|
||||
"Stories": "Storys",
|
||||
"NEW": "NEU",
|
||||
"GEV Stories": "GEV Storys",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Kuratierte, interaktive Ansichten dessen, was auf der Erde passiert. Spielen Sie eine ab, übernehmen Sie jederzeit die Karte und setzen Sie die Story danach fort.",
|
||||
"Browse stories": "Storys durchsuchen",
|
||||
"Not now": "Nicht jetzt",
|
||||
"Opened in GEV": "In GEV geöffnet",
|
||||
"Back to story": "Zurück zur Story",
|
||||
"GEV Stories explore": "GEV Storys entdecken",
|
||||
"Resize story list": "Größe der Story-Liste ändern",
|
||||
"Story list size. Drag, or press to change": "Größe der Story-Liste. Ziehen oder drücken zum Ändern",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} von {count} Story",
|
||||
"other": "{n} von {count} Storys"
|
||||
},
|
||||
"Sort stories": "Storys sortieren",
|
||||
"Newest": "Neueste",
|
||||
"Longest": "Längste",
|
||||
"A–Z": "A–Z",
|
||||
"{count} filters on": {
|
||||
"one": "{count} Filter aktiv",
|
||||
"other": "{count} Filter aktiv"
|
||||
},
|
||||
"Filters": "Filter",
|
||||
"Search stories": "Storys durchsuchen",
|
||||
"Search stories, places, creators": "Storys, Orte, Ersteller suchen",
|
||||
"Clear search": "Suche leeren",
|
||||
"Topics": "Themen",
|
||||
"Filter stories": "Storys filtern",
|
||||
"Show {count} stories": {
|
||||
"one": "{count} Story anzeigen",
|
||||
"other": "{count} Storys anzeigen"
|
||||
},
|
||||
"No stories match": "Keine passenden Storys",
|
||||
"Try another word or clear the filters.": "Anderes Wort versuchen oder Filter zurücksetzen.",
|
||||
"Clear all": "Alle zurücksetzen",
|
||||
"STORY": "STORY",
|
||||
"Play {title}": "{title} abspielen",
|
||||
"Play story": "Story abspielen",
|
||||
"Preview {title}": "Vorschau: {title}",
|
||||
"Click to preview": "Klicken für Vorschau",
|
||||
"Click to play": "Klicken zum Abspielen",
|
||||
"Tap to play": "Tippen zum Abspielen",
|
||||
"Pick a story or a pin to preview it here": "Story oder Markierung für die Vorschau hier auswählen",
|
||||
"Story": "Story",
|
||||
"{what} link copied": "{what}-Link kopiert",
|
||||
"Copy this link: {url}": "Diesen Link kopieren: {url}",
|
||||
"Back to stories": "Zurück zu den Storys",
|
||||
"Back to the globe": "Zurück zum Globus",
|
||||
"Breadcrumb": "Navigationspfad",
|
||||
"Globe": "Globus",
|
||||
"Share": "Teilen",
|
||||
"Back to GEV": "Zurück zu GEV",
|
||||
"Chapter {n}": "Kapitel {n}",
|
||||
"Context. Swipe up or press to open": "Kontext. Nach oben wischen oder drücken zum Öffnen",
|
||||
"Context. Swipe down or press to close": "Kontext. Nach unten wischen oder drücken zum Schließen",
|
||||
"Search this story": "Diese Story durchsuchen",
|
||||
"Voice search (not in this build)": "Sprachsuche (in diesem Build nicht verfügbar)",
|
||||
"Search results": "Suchergebnisse",
|
||||
"Nothing in this story matches.": "Nichts in dieser Story passt.",
|
||||
"Chapters": "Kapitel",
|
||||
"now": "jetzt",
|
||||
"About": "Info",
|
||||
"by {creator}": "von {creator}",
|
||||
"Key moments": "Schlüsselmomente",
|
||||
"Sources": "Quellen",
|
||||
"Background": "Hintergrund",
|
||||
"Related stories": "Ähnliche Storys",
|
||||
"Story link copied": "Story-Link kopiert",
|
||||
"You": "Sie",
|
||||
"Open this moment in GEV": "Diesen Moment in GEV öffnen",
|
||||
"Open": "Öffnen",
|
||||
"Share this story": "Diese Story teilen",
|
||||
"GEV Story": "GEV-Story",
|
||||
"Story card": "Story-Karte",
|
||||
"Chapter": "Kapitel",
|
||||
"CHAPTER {n} / {total}": "KAPITEL {n} / {total}",
|
||||
"ON THE MAP": "AUF DER KARTE",
|
||||
"Right now": "Gerade jetzt",
|
||||
"RIGHT NOW": "GERADE JETZT",
|
||||
"Minimise card": "Karte minimieren",
|
||||
"Expand card": "Karte ausklappen",
|
||||
"Card pages": "Kartenseiten",
|
||||
"Resize context panel": "Größe des Kontextbereichs ändern",
|
||||
"Swipe up for context": "Nach oben wischen für Kontext",
|
||||
"Chapter start": "Kapitelanfang",
|
||||
"Story time": "Story-Zeit",
|
||||
"chapter": "Kapitel",
|
||||
"Key moment: {label}": "Schlüsselmoment: {label}",
|
||||
"Exit expanded map": "Vergrößerte Karte verlassen",
|
||||
"Expand map": "Karte vergrößern",
|
||||
"Exit cockpit to open Stories": "Cockpit verlassen, um Storys zu öffnen",
|
||||
"Stories could not load. Check the connection and try again.": "Storys konnten nicht geladen werden. Prüfen Sie die Verbindung und versuchen Sie es erneut.",
|
||||
"Shot {n} of {total}": "Aufnahme {n} von {total}",
|
||||
"GEV scene": "GEV-Szene",
|
||||
"SAVE TO STORIES": "IN STORIES SPEICHERN",
|
||||
"REMOVE FROM STORIES": "AUS STORIES ENTFERNEN",
|
||||
"Show this scene on the Stories page": "Diese Szene auf der Stories-Seite zeigen",
|
||||
"Take this scene off the Stories page": "Diese Szene von der Stories-Seite nehmen",
|
||||
"Saved to Stories": "In Stories gespeichert",
|
||||
"Removed from Stories": "Aus Stories entfernt",
|
||||
"A scene you made in GEV, played on the live globe.": "Eine Szene, die du in GEV erstellt hast, abgespielt auf dem Live-Globus.",
|
||||
"Floods": "Überschwemmungen",
|
||||
"Wildfires": "Waldbrände",
|
||||
"Storms": "Stürme",
|
||||
"Earthquakes": "Erdbeben",
|
||||
"Maritime": "Seefahrt",
|
||||
"Space": "Weltraum",
|
||||
"Conflict": "Konflikte",
|
||||
"Climate": "Klima",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Zum Erfassen eines Vorschaubilds zu Esri World Imagery wechseln",
|
||||
"Thumbnail could not be captured": "Vorschaubild konnte nicht aufgenommen werden",
|
||||
"Thumbnail captured": "Vorschaubild aufgenommen",
|
||||
"Stories tags": "Stories-Schlagwörter",
|
||||
"Story thumbnail": "Vorschaubild der Story",
|
||||
"Use the current view as the Stories card image": "Die aktuelle Ansicht als Bild der Stories-Karte verwenden",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Flugzeugpositionen stammen aus ADS-B: dem weltweiten Snapshot des OpenSky Network, ergänzt durch adsb.lol, wo OpenSky keine Daten hat.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Live-Flug-Ersatzquelle (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Satellitenbahnen werden aus den aktuellen Bahnelementen von CelesTrak berechnet.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Erdbeben stammen aus dem Live-Feed des U.S. Geological Survey.",
|
||||
"Traffic": "Verkehr",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Straßenverkehr; Live-Staudaten brauchen einen eigenen TomTom-Schlüssel.",
|
||||
"Live traffic flow, with your own key": "Live-Verkehrsfluss, mit eigenem Schlüssel",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Live-Flugverkehr weltweit: Atlantik, Europa, Japan und San Francisco.",
|
||||
"The Atlantic": "Der Atlantik",
|
||||
"Western Europe": "Westeuropa",
|
||||
"Japan": "Japan",
|
||||
"San Francisco Bay Area": "Bucht von San Francisco",
|
||||
"Pull back over the Atlantic": "Über dem Atlantik herauszoomen",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Satelliten im Orbit, beobachtet über Florida, Afrika, Tokio und Paris.",
|
||||
"Over Florida": "Über Florida",
|
||||
"Over Africa": "Über Afrika",
|
||||
"Over Tokyo": "Über Tokio",
|
||||
"Over Paris": "Über Paris",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Aktuelle Erdbeben in der Wärmebildansicht: Kalifornien, Japan, Neuseeland und vor Portugal.",
|
||||
"California": "Kalifornien",
|
||||
"New Zealand": "Neuseeland",
|
||||
"Off Portugal": "Vor Portugal",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Flüge, Satelliten und Verkehr zusammen über New York, Los Angeles und London.",
|
||||
"New York, closer": "New York, näher",
|
||||
"New York, closer still": "New York, noch näher",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Alle Live-Ebenen auf einmal, von Tokio hinaus bis zum ganzen Planeten.",
|
||||
"Tokyo, pulling back": "Tokio, herauszoomen",
|
||||
"Japan and East Asia": "Japan und Ostasien",
|
||||
"South China Sea": "Südchinesisches Meer",
|
||||
"The whole globe": "Der ganze Globus",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "Die Ausbruchsflut am Bhote Koshi in Nepal vom 26. August 2026, talabwärts verfolgt bis Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Rekonstruierter Flutpfad (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "VORSCHAUBILD",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Weltweiter Live-Flug-Snapshot (Lizenz für nichtkommerzielle Forschung und Lehre)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Satelliten-Bahnelemente und Katalog (Daten der US-Regierung)",
|
||||
"Satellite operators, owners and purposes": "Betreiber, Eigentümer und Zwecke von Satelliten",
|
||||
"Earthquake feed (U.S. public domain)": "Erdbeben-Feed (gemeinfrei in den USA)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Historische Satellitenbilder und Bilder nach dem Ereignis (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Eine Visualisierung der Ausbruchsflut am Bhote Koshi vom 26. August 2026, kein offizielles Gefahrenmodell. Die historischen Ansichten (2021) und die Ansichten nach dem Ereignis sind Vantor-WorldView-Bilder; der Flussverlauf ist die Rekonstruktion von GeoPera. Augenzeugenclips verlinken auf ihre ursprünglichen Beiträge, ihre Aufnahmezeiten sind nicht überprüft.",
|
||||
"That story is not available here": "Diese Story ist hier nicht verfügbar",
|
||||
"DRAFT": "ENTWURF",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Ein Entwurf, noch nicht als Story gespeichert. Mit IN STORIES SPEICHERN unter SZENEN speicherst du ihn.",
|
||||
"Heading to next stop": "Unterwegs zur nächsten Haltestelle",
|
||||
"Arriving at a stop": "Erreicht eine Haltestelle",
|
||||
"Stopped at a stop": "Hält an einer Haltestelle",
|
||||
"Wikipedia": "Wikipedia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Website",
|
||||
"Phase": "Flugphase",
|
||||
"Flight level": "Flugfläche",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Signal",
|
||||
"Civilian, in the air": "Zivil, in der Luft",
|
||||
"Military, in the air": "Militär, in der Luft",
|
||||
"On the ground": "Am Boden",
|
||||
"Motion": "Bewegung",
|
||||
"Operator": "Betreiber",
|
||||
"Last reported": "Zuletzt gemeldet",
|
||||
"Crowding": "Auslastung",
|
||||
"Class": "Klasse",
|
||||
"Magnitude": "Magnitude",
|
||||
"Labels": "Beschriftungen",
|
||||
"3D aircraft": "3D-Flugzeuge",
|
||||
"M{mag} earthquake": "Erdbeben der Stärke {mag}",
|
||||
"Earthquake": "Erdbeben",
|
||||
"{n} kt winds": "Wind {n} kn",
|
||||
"Wildfire": "Waldbrand",
|
||||
"{n} acres": "{n} Acres",
|
||||
"{n}% contained": "{n} % eingedämmt",
|
||||
"prescribed burn": "kontrolliertes Abbrennen",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} Feuermeldung per Satellit",
|
||||
"other": "{count} Feuermeldungen per Satellit"
|
||||
},
|
||||
"last day": "letzter Tag",
|
||||
"Conditions unknown": "Wetterlage unbekannt",
|
||||
"Partly cloudy": "Teilweise bewölkt",
|
||||
"Overcast": "Bedeckt",
|
||||
"Fog": "Nebel",
|
||||
"Drizzle": "Nieselregen",
|
||||
"Rain": "Regen",
|
||||
"Snow": "Schnee",
|
||||
"Rain showers": "Regenschauer",
|
||||
"Snow showers": "Schneeschauer",
|
||||
"Thunderstorm": "Gewitter",
|
||||
"Mixed conditions": "Wechselhaft",
|
||||
"Search {name} and nearby": "{name} und Umgebung durchsuchen",
|
||||
"Search what is in view": "Sichtbares durchsuchen",
|
||||
"Close Context search": "Kontextsuche schließen",
|
||||
"Search in Context": "Im Kontext suchen",
|
||||
"Close search": "Suche schließen",
|
||||
"Shrink Context back to a panel": "Kontext wieder als Bereich anzeigen",
|
||||
"Expand Context to a full-height column": "Kontext als Spalte in voller Höhe anzeigen",
|
||||
"Context tabs": "Kontext-Tabs",
|
||||
"Inspector": "Inspektor",
|
||||
"Properties": "Eigenschaften",
|
||||
"Level": "Stufe",
|
||||
"Last {n} min": "Letzte {n} Min.",
|
||||
"Just now": "Gerade eben",
|
||||
"Since selected": "Seit der Auswahl",
|
||||
"Altitude": "Höhe",
|
||||
"Heading": "Kurs",
|
||||
"Field of view": "Sichtfeld",
|
||||
"Camera frame": "Kamerabild",
|
||||
"Acquiring frame…": "Bild wird geladen…",
|
||||
"Show a bigger view": "Größer anzeigen",
|
||||
"Camera view": "Kameraansicht",
|
||||
"More info": "Mehr Infos",
|
||||
"{n} s ago": "vor {n} s",
|
||||
"{n} min ago": "vor {n} Min.",
|
||||
"{n} h ago": "vor {n} Std.",
|
||||
"{n} d ago": "vor {n} T.",
|
||||
"Out of feed · last reading": "Nicht mehr im Feed · letzter Stand",
|
||||
"Live · {age}": "Live · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "aktualisiert {age}",
|
||||
"Selected on the map": "Auf der Karte ausgewählt",
|
||||
"Close card": "Karte schließen",
|
||||
"{n}% flown": "{n} % geflogen",
|
||||
"to go": "verbleibend",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "Die geplante Route dieser Flugnummer passt nicht zur Position des Flugzeugs; vielleicht ist es eine andere Teilstrecke desselben Flugs.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Geplant · unbestätigt: passt nicht zur Position des Flugzeugs",
|
||||
"Nothing in this item’s details matches “{text}”.": "Nichts in den Details dieses Elements passt zu „{text}“.",
|
||||
"Matching details": "Passende Details",
|
||||
"Enter orbital view": "Orbitalansicht öffnen",
|
||||
"Enter Cockpit": "Cockpit öffnen",
|
||||
"Fly to": "Hinfliegen",
|
||||
"Following": "Folgt",
|
||||
"Follow": "Folgen",
|
||||
"Ask GEV about {name}": "GEV zu {name} fragen",
|
||||
"Flights within {radius}": "Flüge im Umkreis von {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Keine Flüge im Umkreis von {radius} aus den aktiven Ebenen.",
|
||||
"Vessels within {radius}": "Schiffe im Umkreis von {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Keine Schiffe im Umkreis von {radius} aus den aktiven Ebenen.",
|
||||
"Cloud": "Bewölkung",
|
||||
"Visibility": "Sicht",
|
||||
"Conditions here": "Bedingungen hier",
|
||||
"feels {n}°": "gefühlt {n}°",
|
||||
"Reading conditions here…": "Bedingungen werden abgerufen…",
|
||||
"No weather reading here.": "Hier keine Wetterdaten.",
|
||||
"Local solar time": "Wahre Ortszeit",
|
||||
"Nearby radius": "Umkreis",
|
||||
"How far out the nearby lists look": "Wie weit die Umgebungslisten reichen",
|
||||
"Hazards within {radius}": "Gefahren im Umkreis von {radius}",
|
||||
"Turns the layer on": "Schaltet die Ebene ein",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "Keine Erdbeben, Tropenstürme oder Waldbrände im Umkreis von {radius} gemeldet.",
|
||||
"Broadcast alerts within {radius}": "Gesendete Warnungen im Umkreis von {radius}",
|
||||
"Also within {radius}": "Ebenfalls im Umkreis von {radius}",
|
||||
"Local news": "Lokale Nachrichten",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Sonnenuhr · {time} Sonnenzeit · Sonne {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Sonnenuhr · {time} Sonnenzeit · Sonne unter dem Horizont",
|
||||
"{count} things": {
|
||||
"one": "{count} Objekt",
|
||||
"other": "{count} Objekte"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} Ebene",
|
||||
"other": "{count} Ebenen"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} im Blick aus {layers}",
|
||||
"{n} km up": "{n} km hoch",
|
||||
"{n} m up": "{n} m hoch",
|
||||
"This view": "Diese Ansicht",
|
||||
"Day": "Tag",
|
||||
"Twilight": "Dämmerung",
|
||||
"Night": "Nacht",
|
||||
"Daylight": "Tageslicht",
|
||||
"sun {n}°": "Sonne {n}°",
|
||||
"Of {n} read, {total} loaded": "Von {n} gelesen, {total} geladen",
|
||||
"Of all {n}": "Von allen {n}",
|
||||
"Of {n} in view": "Von {n} im Blick",
|
||||
"Error": "Fehler",
|
||||
"Stale": "Veraltet",
|
||||
"In view": "Im Blick",
|
||||
"Globe view": "Globusansicht",
|
||||
"Nothing selected": "Nichts ausgewählt",
|
||||
"Worldwide now": "Weltweit jetzt",
|
||||
"Turn on {name}": "{name} einschalten",
|
||||
"{n} loaded": "{n} geladen",
|
||||
"{n} in view": "{n} im Blick",
|
||||
"Turn off {name}": "{name} ausschalten",
|
||||
"Camera height": "Kamerahöhe",
|
||||
"Nothing in view matches “{text}”.": "Nichts im Blick passt zu „{text}“.",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Aus den aktiven Ebenen ist hier nichts im Blick. Herauszoomen, um mehr zu sehen.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Keine geladene Ebene hat etwas im Blick. Schalte welche unter Datenebenen ein.",
|
||||
"Places in view": "Orte im Blick",
|
||||
"Show here": "Hier anzeigen",
|
||||
"Ask GEV what's here": "GEV fragen, was hier ist",
|
||||
"aircraft": "Flugzeug",
|
||||
"vessel": "Schiff",
|
||||
"launch": "Start",
|
||||
"fire": "Feuer",
|
||||
"Fire detection": "Feuererkennung",
|
||||
"fire perimeter": "Brandfläche",
|
||||
"earthquake": "Erdbeben",
|
||||
"storm": "Sturm",
|
||||
"air quality station": "Luftmessstation",
|
||||
"installation": "Anlage",
|
||||
"dam": "Damm",
|
||||
"data centre": "Rechenzentrum",
|
||||
"place": "Ort",
|
||||
"vehicle": "Fahrzeug",
|
||||
"bike station": "Fahrradstation",
|
||||
"plate reader": "Kennzeichenleser",
|
||||
"camera": "Kamera",
|
||||
"airspace": "Luftraum",
|
||||
"sighting": "Sichtung",
|
||||
"Callsign": "Rufzeichen",
|
||||
"Registration": "Kennzeichen",
|
||||
"Aircraft class": "Flugzeugklasse",
|
||||
"Course": "Kurs über Grund",
|
||||
"Vertical rate": "Steigrate",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Notfall",
|
||||
"Last contact": "Letzter Kontakt",
|
||||
"Ship type": "Schiffstyp",
|
||||
"Destination": "Ziel",
|
||||
"Depth": "Tiefe",
|
||||
"Time": "Zeit",
|
||||
"Place": "Ort",
|
||||
"Fire power": "Feuerleistung",
|
||||
"Satellite": "Satellit",
|
||||
"Sensor": "Sensor",
|
||||
"Detected": "Erkannt",
|
||||
"Contained": "Eingedämmt",
|
||||
"Discovered": "Entdeckt",
|
||||
"Basin": "Becken",
|
||||
"Index": "Index",
|
||||
"Health risk": "Gesundheitsrisiko",
|
||||
"Bikes": "Fahrräder",
|
||||
"Docks": "Stellplätze",
|
||||
"Floor": "Untergrenze",
|
||||
"Ceiling": "Obergrenze",
|
||||
"Active": "Aktiv",
|
||||
"NORAD ID": "NORAD-ID",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Kapazität",
|
||||
"Output": "Leistung",
|
||||
"River": "Fluss",
|
||||
"City": "Stadt",
|
||||
"State": "Bundesstaat",
|
||||
"Street": "Straße",
|
||||
"Opened": "Eröffnet",
|
||||
"Height": "Höhe",
|
||||
"IT load": "IT-Last",
|
||||
"Waterway": "Wasserweg",
|
||||
"Military": "Militär",
|
||||
"Land use": "Landnutzung",
|
||||
"Telecom": "Telekommunikation",
|
||||
"feature": "Objekt",
|
||||
"Empty": "Leer",
|
||||
"Many seats free": "Viele Plätze frei",
|
||||
"Few seats free": "Wenige Plätze frei",
|
||||
"Standing room only": "Nur Stehplätze",
|
||||
"Crowded": "Überfüllt",
|
||||
"Not taking passengers": "Kein Einstieg",
|
||||
"Major hurricane": "Schwerer Hurrikan",
|
||||
"Typhoon": "Taifun",
|
||||
"Super typhoon": "Supertaifun",
|
||||
"Tropical cyclone": "Tropischer Wirbelsturm",
|
||||
"Prescribed burn": "Kontrolliertes Abbrennen",
|
||||
"Atlantic": "Atlantik",
|
||||
"Eastern Pacific": "Ostpazifik",
|
||||
"Central Pacific": "Zentralpazifik",
|
||||
"Western Pacific": "Westpazifik",
|
||||
"Indian Ocean": "Indischer Ozean",
|
||||
"Southern Hemisphere": "Südhalbkugel",
|
||||
"Cable tram": "Kabelstraßenbahn",
|
||||
"Aerial lift": "Seilbahn",
|
||||
"Fishing": "Fischerei",
|
||||
"Tug": "Schlepper",
|
||||
"Sailing": "Segelschiff",
|
||||
"Pleasure craft": "Sportboot",
|
||||
"Pilot vessel": "Lotsenboot",
|
||||
"Search and rescue": "Seenotrettung",
|
||||
"Law enforcement": "Behördenschiff",
|
||||
"High-speed craft": "Schnellboot",
|
||||
"Passenger": "Passagierschiff",
|
||||
"Cargo": "Frachter",
|
||||
"Tanker": "Tanker",
|
||||
"Yes": "Ja",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n} %",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Entführung (Squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Funkausfall (Squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Notfall (Squawk 7700)",
|
||||
"Emergency: {kind}": "Notfall: {kind}",
|
||||
"Emergency declared": "Notfall erklärt",
|
||||
"Tsunami warning issued": "Tsunamiwarnung ausgegeben",
|
||||
"VFR, no flight plan": "VFR, ohne Flugplan",
|
||||
"VFR conspicuity": "VFR-Standardcode",
|
||||
"IFR, no code yet": "IFR, noch kein Code",
|
||||
"Hijack": "Entführung",
|
||||
"Climbing {n} ft/min": "Steigt mit {n} ft/min",
|
||||
"Descending {n} ft/min": "Sinkt mit {n} ft/min",
|
||||
"Cruising, level": "Reiseflug, gleichbleibend",
|
||||
"Airliners": "Verkehrsflugzeuge",
|
||||
"Widebodies": "Großraumflugzeuge",
|
||||
"Business jets": "Businessjets",
|
||||
"Helicopters": "Hubschrauber",
|
||||
"Turboprops": "Turboprops",
|
||||
"Fast jets": "Kampfjets",
|
||||
"Four-engine jets": "Vierstrahlige Jets",
|
||||
"M6 and above": "M6 und mehr",
|
||||
"M5 to 6": "M5 bis 6",
|
||||
"M4 to 5": "M4 bis 5",
|
||||
"Below M4": "Unter M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Land",
|
||||
"altitude|Level": "Gleichbleibend",
|
||||
"{h} h {m} min": "{h} Std. {m} Min.",
|
||||
"{n} min": "{n} Min.",
|
||||
"{speed} {direction}": "{speed} aus {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Scan läuft",
|
||||
"Route": "Route",
|
||||
"3D model": "3D-Modell",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Cockpitsicht",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Kurs nach {code}: {course}",
|
||||
"Over {place}": "Über {place}",
|
||||
"Below": "Darunter"
|
||||
}
|
||||
+470
-1
@@ -995,6 +995,7 @@
|
||||
"Hold Space to talk": "Mantén Space y habla",
|
||||
"Release Space to send": "Suelta Space para enviar",
|
||||
"Ask or command": "Pregunta o ordena",
|
||||
"Voice is disabled in Stories.": "El control por voz está desactivado en Historias.",
|
||||
"Voice off": "Voz desactivada",
|
||||
"Running command": "Ejecutando comando",
|
||||
"Radio did not start": "La radio no se inició",
|
||||
@@ -3765,5 +3766,473 @@
|
||||
"Search layers…": "Buscar capas…",
|
||||
"Layer groups": "Grupos de capas",
|
||||
"Jump to {name}": "Ir a {name}",
|
||||
"No layers match": "Ninguna capa coincide"
|
||||
"No layers match": "Ninguna capa coincide",
|
||||
"A GEV scene, played on the live globe.": "Una escena de GEV, reproducida en el globo en vivo.",
|
||||
"Drag the map to explore · Resume any time": "Arrastra el mapa para explorar · Reanuda cuando quieras",
|
||||
"Region": "Región",
|
||||
"Europe": "Europa",
|
||||
"Middle East": "Oriente Medio",
|
||||
"South Asia": "Asia meridional",
|
||||
"East Asia": "Asia oriental",
|
||||
"Length": "Duración",
|
||||
"Under 1 min": "Menos de 1 min",
|
||||
"1 min or more": "1 min o más",
|
||||
"Shots": "Planos",
|
||||
"Layers on": "Capas activas",
|
||||
"Stories": "Historias",
|
||||
"NEW": "NUEVO",
|
||||
"GEV Stories": "Historias de GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Vistas interactivas y seleccionadas de lo que está pasando en la Tierra. Reproduce una, toma el control del mapa cuando quieras y luego retoma la historia.",
|
||||
"Browse stories": "Explorar historias",
|
||||
"Not now": "Ahora no",
|
||||
"Opened in GEV": "Abierto en GEV",
|
||||
"Back to story": "Volver a la historia",
|
||||
"GEV Stories explore": "Explorar Historias de GEV",
|
||||
"Resize story list": "Cambiar el tamaño de la lista de historias",
|
||||
"Story list size. Drag, or press to change": "Tamaño de la lista de historias. Arrastra o pulsa para cambiarlo",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} de {count} historia",
|
||||
"many": "{n} de {count} de historias",
|
||||
"other": "{n} de {count} historias"
|
||||
},
|
||||
"Sort stories": "Ordenar historias",
|
||||
"Newest": "Más recientes",
|
||||
"Longest": "Más largas",
|
||||
"A–Z": "A–Z",
|
||||
"{count} filters on": {
|
||||
"one": "{count} filtro activo",
|
||||
"many": "{count} de filtros activos",
|
||||
"other": "{count} filtros activos"
|
||||
},
|
||||
"Filters": "Filtros",
|
||||
"Search stories": "Buscar historias",
|
||||
"Search stories, places, creators": "Buscar historias, lugares, creadores",
|
||||
"Clear search": "Borrar búsqueda",
|
||||
"Topics": "Temas",
|
||||
"Filter stories": "Filtrar historias",
|
||||
"Show {count} stories": {
|
||||
"one": "Mostrar {count} historia",
|
||||
"many": "Mostrar {count} de historias",
|
||||
"other": "Mostrar {count} historias"
|
||||
},
|
||||
"No stories match": "Ninguna historia coincide",
|
||||
"Try another word or clear the filters.": "Prueba otra palabra o borra los filtros.",
|
||||
"Clear all": "Borrar todo",
|
||||
"STORY": "HISTORIA",
|
||||
"Play {title}": "Reproducir {title}",
|
||||
"Play story": "Reproducir historia",
|
||||
"Preview {title}": "Vista previa de {title}",
|
||||
"Click to preview": "Haz clic para la vista previa",
|
||||
"Click to play": "Haz clic para reproducir",
|
||||
"Tap to play": "Toca para reproducir",
|
||||
"Pick a story or a pin to preview it here": "Elige una historia o un marcador para verla aquí",
|
||||
"Story": "Historia",
|
||||
"{what} link copied": "Enlace de {what} copiado",
|
||||
"Copy this link: {url}": "Copia este enlace: {url}",
|
||||
"Back to stories": "Volver a las historias",
|
||||
"Back to the globe": "Volver al globo",
|
||||
"Breadcrumb": "Ruta de navegación",
|
||||
"Globe": "Globo",
|
||||
"Share": "Compartir",
|
||||
"Back to GEV": "Volver a GEV",
|
||||
"Chapter {n}": "Capítulo {n}",
|
||||
"Context. Swipe up or press to open": "Contexto. Desliza hacia arriba o pulsa para abrir",
|
||||
"Context. Swipe down or press to close": "Contexto. Desliza hacia abajo o pulsa para cerrar",
|
||||
"Search this story": "Buscar en esta historia",
|
||||
"Voice search (not in this build)": "Búsqueda por voz (no disponible en esta versión)",
|
||||
"Search results": "Resultados de búsqueda",
|
||||
"Nothing in this story matches.": "Nada en esta historia coincide.",
|
||||
"Chapters": "Capítulos",
|
||||
"now": "ahora",
|
||||
"About": "Acerca de",
|
||||
"by {creator}": "por {creator}",
|
||||
"Key moments": "Momentos clave",
|
||||
"Sources": "Fuentes",
|
||||
"Background": "Antecedentes",
|
||||
"Related stories": "Historias relacionadas",
|
||||
"Story link copied": "Enlace de la historia copiado",
|
||||
"You": "Tú",
|
||||
"Open this moment in GEV": "Abrir este momento en GEV",
|
||||
"Open": "Abrir",
|
||||
"Share this story": "Compartir esta historia",
|
||||
"GEV Story": "Historia de GEV",
|
||||
"Story card": "Ficha de la historia",
|
||||
"Chapter": "Capítulo",
|
||||
"CHAPTER {n} / {total}": "CAPÍTULO {n} / {total}",
|
||||
"ON THE MAP": "EN EL MAPA",
|
||||
"Right now": "Ahora mismo",
|
||||
"RIGHT NOW": "AHORA MISMO",
|
||||
"Minimise card": "Minimizar ficha",
|
||||
"Expand card": "Ampliar ficha",
|
||||
"Card pages": "Páginas de la ficha",
|
||||
"Resize context panel": "Cambiar el tamaño del panel de contexto",
|
||||
"Swipe up for context": "Desliza hacia arriba para ver el contexto",
|
||||
"Chapter start": "Inicio del capítulo",
|
||||
"Story time": "Hora de la historia",
|
||||
"chapter": "capítulo",
|
||||
"Key moment: {label}": "Momento clave: {label}",
|
||||
"Exit expanded map": "Salir del mapa ampliado",
|
||||
"Expand map": "Ampliar mapa",
|
||||
"Exit cockpit to open Stories": "Sal de la cabina para abrir Historias",
|
||||
"Stories could not load. Check the connection and try again.": "No se pudieron cargar las Historias. Comprueba la conexión e inténtalo de nuevo.",
|
||||
"Shot {n} of {total}": "Plano {n} de {total}",
|
||||
"GEV scene": "Escena de GEV",
|
||||
"SAVE TO STORIES": "GUARDAR EN STORIES",
|
||||
"REMOVE FROM STORIES": "QUITAR DE STORIES",
|
||||
"Show this scene on the Stories page": "Mostrar esta escena en la página Stories",
|
||||
"Take this scene off the Stories page": "Quitar esta escena de la página Stories",
|
||||
"Saved to Stories": "Guardada en Stories",
|
||||
"Removed from Stories": "Quitada de Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Una escena que creaste en GEV, reproducida en el globo en vivo.",
|
||||
"Floods": "Inundaciones",
|
||||
"Wildfires": "Incendios forestales",
|
||||
"Storms": "Tormentas",
|
||||
"Earthquakes": "Terremotos",
|
||||
"Maritime": "Marítimo",
|
||||
"Space": "Espacio",
|
||||
"Conflict": "Conflictos",
|
||||
"Climate": "Clima",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Cambia a Esri World Imagery para capturar una miniatura",
|
||||
"Thumbnail could not be captured": "No se pudo capturar la miniatura",
|
||||
"Thumbnail captured": "Miniatura capturada",
|
||||
"Stories tags": "Etiquetas de Stories",
|
||||
"Story thumbnail": "Miniatura de la historia",
|
||||
"Use the current view as the Stories card image": "Usar la vista actual como imagen de la tarjeta de Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Las posiciones de los aviones vienen de ADS-B: la instantánea mundial de OpenSky Network, con adsb.lol donde OpenSky no tiene datos.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Respaldo de vuelos en vivo (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Las órbitas de los satélites se calculan con los elementos orbitales actuales de CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Los terremotos vienen del feed en vivo del Servicio Geológico de EE. UU.",
|
||||
"Traffic": "Tráfico",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Tráfico vial; la congestión en vivo requiere tu propia clave de TomTom.",
|
||||
"Live traffic flow, with your own key": "Flujo de tráfico en vivo, con tu propia clave",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Tráfico aéreo en vivo en todo el mundo: el Atlántico, Europa, Japón y San Francisco.",
|
||||
"The Atlantic": "El Atlántico",
|
||||
"Western Europe": "Europa occidental",
|
||||
"Japan": "Japón",
|
||||
"San Francisco Bay Area": "Bahía de San Francisco",
|
||||
"Pull back over the Atlantic": "Alejarse sobre el Atlántico",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Satélites en órbita, vistos desde Florida, África, Tokio y París.",
|
||||
"Over Florida": "Sobre Florida",
|
||||
"Over Africa": "Sobre África",
|
||||
"Over Tokyo": "Sobre Tokio",
|
||||
"Over Paris": "Sobre París",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Terremotos recientes con la vista térmica: California, Japón, Nueva Zelanda y frente a Portugal.",
|
||||
"California": "California",
|
||||
"New Zealand": "Nueva Zelanda",
|
||||
"Off Portugal": "Frente a Portugal",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Vuelos, satélites y tráfico juntos sobre Nueva York, Los Ángeles y Londres.",
|
||||
"New York, closer": "Nueva York, más cerca",
|
||||
"New York, closer still": "Nueva York, aún más cerca",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Todas las capas en vivo a la vez, alejándose de Tokio hasta todo el planeta.",
|
||||
"Tokyo, pulling back": "Tokio, alejándose",
|
||||
"Japan and East Asia": "Japón y Asia oriental",
|
||||
"South China Sea": "Mar de China Meridional",
|
||||
"The whole globe": "Todo el globo",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "La inundación por desborde del Bhote Koshi del 26 de agosto de 2026 en Nepal, seguida valle abajo hasta Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Recorrido reconstruido de la inundación (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "MINIATURA",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Instantánea mundial de vuelos en vivo (licencia no comercial para investigación y educación)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Elementos orbitales y catálogo de satélites (datos del Gobierno de EE. UU.)",
|
||||
"Satellite operators, owners and purposes": "Operadores, propietarios y finalidades de los satélites",
|
||||
"Earthquake feed (U.S. public domain)": "Feed de terremotos (dominio público de EE. UU.)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Imágenes satelitales históricas y posteriores al evento (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Una visualización de la inundación por desborde del Bhote Koshi del 26 de agosto de 2026, no un modelo oficial de riesgos. Las vistas históricas (2021) y posteriores al evento son imágenes de Vantor WorldView; el recorrido del río es la reconstrucción de GeoPera. Los clips de testigos enlazan a sus publicaciones originales, y sus horas de captura no están verificadas.",
|
||||
"That story is not available here": "Esa historia no está disponible aquí",
|
||||
"DRAFT": "BORRADOR",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Un borrador, aún no guardado como historia. Usa GUARDAR EN STORIES en CREACIÓN para guardarlo.",
|
||||
"Heading to next stop": "Hacia la próxima parada",
|
||||
"Arriving at a stop": "Llegando a una parada",
|
||||
"Stopped at a stop": "Detenido en una parada",
|
||||
"Wikipedia": "Wikipedia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Sitio web",
|
||||
"Phase": "Fase",
|
||||
"Flight level": "Nivel de vuelo",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Señal",
|
||||
"Civilian, in the air": "Civiles, en vuelo",
|
||||
"Military, in the air": "Militares, en vuelo",
|
||||
"On the ground": "En tierra",
|
||||
"Motion": "Movimiento",
|
||||
"Operator": "Operador",
|
||||
"Last reported": "Último informe",
|
||||
"Crowding": "Ocupación",
|
||||
"Class": "Clase",
|
||||
"Magnitude": "Magnitud",
|
||||
"Labels": "Etiquetas",
|
||||
"3D aircraft": "Aeronaves 3D",
|
||||
"M{mag} earthquake": "Sismo de magnitud {mag}",
|
||||
"Earthquake": "Sismo",
|
||||
"{n} kt winds": "Vientos de {n} kt",
|
||||
"Wildfire": "Incendio forestal",
|
||||
"{n} acres": "{n} acres",
|
||||
"{n}% contained": "{n} % contenido",
|
||||
"prescribed burn": "quema prescrita",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} detección satelital de fuego",
|
||||
"many": "{count} de detecciones satelitales de fuego",
|
||||
"other": "{count} detecciones satelitales de fuego"
|
||||
},
|
||||
"last day": "último día",
|
||||
"Conditions unknown": "Condiciones desconocidas",
|
||||
"Partly cloudy": "Parcialmente nublado",
|
||||
"Overcast": "Cubierto",
|
||||
"Fog": "Niebla",
|
||||
"Drizzle": "Llovizna",
|
||||
"Rain": "Lluvia",
|
||||
"Snow": "Nieve",
|
||||
"Rain showers": "Chubascos",
|
||||
"Snow showers": "Chubascos de nieve",
|
||||
"Thunderstorm": "Tormenta eléctrica",
|
||||
"Mixed conditions": "Condiciones variables",
|
||||
"Search {name} and nearby": "Buscar en {name} y alrededores",
|
||||
"Search what is in view": "Buscar en lo que está a la vista",
|
||||
"Close Context search": "Cerrar la búsqueda en Contexto",
|
||||
"Search in Context": "Buscar en Contexto",
|
||||
"Close search": "Cerrar búsqueda",
|
||||
"Shrink Context back to a panel": "Reducir Contexto a un panel",
|
||||
"Expand Context to a full-height column": "Ampliar Contexto a una columna de altura completa",
|
||||
"Context tabs": "Pestañas de Contexto",
|
||||
"Inspector": "Inspector",
|
||||
"Properties": "Propiedades",
|
||||
"Level": "Nivel",
|
||||
"Last {n} min": "Últimos {n} min",
|
||||
"Just now": "Justo ahora",
|
||||
"Since selected": "Desde la selección",
|
||||
"Altitude": "Altitud",
|
||||
"Heading": "Rumbo",
|
||||
"Field of view": "Campo de visión",
|
||||
"Camera frame": "Imagen de la cámara",
|
||||
"Acquiring frame…": "Obteniendo imagen…",
|
||||
"Show a bigger view": "Ver en grande",
|
||||
"Camera view": "Vista de la cámara",
|
||||
"More info": "Más información",
|
||||
"{n} s ago": "hace {n} s",
|
||||
"{n} min ago": "hace {n} min",
|
||||
"{n} h ago": "hace {n} h",
|
||||
"{n} d ago": "hace {n} d",
|
||||
"Out of feed · last reading": "Fuera del feed · última lectura",
|
||||
"Live · {age}": "En vivo · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "actualizado {age}",
|
||||
"Selected on the map": "Seleccionado en el mapa",
|
||||
"Close card": "Cerrar ficha",
|
||||
"{n}% flown": "{n} % recorrido",
|
||||
"to go": "restantes",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "La ruta programada de este número de vuelo no coincide con la posición del avión; puede ser otro tramo del mismo vuelo.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Programado · sin verificar: no coincide con la posición del avión",
|
||||
"Nothing in this item’s details matches “{text}”.": "Nada en los detalles de este elemento coincide con «{text}».",
|
||||
"Matching details": "Detalles coincidentes",
|
||||
"Enter orbital view": "Entrar en la vista orbital",
|
||||
"Enter Cockpit": "Entrar en la cabina",
|
||||
"Fly to": "Volar hasta",
|
||||
"Following": "Siguiendo",
|
||||
"Follow": "Seguir",
|
||||
"Ask GEV about {name}": "Preguntar a GEV sobre {name}",
|
||||
"Flights within {radius}": "Vuelos en {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "No hay vuelos en {radius} en las capas activas.",
|
||||
"Vessels within {radius}": "Buques en {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "No hay buques en {radius} en las capas activas.",
|
||||
"Cloud": "Nubosidad",
|
||||
"Visibility": "Visibilidad",
|
||||
"Conditions here": "Condiciones aquí",
|
||||
"feels {n}°": "sensación {n}°",
|
||||
"Reading conditions here…": "Leyendo las condiciones aquí…",
|
||||
"No weather reading here.": "No hay datos del tiempo aquí.",
|
||||
"Local solar time": "Hora solar local",
|
||||
"Nearby radius": "Radio cercano",
|
||||
"How far out the nearby lists look": "Hasta dónde llegan las listas cercanas",
|
||||
"Hazards within {radius}": "Peligros en {radius}",
|
||||
"Turns the layer on": "Activa la capa",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "No hay sismos, tormentas tropicales ni incendios forestales en {radius}.",
|
||||
"Broadcast alerts within {radius}": "Alertas emitidas en {radius}",
|
||||
"Also within {radius}": "También en {radius}",
|
||||
"Local news": "Noticias locales",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Reloj de sol · {time} solar · sol a {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Reloj de sol · {time} solar · sol bajo el horizonte",
|
||||
"{count} things": {
|
||||
"one": "{count} elemento",
|
||||
"many": "{count} de elementos",
|
||||
"other": "{count} elementos"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} capa",
|
||||
"many": "{count} de capas",
|
||||
"other": "{count} capas"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} a la vista de {layers}",
|
||||
"{n} km up": "a {n} km de altura",
|
||||
"{n} m up": "a {n} m de altura",
|
||||
"This view": "Esta vista",
|
||||
"Day": "Día",
|
||||
"Twilight": "Crepúsculo",
|
||||
"Night": "Noche",
|
||||
"Daylight": "Luz del día",
|
||||
"sun {n}°": "sol {n}°",
|
||||
"Of {n} read, {total} loaded": "De {n} leídos, {total} cargados",
|
||||
"Of all {n}": "De los {n}",
|
||||
"Of {n} in view": "De {n} a la vista",
|
||||
"Error": "Error",
|
||||
"Stale": "Desactualizado",
|
||||
"In view": "A la vista",
|
||||
"Globe view": "Vista del globo",
|
||||
"Nothing selected": "Nada seleccionado",
|
||||
"Worldwide now": "En el mundo ahora",
|
||||
"Turn on {name}": "Activar {name}",
|
||||
"{n} loaded": "{n} cargados",
|
||||
"{n} in view": "{n} a la vista",
|
||||
"Turn off {name}": "Desactivar {name}",
|
||||
"Camera height": "Altura de la cámara",
|
||||
"Nothing in view matches “{text}”.": "Nada a la vista coincide con «{text}».",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Nada de las capas activas está a la vista aquí. Aleja el zoom para ver más.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Ninguna capa cargada tiene nada a la vista. Activa algunas en Capas de datos.",
|
||||
"Places in view": "Lugares a la vista",
|
||||
"Show here": "Mostrar aquí",
|
||||
"Ask GEV what's here": "Preguntar a GEV qué hay aquí",
|
||||
"aircraft": "aeronave",
|
||||
"vessel": "buque",
|
||||
"launch": "lanzamiento",
|
||||
"fire": "incendio",
|
||||
"Fire detection": "Detección de fuego",
|
||||
"fire perimeter": "perímetro de incendio",
|
||||
"earthquake": "sismo",
|
||||
"storm": "tormenta",
|
||||
"air quality station": "estación de calidad del aire",
|
||||
"installation": "instalación",
|
||||
"dam": "presa",
|
||||
"data centre": "centro de datos",
|
||||
"place": "lugar",
|
||||
"vehicle": "vehículo",
|
||||
"bike station": "estación de bicicletas",
|
||||
"plate reader": "lector de matrículas",
|
||||
"camera": "cámara",
|
||||
"airspace": "espacio aéreo",
|
||||
"sighting": "avistamiento",
|
||||
"Callsign": "Indicativo",
|
||||
"Registration": "Matrícula",
|
||||
"Aircraft class": "Clase de aeronave",
|
||||
"Course": "Rumbo",
|
||||
"Vertical rate": "Velocidad vertical",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Emergencia",
|
||||
"Last contact": "Último contacto",
|
||||
"Ship type": "Tipo de buque",
|
||||
"Destination": "Destino",
|
||||
"Depth": "Profundidad",
|
||||
"Time": "Hora",
|
||||
"Place": "Lugar",
|
||||
"Fire power": "Potencia del fuego",
|
||||
"Satellite": "Satélite",
|
||||
"Sensor": "Sensor",
|
||||
"Detected": "Detectado",
|
||||
"Contained": "Contenido",
|
||||
"Discovered": "Descubierto",
|
||||
"Basin": "Cuenca",
|
||||
"Index": "Índice",
|
||||
"Health risk": "Riesgo para la salud",
|
||||
"Bikes": "Bicicletas",
|
||||
"Docks": "Anclajes",
|
||||
"Floor": "Límite inferior",
|
||||
"Ceiling": "Límite superior",
|
||||
"Active": "Activo",
|
||||
"NORAD ID": "ID NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Capacidad",
|
||||
"Output": "Producción",
|
||||
"River": "Río",
|
||||
"City": "Ciudad",
|
||||
"State": "Estado",
|
||||
"Street": "Calle",
|
||||
"Opened": "Inaugurado",
|
||||
"Height": "Altura",
|
||||
"IT load": "Carga de TI",
|
||||
"Waterway": "Vía fluvial",
|
||||
"Military": "Militar",
|
||||
"Land use": "Uso del suelo",
|
||||
"Telecom": "Telecomunicaciones",
|
||||
"feature": "elemento",
|
||||
"Empty": "Vacío",
|
||||
"Many seats free": "Muchos asientos libres",
|
||||
"Few seats free": "Pocos asientos libres",
|
||||
"Standing room only": "Solo de pie",
|
||||
"Crowded": "Lleno",
|
||||
"Not taking passengers": "No admite pasajeros",
|
||||
"Major hurricane": "Huracán mayor",
|
||||
"Typhoon": "Tifón",
|
||||
"Super typhoon": "Supertifón",
|
||||
"Tropical cyclone": "Ciclón tropical",
|
||||
"Prescribed burn": "Quema prescrita",
|
||||
"Atlantic": "Atlántico",
|
||||
"Eastern Pacific": "Pacífico oriental",
|
||||
"Central Pacific": "Pacífico central",
|
||||
"Western Pacific": "Pacífico occidental",
|
||||
"Indian Ocean": "Océano Índico",
|
||||
"Southern Hemisphere": "Hemisferio sur",
|
||||
"Cable tram": "Tranvía de cable",
|
||||
"Aerial lift": "Teleférico",
|
||||
"Fishing": "Pesca",
|
||||
"Tug": "Remolcador",
|
||||
"Sailing": "Velero",
|
||||
"Pleasure craft": "Embarcación de recreo",
|
||||
"Pilot vessel": "Embarcación de prácticos",
|
||||
"Search and rescue": "Búsqueda y rescate",
|
||||
"Law enforcement": "Fuerzas del orden",
|
||||
"High-speed craft": "Embarcación de alta velocidad",
|
||||
"Passenger": "Pasajeros",
|
||||
"Cargo": "Carga",
|
||||
"Tanker": "Petrolero",
|
||||
"Yes": "Sí",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n} %",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Secuestro (squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Fallo de radio (squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Emergencia (squawk 7700)",
|
||||
"Emergency: {kind}": "Emergencia: {kind}",
|
||||
"Emergency declared": "Emergencia declarada",
|
||||
"Tsunami warning issued": "Alerta de tsunami emitida",
|
||||
"VFR, no flight plan": "VFR, sin plan de vuelo",
|
||||
"VFR conspicuity": "Código VFR de visibilidad",
|
||||
"IFR, no code yet": "IFR, aún sin código",
|
||||
"Hijack": "Secuestro",
|
||||
"Climbing {n} ft/min": "Ascendiendo a {n} ft/min",
|
||||
"Descending {n} ft/min": "Descendiendo a {n} ft/min",
|
||||
"Cruising, level": "Crucero, nivelado",
|
||||
"Airliners": "Aviones comerciales",
|
||||
"Widebodies": "Aviones de fuselaje ancho",
|
||||
"Business jets": "Jets ejecutivos",
|
||||
"Helicopters": "Helicópteros",
|
||||
"Turboprops": "Turbohélices",
|
||||
"Fast jets": "Reactores rápidos",
|
||||
"Four-engine jets": "Cuatrimotores",
|
||||
"M6 and above": "M6 o más",
|
||||
"M5 to 6": "M5 a 6",
|
||||
"M4 to 5": "M4 a 5",
|
||||
"Below M4": "Menos de M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "País",
|
||||
"altitude|Level": "Nivelado",
|
||||
"{h} h {m} min": "{h} h {m} min",
|
||||
"{n} min": "{n} min",
|
||||
"{speed} {direction}": "{speed} del {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Escaneando",
|
||||
"Route": "Ruta",
|
||||
"3D model": "Modelo 3D",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Vista de cabina",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Rumbo a {code}: {course}",
|
||||
"Over {place}": "Sobre {place}",
|
||||
"Below": "Debajo"
|
||||
}
|
||||
+470
-1
@@ -2548,6 +2548,7 @@
|
||||
"Gemini voice is not connected": "La voix Gemini n'est pas connectée",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "La saisie interrompue de Gemini a dépassé sa limite de tampon ou d'attente. Relancez la voix.",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "La connexion à Gemini Live expire. Relancez la voix pour une nouvelle conversation.",
|
||||
"Voice is disabled in Stories.": "La commande vocale est désactivée dans les Stories.",
|
||||
"Voice off": "Voix désactivée",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "Les sessions vocales Gemini sont limitées dans le temps. Quand une session expire, relancez la voix pour une nouvelle conversation.",
|
||||
"Stopped by voice": "Arrêté par la voix",
|
||||
@@ -3765,5 +3766,473 @@
|
||||
"Search layers…": "Rechercher des couches…",
|
||||
"Layer groups": "Groupes de couches",
|
||||
"Jump to {name}": "Aller à {name}",
|
||||
"No layers match": "Aucune couche ne correspond"
|
||||
"No layers match": "Aucune couche ne correspond",
|
||||
"A GEV scene, played on the live globe.": "Une scène GEV, lue sur le globe en direct.",
|
||||
"Drag the map to explore · Resume any time": "Faites glisser la carte pour explorer · Reprenez à tout moment",
|
||||
"Region": "Région",
|
||||
"Europe": "Europe",
|
||||
"Middle East": "Moyen-Orient",
|
||||
"South Asia": "Asie du Sud",
|
||||
"East Asia": "Asie de l’Est",
|
||||
"Length": "Durée",
|
||||
"Under 1 min": "Moins de 1 min",
|
||||
"1 min or more": "1 min ou plus",
|
||||
"Shots": "Plans",
|
||||
"Layers on": "Couches activées",
|
||||
"Stories": "Récits",
|
||||
"NEW": "NOUVEAU",
|
||||
"GEV Stories": "Récits GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Des vues interactives et éditorialisées de ce qui se passe sur Terre. Lancez-en un, prenez la main sur la carte quand vous voulez, puis reprenez le récit.",
|
||||
"Browse stories": "Parcourir les récits",
|
||||
"Not now": "Pas maintenant",
|
||||
"Opened in GEV": "Ouvert dans GEV",
|
||||
"Back to story": "Retour au récit",
|
||||
"GEV Stories explore": "Explorer les récits GEV",
|
||||
"Resize story list": "Redimensionner la liste des récits",
|
||||
"Story list size. Drag, or press to change": "Taille de la liste des récits. Faites glisser ou appuyez pour modifier",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} sur {count} récit",
|
||||
"many": "{n} sur {count} récits",
|
||||
"other": "{n} sur {count} récits"
|
||||
},
|
||||
"Sort stories": "Trier les récits",
|
||||
"Newest": "Plus récents",
|
||||
"Longest": "Plus longs",
|
||||
"A–Z": "A–Z",
|
||||
"{count} filters on": {
|
||||
"one": "{count} filtre actif",
|
||||
"many": "{count} filtres actifs",
|
||||
"other": "{count} filtres actifs"
|
||||
},
|
||||
"Filters": "Filtres",
|
||||
"Search stories": "Rechercher des récits",
|
||||
"Search stories, places, creators": "Rechercher récits, lieux, créateurs",
|
||||
"Clear search": "Effacer la recherche",
|
||||
"Topics": "Thèmes",
|
||||
"Filter stories": "Filtrer les récits",
|
||||
"Show {count} stories": {
|
||||
"one": "Afficher {count} récit",
|
||||
"many": "Afficher {count} récits",
|
||||
"other": "Afficher {count} récits"
|
||||
},
|
||||
"No stories match": "Aucun récit ne correspond",
|
||||
"Try another word or clear the filters.": "Essayez un autre mot ou effacez les filtres.",
|
||||
"Clear all": "Tout effacer",
|
||||
"STORY": "RÉCIT",
|
||||
"Play {title}": "Lire {title}",
|
||||
"Play story": "Lire le récit",
|
||||
"Preview {title}": "Aperçu : {title}",
|
||||
"Click to preview": "Cliquez pour un aperçu",
|
||||
"Click to play": "Cliquez pour lire",
|
||||
"Tap to play": "Appuyez pour lire",
|
||||
"Pick a story or a pin to preview it here": "Choisissez un récit ou un repère pour l’afficher en aperçu ici",
|
||||
"Story": "Récit",
|
||||
"{what} link copied": "Lien copié : {what}",
|
||||
"Copy this link: {url}": "Copiez ce lien : {url}",
|
||||
"Back to stories": "Retour aux récits",
|
||||
"Back to the globe": "Retour au globe",
|
||||
"Breadcrumb": "Fil d’Ariane",
|
||||
"Globe": "Globe",
|
||||
"Share": "Partager",
|
||||
"Back to GEV": "Retour à GEV",
|
||||
"Chapter {n}": "Chapitre {n}",
|
||||
"Context. Swipe up or press to open": "Contexte. Balayez vers le haut ou appuyez pour ouvrir",
|
||||
"Context. Swipe down or press to close": "Contexte. Balayez vers le bas ou appuyez pour fermer",
|
||||
"Search this story": "Rechercher dans ce récit",
|
||||
"Voice search (not in this build)": "Recherche vocale (absente de cette version)",
|
||||
"Search results": "Résultats de recherche",
|
||||
"Nothing in this story matches.": "Rien ne correspond dans ce récit.",
|
||||
"Chapters": "Chapitres",
|
||||
"now": "maintenant",
|
||||
"About": "À propos",
|
||||
"by {creator}": "par {creator}",
|
||||
"Key moments": "Moments clés",
|
||||
"Sources": "Sources",
|
||||
"Background": "Arrière-plan",
|
||||
"Related stories": "Récits associés",
|
||||
"Story link copied": "Lien du récit copié",
|
||||
"You": "Vous",
|
||||
"Open this moment in GEV": "Ouvrir ce moment dans GEV",
|
||||
"Open": "Ouvrir",
|
||||
"Share this story": "Partager ce récit",
|
||||
"GEV Story": "Récit GEV",
|
||||
"Story card": "Fiche du récit",
|
||||
"Chapter": "Chapitre",
|
||||
"CHAPTER {n} / {total}": "CHAPITRE {n} / {total}",
|
||||
"ON THE MAP": "SUR LA CARTE",
|
||||
"Right now": "En ce moment",
|
||||
"RIGHT NOW": "EN CE MOMENT",
|
||||
"Minimise card": "Réduire la fiche",
|
||||
"Expand card": "Agrandir la fiche",
|
||||
"Card pages": "Pages de la fiche",
|
||||
"Resize context panel": "Redimensionner le panneau de contexte",
|
||||
"Swipe up for context": "Balayez vers le haut pour le contexte",
|
||||
"Chapter start": "Début du chapitre",
|
||||
"Story time": "Heure du récit",
|
||||
"chapter": "chapitre",
|
||||
"Key moment: {label}": "Moment clé : {label}",
|
||||
"Exit expanded map": "Quitter la carte agrandie",
|
||||
"Expand map": "Agrandir la carte",
|
||||
"Exit cockpit to open Stories": "Quittez le cockpit pour ouvrir les Récits",
|
||||
"Stories could not load. Check the connection and try again.": "Impossible de charger les Récits. Vérifiez la connexion et réessayez.",
|
||||
"Shot {n} of {total}": "Plan {n} sur {total}",
|
||||
"GEV scene": "Scène GEV",
|
||||
"SAVE TO STORIES": "ENREGISTRER DANS STORIES",
|
||||
"REMOVE FROM STORIES": "RETIRER DE STORIES",
|
||||
"Show this scene on the Stories page": "Afficher cette scène sur la page Stories",
|
||||
"Take this scene off the Stories page": "Retirer cette scène de la page Stories",
|
||||
"Saved to Stories": "Enregistrée dans Stories",
|
||||
"Removed from Stories": "Retirée de Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Une scène que vous avez créée dans GEV, jouée sur le globe en direct.",
|
||||
"Floods": "Inondations",
|
||||
"Wildfires": "Feux de forêt",
|
||||
"Storms": "Tempêtes",
|
||||
"Earthquakes": "Séismes",
|
||||
"Maritime": "Maritime",
|
||||
"Space": "Espace",
|
||||
"Conflict": "Conflits",
|
||||
"Climate": "Climat",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Passez à Esri World Imagery pour capturer une miniature",
|
||||
"Thumbnail could not be captured": "Impossible de capturer la miniature",
|
||||
"Thumbnail captured": "Miniature capturée",
|
||||
"Stories tags": "Tags Stories",
|
||||
"Story thumbnail": "Miniature du récit",
|
||||
"Use the current view as the Stories card image": "Utiliser la vue actuelle comme image de la carte Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Les positions des avions viennent de l'ADS-B : l'instantané mondial d'OpenSky Network, complété par adsb.lol là où OpenSky n'a rien.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Source de secours pour les vols en direct (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Les orbites des satellites sont calculées à partir des éléments orbitaux actuels de CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Les séismes viennent du flux en direct de l'U.S. Geological Survey.",
|
||||
"Traffic": "Trafic",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Trafic routier ; les embouteillages en direct nécessitent votre propre clé TomTom.",
|
||||
"Live traffic flow, with your own key": "Trafic en direct, avec votre propre clé",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Le trafic aérien en direct dans le monde : l'Atlantique, l'Europe, le Japon et San Francisco.",
|
||||
"The Atlantic": "L'Atlantique",
|
||||
"Western Europe": "Europe de l'Ouest",
|
||||
"Japan": "Japon",
|
||||
"San Francisco Bay Area": "Baie de San Francisco",
|
||||
"Pull back over the Atlantic": "Recul au-dessus de l'Atlantique",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Les satellites en orbite, vus depuis la Floride, l'Afrique, Tokyo et Paris.",
|
||||
"Over Florida": "Au-dessus de la Floride",
|
||||
"Over Africa": "Au-dessus de l'Afrique",
|
||||
"Over Tokyo": "Au-dessus de Tokyo",
|
||||
"Over Paris": "Au-dessus de Paris",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Séismes récents en vue thermique : Californie, Japon, Nouvelle-Zélande et au large du Portugal.",
|
||||
"California": "Californie",
|
||||
"New Zealand": "Nouvelle-Zélande",
|
||||
"Off Portugal": "Au large du Portugal",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Vols, satellites et trafic ensemble au-dessus de New York, Los Angeles et Londres.",
|
||||
"New York, closer": "New York, plus près",
|
||||
"New York, closer still": "New York, encore plus près",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Toutes les couches en direct à la fois, en reculant de Tokyo jusqu'à la planète entière.",
|
||||
"Tokyo, pulling back": "Tokyo, en reculant",
|
||||
"Japan and East Asia": "Japon et Asie de l'Est",
|
||||
"South China Sea": "Mer de Chine méridionale",
|
||||
"The whole globe": "Le globe entier",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "La crue par débâcle de la Bhote Koshi du 26 août 2026 au Népal, suivie le long de la vallée jusqu'à Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Tracé reconstitué de la crue (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "MINIATURE",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Instantané mondial des vols en direct (licence non commerciale de recherche et d'enseignement)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Éléments orbitaux et catalogue des satellites (données du gouvernement des États-Unis)",
|
||||
"Satellite operators, owners and purposes": "Opérateurs, propriétaires et usages des satellites",
|
||||
"Earthquake feed (U.S. public domain)": "Flux des séismes (domaine public aux États-Unis)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Images satellite historiques et postérieures à l'événement (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Une visualisation de la crue par débâcle de la Bhote Koshi du 26 août 2026, et non un modèle officiel de risque. Les vues historiques (2021) et postérieures à l'événement sont des images Vantor WorldView ; le tracé de la rivière est la reconstitution de GeoPera. Les vidéos de témoins renvoient à leurs publications d'origine, et leurs heures de prise de vue ne sont pas vérifiées.",
|
||||
"That story is not available here": "Ce récit n'est pas disponible ici",
|
||||
"DRAFT": "BROUILLON",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Un brouillon, pas encore enregistré comme récit. Utilisez ENREGISTRER DANS STORIES dans CRÉATION pour l'enregistrer.",
|
||||
"Heading to next stop": "Vers le prochain arrêt",
|
||||
"Arriving at a stop": "Arrive à un arrêt",
|
||||
"Stopped at a stop": "À l’arrêt",
|
||||
"Wikipedia": "Wikipédia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Site web",
|
||||
"Phase": "Phase de vol",
|
||||
"Flight level": "Niveau de vol",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Signal",
|
||||
"Civilian, in the air": "Civils, en vol",
|
||||
"Military, in the air": "Militaires, en vol",
|
||||
"On the ground": "Au sol",
|
||||
"Motion": "Mouvement",
|
||||
"Operator": "Exploitant",
|
||||
"Last reported": "Dernier signalement",
|
||||
"Crowding": "Affluence",
|
||||
"Class": "Classe",
|
||||
"Magnitude": "Magnitude",
|
||||
"Labels": "Libellés",
|
||||
"3D aircraft": "Avions 3D",
|
||||
"M{mag} earthquake": "Séisme de magnitude {mag}",
|
||||
"Earthquake": "Séisme",
|
||||
"{n} kt winds": "Vents de {n} nœuds",
|
||||
"Wildfire": "Feu de forêt",
|
||||
"{n} acres": "{n} acres",
|
||||
"{n}% contained": "Maîtrisé à {n} %",
|
||||
"prescribed burn": "brûlage dirigé",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} détection de feu par satellite",
|
||||
"many": "{count} de détections de feu par satellite",
|
||||
"other": "{count} détections de feu par satellite"
|
||||
},
|
||||
"last day": "dernières 24 h",
|
||||
"Conditions unknown": "Conditions inconnues",
|
||||
"Partly cloudy": "Partiellement nuageux",
|
||||
"Overcast": "Couvert",
|
||||
"Fog": "Brouillard",
|
||||
"Drizzle": "Bruine",
|
||||
"Rain": "Pluie",
|
||||
"Snow": "Neige",
|
||||
"Rain showers": "Averses de pluie",
|
||||
"Snow showers": "Averses de neige",
|
||||
"Thunderstorm": "Orage",
|
||||
"Mixed conditions": "Temps variable",
|
||||
"Search {name} and nearby": "Rechercher dans {name} et alentour",
|
||||
"Search what is in view": "Rechercher dans la vue",
|
||||
"Close Context search": "Fermer la recherche du Contexte",
|
||||
"Search in Context": "Rechercher dans le Contexte",
|
||||
"Close search": "Fermer la recherche",
|
||||
"Shrink Context back to a panel": "Réduire le Contexte en panneau",
|
||||
"Expand Context to a full-height column": "Agrandir le Contexte en colonne pleine hauteur",
|
||||
"Context tabs": "Onglets du Contexte",
|
||||
"Inspector": "Inspecteur",
|
||||
"Properties": "Propriétés",
|
||||
"Level": "Niveau",
|
||||
"Last {n} min": "{n} dernières min",
|
||||
"Just now": "À l’instant",
|
||||
"Since selected": "Depuis la sélection",
|
||||
"Altitude": "Altitude",
|
||||
"Heading": "Cap",
|
||||
"Field of view": "Champ de vision",
|
||||
"Camera frame": "Image de la caméra",
|
||||
"Acquiring frame…": "Récupération de l’image…",
|
||||
"Show a bigger view": "Agrandir",
|
||||
"Camera view": "Vue de la caméra",
|
||||
"More info": "Plus d’infos",
|
||||
"{n} s ago": "il y a {n} s",
|
||||
"{n} min ago": "il y a {n} min",
|
||||
"{n} h ago": "il y a {n} h",
|
||||
"{n} d ago": "il y a {n} j",
|
||||
"Out of feed · last reading": "Hors du flux · dernière lecture",
|
||||
"Live · {age}": "Direct · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "mis à jour {age}",
|
||||
"Selected on the map": "Sélection sur la carte",
|
||||
"Close card": "Fermer la fiche",
|
||||
"{n}% flown": "{n} % parcouru",
|
||||
"to go": "restants",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "La route prévue pour ce numéro de vol ne correspond pas à la position de l’avion ; il peut s’agir d’une autre étape du même vol.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Prévu · non vérifié : ne correspond pas à la position de l’avion",
|
||||
"Nothing in this item’s details matches “{text}”.": "Rien dans les détails de cet élément ne correspond à « {text} ».",
|
||||
"Matching details": "Détails correspondants",
|
||||
"Enter orbital view": "Passer en vue orbitale",
|
||||
"Enter Cockpit": "Entrer dans le cockpit",
|
||||
"Fly to": "Rejoindre",
|
||||
"Following": "Suivi actif",
|
||||
"Follow": "Suivre",
|
||||
"Ask GEV about {name}": "Interroger GEV sur {name}",
|
||||
"Flights within {radius}": "Vols dans un rayon de {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Aucun vol dans un rayon de {radius} dans les couches activées.",
|
||||
"Vessels within {radius}": "Navires dans un rayon de {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Aucun navire dans un rayon de {radius} dans les couches activées.",
|
||||
"Cloud": "Nébulosité",
|
||||
"Visibility": "Visibilité",
|
||||
"Conditions here": "Conditions ici",
|
||||
"feels {n}°": "ressenti {n}°",
|
||||
"Reading conditions here…": "Lecture des conditions ici…",
|
||||
"No weather reading here.": "Aucune donnée météo ici.",
|
||||
"Local solar time": "Heure solaire locale",
|
||||
"Nearby radius": "Rayon de proximité",
|
||||
"How far out the nearby lists look": "Jusqu’où vont les listes de proximité",
|
||||
"Hazards within {radius}": "Risques dans un rayon de {radius}",
|
||||
"Turns the layer on": "Active la couche",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "Aucun séisme, tempête tropicale ni feu de forêt signalé dans un rayon de {radius}.",
|
||||
"Broadcast alerts within {radius}": "Alertes diffusées dans un rayon de {radius}",
|
||||
"Also within {radius}": "Aussi dans un rayon de {radius}",
|
||||
"Local news": "Actualités locales",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Cadran solaire · {time} solaire · soleil à {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Cadran solaire · {time} solaire · soleil sous l’horizon",
|
||||
"{count} things": {
|
||||
"one": "{count} élément",
|
||||
"many": "{count} d’éléments",
|
||||
"other": "{count} éléments"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} couche",
|
||||
"many": "{count} de couches",
|
||||
"other": "{count} couches"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} visibles depuis {layers}",
|
||||
"{n} km up": "à {n} km d’altitude",
|
||||
"{n} m up": "à {n} m d’altitude",
|
||||
"This view": "Cette vue",
|
||||
"Day": "Jour",
|
||||
"Twilight": "Crépuscule",
|
||||
"Night": "Nuit",
|
||||
"Daylight": "Lumière du jour",
|
||||
"sun {n}°": "soleil {n}°",
|
||||
"Of {n} read, {total} loaded": "Sur {n} lus, {total} chargés",
|
||||
"Of all {n}": "Sur les {n}",
|
||||
"Of {n} in view": "Sur {n} visibles",
|
||||
"Error": "Erreur",
|
||||
"Stale": "Obsolète",
|
||||
"In view": "Dans la vue",
|
||||
"Globe view": "Vue du globe",
|
||||
"Nothing selected": "Aucune sélection",
|
||||
"Worldwide now": "Dans le monde en ce moment",
|
||||
"Turn on {name}": "Activer {name}",
|
||||
"{n} loaded": "{n} chargés",
|
||||
"{n} in view": "{n} visibles",
|
||||
"Turn off {name}": "Désactiver {name}",
|
||||
"Camera height": "Altitude de la caméra",
|
||||
"Nothing in view matches “{text}”.": "Rien dans la vue ne correspond à « {text} ».",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Rien des couches activées n’est visible ici. Dézoomez pour en voir plus.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Aucune couche chargée n’a rien de visible. Activez-en dans Couches.",
|
||||
"Places in view": "Lieux visibles",
|
||||
"Show here": "Afficher ici",
|
||||
"Ask GEV what's here": "Demander à GEV ce qu’il y a ici",
|
||||
"aircraft": "aéronef",
|
||||
"vessel": "navire",
|
||||
"launch": "lancement",
|
||||
"fire": "feu",
|
||||
"Fire detection": "Détection de feu",
|
||||
"fire perimeter": "périmètre de feu",
|
||||
"earthquake": "séisme",
|
||||
"storm": "tempête",
|
||||
"air quality station": "station de qualité de l’air",
|
||||
"installation": "installation",
|
||||
"dam": "barrage",
|
||||
"data centre": "centre de données",
|
||||
"place": "lieu",
|
||||
"vehicle": "véhicule",
|
||||
"bike station": "station de vélos",
|
||||
"plate reader": "lecteur de plaques",
|
||||
"camera": "caméra",
|
||||
"airspace": "espace aérien",
|
||||
"sighting": "observation",
|
||||
"Callsign": "Indicatif",
|
||||
"Registration": "Immatriculation",
|
||||
"Aircraft class": "Classe d’aéronef",
|
||||
"Course": "Route",
|
||||
"Vertical rate": "Vitesse verticale",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Urgence",
|
||||
"Last contact": "Dernier contact",
|
||||
"Ship type": "Type de navire",
|
||||
"Destination": "Destination",
|
||||
"Depth": "Profondeur",
|
||||
"Time": "Heure",
|
||||
"Place": "Lieu",
|
||||
"Fire power": "Puissance du feu",
|
||||
"Satellite": "Satellite",
|
||||
"Sensor": "Capteur",
|
||||
"Detected": "Détecté",
|
||||
"Contained": "Maîtrisé",
|
||||
"Discovered": "Découvert",
|
||||
"Basin": "Bassin",
|
||||
"Index": "Indice",
|
||||
"Health risk": "Risque sanitaire",
|
||||
"Bikes": "Vélos",
|
||||
"Docks": "Bornes",
|
||||
"Floor": "Plancher",
|
||||
"Ceiling": "Plafond",
|
||||
"Active": "Actif",
|
||||
"NORAD ID": "ID NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Capacité",
|
||||
"Output": "Production",
|
||||
"River": "Rivière",
|
||||
"City": "Ville",
|
||||
"State": "État",
|
||||
"Street": "Rue",
|
||||
"Opened": "Ouvert",
|
||||
"Height": "Hauteur",
|
||||
"IT load": "Charge informatique",
|
||||
"Waterway": "Voie d’eau",
|
||||
"Military": "Militaire",
|
||||
"Land use": "Occupation du sol",
|
||||
"Telecom": "Télécoms",
|
||||
"feature": "élément",
|
||||
"Empty": "Vide",
|
||||
"Many seats free": "Beaucoup de places libres",
|
||||
"Few seats free": "Peu de places libres",
|
||||
"Standing room only": "Places debout uniquement",
|
||||
"Crowded": "Bondé",
|
||||
"Not taking passengers": "Ne prend pas de passagers",
|
||||
"Major hurricane": "Ouragan majeur",
|
||||
"Typhoon": "Typhon",
|
||||
"Super typhoon": "Super typhon",
|
||||
"Tropical cyclone": "Cyclone tropical",
|
||||
"Prescribed burn": "Brûlage dirigé",
|
||||
"Atlantic": "Atlantique",
|
||||
"Eastern Pacific": "Pacifique Est",
|
||||
"Central Pacific": "Pacifique central",
|
||||
"Western Pacific": "Pacifique Ouest",
|
||||
"Indian Ocean": "Océan Indien",
|
||||
"Southern Hemisphere": "Hémisphère sud",
|
||||
"Cable tram": "Tramway à câble",
|
||||
"Aerial lift": "Remontée par câble",
|
||||
"Fishing": "Pêche",
|
||||
"Tug": "Remorqueur",
|
||||
"Sailing": "Voilier",
|
||||
"Pleasure craft": "Navire de plaisance",
|
||||
"Pilot vessel": "Bateau pilote",
|
||||
"Search and rescue": "Recherche et sauvetage",
|
||||
"Law enforcement": "Forces de l’ordre",
|
||||
"High-speed craft": "Navire à grande vitesse",
|
||||
"Passenger": "Passagers",
|
||||
"Cargo": "Cargo",
|
||||
"Tanker": "Pétrolier",
|
||||
"Yes": "Oui",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} nd",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n} %",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Détournement (squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Panne radio (squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Urgence (squawk 7700)",
|
||||
"Emergency: {kind}": "Urgence : {kind}",
|
||||
"Emergency declared": "Urgence déclarée",
|
||||
"Tsunami warning issued": "Alerte au tsunami émise",
|
||||
"VFR, no flight plan": "VFR, sans plan de vol",
|
||||
"VFR conspicuity": "Code VFR de visibilité",
|
||||
"IFR, no code yet": "IFR, pas encore de code",
|
||||
"Hijack": "Détournement",
|
||||
"Climbing {n} ft/min": "En montée à {n} ft/min",
|
||||
"Descending {n} ft/min": "En descente à {n} ft/min",
|
||||
"Cruising, level": "En croisière, palier",
|
||||
"Airliners": "Avions de ligne",
|
||||
"Widebodies": "Gros-porteurs",
|
||||
"Business jets": "Jets d’affaires",
|
||||
"Helicopters": "Hélicoptères",
|
||||
"Turboprops": "Turbopropulseurs",
|
||||
"Fast jets": "Avions de chasse",
|
||||
"Four-engine jets": "Quadriréacteurs",
|
||||
"M6 and above": "M6 et plus",
|
||||
"M5 to 6": "M5 à 6",
|
||||
"M4 to 5": "M4 à 5",
|
||||
"Below M4": "Moins de M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Pays",
|
||||
"altitude|Level": "Stable",
|
||||
"{h} h {m} min": "{h} h {m} min",
|
||||
"{n} min": "{n} min",
|
||||
"{speed} {direction}": "{speed} de {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Balayage",
|
||||
"Route": "Itinéraire",
|
||||
"3D model": "Modèle 3D",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Vue cockpit",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Cap vers {code} : {course}",
|
||||
"Over {place}": "Au-dessus de {place}",
|
||||
"Below": "En dessous"
|
||||
}
|
||||
+470
-1
@@ -2870,6 +2870,7 @@
|
||||
"Gemini voice is not connected": "הקול של Gemini אינו מחובר",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "הקלט שהופסק של Gemini חרג מהחוצץ או ממגבלת ההמתנה. הפעל את הקול שוב.",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "חיבור Gemini Live עומד לפוג. הפעל את הקול שוב לשיחה חדשה.",
|
||||
"Voice is disabled in Stories.": "השליטה הקולית מושבתת בסיפורים.",
|
||||
"Voice off": "הקול כבוי",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "הפעלות הקול של Gemini מוגבלות בזמן. כשההפעלה פגה, הפעל את הקול שוב לשיחה חדשה.",
|
||||
"Stopped by voice": "נעצר בקול",
|
||||
@@ -3765,5 +3766,473 @@
|
||||
"Search layers…": "חיפוש שכבות…",
|
||||
"Layer groups": "קבוצות שכבות",
|
||||
"Jump to {name}": "מעבר אל {name}",
|
||||
"No layers match": "אין שכבות תואמות"
|
||||
"No layers match": "אין שכבות תואמות",
|
||||
"A GEV scene, played on the live globe.": "סצנת GEV המוצגת על הגלובוס החי.",
|
||||
"Drag the map to explore · Resume any time": "גרור את המפה כדי לחקור · אפשר להמשיך בכל עת",
|
||||
"Region": "אזור",
|
||||
"Europe": "אירופה",
|
||||
"Middle East": "המזרח התיכון",
|
||||
"South Asia": "דרום אסיה",
|
||||
"East Asia": "מזרח אסיה",
|
||||
"Length": "אורך",
|
||||
"Under 1 min": "פחות מדקה",
|
||||
"1 min or more": "דקה ומעלה",
|
||||
"Shots": "שוטים",
|
||||
"Layers on": "שכבות פעילות",
|
||||
"Stories": "סיפורים",
|
||||
"NEW": "חדש",
|
||||
"GEV Stories": "סיפורי GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "תצוגות אינטראקטיביות ונבחרות של מה שקורה על כדור הארץ. הפעל אחת, השתלט על המפה מתי שתרצה, ואז חזור לסיפור.",
|
||||
"Browse stories": "עיון בסיפורים",
|
||||
"Not now": "לא עכשיו",
|
||||
"Opened in GEV": "נפתח ב-GEV",
|
||||
"Back to story": "חזרה לסיפור",
|
||||
"GEV Stories explore": "גילוי סיפורי GEV",
|
||||
"Resize story list": "שינוי גודל רשימת הסיפורים",
|
||||
"Story list size. Drag, or press to change": "גודל רשימת הסיפורים. גרור או לחץ כדי לשנות",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} מתוך סיפור {count}",
|
||||
"two": "{n} מתוך {count} סיפורים",
|
||||
"other": "{n} מתוך {count} סיפורים"
|
||||
},
|
||||
"Sort stories": "מיון סיפורים",
|
||||
"Newest": "החדשים ביותר",
|
||||
"Longest": "הארוכים ביותר",
|
||||
"A–Z": "א–ת",
|
||||
"{count} filters on": {
|
||||
"one": "מסנן {count} פעיל",
|
||||
"two": "{count} מסננים פעילים",
|
||||
"other": "{count} מסננים פעילים"
|
||||
},
|
||||
"Filters": "מסננים",
|
||||
"Search stories": "חיפוש סיפורים",
|
||||
"Search stories, places, creators": "חיפוש סיפורים, מקומות, יוצרים",
|
||||
"Clear search": "ניקוי החיפוש",
|
||||
"Topics": "נושאים",
|
||||
"Filter stories": "סינון סיפורים",
|
||||
"Show {count} stories": {
|
||||
"one": "הצגת סיפור {count}",
|
||||
"two": "הצגת {count} סיפורים",
|
||||
"other": "הצגת {count} סיפורים"
|
||||
},
|
||||
"No stories match": "אין סיפורים תואמים",
|
||||
"Try another word or clear the filters.": "נסה מילה אחרת או נקה את המסננים.",
|
||||
"Clear all": "ניקוי הכול",
|
||||
"STORY": "סיפור",
|
||||
"Play {title}": "הפעלת {title}",
|
||||
"Play story": "הפעלת הסיפור",
|
||||
"Preview {title}": "תצוגה מקדימה של {title}",
|
||||
"Click to preview": "לחץ לתצוגה מקדימה",
|
||||
"Click to play": "לחץ להפעלה",
|
||||
"Tap to play": "הקש להפעלה",
|
||||
"Pick a story or a pin to preview it here": "בחר סיפור או סיכה כדי לראות תצוגה מקדימה כאן",
|
||||
"Story": "סיפור",
|
||||
"{what} link copied": "הקישור ל{what} הועתק",
|
||||
"Copy this link: {url}": "העתק את הקישור: {url}",
|
||||
"Back to stories": "חזרה לסיפורים",
|
||||
"Back to the globe": "חזרה לגלובוס",
|
||||
"Breadcrumb": "נתיב ניווט",
|
||||
"Globe": "גלובוס",
|
||||
"Share": "שיתוף",
|
||||
"Back to GEV": "חזרה ל-GEV",
|
||||
"Chapter {n}": "פרק {n}",
|
||||
"Context. Swipe up or press to open": "הקשר. החלק למעלה או לחץ כדי לפתוח",
|
||||
"Context. Swipe down or press to close": "הקשר. החלק למטה או לחץ כדי לסגור",
|
||||
"Search this story": "חיפוש בסיפור הזה",
|
||||
"Voice search (not in this build)": "חיפוש קולי (לא בגרסה הזאת)",
|
||||
"Search results": "תוצאות חיפוש",
|
||||
"Nothing in this story matches.": "אין התאמות בסיפור הזה.",
|
||||
"Chapters": "פרקים",
|
||||
"now": "עכשיו",
|
||||
"About": "אודות",
|
||||
"by {creator}": "מאת {creator}",
|
||||
"Key moments": "רגעי מפתח",
|
||||
"Sources": "מקורות",
|
||||
"Background": "רקע",
|
||||
"Related stories": "סיפורים קשורים",
|
||||
"Story link copied": "הקישור לסיפור הועתק",
|
||||
"You": "אתה",
|
||||
"Open this moment in GEV": "פתיחת הרגע הזה ב-GEV",
|
||||
"Open": "פתיחה",
|
||||
"Share this story": "שיתוף הסיפור",
|
||||
"GEV Story": "סיפור GEV",
|
||||
"Story card": "כרטיס הסיפור",
|
||||
"Chapter": "פרק",
|
||||
"CHAPTER {n} / {total}": "פרק {n} / {total}",
|
||||
"ON THE MAP": "על המפה",
|
||||
"Right now": "ברגע זה",
|
||||
"RIGHT NOW": "ברגע זה",
|
||||
"Minimise card": "מזעור הכרטיס",
|
||||
"Expand card": "הרחבת הכרטיס",
|
||||
"Card pages": "דפי הכרטיס",
|
||||
"Resize context panel": "שינוי גודל לוח ההקשר",
|
||||
"Swipe up for context": "החלק למעלה להקשר",
|
||||
"Chapter start": "תחילת הפרק",
|
||||
"Story time": "זמן הסיפור",
|
||||
"chapter": "פרק",
|
||||
"Key moment: {label}": "רגע מפתח: {label}",
|
||||
"Exit expanded map": "יציאה מהמפה המורחבת",
|
||||
"Expand map": "הרחבת המפה",
|
||||
"Exit cockpit to open Stories": "צא מתא הטייס כדי לפתוח את הסיפורים",
|
||||
"Stories could not load. Check the connection and try again.": "לא ניתן לטעון את הסיפורים. בדוק את החיבור ונסה שוב.",
|
||||
"Shot {n} of {total}": "שוט {n} מתוך {total}",
|
||||
"GEV scene": "סצנת GEV",
|
||||
"SAVE TO STORIES": "שמירה ב-STORIES",
|
||||
"REMOVE FROM STORIES": "הסרה מ-STORIES",
|
||||
"Show this scene on the Stories page": "הצגת הסצנה בדף Stories",
|
||||
"Take this scene off the Stories page": "הסרת הסצנה מדף Stories",
|
||||
"Saved to Stories": "נשמרה ב-Stories",
|
||||
"Removed from Stories": "הוסרה מ-Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "סצנה שיצרת ב-GEV, מוצגת על הגלובוס החי.",
|
||||
"Floods": "שיטפונות",
|
||||
"Wildfires": "שריפות יער",
|
||||
"Storms": "סערות",
|
||||
"Earthquakes": "רעידות אדמה",
|
||||
"Maritime": "ימי",
|
||||
"Space": "חלל",
|
||||
"Conflict": "סכסוכים",
|
||||
"Climate": "אקלים",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "כדי לצלם תמונה ממוזערת, עברו אל Esri World Imagery",
|
||||
"Thumbnail could not be captured": "לא ניתן היה ללכוד את התמונה הממוזערת",
|
||||
"Thumbnail captured": "התמונה הממוזערת נלכדה",
|
||||
"Stories tags": "תגיות סיפורים",
|
||||
"Story thumbnail": "תמונה ממוזערת של הסיפור",
|
||||
"Use the current view as the Stories card image": "להשתמש בתצוגה הנוכחית כתמונת הכרטיס בסיפורים",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "מיקומי המטוסים מגיעים מ-ADS-B: תמונת המצב העולמית של OpenSky Network, ו-adsb.lol היכן שאין ל-OpenSky נתונים.",
|
||||
"Live-flight fallback (ODbL 1.0)": "מקור גיבוי לטיסות חיות (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "מסלולי הלוויינים מחושבים מרכיבי המסלול העדכניים של CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "רעידות האדמה מגיעות מהפיד החי של הסקר הגאולוגי של ארה״ב.",
|
||||
"Traffic": "תנועה",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "תנועה בכבישים; עומסי תנועה חיים דורשים מפתח TomTom משלך.",
|
||||
"Live traffic flow, with your own key": "זרימת תנועה חיה, עם מפתח משלך",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "תנועה אווירית חיה ברחבי העולם: האוקיינוס האטלנטי, אירופה, יפן וסן פרנסיסקו.",
|
||||
"The Atlantic": "האוקיינוס האטלנטי",
|
||||
"Western Europe": "מערב אירופה",
|
||||
"Japan": "יפן",
|
||||
"San Francisco Bay Area": "אזור מפרץ סן פרנסיסקו",
|
||||
"Pull back over the Atlantic": "התרחקות מעל האוקיינוס האטלנטי",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "לוויינים במסלול, נצפים מעל פלורידה, אפריקה, טוקיו ופריז.",
|
||||
"Over Florida": "מעל פלורידה",
|
||||
"Over Africa": "מעל אפריקה",
|
||||
"Over Tokyo": "מעל טוקיו",
|
||||
"Over Paris": "מעל פריז",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "רעידות אדמה אחרונות במראה התרמי: קליפורניה, יפן, ניו זילנד ומול חופי פורטוגל.",
|
||||
"California": "קליפורניה",
|
||||
"New Zealand": "ניו זילנד",
|
||||
"Off Portugal": "מול חופי פורטוגל",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "טיסות, לוויינים ותנועה יחד מעל ניו יורק, לוס אנג׳לס ולונדון.",
|
||||
"New York, closer": "ניו יורק, קרוב יותר",
|
||||
"New York, closer still": "ניו יורק, קרוב עוד יותר",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "כל השכבות החיות בבת אחת, בהתרחקות מטוקיו אל כל כדור הארץ.",
|
||||
"Tokyo, pulling back": "טוקיו, בהתרחקות",
|
||||
"Japan and East Asia": "יפן ומזרח אסיה",
|
||||
"South China Sea": "ים סין הדרומי",
|
||||
"The whole globe": "כל הגלובוס",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "שיטפון הפריצה ב-Bhote Koshi בנפאל ב-26 באוגוסט 2026, במורד העמק עד Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "מסלול השיטפון המשוחזר (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "תמונה ממוזערת",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "תמונת מצב עולמית של טיסות חיות (רישיון למחקר וחינוך שלא למטרות מסחריות)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "רכיבי מסלול וקטלוג לוויינים (נתוני ממשלת ארה\"ב)",
|
||||
"Satellite operators, owners and purposes": "מפעילי לוויינים, בעליהם ומטרותיהם",
|
||||
"Earthquake feed (U.S. public domain)": "פיד רעידות אדמה (נחלת הכלל בארה\"ב)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "תצלומי לוויין היסטוריים ומלאחר האירוע (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "הדמיה של שיטפון הפריצה ב-Bhote Koshi ב-26 באוגוסט 2026, ולא מודל סיכונים רשמי. המראות ההיסטוריים (2021) ומלאחר האירוע הם צילומי Vantor WorldView; מסלול הנהר הוא השחזור של GeoPera. קטעי העדים מקשרים לפוסטים המקוריים שלהם, וזמני הצילום שלהם לא אומתו.",
|
||||
"That story is not available here": "הסיפור הזה אינו זמין כאן",
|
||||
"DRAFT": "טיוטה",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "טיוטה שעדיין לא נשמרה כסיפור. השתמשו ב„שמירה ב-STORIES” ב„יצירה” כדי לשמור אותה.",
|
||||
"Heading to next stop": "בדרך לתחנה הבאה",
|
||||
"Arriving at a stop": "מגיע לתחנה",
|
||||
"Stopped at a stop": "עומד בתחנה",
|
||||
"Wikipedia": "ויקיפדיה",
|
||||
"Wikidata": "ויקינתונים",
|
||||
"Website": "אתר",
|
||||
"Phase": "שלב",
|
||||
"Flight level": "גובה טיסה",
|
||||
"Mach": "מאך",
|
||||
"Squawk {code}": "סקוואק {code}",
|
||||
"Signal": "אות",
|
||||
"Civilian, in the air": "אזרחיים, באוויר",
|
||||
"Military, in the air": "צבאיים, באוויר",
|
||||
"On the ground": "על הקרקע",
|
||||
"Motion": "תנועה",
|
||||
"Operator": "מפעיל",
|
||||
"Last reported": "דיווח אחרון",
|
||||
"Crowding": "עומס",
|
||||
"Class": "סוג",
|
||||
"Magnitude": "עוצמה",
|
||||
"Labels": "תוויות",
|
||||
"3D aircraft": "מטוסים בתלת־ממד",
|
||||
"M{mag} earthquake": "רעידת אדמה בעוצמה {mag}",
|
||||
"Earthquake": "רעידת אדמה",
|
||||
"{n} kt winds": "רוחות של {n} קשר",
|
||||
"Wildfire": "שריפת יער",
|
||||
"{n} acres": "{n} אקר",
|
||||
"{n}% contained": "{n}% בשליטה",
|
||||
"prescribed burn": "שריפה מבוקרת",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} זיהוי שריפה לווייני",
|
||||
"two": "{count} זיהויי שריפה לווייניים",
|
||||
"other": "{count} זיהויי שריפה לווייניים"
|
||||
},
|
||||
"last day": "היום האחרון",
|
||||
"Conditions unknown": "התנאים לא ידועים",
|
||||
"Partly cloudy": "מעונן חלקית",
|
||||
"Overcast": "מעונן",
|
||||
"Fog": "ערפל",
|
||||
"Drizzle": "טפטוף",
|
||||
"Rain": "גשם",
|
||||
"Snow": "שלג",
|
||||
"Rain showers": "ממטרי גשם",
|
||||
"Snow showers": "ממטרי שלג",
|
||||
"Thunderstorm": "סופת רעמים",
|
||||
"Mixed conditions": "תנאים משתנים",
|
||||
"Search {name} and nearby": "חיפוש ב־{name} ובסביבה",
|
||||
"Search what is in view": "חיפוש במה שבתצוגה",
|
||||
"Close Context search": "סגירת החיפוש בהקשר",
|
||||
"Search in Context": "חיפוש בהקשר",
|
||||
"Close search": "סגירת החיפוש",
|
||||
"Shrink Context back to a panel": "כיווץ ההקשר בחזרה ללוח",
|
||||
"Expand Context to a full-height column": "הרחבת ההקשר לעמודה בגובה מלא",
|
||||
"Context tabs": "לשוניות ההקשר",
|
||||
"Inspector": "בודק",
|
||||
"Properties": "מאפיינים",
|
||||
"Level": "רמה",
|
||||
"Last {n} min": "{n} הדקות האחרונות",
|
||||
"Just now": "כרגע",
|
||||
"Since selected": "מאז הבחירה",
|
||||
"Altitude": "גובה",
|
||||
"Heading": "כיוון",
|
||||
"Field of view": "שדה ראייה",
|
||||
"Camera frame": "פריים מהמצלמה",
|
||||
"Acquiring frame…": "מקבל פריים…",
|
||||
"Show a bigger view": "הצגה בגודל גדול יותר",
|
||||
"Camera view": "תצוגת המצלמה",
|
||||
"More info": "מידע נוסף",
|
||||
"{n} s ago": "לפני {n} שנ׳",
|
||||
"{n} min ago": "לפני {n} דק׳",
|
||||
"{n} h ago": "לפני {n} שע׳",
|
||||
"{n} d ago": "לפני {n} ימים",
|
||||
"Out of feed · last reading": "מחוץ להזנה · קריאה אחרונה",
|
||||
"Live · {age}": "חי · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "עודכן {age}",
|
||||
"Selected on the map": "נבחר במפה",
|
||||
"Close card": "סגירת הכרטיס",
|
||||
"{n}% flown": "{n}% מהדרך",
|
||||
"to go": "נותרו",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "המסלול המתוכנן למספר הטיסה הזה לא תואם את מיקום המטוס; ייתכן שזה קטע אחר של אותה טיסה.",
|
||||
"Scheduled · unverified: does not match where the plane is": "מתוכנן · לא מאומת: לא תואם את מיקום המטוס",
|
||||
"Nothing in this item’s details matches “{text}”.": "אין בפרטי הפריט הזה התאמה ל־„{text}”.",
|
||||
"Matching details": "פרטים תואמים",
|
||||
"Enter orbital view": "כניסה לתצוגה המסלולית",
|
||||
"Enter Cockpit": "כניסה לתא הטייס",
|
||||
"Fly to": "טיסה אל",
|
||||
"Following": "במעקב",
|
||||
"Follow": "מעקב",
|
||||
"Ask GEV about {name}": "לשאול את GEV על {name}",
|
||||
"Flights within {radius}": "טיסות בטווח {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "אין טיסות בטווח {radius} מהשכבות הפעילות.",
|
||||
"Vessels within {radius}": "כלי שיט בטווח {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "אין כלי שיט בטווח {radius} מהשכבות הפעילות.",
|
||||
"Cloud": "עננות",
|
||||
"Visibility": "ראות",
|
||||
"Conditions here": "התנאים כאן",
|
||||
"feels {n}°": "מורגש {n}°",
|
||||
"Reading conditions here…": "קורא את התנאים כאן…",
|
||||
"No weather reading here.": "אין כאן נתוני מזג אוויר.",
|
||||
"Local solar time": "זמן שמש מקומי",
|
||||
"Nearby radius": "רדיוס סביבה",
|
||||
"How far out the nearby lists look": "עד כמה רחוק מגיעות רשימות הסביבה",
|
||||
"Hazards within {radius}": "סכנות בטווח {radius}",
|
||||
"Turns the layer on": "מפעיל את השכבה",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "לא דווחו רעידות אדמה, סופות טרופיות או שריפות יער בטווח {radius}.",
|
||||
"Broadcast alerts within {radius}": "התרעות משודרות בטווח {radius}",
|
||||
"Also within {radius}": "גם בטווח {radius}",
|
||||
"Local news": "חדשות מקומיות",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "שעון שמש · {time} זמן שמש · השמש {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "שעון שמש · {time} זמן שמש · השמש מתחת לאופק",
|
||||
"{count} things": {
|
||||
"one": "{count} פריט",
|
||||
"two": "{count} פריטים",
|
||||
"other": "{count} פריטים"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} שכבה",
|
||||
"two": "{count} שכבות",
|
||||
"other": "{count} שכבות"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} בתצוגה, מתוך {layers}",
|
||||
"{n} km up": "בגובה {n} ק\"מ",
|
||||
"{n} m up": "בגובה {n} מ׳",
|
||||
"This view": "התצוגה הזו",
|
||||
"Day": "יום",
|
||||
"Twilight": "דמדומים",
|
||||
"Night": "לילה",
|
||||
"Daylight": "אור יום",
|
||||
"sun {n}°": "השמש {n}°",
|
||||
"Of {n} read, {total} loaded": "מתוך {n} שנקראו, {total} נטענו",
|
||||
"Of all {n}": "מתוך כל {n}",
|
||||
"Of {n} in view": "מתוך {n} בתצוגה",
|
||||
"Error": "שגיאה",
|
||||
"Stale": "לא עדכני",
|
||||
"In view": "בתצוגה",
|
||||
"Globe view": "תצוגת גלובוס",
|
||||
"Nothing selected": "לא נבחר דבר",
|
||||
"Worldwide now": "בעולם עכשיו",
|
||||
"Turn on {name}": "הפעלת {name}",
|
||||
"{n} loaded": "{n} נטענו",
|
||||
"{n} in view": "{n} בתצוגה",
|
||||
"Turn off {name}": "כיבוי {name}",
|
||||
"Camera height": "גובה המצלמה",
|
||||
"Nothing in view matches “{text}”.": "אין בתצוגה התאמה ל־„{text}”.",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "שום דבר מהשכבות הפעילות לא נמצא בתצוגה כאן. הקטינו את התצוגה כדי לראות יותר.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "לאף שכבה טעונה אין דבר בתצוגה. הפעילו שכבות בשכבות נתונים.",
|
||||
"Places in view": "מקומות בתצוגה",
|
||||
"Show here": "הצגה כאן",
|
||||
"Ask GEV what's here": "לשאול את GEV מה יש כאן",
|
||||
"aircraft": "כלי טיס",
|
||||
"vessel": "כלי שיט",
|
||||
"launch": "שיגור",
|
||||
"fire": "שריפה",
|
||||
"Fire detection": "זיהוי שריפה",
|
||||
"fire perimeter": "היקף שריפה",
|
||||
"earthquake": "רעידת אדמה",
|
||||
"storm": "סופה",
|
||||
"air quality station": "תחנת איכות אוויר",
|
||||
"installation": "מתקן",
|
||||
"dam": "סכר",
|
||||
"data centre": "מרכז נתונים",
|
||||
"place": "מקום",
|
||||
"vehicle": "כלי רכב",
|
||||
"bike station": "תחנת אופניים",
|
||||
"plate reader": "קורא לוחיות רישוי",
|
||||
"camera": "מצלמה",
|
||||
"airspace": "מרחב אווירי",
|
||||
"sighting": "תצפית",
|
||||
"Callsign": "אות קריאה",
|
||||
"Registration": "רישום",
|
||||
"Aircraft class": "סוג כלי טיס",
|
||||
"Course": "נתיב",
|
||||
"Vertical rate": "קצב אנכי",
|
||||
"Squawk": "סקוואק",
|
||||
"Emergency": "חירום",
|
||||
"Last contact": "קשר אחרון",
|
||||
"Ship type": "סוג כלי שיט",
|
||||
"Destination": "יעד",
|
||||
"Depth": "עומק",
|
||||
"Time": "זמן",
|
||||
"Place": "מקום",
|
||||
"Fire power": "עוצמת השריפה",
|
||||
"Satellite": "לוויין",
|
||||
"Sensor": "חיישן",
|
||||
"Detected": "זוהה",
|
||||
"Contained": "בשליטה",
|
||||
"Discovered": "התגלה",
|
||||
"Basin": "אגן",
|
||||
"Index": "מדד",
|
||||
"Health risk": "סיכון בריאותי",
|
||||
"Bikes": "אופניים",
|
||||
"Docks": "עמדות",
|
||||
"Floor": "גבול תחתון",
|
||||
"Ceiling": "גבול עליון",
|
||||
"Active": "פעיל",
|
||||
"NORAD ID": "מזהה NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "קיבולת",
|
||||
"Output": "תפוקה",
|
||||
"River": "נהר",
|
||||
"City": "עיר",
|
||||
"State": "מדינה",
|
||||
"Street": "רחוב",
|
||||
"Opened": "נפתח",
|
||||
"Height": "גובה",
|
||||
"IT load": "עומס IT",
|
||||
"Waterway": "נתיב מים",
|
||||
"Military": "צבאי",
|
||||
"Land use": "שימוש בקרקע",
|
||||
"Telecom": "תקשורת",
|
||||
"feature": "פריט",
|
||||
"Empty": "ריק",
|
||||
"Many seats free": "מקומות פנויים רבים",
|
||||
"Few seats free": "מעט מקומות פנויים",
|
||||
"Standing room only": "מקומות עמידה בלבד",
|
||||
"Crowded": "צפוף",
|
||||
"Not taking passengers": "לא מעלה נוסעים",
|
||||
"Major hurricane": "הוריקן חזק",
|
||||
"Typhoon": "טייפון",
|
||||
"Super typhoon": "סופר־טייפון",
|
||||
"Tropical cyclone": "ציקלון טרופי",
|
||||
"Prescribed burn": "שריפה מבוקרת",
|
||||
"Atlantic": "האוקיינוס האטלנטי",
|
||||
"Eastern Pacific": "מזרח האוקיינוס השקט",
|
||||
"Central Pacific": "מרכז האוקיינוס השקט",
|
||||
"Western Pacific": "מערב האוקיינוס השקט",
|
||||
"Indian Ocean": "האוקיינוס ההודי",
|
||||
"Southern Hemisphere": "חצי הכדור הדרומי",
|
||||
"Cable tram": "חשמלית כבלים",
|
||||
"Aerial lift": "רכבל",
|
||||
"Fishing": "דיג",
|
||||
"Tug": "גוררת",
|
||||
"Sailing": "מפרשית",
|
||||
"Pleasure craft": "כלי שיט לפנאי",
|
||||
"Pilot vessel": "סירת נתבים",
|
||||
"Search and rescue": "חיפוש והצלה",
|
||||
"Law enforcement": "אכיפת חוק",
|
||||
"High-speed craft": "כלי שיט מהיר",
|
||||
"Passenger": "נוסעים",
|
||||
"Cargo": "מטען",
|
||||
"Tanker": "מכלית",
|
||||
"Yes": "כן",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kt",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "חטיפה (סקוואק 7500)",
|
||||
"Radio failure (squawk 7600)": "תקלת קשר (סקוואק 7600)",
|
||||
"Emergency (squawk 7700)": "חירום (סקוואק 7700)",
|
||||
"Emergency: {kind}": "חירום: {kind}",
|
||||
"Emergency declared": "הוכרז מצב חירום",
|
||||
"Tsunami warning issued": "הוצאה אזהרת צונאמי",
|
||||
"VFR, no flight plan": "VFR, ללא תוכנית טיסה",
|
||||
"VFR conspicuity": "קוד VFR כללי",
|
||||
"IFR, no code yet": "IFR, עדיין ללא קוד",
|
||||
"Hijack": "חטיפה",
|
||||
"Climbing {n} ft/min": "מטפס {n} ft/min",
|
||||
"Descending {n} ft/min": "יורד {n} ft/min",
|
||||
"Cruising, level": "שיוט, גובה קבוע",
|
||||
"Airliners": "מטוסי נוסעים",
|
||||
"Widebodies": "מטוסי גוף רחב",
|
||||
"Business jets": "מטוסי מנהלים",
|
||||
"Helicopters": "מסוקים",
|
||||
"Turboprops": "מטוסי טורבו־פרופ",
|
||||
"Fast jets": "מטוסי קרב",
|
||||
"Four-engine jets": "מטוסים ארבעה־מנועיים",
|
||||
"M6 and above": "M6 ומעלה",
|
||||
"M5 to 6": "M5 עד 6",
|
||||
"M4 to 5": "M4 עד 5",
|
||||
"Below M4": "מתחת ל־M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "מדינה",
|
||||
"altitude|Level": "יציב",
|
||||
"{h} h {m} min": "{h} שע׳ {m} דק׳",
|
||||
"{n} min": "{n} דק׳",
|
||||
"{speed} {direction}": "{speed} מ־{direction}",
|
||||
"{n} mm": "{n} מ״מ",
|
||||
"Scanning": "סורק",
|
||||
"Route": "מסלול",
|
||||
"3D model": "דגם תלת־ממדי",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "מבט מתא הטייס",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "כיוון אל {code}: {course}",
|
||||
"Over {place}": "מעל {place}",
|
||||
"Below": "מתחת"
|
||||
}
|
||||
+470
-1
@@ -2548,6 +2548,7 @@
|
||||
"Gemini voice is not connected": "La voce Gemini non è connessa",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "L'input interrotto di Gemini ha superato il limite di buffer o di attesa. Riavvia la voce.",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "La connessione a Gemini Live sta scadendo. Riavvia la voce per una nuova conversazione.",
|
||||
"Voice is disabled in Stories.": "Il controllo vocale è disattivato nelle Storie.",
|
||||
"Voice off": "Voce disattivata",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "Le sessioni vocali Gemini hanno un limite di tempo. Quando una sessione scade, riavvia la voce per una nuova conversazione.",
|
||||
"Stopped by voice": "Fermato dalla voce",
|
||||
@@ -3765,5 +3766,473 @@
|
||||
"Search layers…": "Cerca livelli…",
|
||||
"Layer groups": "Gruppi di livelli",
|
||||
"Jump to {name}": "Vai a {name}",
|
||||
"No layers match": "Nessun livello corrisponde"
|
||||
"No layers match": "Nessun livello corrisponde",
|
||||
"A GEV scene, played on the live globe.": "Una scena GEV, riprodotta sul globo live.",
|
||||
"Drag the map to explore · Resume any time": "Trascina la mappa per esplorare · Riprendi quando vuoi",
|
||||
"Region": "Regione",
|
||||
"Europe": "Europa",
|
||||
"Middle East": "Medio Oriente",
|
||||
"South Asia": "Asia meridionale",
|
||||
"East Asia": "Asia orientale",
|
||||
"Length": "Durata",
|
||||
"Under 1 min": "Meno di 1 min",
|
||||
"1 min or more": "1 min o più",
|
||||
"Shots": "Inquadrature",
|
||||
"Layers on": "Livelli attivi",
|
||||
"Stories": "Storie",
|
||||
"NEW": "NUOVO",
|
||||
"GEV Stories": "Storie GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Viste interattive e selezionate di ciò che accade sulla Terra. Avviane una, prendi il controllo della mappa quando vuoi, poi riprendi la storia.",
|
||||
"Browse stories": "Sfoglia le storie",
|
||||
"Not now": "Non ora",
|
||||
"Opened in GEV": "Aperto in GEV",
|
||||
"Back to story": "Torna alla storia",
|
||||
"GEV Stories explore": "Esplora Storie GEV",
|
||||
"Resize story list": "Ridimensiona l'elenco delle storie",
|
||||
"Story list size. Drag, or press to change": "Dimensione dell'elenco delle storie. Trascina o premi per cambiarla",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} di {count} storia",
|
||||
"many": "{n} di {count} di storie",
|
||||
"other": "{n} di {count} storie"
|
||||
},
|
||||
"Sort stories": "Ordina le storie",
|
||||
"Newest": "Più recenti",
|
||||
"Longest": "Più lunghe",
|
||||
"A–Z": "A–Z",
|
||||
"{count} filters on": {
|
||||
"one": "{count} filtro attivo",
|
||||
"many": "{count} di filtri attivi",
|
||||
"other": "{count} filtri attivi"
|
||||
},
|
||||
"Filters": "Filtri",
|
||||
"Search stories": "Cerca storie",
|
||||
"Search stories, places, creators": "Cerca storie, luoghi, autori",
|
||||
"Clear search": "Cancella ricerca",
|
||||
"Topics": "Argomenti",
|
||||
"Filter stories": "Filtra le storie",
|
||||
"Show {count} stories": {
|
||||
"one": "Mostra {count} storia",
|
||||
"many": "Mostra {count} di storie",
|
||||
"other": "Mostra {count} storie"
|
||||
},
|
||||
"No stories match": "Nessuna storia corrisponde",
|
||||
"Try another word or clear the filters.": "Prova con un'altra parola o cancella i filtri.",
|
||||
"Clear all": "Cancella tutto",
|
||||
"STORY": "STORIA",
|
||||
"Play {title}": "Riproduci {title}",
|
||||
"Play story": "Riproduci la storia",
|
||||
"Preview {title}": "Anteprima di {title}",
|
||||
"Click to preview": "Fai clic per l'anteprima",
|
||||
"Click to play": "Fai clic per riprodurre",
|
||||
"Tap to play": "Tocca per riprodurre",
|
||||
"Pick a story or a pin to preview it here": "Scegli una storia o un segnaposto per vederne l'anteprima qui",
|
||||
"Story": "Storia",
|
||||
"{what} link copied": "Link di {what} copiato",
|
||||
"Copy this link: {url}": "Copia questo link: {url}",
|
||||
"Back to stories": "Torna alle storie",
|
||||
"Back to the globe": "Torna al globo",
|
||||
"Breadcrumb": "Percorso di navigazione",
|
||||
"Globe": "Globo",
|
||||
"Share": "Condividi",
|
||||
"Back to GEV": "Torna a GEV",
|
||||
"Chapter {n}": "Capitolo {n}",
|
||||
"Context. Swipe up or press to open": "Contesto. Scorri verso l'alto o premi per aprire",
|
||||
"Context. Swipe down or press to close": "Contesto. Scorri verso il basso o premi per chiudere",
|
||||
"Search this story": "Cerca in questa storia",
|
||||
"Voice search (not in this build)": "Ricerca vocale (non in questa build)",
|
||||
"Search results": "Risultati della ricerca",
|
||||
"Nothing in this story matches.": "Nulla in questa storia corrisponde.",
|
||||
"Chapters": "Capitoli",
|
||||
"now": "ora",
|
||||
"About": "Informazioni",
|
||||
"by {creator}": "di {creator}",
|
||||
"Key moments": "Momenti chiave",
|
||||
"Sources": "Fonti",
|
||||
"Background": "Contesto",
|
||||
"Related stories": "Storie correlate",
|
||||
"Story link copied": "Link della storia copiato",
|
||||
"You": "Tu",
|
||||
"Open this moment in GEV": "Apri questo momento in GEV",
|
||||
"Open": "Apri",
|
||||
"Share this story": "Condividi questa storia",
|
||||
"GEV Story": "Storia GEV",
|
||||
"Story card": "Scheda della storia",
|
||||
"Chapter": "Capitolo",
|
||||
"CHAPTER {n} / {total}": "CAPITOLO {n} / {total}",
|
||||
"ON THE MAP": "SULLA MAPPA",
|
||||
"Right now": "In questo momento",
|
||||
"RIGHT NOW": "IN QUESTO MOMENTO",
|
||||
"Minimise card": "Riduci la scheda",
|
||||
"Expand card": "Espandi la scheda",
|
||||
"Card pages": "Pagine della scheda",
|
||||
"Resize context panel": "Ridimensiona il pannello contesto",
|
||||
"Swipe up for context": "Scorri verso l'alto per il contesto",
|
||||
"Chapter start": "Inizio del capitolo",
|
||||
"Story time": "Ora della storia",
|
||||
"chapter": "capitolo",
|
||||
"Key moment: {label}": "Momento chiave: {label}",
|
||||
"Exit expanded map": "Esci dalla mappa espansa",
|
||||
"Expand map": "Espandi la mappa",
|
||||
"Exit cockpit to open Stories": "Esci dal cockpit per aprire le Storie",
|
||||
"Stories could not load. Check the connection and try again.": "Impossibile caricare le Storie. Controlla la connessione e riprova.",
|
||||
"Shot {n} of {total}": "Scatto {n} di {total}",
|
||||
"GEV scene": "Scena GEV",
|
||||
"SAVE TO STORIES": "SALVA IN STORIES",
|
||||
"REMOVE FROM STORIES": "RIMUOVI DA STORIES",
|
||||
"Show this scene on the Stories page": "Mostra questa scena nella pagina Stories",
|
||||
"Take this scene off the Stories page": "Togli questa scena dalla pagina Stories",
|
||||
"Saved to Stories": "Salvata in Stories",
|
||||
"Removed from Stories": "Rimossa da Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Una scena che hai creato in GEV, riprodotta sul globo dal vivo.",
|
||||
"Floods": "Alluvioni",
|
||||
"Wildfires": "Incendi boschivi",
|
||||
"Storms": "Tempeste",
|
||||
"Earthquakes": "Terremoti",
|
||||
"Maritime": "Marittimo",
|
||||
"Space": "Spazio",
|
||||
"Conflict": "Conflitti",
|
||||
"Climate": "Clima",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Passa a Esri World Imagery per acquisire una miniatura",
|
||||
"Thumbnail could not be captured": "Impossibile acquisire la miniatura",
|
||||
"Thumbnail captured": "Miniatura acquisita",
|
||||
"Stories tags": "Tag delle Stories",
|
||||
"Story thumbnail": "Miniatura della storia",
|
||||
"Use the current view as the Stories card image": "Usa la vista attuale come immagine della scheda nelle Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Le posizioni degli aerei provengono dall'ADS-B: lo snapshot mondiale di OpenSky Network, con adsb.lol dove OpenSky non ha dati.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Fonte di riserva per i voli live (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Le orbite dei satelliti sono calcolate dagli elementi orbitali attuali di CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "I terremoti provengono dal feed live dell'U.S. Geological Survey.",
|
||||
"Traffic": "Traffico",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Traffico stradale; la congestione live richiede una tua chiave TomTom.",
|
||||
"Live traffic flow, with your own key": "Flusso del traffico live, con una tua chiave",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Traffico aereo live in tutto il mondo: l'Atlantico, l'Europa, il Giappone e San Francisco.",
|
||||
"The Atlantic": "L'Atlantico",
|
||||
"Western Europe": "Europa occidentale",
|
||||
"Japan": "Giappone",
|
||||
"San Francisco Bay Area": "Baia di San Francisco",
|
||||
"Pull back over the Atlantic": "Allontanarsi sopra l'Atlantico",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Satelliti in orbita, osservati sopra la Florida, l'Africa, Tokyo e Parigi.",
|
||||
"Over Florida": "Sopra la Florida",
|
||||
"Over Africa": "Sopra l'Africa",
|
||||
"Over Tokyo": "Sopra Tokyo",
|
||||
"Over Paris": "Sopra Parigi",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Terremoti recenti nella vista termica: California, Giappone, Nuova Zelanda e al largo del Portogallo.",
|
||||
"California": "California",
|
||||
"New Zealand": "Nuova Zelanda",
|
||||
"Off Portugal": "Al largo del Portogallo",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Voli, satelliti e traffico insieme sopra New York, Los Angeles e Londra.",
|
||||
"New York, closer": "New York, più vicino",
|
||||
"New York, closer still": "New York, ancora più vicino",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Tutti i livelli live insieme, allontanandosi da Tokyo fino all'intero pianeta.",
|
||||
"Tokyo, pulling back": "Tokyo, allontanandosi",
|
||||
"Japan and East Asia": "Giappone e Asia orientale",
|
||||
"South China Sea": "Mar Cinese Meridionale",
|
||||
"The whole globe": "L'intero globo",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "L'alluvione da rottura del Bhote Koshi del 26 agosto 2026 in Nepal, seguita giù per la valle fino a Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Percorso ricostruito dell'alluvione (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "MINIATURA",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Snapshot mondiale dei voli live (licenza non commerciale per ricerca e istruzione)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Elementi orbitali e catalogo dei satelliti (dati del governo degli Stati Uniti)",
|
||||
"Satellite operators, owners and purposes": "Operatori, proprietari e finalità dei satelliti",
|
||||
"Earthquake feed (U.S. public domain)": "Feed dei terremoti (pubblico dominio negli Stati Uniti)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Immagini satellitari storiche e successive all'evento (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Una visualizzazione dell'alluvione da rottura del Bhote Koshi del 26 agosto 2026, non un modello ufficiale di pericolosità. Le viste storiche (2021) e successive all'evento sono immagini Vantor WorldView; il percorso del fiume è la ricostruzione di GeoPera. I video dei testimoni rimandano ai post originali, e i loro orari di ripresa non sono verificati.",
|
||||
"That story is not available here": "Questa storia non è disponibile qui",
|
||||
"DRAFT": "BOZZA",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Una bozza, non ancora salvata come storia. Usa SALVA IN STORIES in CREAZIONE per salvarla.",
|
||||
"Heading to next stop": "Verso la prossima fermata",
|
||||
"Arriving at a stop": "In arrivo a una fermata",
|
||||
"Stopped at a stop": "Fermo a una fermata",
|
||||
"Wikipedia": "Wikipedia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Sito web",
|
||||
"Phase": "Fase",
|
||||
"Flight level": "Livello di volo",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Segnale",
|
||||
"Civilian, in the air": "Civili, in volo",
|
||||
"Military, in the air": "Militari, in volo",
|
||||
"On the ground": "A terra",
|
||||
"Motion": "Movimento",
|
||||
"Operator": "Operatore",
|
||||
"Last reported": "Ultima segnalazione",
|
||||
"Crowding": "Affollamento",
|
||||
"Class": "Classe",
|
||||
"Magnitude": "Magnitudo",
|
||||
"Labels": "Etichette",
|
||||
"3D aircraft": "Aerei 3D",
|
||||
"M{mag} earthquake": "Terremoto di magnitudo {mag}",
|
||||
"Earthquake": "Terremoto",
|
||||
"{n} kt winds": "Venti a {n} nodi",
|
||||
"Wildfire": "Incendio boschivo",
|
||||
"{n} acres": "{n} acri",
|
||||
"{n}% contained": "Contenuto al {n}%",
|
||||
"prescribed burn": "fuoco prescritto",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} rilevamento satellitare di fuoco",
|
||||
"many": "{count} di rilevamenti satellitari di fuoco",
|
||||
"other": "{count} rilevamenti satellitari di fuoco"
|
||||
},
|
||||
"last day": "ultimo giorno",
|
||||
"Conditions unknown": "Condizioni sconosciute",
|
||||
"Partly cloudy": "Parzialmente nuvoloso",
|
||||
"Overcast": "Coperto",
|
||||
"Fog": "Nebbia",
|
||||
"Drizzle": "Pioviggine",
|
||||
"Rain": "Pioggia",
|
||||
"Snow": "Neve",
|
||||
"Rain showers": "Rovesci di pioggia",
|
||||
"Snow showers": "Rovesci di neve",
|
||||
"Thunderstorm": "Temporale",
|
||||
"Mixed conditions": "Condizioni variabili",
|
||||
"Search {name} and nearby": "Cerca in {name} e dintorni",
|
||||
"Search what is in view": "Cerca in ciò che è in vista",
|
||||
"Close Context search": "Chiudi la ricerca in Contesto",
|
||||
"Search in Context": "Cerca in Contesto",
|
||||
"Close search": "Chiudi ricerca",
|
||||
"Shrink Context back to a panel": "Riduci Contesto a pannello",
|
||||
"Expand Context to a full-height column": "Espandi Contesto a colonna a tutta altezza",
|
||||
"Context tabs": "Schede di Contesto",
|
||||
"Inspector": "Ispettore",
|
||||
"Properties": "Proprietà",
|
||||
"Level": "Livello",
|
||||
"Last {n} min": "Ultimi {n} min",
|
||||
"Just now": "Proprio ora",
|
||||
"Since selected": "Dalla selezione",
|
||||
"Altitude": "Altitudine",
|
||||
"Heading": "Prua",
|
||||
"Field of view": "Campo visivo",
|
||||
"Camera frame": "Fotogramma della telecamera",
|
||||
"Acquiring frame…": "Acquisizione fotogramma…",
|
||||
"Show a bigger view": "Mostra più grande",
|
||||
"Camera view": "Vista della telecamera",
|
||||
"More info": "Più informazioni",
|
||||
"{n} s ago": "{n} s fa",
|
||||
"{n} min ago": "{n} min fa",
|
||||
"{n} h ago": "{n} h fa",
|
||||
"{n} d ago": "{n} g fa",
|
||||
"Out of feed · last reading": "Fuori dal feed · ultima lettura",
|
||||
"Live · {age}": "Diretta · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "aggiornato {age}",
|
||||
"Selected on the map": "Selezionato sulla mappa",
|
||||
"Close card": "Chiudi scheda",
|
||||
"{n}% flown": "{n}% percorso",
|
||||
"to go": "rimanenti",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "La rotta prevista per questo numero di volo non corrisponde alla posizione dell’aereo; potrebbe essere un’altra tratta dello stesso volo.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Previsto · non verificato: non corrisponde alla posizione dell’aereo",
|
||||
"Nothing in this item’s details matches “{text}”.": "Nessun dettaglio di questo elemento corrisponde a “{text}”.",
|
||||
"Matching details": "Dettagli corrispondenti",
|
||||
"Enter orbital view": "Entra nella vista orbitale",
|
||||
"Enter Cockpit": "Entra nel cockpit",
|
||||
"Fly to": "Vola qui",
|
||||
"Following": "In seguimento",
|
||||
"Follow": "Segui",
|
||||
"Ask GEV about {name}": "Chiedi a GEV di {name}",
|
||||
"Flights within {radius}": "Voli entro {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Nessun volo entro {radius} dai livelli attivi.",
|
||||
"Vessels within {radius}": "Navi entro {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Nessuna nave entro {radius} dai livelli attivi.",
|
||||
"Cloud": "Nuvolosità",
|
||||
"Visibility": "Visibilità",
|
||||
"Conditions here": "Condizioni qui",
|
||||
"feels {n}°": "percepita {n}°",
|
||||
"Reading conditions here…": "Lettura delle condizioni qui…",
|
||||
"No weather reading here.": "Nessun dato meteo qui.",
|
||||
"Local solar time": "Ora solare locale",
|
||||
"Nearby radius": "Raggio vicino",
|
||||
"How far out the nearby lists look": "Fin dove arrivano gli elenchi vicini",
|
||||
"Hazards within {radius}": "Pericoli entro {radius}",
|
||||
"Turns the layer on": "Attiva il livello",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "Nessun terremoto, tempesta tropicale o incendio boschivo segnalato entro {radius}.",
|
||||
"Broadcast alerts within {radius}": "Allerte trasmesse entro {radius}",
|
||||
"Also within {radius}": "Anche entro {radius}",
|
||||
"Local news": "Notizie locali",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Meridiana · {time} solari · sole a {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Meridiana · {time} solari · sole sotto l’orizzonte",
|
||||
"{count} things": {
|
||||
"one": "{count} elemento",
|
||||
"many": "{count} di elementi",
|
||||
"other": "{count} elementi"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} livello",
|
||||
"many": "{count} di livelli",
|
||||
"other": "{count} livelli"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} in vista da {layers}",
|
||||
"{n} km up": "a {n} km di quota",
|
||||
"{n} m up": "a {n} m di quota",
|
||||
"This view": "Questa vista",
|
||||
"Day": "Giorno",
|
||||
"Twilight": "Crepuscolo",
|
||||
"Night": "Notte",
|
||||
"Daylight": "Luce diurna",
|
||||
"sun {n}°": "sole {n}°",
|
||||
"Of {n} read, {total} loaded": "Su {n} letti, {total} caricati",
|
||||
"Of all {n}": "Su tutti i {n}",
|
||||
"Of {n} in view": "Su {n} in vista",
|
||||
"Error": "Errore",
|
||||
"Stale": "Non aggiornato",
|
||||
"In view": "In vista",
|
||||
"Globe view": "Vista globo",
|
||||
"Nothing selected": "Nessuna selezione",
|
||||
"Worldwide now": "Nel mondo ora",
|
||||
"Turn on {name}": "Attiva {name}",
|
||||
"{n} loaded": "{n} caricati",
|
||||
"{n} in view": "{n} in vista",
|
||||
"Turn off {name}": "Disattiva {name}",
|
||||
"Camera height": "Altezza della camera",
|
||||
"Nothing in view matches “{text}”.": "Niente in vista corrisponde a “{text}”.",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Niente dei livelli attivi è in vista qui. Riduci lo zoom per vedere di più.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Nessun livello caricato ha qualcosa in vista. Attivane alcuni in Livelli dati.",
|
||||
"Places in view": "Luoghi in vista",
|
||||
"Show here": "Mostra qui",
|
||||
"Ask GEV what's here": "Chiedi a GEV cosa c’è qui",
|
||||
"aircraft": "aeromobile",
|
||||
"vessel": "nave",
|
||||
"launch": "lancio",
|
||||
"fire": "incendio",
|
||||
"Fire detection": "Rilevamento di fuoco",
|
||||
"fire perimeter": "perimetro dell’incendio",
|
||||
"earthquake": "terremoto",
|
||||
"storm": "tempesta",
|
||||
"air quality station": "stazione della qualità dell’aria",
|
||||
"installation": "installazione",
|
||||
"dam": "diga",
|
||||
"data centre": "data center",
|
||||
"place": "luogo",
|
||||
"vehicle": "veicolo",
|
||||
"bike station": "stazione bici",
|
||||
"plate reader": "lettore di targhe",
|
||||
"camera": "telecamera",
|
||||
"airspace": "spazio aereo",
|
||||
"sighting": "avvistamento",
|
||||
"Callsign": "Nominativo",
|
||||
"Registration": "Marche",
|
||||
"Aircraft class": "Classe di aeromobile",
|
||||
"Course": "Rotta",
|
||||
"Vertical rate": "Velocità verticale",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Emergenza",
|
||||
"Last contact": "Ultimo contatto",
|
||||
"Ship type": "Tipo di nave",
|
||||
"Destination": "Destinazione",
|
||||
"Depth": "Profondità",
|
||||
"Time": "Ora",
|
||||
"Place": "Luogo",
|
||||
"Fire power": "Potenza del fuoco",
|
||||
"Satellite": "Satellite",
|
||||
"Sensor": "Sensore",
|
||||
"Detected": "Rilevato",
|
||||
"Contained": "Contenuto",
|
||||
"Discovered": "Scoperto",
|
||||
"Basin": "Bacino",
|
||||
"Index": "Indice",
|
||||
"Health risk": "Rischio per la salute",
|
||||
"Bikes": "Bici",
|
||||
"Docks": "Stalli",
|
||||
"Floor": "Limite inferiore",
|
||||
"Ceiling": "Limite superiore",
|
||||
"Active": "Attivo",
|
||||
"NORAD ID": "ID NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Capacità",
|
||||
"Output": "Produzione",
|
||||
"River": "Fiume",
|
||||
"City": "Città",
|
||||
"State": "Stato",
|
||||
"Street": "Via",
|
||||
"Opened": "Aperto",
|
||||
"Height": "Altezza",
|
||||
"IT load": "Carico IT",
|
||||
"Waterway": "Corso d’acqua",
|
||||
"Military": "Militare",
|
||||
"Land use": "Uso del suolo",
|
||||
"Telecom": "Telecomunicazioni",
|
||||
"feature": "elemento",
|
||||
"Empty": "Vuoto",
|
||||
"Many seats free": "Molti posti liberi",
|
||||
"Few seats free": "Pochi posti liberi",
|
||||
"Standing room only": "Solo posti in piedi",
|
||||
"Crowded": "Affollato",
|
||||
"Not taking passengers": "Non accetta passeggeri",
|
||||
"Major hurricane": "Uragano maggiore",
|
||||
"Typhoon": "Tifone",
|
||||
"Super typhoon": "Supertifone",
|
||||
"Tropical cyclone": "Ciclone tropicale",
|
||||
"Prescribed burn": "Fuoco prescritto",
|
||||
"Atlantic": "Atlantico",
|
||||
"Eastern Pacific": "Pacifico orientale",
|
||||
"Central Pacific": "Pacifico centrale",
|
||||
"Western Pacific": "Pacifico occidentale",
|
||||
"Indian Ocean": "Oceano Indiano",
|
||||
"Southern Hemisphere": "Emisfero australe",
|
||||
"Cable tram": "Tram a fune",
|
||||
"Aerial lift": "Funivia",
|
||||
"Fishing": "Pesca",
|
||||
"Tug": "Rimorchiatore",
|
||||
"Sailing": "Vela",
|
||||
"Pleasure craft": "Diporto",
|
||||
"Pilot vessel": "Pilotina",
|
||||
"Search and rescue": "Ricerca e soccorso",
|
||||
"Law enforcement": "Forze dell’ordine",
|
||||
"High-speed craft": "Unità veloce",
|
||||
"Passenger": "Passeggeri",
|
||||
"Cargo": "Mercantile",
|
||||
"Tanker": "Petroliera",
|
||||
"Yes": "Sì",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Dirottamento (squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Avaria radio (squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Emergenza (squawk 7700)",
|
||||
"Emergency: {kind}": "Emergenza: {kind}",
|
||||
"Emergency declared": "Emergenza dichiarata",
|
||||
"Tsunami warning issued": "Allerta tsunami emessa",
|
||||
"VFR, no flight plan": "VFR, senza piano di volo",
|
||||
"VFR conspicuity": "Codice VFR di cospicuità",
|
||||
"IFR, no code yet": "IFR, codice non ancora assegnato",
|
||||
"Hijack": "Dirottamento",
|
||||
"Climbing {n} ft/min": "In salita a {n} ft/min",
|
||||
"Descending {n} ft/min": "In discesa a {n} ft/min",
|
||||
"Cruising, level": "Crociera, livellato",
|
||||
"Airliners": "Aerei di linea",
|
||||
"Widebodies": "Aerei a fusoliera larga",
|
||||
"Business jets": "Business jet",
|
||||
"Helicopters": "Elicotteri",
|
||||
"Turboprops": "Turboelica",
|
||||
"Fast jets": "Jet veloci",
|
||||
"Four-engine jets": "Quadrimotori",
|
||||
"M6 and above": "M6 e oltre",
|
||||
"M5 to 6": "Da M5 a 6",
|
||||
"M4 to 5": "Da M4 a 5",
|
||||
"Below M4": "Sotto M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Paese",
|
||||
"altitude|Level": "Stabile",
|
||||
"{h} h {m} min": "{h} h {m} min",
|
||||
"{n} min": "{n} min",
|
||||
"{speed} {direction}": "{speed} da {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Scansione",
|
||||
"Route": "Rotta",
|
||||
"3D model": "Modello 3D",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Vista dalla cabina",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Rotta verso {code}: {course}",
|
||||
"Over {place}": "Sopra {place}",
|
||||
"Below": "Sotto"
|
||||
}
|
||||
+458
-1
@@ -2438,6 +2438,7 @@
|
||||
"Gemini voice is not connected": "Gemini音声が接続されていません",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "Geminiの中断された入力がバッファーまたは待機の上限を超えました。音声をもう一度開始してください。",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "Gemini Liveの接続がまもなく期限切れです。新しい会話を始めるには、音声をもう一度開始してください。",
|
||||
"Voice is disabled in Stories.": "ストーリーでは音声操作が無効になります。",
|
||||
"Voice off": "音声 オフ",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "Gemini音声のセッションには時間制限があります。セッションが期限切れになったら、音声をもう一度開始して新しい会話を始めてください。",
|
||||
"Stopped by voice": "音声で停止しました",
|
||||
@@ -3571,5 +3572,461 @@
|
||||
"Search layers…": "レイヤーを検索…",
|
||||
"Layer groups": "レイヤーのグループ",
|
||||
"Jump to {name}": "{name} へ移動",
|
||||
"No layers match": "一致するレイヤーはありません"
|
||||
"No layers match": "一致するレイヤーはありません",
|
||||
"A GEV scene, played on the live globe.": "ライブの地球儀で再生する GEV シーン。",
|
||||
"Drag the map to explore · Resume any time": "地図をドラッグして探索 · いつでも再開できます",
|
||||
"Region": "地域",
|
||||
"Europe": "ヨーロッパ",
|
||||
"Middle East": "中東",
|
||||
"South Asia": "南アジア",
|
||||
"East Asia": "東アジア",
|
||||
"Length": "長さ",
|
||||
"Under 1 min": "1分未満",
|
||||
"1 min or more": "1分以上",
|
||||
"Shots": "ショット",
|
||||
"Layers on": "オンのレイヤー",
|
||||
"Stories": "ストーリー",
|
||||
"NEW": "新着",
|
||||
"GEV Stories": "GEV ストーリー",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "地球で起きていることを厳選して伝えるインタラクティブなビュー。再生中いつでも地図を自由に操作し、またストーリーに戻れます。",
|
||||
"Browse stories": "ストーリーを見る",
|
||||
"Not now": "後で",
|
||||
"Opened in GEV": "GEV で開きました",
|
||||
"Back to story": "ストーリーに戻る",
|
||||
"GEV Stories explore": "GEV ストーリーを探す",
|
||||
"Resize story list": "ストーリー一覧のサイズを変更",
|
||||
"Story list size. Drag, or press to change": "ストーリー一覧のサイズ。ドラッグするか押して変更",
|
||||
"{n} of {count} stories": {
|
||||
"other": "{count}件中 {n}件のストーリー"
|
||||
},
|
||||
"Sort stories": "ストーリーを並べ替え",
|
||||
"Newest": "新しい順",
|
||||
"Longest": "長い順",
|
||||
"A–Z": "名前順",
|
||||
"{count} filters on": {
|
||||
"other": "{count}件のフィルター適用中"
|
||||
},
|
||||
"Filters": "フィルター",
|
||||
"Search stories": "ストーリーを検索",
|
||||
"Search stories, places, creators": "ストーリー、場所、作成者を検索",
|
||||
"Clear search": "検索をクリア",
|
||||
"Topics": "トピック",
|
||||
"Filter stories": "ストーリーを絞り込む",
|
||||
"Show {count} stories": {
|
||||
"other": "{count}件のストーリーを表示"
|
||||
},
|
||||
"No stories match": "一致するストーリーはありません",
|
||||
"Try another word or clear the filters.": "別の語句を試すか、フィルターをクリアしてください。",
|
||||
"Clear all": "すべてクリア",
|
||||
"STORY": "ストーリー",
|
||||
"Play {title}": "{title}を再生",
|
||||
"Play story": "ストーリーを再生",
|
||||
"Preview {title}": "{title}をプレビュー",
|
||||
"Click to preview": "クリックでプレビュー",
|
||||
"Click to play": "クリックで再生",
|
||||
"Tap to play": "タップで再生",
|
||||
"Pick a story or a pin to preview it here": "ストーリーかピンを選ぶと、ここでプレビューできます",
|
||||
"Story": "ストーリー",
|
||||
"{what} link copied": "{what}のリンクをコピーしました",
|
||||
"Copy this link: {url}": "このリンクをコピー: {url}",
|
||||
"Back to stories": "ストーリー一覧に戻る",
|
||||
"Back to the globe": "地球儀に戻る",
|
||||
"Breadcrumb": "パンくずリスト",
|
||||
"Globe": "地球儀",
|
||||
"Share": "共有",
|
||||
"Back to GEV": "GEV に戻る",
|
||||
"Chapter {n}": "第{n}章",
|
||||
"Context. Swipe up or press to open": "コンテキスト。上にスワイプするか押して開く",
|
||||
"Context. Swipe down or press to close": "コンテキスト。下にスワイプするか押して閉じる",
|
||||
"Search this story": "このストーリー内を検索",
|
||||
"Voice search (not in this build)": "音声検索 (このビルドでは未対応)",
|
||||
"Search results": "検索結果",
|
||||
"Nothing in this story matches.": "このストーリーに一致するものはありません。",
|
||||
"Chapters": "章",
|
||||
"now": "現在",
|
||||
"About": "概要",
|
||||
"by {creator}": "作成者: {creator}",
|
||||
"Key moments": "重要な場面",
|
||||
"Sources": "出典",
|
||||
"Background": "背景",
|
||||
"Related stories": "関連ストーリー",
|
||||
"Story link copied": "ストーリーのリンクをコピーしました",
|
||||
"You": "あなた",
|
||||
"Open this moment in GEV": "この場面を GEV で開く",
|
||||
"Open": "開く",
|
||||
"Share this story": "このストーリーを共有",
|
||||
"GEV Story": "GEV ストーリー",
|
||||
"Story card": "ストーリーカード",
|
||||
"Chapter": "章",
|
||||
"CHAPTER {n} / {total}": "第{n}章 / {total}",
|
||||
"ON THE MAP": "地図上",
|
||||
"Right now": "現在",
|
||||
"RIGHT NOW": "現在",
|
||||
"Minimise card": "カードを最小化",
|
||||
"Expand card": "カードを展開",
|
||||
"Card pages": "カードのページ",
|
||||
"Resize context panel": "コンテキストパネルのサイズを変更",
|
||||
"Swipe up for context": "上にスワイプしてコンテキストを表示",
|
||||
"Chapter start": "章の始まり",
|
||||
"Story time": "ストーリー時刻",
|
||||
"chapter": "章",
|
||||
"Key moment: {label}": "重要な場面: {label}",
|
||||
"Exit expanded map": "拡大地図を終了",
|
||||
"Expand map": "地図を拡大",
|
||||
"Exit cockpit to open Stories": "ストーリーを開くにはコックピットを終了してください",
|
||||
"Stories could not load. Check the connection and try again.": "ストーリーを読み込めませんでした。接続を確認して、もう一度お試しください。",
|
||||
"Shot {n} of {total}": "ショット {n}/{total}",
|
||||
"GEV scene": "GEVシーン",
|
||||
"SAVE TO STORIES": "STORIESに保存",
|
||||
"REMOVE FROM STORIES": "STORIESから外す",
|
||||
"Show this scene on the Stories page": "このシーンをStoriesページに表示",
|
||||
"Take this scene off the Stories page": "このシーンをStoriesページから外す",
|
||||
"Saved to Stories": "Storiesに保存しました",
|
||||
"Removed from Stories": "Storiesから外しました",
|
||||
"A scene you made in GEV, played on the live globe.": "GEV で作成したシーン。ライブの地球儀で再生します。",
|
||||
"Floods": "洪水",
|
||||
"Wildfires": "山火事",
|
||||
"Storms": "暴風雨",
|
||||
"Earthquakes": "地震",
|
||||
"Maritime": "海事",
|
||||
"Space": "宇宙",
|
||||
"Conflict": "紛争",
|
||||
"Climate": "気候",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "サムネイルを取得するには Esri World Imagery に切り替えてください",
|
||||
"Thumbnail could not be captured": "サムネイルを取得できませんでした",
|
||||
"Thumbnail captured": "サムネイルを取得しました",
|
||||
"Stories tags": "ストーリーのタグ",
|
||||
"Story thumbnail": "ストーリーのサムネイル",
|
||||
"Use the current view as the Stories card image": "現在の表示をストーリーカードの画像にする",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "航空機の位置は ADS-B から取得します。OpenSky Network の全世界スナップショットを使い、OpenSky にデータがない場所は adsb.lol で補います。",
|
||||
"Live-flight fallback (ODbL 1.0)": "ライブフライトの代替ソース (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "衛星の軌道は CelesTrak の最新の軌道要素から計算します。",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "地震は米国地質調査所 (USGS) のライブフィードから取得します。",
|
||||
"Traffic": "交通",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "道路交通。ライブの渋滞情報には自分の TomTom キーが必要です。",
|
||||
"Live traffic flow, with your own key": "ライブの交通流 (自分のキーを使用)",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "世界のライブ航空交通:大西洋、ヨーロッパ、日本、サンフランシスコ。",
|
||||
"The Atlantic": "大西洋",
|
||||
"Western Europe": "西ヨーロッパ",
|
||||
"Japan": "日本",
|
||||
"San Francisco Bay Area": "サンフランシスコ・ベイエリア",
|
||||
"Pull back over the Atlantic": "大西洋上空で引きの視点へ",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "軌道上の衛星を、フロリダ、アフリカ、東京、パリの上空から見る。",
|
||||
"Over Florida": "フロリダ上空",
|
||||
"Over Africa": "アフリカ上空",
|
||||
"Over Tokyo": "東京上空",
|
||||
"Over Paris": "パリ上空",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "サーマル表示で見る最近の地震:カリフォルニア、日本、ニュージーランド、ポルトガル沖。",
|
||||
"California": "カリフォルニア",
|
||||
"New Zealand": "ニュージーランド",
|
||||
"Off Portugal": "ポルトガル沖",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "ニューヨーク、ロサンゼルス、ロンドン上空のフライト、衛星、交通をまとめて表示。",
|
||||
"New York, closer": "ニューヨーク、さらに近く",
|
||||
"New York, closer still": "ニューヨーク、もっと近く",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "すべてのライブレイヤーを同時に表示し、東京から地球全体へ引いていく。",
|
||||
"Tokyo, pulling back": "東京から引いていく",
|
||||
"Japan and East Asia": "日本と東アジア",
|
||||
"South China Sea": "南シナ海",
|
||||
"The whole globe": "地球全体",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "2026年8月26日にネパールで起きた Bhote Koshi の決壊洪水を、谷を下って Trishuli まで追う。",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "再現した洪水の経路 (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "サムネイル",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "全世界のライブフライトのスナップショット (非商用の研究・教育ライセンス)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "衛星の軌道要素とカタログ (米国政府データ)",
|
||||
"Satellite operators, owners and purposes": "衛星の運用者、所有者、用途",
|
||||
"Earthquake feed (U.S. public domain)": "地震フィード (米国のパブリックドメイン)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "過去および事後の衛星画像 (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "2026年8月26日の Bhote Koshi 決壊洪水の可視化であり、公式のハザードモデルではありません。過去 (2021年) と事後の画像は Vantor WorldView の画像で、川の経路は GeoPera による再現です。目撃者の動画は元の投稿にリンクしており、撮影時刻は検証されていません。",
|
||||
"That story is not available here": "そのストーリーはここでは利用できません",
|
||||
"DRAFT": "下書き",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "まだストーリーとして保存されていない下書きです。シーン作成の「STORIESに保存」で保存できます。",
|
||||
"Heading to next stop": "次の停留所へ向かう",
|
||||
"Arriving at a stop": "停留所に到着中",
|
||||
"Stopped at a stop": "停留所に停車中",
|
||||
"Wikipedia": "ウィキペディア",
|
||||
"Wikidata": "ウィキデータ",
|
||||
"Website": "ウェブサイト",
|
||||
"Phase": "フェーズ",
|
||||
"Flight level": "フライトレベル",
|
||||
"Mach": "マッハ",
|
||||
"Squawk {code}": "スコーク {code}",
|
||||
"Signal": "信号",
|
||||
"Civilian, in the air": "民間機・飛行中",
|
||||
"Military, in the air": "軍用機・飛行中",
|
||||
"On the ground": "地上",
|
||||
"Motion": "動き",
|
||||
"Operator": "運行会社",
|
||||
"Last reported": "最終報告",
|
||||
"Crowding": "混雑",
|
||||
"Class": "種別",
|
||||
"Magnitude": "マグニチュード",
|
||||
"Labels": "ラベル",
|
||||
"3D aircraft": "3D航空機",
|
||||
"M{mag} earthquake": "M{mag}の地震",
|
||||
"Earthquake": "地震",
|
||||
"{n} kt winds": "風速{n}ノット",
|
||||
"Wildfire": "山火事",
|
||||
"{n} acres": "{n}エーカー",
|
||||
"{n}% contained": "鎮圧率{n}%",
|
||||
"prescribed burn": "計画的野焼き",
|
||||
"{count} satellite fire hits": {
|
||||
"other": "衛星による火災検知{count}件"
|
||||
},
|
||||
"last day": "過去1日",
|
||||
"Conditions unknown": "天候不明",
|
||||
"Partly cloudy": "晴れ時々曇り",
|
||||
"Overcast": "曇り",
|
||||
"Fog": "霧",
|
||||
"Drizzle": "霧雨",
|
||||
"Rain": "雨",
|
||||
"Snow": "雪",
|
||||
"Rain showers": "にわか雨",
|
||||
"Snow showers": "にわか雪",
|
||||
"Thunderstorm": "雷雨",
|
||||
"Mixed conditions": "不安定な天気",
|
||||
"Search {name} and nearby": "{name}と周辺を検索",
|
||||
"Search what is in view": "表示中のものを検索",
|
||||
"Close Context search": "コンテキスト検索を閉じる",
|
||||
"Search in Context": "コンテキスト内を検索",
|
||||
"Close search": "検索を閉じる",
|
||||
"Shrink Context back to a panel": "コンテキストをパネルに戻す",
|
||||
"Expand Context to a full-height column": "コンテキストを全高の列に広げる",
|
||||
"Context tabs": "コンテキストのタブ",
|
||||
"Inspector": "インスペクター",
|
||||
"Properties": "プロパティ",
|
||||
"Level": "レベル",
|
||||
"Last {n} min": "過去{n}分",
|
||||
"Just now": "たった今",
|
||||
"Since selected": "選択以降",
|
||||
"Altitude": "高度",
|
||||
"Heading": "方位",
|
||||
"Field of view": "画角",
|
||||
"Camera frame": "カメラ画像",
|
||||
"Acquiring frame…": "画像を取得中…",
|
||||
"Show a bigger view": "大きく表示",
|
||||
"Camera view": "カメラ映像",
|
||||
"More info": "詳細情報",
|
||||
"{n} s ago": "{n}秒前",
|
||||
"{n} min ago": "{n}分前",
|
||||
"{n} h ago": "{n}時間前",
|
||||
"{n} d ago": "{n}日前",
|
||||
"Out of feed · last reading": "フィード外・最終データ",
|
||||
"Live · {age}": "ライブ・{age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "{age}に更新",
|
||||
"Selected on the map": "地図上で選択中",
|
||||
"Close card": "カードを閉じる",
|
||||
"{n}% flown": "{n}%飛行済み",
|
||||
"to go": "残り",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "この便名の予定ルートは機体の位置と一致しません。同じ便の別区間かもしれません。",
|
||||
"Scheduled · unverified: does not match where the plane is": "予定・未確認:機体の位置と一致しません",
|
||||
"Nothing in this item’s details matches “{text}”.": "この項目の詳細に「{text}」に一致するものはありません。",
|
||||
"Matching details": "一致する詳細",
|
||||
"Enter orbital view": "軌道ビューに入る",
|
||||
"Enter Cockpit": "コックピットに入る",
|
||||
"Fly to": "移動",
|
||||
"Following": "追従中",
|
||||
"Follow": "追従",
|
||||
"Ask GEV about {name}": "{name}についてGEVに質問",
|
||||
"Flights within {radius}": "{radius}以内のフライト",
|
||||
"No flights within {radius} from the layers that are on.": "オンのレイヤーには{radius}以内のフライトがありません。",
|
||||
"Vessels within {radius}": "{radius}以内の船舶",
|
||||
"No vessels within {radius} from the layers that are on.": "オンのレイヤーには{radius}以内の船舶がありません。",
|
||||
"Cloud": "雲量",
|
||||
"Visibility": "視程",
|
||||
"Conditions here": "この場所の状況",
|
||||
"feels {n}°": "体感{n}°",
|
||||
"Reading conditions here…": "この場所の状況を取得中…",
|
||||
"No weather reading here.": "この場所の気象データはありません。",
|
||||
"Local solar time": "地方太陽時",
|
||||
"Nearby radius": "周辺の半径",
|
||||
"How far out the nearby lists look": "周辺リストの範囲",
|
||||
"Hazards within {radius}": "{radius}以内の災害",
|
||||
"Turns the layer on": "レイヤーをオンにします",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "{radius}以内に地震・熱帯低気圧・山火事の報告はありません。",
|
||||
"Broadcast alerts within {radius}": "{radius}以内の発信された警報",
|
||||
"Also within {radius}": "ほかに{radius}以内",
|
||||
"Local news": "地元ニュース",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "日時計・太陽時{time}・太陽{deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "日時計・太陽時{time}・太陽は地平線の下",
|
||||
"{count} things": {
|
||||
"other": "{count}件"
|
||||
},
|
||||
"{count} layers": {
|
||||
"other": "{count}レイヤー"
|
||||
},
|
||||
"{things} in view from {layers}": "{layers}から{things}を表示中",
|
||||
"{n} km up": "高度{n} km",
|
||||
"{n} m up": "高度{n} m",
|
||||
"This view": "この表示",
|
||||
"Day": "昼",
|
||||
"Twilight": "薄明",
|
||||
"Night": "夜",
|
||||
"Daylight": "日照",
|
||||
"sun {n}°": "太陽{n}°",
|
||||
"Of {n} read, {total} loaded": "読み込み{n}件中、{total}件をロード",
|
||||
"Of all {n}": "全{n}件中",
|
||||
"Of {n} in view": "表示中の{n}件中",
|
||||
"Error": "エラー",
|
||||
"Stale": "更新遅延",
|
||||
"In view": "表示中",
|
||||
"Globe view": "地球全体",
|
||||
"Nothing selected": "何も選択されていません",
|
||||
"Worldwide now": "現在の世界",
|
||||
"Turn on {name}": "{name}をオン",
|
||||
"{n} loaded": "{n}件ロード",
|
||||
"{n} in view": "{n}件表示中",
|
||||
"Turn off {name}": "{name}をオフ",
|
||||
"Camera height": "カメラの高度",
|
||||
"Nothing in view matches “{text}”.": "表示中に「{text}」に一致するものはありません。",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "オンのレイヤーにはここに表示できるものがありません。ズームアウトしてください。",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "ロード済みのレイヤーに表示中のものはありません。データレイヤーでオンにしてください。",
|
||||
"Places in view": "表示中の地名",
|
||||
"Show here": "ここに表示",
|
||||
"Ask GEV what's here": "ここに何があるかGEVに質問",
|
||||
"aircraft": "航空機",
|
||||
"vessel": "船舶",
|
||||
"launch": "打ち上げ",
|
||||
"fire": "火災",
|
||||
"Fire detection": "火災検知",
|
||||
"fire perimeter": "火災範囲",
|
||||
"earthquake": "地震",
|
||||
"storm": "嵐",
|
||||
"air quality station": "大気質測定局",
|
||||
"installation": "施設",
|
||||
"dam": "ダム",
|
||||
"data centre": "データセンター",
|
||||
"place": "場所",
|
||||
"vehicle": "車両",
|
||||
"bike station": "自転車ステーション",
|
||||
"plate reader": "ナンバー読取装置",
|
||||
"camera": "カメラ",
|
||||
"airspace": "空域",
|
||||
"sighting": "目撃",
|
||||
"Callsign": "コールサイン",
|
||||
"Registration": "登録記号",
|
||||
"Aircraft class": "機種区分",
|
||||
"Course": "針路",
|
||||
"Vertical rate": "昇降率",
|
||||
"Squawk": "スコーク",
|
||||
"Emergency": "緊急",
|
||||
"Last contact": "最終受信",
|
||||
"Ship type": "船種",
|
||||
"Destination": "目的地",
|
||||
"Depth": "深さ",
|
||||
"Time": "時刻",
|
||||
"Place": "場所",
|
||||
"Fire power": "火災放射強度",
|
||||
"Satellite": "衛星",
|
||||
"Sensor": "センサー",
|
||||
"Detected": "検知",
|
||||
"Contained": "鎮圧率",
|
||||
"Discovered": "発見",
|
||||
"Basin": "海域",
|
||||
"Index": "指数",
|
||||
"Health risk": "健康リスク",
|
||||
"Bikes": "自転車",
|
||||
"Docks": "ドック",
|
||||
"Floor": "下限",
|
||||
"Ceiling": "上限",
|
||||
"Active": "有効時間",
|
||||
"NORAD ID": "NORAD ID",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "容量",
|
||||
"Output": "出力",
|
||||
"River": "河川",
|
||||
"City": "市区町村",
|
||||
"State": "州",
|
||||
"Street": "通り",
|
||||
"Opened": "開業",
|
||||
"Height": "高さ",
|
||||
"IT load": "ITロード",
|
||||
"Waterway": "水路",
|
||||
"Military": "軍用",
|
||||
"Land use": "土地利用",
|
||||
"Telecom": "通信",
|
||||
"feature": "地物",
|
||||
"Empty": "空車",
|
||||
"Many seats free": "空席多数",
|
||||
"Few seats free": "空席わずか",
|
||||
"Standing room only": "立席のみ",
|
||||
"Crowded": "混雑",
|
||||
"Not taking passengers": "乗車不可",
|
||||
"Major hurricane": "大型ハリケーン",
|
||||
"Typhoon": "台風",
|
||||
"Super typhoon": "スーパー台風",
|
||||
"Tropical cyclone": "熱帯低気圧",
|
||||
"Prescribed burn": "計画的野焼き",
|
||||
"Atlantic": "大西洋",
|
||||
"Eastern Pacific": "東太平洋",
|
||||
"Central Pacific": "中部太平洋",
|
||||
"Western Pacific": "西太平洋",
|
||||
"Indian Ocean": "インド洋",
|
||||
"Southern Hemisphere": "南半球",
|
||||
"Cable tram": "ケーブルカー",
|
||||
"Aerial lift": "ロープウェイ",
|
||||
"Fishing": "漁船",
|
||||
"Tug": "タグボート",
|
||||
"Sailing": "帆船",
|
||||
"Pleasure craft": "プレジャーボート",
|
||||
"Pilot vessel": "水先船",
|
||||
"Search and rescue": "捜索救難",
|
||||
"Law enforcement": "法執行機関",
|
||||
"High-speed craft": "高速船",
|
||||
"Passenger": "旅客船",
|
||||
"Cargo": "貨物船",
|
||||
"Tanker": "タンカー",
|
||||
"Yes": "はい",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kt",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "ハイジャック(スコーク7500)",
|
||||
"Radio failure (squawk 7600)": "無線故障(スコーク7600)",
|
||||
"Emergency (squawk 7700)": "緊急事態(スコーク7700)",
|
||||
"Emergency: {kind}": "緊急:{kind}",
|
||||
"Emergency declared": "緊急事態宣言",
|
||||
"Tsunami warning issued": "津波警報発表",
|
||||
"VFR, no flight plan": "VFR・飛行計画なし",
|
||||
"VFR conspicuity": "VFR視認用コード",
|
||||
"IFR, no code yet": "IFR・コード未割当",
|
||||
"Hijack": "ハイジャック",
|
||||
"Climbing {n} ft/min": "上昇中 {n} ft/min",
|
||||
"Descending {n} ft/min": "降下中 {n} ft/min",
|
||||
"Cruising, level": "巡航・水平飛行",
|
||||
"Airliners": "旅客機",
|
||||
"Widebodies": "ワイドボディ機",
|
||||
"Business jets": "ビジネスジェット",
|
||||
"Helicopters": "ヘリコプター",
|
||||
"Turboprops": "ターボプロップ機",
|
||||
"Fast jets": "高速ジェット機",
|
||||
"Four-engine jets": "4発ジェット機",
|
||||
"M6 and above": "M6以上",
|
||||
"M5 to 6": "M5〜6",
|
||||
"M4 to 5": "M4〜5",
|
||||
"Below M4": "M4未満",
|
||||
"{kind} {name}": "{kind}{name}",
|
||||
"place|Country": "国",
|
||||
"altitude|Level": "水平",
|
||||
"{h} h {m} min": "{h}時間{m}分",
|
||||
"{n} min": "{n}分",
|
||||
"{speed} {direction}": "{direction}の風 {speed}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "スキャン中",
|
||||
"Route": "ルート",
|
||||
"3D model": "3Dモデル",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "コックピット視点",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "{code}への針路: {course}",
|
||||
"Over {place}": "{place}上空",
|
||||
"Below": "直下"
|
||||
}
|
||||
+470
-1
@@ -2548,6 +2548,7 @@
|
||||
"Gemini voice is not connected": "A voz do Gemini não está conectada",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "A entrada interrompida do Gemini excedeu o limite de buffer ou de espera. Inicie a voz de novo.",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "A conexão com o Gemini Live vai expirar. Inicie a voz de novo para uma nova conversa.",
|
||||
"Voice is disabled in Stories.": "O controle por voz está desativado nas Histórias.",
|
||||
"Voice off": "Voz desligada",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "As sessões de voz do Gemini têm limite de tempo. Quando uma sessão expirar, inicie a voz de novo para uma nova conversa.",
|
||||
"Stopped by voice": "Parado por voz",
|
||||
@@ -3765,5 +3766,473 @@
|
||||
"Search layers…": "Pesquisar camadas…",
|
||||
"Layer groups": "Grupos de camadas",
|
||||
"Jump to {name}": "Ir para {name}",
|
||||
"No layers match": "Nenhuma camada corresponde"
|
||||
"No layers match": "Nenhuma camada corresponde",
|
||||
"A GEV scene, played on the live globe.": "Uma cena do GEV, reproduzida no globo ao vivo.",
|
||||
"Drag the map to explore · Resume any time": "Arraste o mapa para explorar · Retome quando quiser",
|
||||
"Region": "Região",
|
||||
"Europe": "Europa",
|
||||
"Middle East": "Oriente Médio",
|
||||
"South Asia": "Sul da Ásia",
|
||||
"East Asia": "Leste Asiático",
|
||||
"Length": "Duração",
|
||||
"Under 1 min": "Menos de 1 min",
|
||||
"1 min or more": "1 min ou mais",
|
||||
"Shots": "Planos",
|
||||
"Layers on": "Camadas ativas",
|
||||
"Stories": "Histórias",
|
||||
"NEW": "NOVO",
|
||||
"GEV Stories": "Histórias do GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Visões interativas e selecionadas do que está acontecendo na Terra. Reproduza uma, assuma o mapa quando quiser e depois retome a história.",
|
||||
"Browse stories": "Explorar histórias",
|
||||
"Not now": "Agora não",
|
||||
"Opened in GEV": "Aberto no GEV",
|
||||
"Back to story": "Voltar à história",
|
||||
"GEV Stories explore": "Explorar Histórias do GEV",
|
||||
"Resize story list": "Redimensionar a lista de histórias",
|
||||
"Story list size. Drag, or press to change": "Tamanho da lista de histórias. Arraste ou pressione para alterar",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} de {count} história",
|
||||
"many": "{n} de {count} de histórias",
|
||||
"other": "{n} de {count} histórias"
|
||||
},
|
||||
"Sort stories": "Ordenar histórias",
|
||||
"Newest": "Mais recentes",
|
||||
"Longest": "Mais longas",
|
||||
"A–Z": "A–Z",
|
||||
"{count} filters on": {
|
||||
"one": "{count} filtro ativo",
|
||||
"many": "{count} de filtros ativos",
|
||||
"other": "{count} filtros ativos"
|
||||
},
|
||||
"Filters": "Filtros",
|
||||
"Search stories": "Buscar histórias",
|
||||
"Search stories, places, creators": "Buscar histórias, lugares, criadores",
|
||||
"Clear search": "Limpar pesquisa",
|
||||
"Topics": "Temas",
|
||||
"Filter stories": "Filtrar histórias",
|
||||
"Show {count} stories": {
|
||||
"one": "Mostrar {count} história",
|
||||
"many": "Mostrar {count} de histórias",
|
||||
"other": "Mostrar {count} histórias"
|
||||
},
|
||||
"No stories match": "Nenhuma história corresponde",
|
||||
"Try another word or clear the filters.": "Tente outra palavra ou limpe os filtros.",
|
||||
"Clear all": "Limpar tudo",
|
||||
"STORY": "HISTÓRIA",
|
||||
"Play {title}": "Reproduzir {title}",
|
||||
"Play story": "Reproduzir história",
|
||||
"Preview {title}": "Prévia de {title}",
|
||||
"Click to preview": "Clique para ver a prévia",
|
||||
"Click to play": "Clique para reproduzir",
|
||||
"Tap to play": "Toque para reproduzir",
|
||||
"Pick a story or a pin to preview it here": "Escolha uma história ou um marcador para ver a prévia aqui",
|
||||
"Story": "História",
|
||||
"{what} link copied": "Link de {what} copiado",
|
||||
"Copy this link: {url}": "Copie este link: {url}",
|
||||
"Back to stories": "Voltar às histórias",
|
||||
"Back to the globe": "Voltar ao globo",
|
||||
"Breadcrumb": "Trilha de navegação",
|
||||
"Globe": "Globo",
|
||||
"Share": "Compartilhar",
|
||||
"Back to GEV": "Voltar ao GEV",
|
||||
"Chapter {n}": "Capítulo {n}",
|
||||
"Context. Swipe up or press to open": "Contexto. Deslize para cima ou pressione para abrir",
|
||||
"Context. Swipe down or press to close": "Contexto. Deslize para baixo ou pressione para fechar",
|
||||
"Search this story": "Buscar nesta história",
|
||||
"Voice search (not in this build)": "Busca por voz (não disponível nesta versão)",
|
||||
"Search results": "Resultados da busca",
|
||||
"Nothing in this story matches.": "Nada nesta história corresponde.",
|
||||
"Chapters": "Capítulos",
|
||||
"now": "agora",
|
||||
"About": "Sobre",
|
||||
"by {creator}": "por {creator}",
|
||||
"Key moments": "Momentos-chave",
|
||||
"Sources": "Fontes",
|
||||
"Background": "Contexto",
|
||||
"Related stories": "Histórias relacionadas",
|
||||
"Story link copied": "Link da história copiado",
|
||||
"You": "Você",
|
||||
"Open this moment in GEV": "Abrir este momento no GEV",
|
||||
"Open": "Abrir",
|
||||
"Share this story": "Compartilhar esta história",
|
||||
"GEV Story": "História do GEV",
|
||||
"Story card": "Cartão da história",
|
||||
"Chapter": "Capítulo",
|
||||
"CHAPTER {n} / {total}": "CAPÍTULO {n} / {total}",
|
||||
"ON THE MAP": "NO MAPA",
|
||||
"Right now": "Agora mesmo",
|
||||
"RIGHT NOW": "AGORA MESMO",
|
||||
"Minimise card": "Minimizar cartão",
|
||||
"Expand card": "Ampliar cartão",
|
||||
"Card pages": "Páginas do cartão",
|
||||
"Resize context panel": "Redimensionar o painel de contexto",
|
||||
"Swipe up for context": "Deslize para cima para ver o contexto",
|
||||
"Chapter start": "Início do capítulo",
|
||||
"Story time": "Horário da história",
|
||||
"chapter": "capítulo",
|
||||
"Key moment: {label}": "Momento-chave: {label}",
|
||||
"Exit expanded map": "Sair do mapa ampliado",
|
||||
"Expand map": "Ampliar mapa",
|
||||
"Exit cockpit to open Stories": "Saia da cabine para abrir Histórias",
|
||||
"Stories could not load. Check the connection and try again.": "Não foi possível carregar as Histórias. Verifique a conexão e tente novamente.",
|
||||
"Shot {n} of {total}": "Plano {n} de {total}",
|
||||
"GEV scene": "Cena do GEV",
|
||||
"SAVE TO STORIES": "SALVAR EM STORIES",
|
||||
"REMOVE FROM STORIES": "REMOVER DE STORIES",
|
||||
"Show this scene on the Stories page": "Mostrar esta cena na página Stories",
|
||||
"Take this scene off the Stories page": "Tirar esta cena da página Stories",
|
||||
"Saved to Stories": "Salva em Stories",
|
||||
"Removed from Stories": "Removida de Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Uma cena que você criou no GEV, reproduzida no globo ao vivo.",
|
||||
"Floods": "Inundações",
|
||||
"Wildfires": "Incêndios florestais",
|
||||
"Storms": "Tempestades",
|
||||
"Earthquakes": "Terremotos",
|
||||
"Maritime": "Marítimo",
|
||||
"Space": "Espaço",
|
||||
"Conflict": "Conflitos",
|
||||
"Climate": "Clima",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Mude para o Esri World Imagery para capturar uma miniatura",
|
||||
"Thumbnail could not be captured": "Não foi possível capturar a miniatura",
|
||||
"Thumbnail captured": "Miniatura capturada",
|
||||
"Stories tags": "Tags do Stories",
|
||||
"Story thumbnail": "Miniatura da história",
|
||||
"Use the current view as the Stories card image": "Usar a vista atual como imagem do cartão no Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "As posições das aeronaves vêm do ADS-B: o instantâneo mundial da OpenSky Network, com o adsb.lol onde a OpenSky não tem dados.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Alternativa para voos ao vivo (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "As órbitas dos satélites são calculadas a partir dos elementos orbitais atuais da CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Os terremotos vêm do feed ao vivo do Serviço Geológico dos EUA.",
|
||||
"Traffic": "Trânsito",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Trânsito nas ruas; o congestionamento ao vivo requer sua própria chave da TomTom.",
|
||||
"Live traffic flow, with your own key": "Fluxo de trânsito ao vivo, com sua própria chave",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Tráfego aéreo ao vivo pelo mundo: o Atlântico, a Europa, o Japão e San Francisco.",
|
||||
"The Atlantic": "O Atlântico",
|
||||
"Western Europe": "Europa Ocidental",
|
||||
"Japan": "Japão",
|
||||
"San Francisco Bay Area": "Baía de San Francisco",
|
||||
"Pull back over the Atlantic": "Afastar sobre o Atlântico",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Satélites em órbita, vistos sobre a Flórida, a África, Tóquio e Paris.",
|
||||
"Over Florida": "Sobre a Flórida",
|
||||
"Over Africa": "Sobre a África",
|
||||
"Over Tokyo": "Sobre Tóquio",
|
||||
"Over Paris": "Sobre Paris",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Terremotos recentes na visão térmica: Califórnia, Japão, Nova Zelândia e ao largo de Portugal.",
|
||||
"California": "Califórnia",
|
||||
"New Zealand": "Nova Zelândia",
|
||||
"Off Portugal": "Ao largo de Portugal",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Voos, satélites e trânsito juntos sobre Nova York, Los Angeles e Londres.",
|
||||
"New York, closer": "Nova York, mais perto",
|
||||
"New York, closer still": "Nova York, ainda mais perto",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Todas as camadas ao vivo de uma vez, afastando-se de Tóquio até o planeta inteiro.",
|
||||
"Tokyo, pulling back": "Tóquio, afastando-se",
|
||||
"Japan and East Asia": "Japão e Leste Asiático",
|
||||
"South China Sea": "Mar da China Meridional",
|
||||
"The whole globe": "O globo inteiro",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "A inundação por rompimento do Bhote Koshi de 26 de agosto de 2026 no Nepal, acompanhada vale abaixo até Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Trajeto reconstruído da inundação (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "MINIATURA",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Instantâneo mundial de voos ao vivo (licença não comercial para pesquisa e educação)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Elementos orbitais e catálogo de satélites (dados do governo dos EUA)",
|
||||
"Satellite operators, owners and purposes": "Operadores, proprietários e finalidades dos satélites",
|
||||
"Earthquake feed (U.S. public domain)": "Feed de terremotos (domínio público nos EUA)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Imagens de satélite históricas e pós-evento (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Uma visualização da inundação por rompimento do Bhote Koshi de 26 de agosto de 2026, não um modelo oficial de risco. As vistas históricas (2021) e pós-evento são imagens Vantor WorldView; o trajeto do rio é a reconstrução da GeoPera. Os vídeos de testemunhas levam às publicações originais, e os horários de captura não foram verificados.",
|
||||
"That story is not available here": "Essa história não está disponível aqui",
|
||||
"DRAFT": "RASCUNHO",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Um rascunho, ainda não salvo como história. Use SALVAR EM STORIES em CRIAÇÃO para salvá-lo.",
|
||||
"Heading to next stop": "A caminho da próxima parada",
|
||||
"Arriving at a stop": "Chegando a uma parada",
|
||||
"Stopped at a stop": "Parado em uma parada",
|
||||
"Wikipedia": "Wikipédia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Site",
|
||||
"Phase": "Fase",
|
||||
"Flight level": "Nível de voo",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Sinal",
|
||||
"Civilian, in the air": "Civis, em voo",
|
||||
"Military, in the air": "Militares, em voo",
|
||||
"On the ground": "No solo",
|
||||
"Motion": "Movimento",
|
||||
"Operator": "Operadora",
|
||||
"Last reported": "Último relato",
|
||||
"Crowding": "Lotação",
|
||||
"Class": "Classe",
|
||||
"Magnitude": "Magnitude",
|
||||
"Labels": "Rótulos",
|
||||
"3D aircraft": "Aeronaves 3D",
|
||||
"M{mag} earthquake": "Terremoto de magnitude {mag}",
|
||||
"Earthquake": "Terremoto",
|
||||
"{n} kt winds": "Ventos de {n} nós",
|
||||
"Wildfire": "Incêndio florestal",
|
||||
"{n} acres": "{n} acres",
|
||||
"{n}% contained": "{n}% contido",
|
||||
"prescribed burn": "queima prescrita",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} detecção de fogo por satélite",
|
||||
"many": "{count} de detecções de fogo por satélite",
|
||||
"other": "{count} detecções de fogo por satélite"
|
||||
},
|
||||
"last day": "último dia",
|
||||
"Conditions unknown": "Condições desconhecidas",
|
||||
"Partly cloudy": "Parcialmente nublado",
|
||||
"Overcast": "Encoberto",
|
||||
"Fog": "Nevoeiro",
|
||||
"Drizzle": "Garoa",
|
||||
"Rain": "Chuva",
|
||||
"Snow": "Neve",
|
||||
"Rain showers": "Pancadas de chuva",
|
||||
"Snow showers": "Pancadas de neve",
|
||||
"Thunderstorm": "Trovoada",
|
||||
"Mixed conditions": "Condições variáveis",
|
||||
"Search {name} and nearby": "Pesquisar em {name} e arredores",
|
||||
"Search what is in view": "Pesquisar o que está à vista",
|
||||
"Close Context search": "Fechar a pesquisa no Contexto",
|
||||
"Search in Context": "Pesquisar no Contexto",
|
||||
"Close search": "Fechar pesquisa",
|
||||
"Shrink Context back to a panel": "Reduzir o Contexto a um painel",
|
||||
"Expand Context to a full-height column": "Expandir o Contexto para uma coluna de altura total",
|
||||
"Context tabs": "Abas do Contexto",
|
||||
"Inspector": "Inspetor",
|
||||
"Properties": "Propriedades",
|
||||
"Level": "Nível",
|
||||
"Last {n} min": "Últimos {n} min",
|
||||
"Just now": "Agora mesmo",
|
||||
"Since selected": "Desde a seleção",
|
||||
"Altitude": "Altitude",
|
||||
"Heading": "Rumo",
|
||||
"Field of view": "Campo de visão",
|
||||
"Camera frame": "Imagem da câmera",
|
||||
"Acquiring frame…": "Obtendo imagem…",
|
||||
"Show a bigger view": "Ver maior",
|
||||
"Camera view": "Vista da câmera",
|
||||
"More info": "Mais informações",
|
||||
"{n} s ago": "há {n} s",
|
||||
"{n} min ago": "há {n} min",
|
||||
"{n} h ago": "há {n} h",
|
||||
"{n} d ago": "há {n} d",
|
||||
"Out of feed · last reading": "Fora do feed · última leitura",
|
||||
"Live · {age}": "Ao vivo · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "atualizado {age}",
|
||||
"Selected on the map": "Selecionado no mapa",
|
||||
"Close card": "Fechar cartão",
|
||||
"{n}% flown": "{n}% percorrido",
|
||||
"to go": "restantes",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "A rota programada deste número de voo não corresponde à posição do avião; pode ser outro trecho do mesmo voo.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Programado · não verificado: não corresponde à posição do avião",
|
||||
"Nothing in this item’s details matches “{text}”.": "Nada nos detalhes deste item corresponde a “{text}”.",
|
||||
"Matching details": "Detalhes correspondentes",
|
||||
"Enter orbital view": "Entrar na vista orbital",
|
||||
"Enter Cockpit": "Entrar na cabine",
|
||||
"Fly to": "Voar até",
|
||||
"Following": "Seguindo",
|
||||
"Follow": "Seguir",
|
||||
"Ask GEV about {name}": "Perguntar ao GEV sobre {name}",
|
||||
"Flights within {radius}": "Voos em até {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Nenhum voo em até {radius} nas camadas ativas.",
|
||||
"Vessels within {radius}": "Embarcações em até {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Nenhuma embarcação em até {radius} nas camadas ativas.",
|
||||
"Cloud": "Nebulosidade",
|
||||
"Visibility": "Visibilidade",
|
||||
"Conditions here": "Condições aqui",
|
||||
"feels {n}°": "sensação {n}°",
|
||||
"Reading conditions here…": "Lendo as condições aqui…",
|
||||
"No weather reading here.": "Sem dados do tempo aqui.",
|
||||
"Local solar time": "Hora solar local",
|
||||
"Nearby radius": "Raio próximo",
|
||||
"How far out the nearby lists look": "Até onde as listas próximas alcançam",
|
||||
"Hazards within {radius}": "Riscos em até {radius}",
|
||||
"Turns the layer on": "Ativa a camada",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "Nenhum terremoto, tempestade tropical ou incêndio florestal relatado em até {radius}.",
|
||||
"Broadcast alerts within {radius}": "Alertas transmitidos em até {radius}",
|
||||
"Also within {radius}": "Também em até {radius}",
|
||||
"Local news": "Notícias locais",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Relógio de sol · {time} solar · sol a {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Relógio de sol · {time} solar · sol abaixo do horizonte",
|
||||
"{count} things": {
|
||||
"one": "{count} item",
|
||||
"many": "{count} de itens",
|
||||
"other": "{count} itens"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} camada",
|
||||
"many": "{count} de camadas",
|
||||
"other": "{count} camadas"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} à vista de {layers}",
|
||||
"{n} km up": "a {n} km de altura",
|
||||
"{n} m up": "a {n} m de altura",
|
||||
"This view": "Esta vista",
|
||||
"Day": "Dia",
|
||||
"Twilight": "Crepúsculo",
|
||||
"Night": "Noite",
|
||||
"Daylight": "Luz do dia",
|
||||
"sun {n}°": "sol {n}°",
|
||||
"Of {n} read, {total} loaded": "De {n} lidos, {total} carregados",
|
||||
"Of all {n}": "De todos os {n}",
|
||||
"Of {n} in view": "De {n} à vista",
|
||||
"Error": "Erro",
|
||||
"Stale": "Desatualizado",
|
||||
"In view": "À vista",
|
||||
"Globe view": "Vista do globo",
|
||||
"Nothing selected": "Nada selecionado",
|
||||
"Worldwide now": "No mundo agora",
|
||||
"Turn on {name}": "Ativar {name}",
|
||||
"{n} loaded": "{n} carregados",
|
||||
"{n} in view": "{n} à vista",
|
||||
"Turn off {name}": "Desativar {name}",
|
||||
"Camera height": "Altura da câmera",
|
||||
"Nothing in view matches “{text}”.": "Nada à vista corresponde a “{text}”.",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Nada das camadas ativas está à vista aqui. Afaste o zoom para ver mais.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Nenhuma camada carregada tem algo à vista. Ative algumas em Camadas de dados.",
|
||||
"Places in view": "Lugares à vista",
|
||||
"Show here": "Mostrar aqui",
|
||||
"Ask GEV what's here": "Perguntar ao GEV o que há aqui",
|
||||
"aircraft": "aeronave",
|
||||
"vessel": "embarcação",
|
||||
"launch": "lançamento",
|
||||
"fire": "incêndio",
|
||||
"Fire detection": "Detecção de fogo",
|
||||
"fire perimeter": "perímetro de incêndio",
|
||||
"earthquake": "terremoto",
|
||||
"storm": "tempestade",
|
||||
"air quality station": "estação de qualidade do ar",
|
||||
"installation": "instalação",
|
||||
"dam": "barragem",
|
||||
"data centre": "data center",
|
||||
"place": "local",
|
||||
"vehicle": "veículo",
|
||||
"bike station": "estação de bicicletas",
|
||||
"plate reader": "leitor de placas",
|
||||
"camera": "câmera",
|
||||
"airspace": "espaço aéreo",
|
||||
"sighting": "avistamento",
|
||||
"Callsign": "Indicativo",
|
||||
"Registration": "Matrícula",
|
||||
"Aircraft class": "Classe da aeronave",
|
||||
"Course": "Rumo",
|
||||
"Vertical rate": "Razão vertical",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Emergência",
|
||||
"Last contact": "Último contato",
|
||||
"Ship type": "Tipo de embarcação",
|
||||
"Destination": "Destino",
|
||||
"Depth": "Profundidade",
|
||||
"Time": "Hora",
|
||||
"Place": "Local",
|
||||
"Fire power": "Potência do fogo",
|
||||
"Satellite": "Satélite",
|
||||
"Sensor": "Sensor",
|
||||
"Detected": "Detectado",
|
||||
"Contained": "Contido",
|
||||
"Discovered": "Descoberto",
|
||||
"Basin": "Bacia",
|
||||
"Index": "Índice",
|
||||
"Health risk": "Risco à saúde",
|
||||
"Bikes": "Bicicletas",
|
||||
"Docks": "Vagas",
|
||||
"Floor": "Limite inferior",
|
||||
"Ceiling": "Limite superior",
|
||||
"Active": "Ativo",
|
||||
"NORAD ID": "ID NORAD",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Capacidade",
|
||||
"Output": "Produção",
|
||||
"River": "Rio",
|
||||
"City": "Cidade",
|
||||
"State": "Estado",
|
||||
"Street": "Rua",
|
||||
"Opened": "Inaugurado",
|
||||
"Height": "Altura",
|
||||
"IT load": "Carga de TI",
|
||||
"Waterway": "Hidrovia",
|
||||
"Military": "Militar",
|
||||
"Land use": "Uso do solo",
|
||||
"Telecom": "Telecomunicações",
|
||||
"feature": "elemento",
|
||||
"Empty": "Vazio",
|
||||
"Many seats free": "Muitos lugares livres",
|
||||
"Few seats free": "Poucos lugares livres",
|
||||
"Standing room only": "Só em pé",
|
||||
"Crowded": "Lotado",
|
||||
"Not taking passengers": "Não aceita passageiros",
|
||||
"Major hurricane": "Furacão de grande intensidade",
|
||||
"Typhoon": "Tufão",
|
||||
"Super typhoon": "Supertufão",
|
||||
"Tropical cyclone": "Ciclone tropical",
|
||||
"Prescribed burn": "Queima prescrita",
|
||||
"Atlantic": "Atlântico",
|
||||
"Eastern Pacific": "Pacífico Oriental",
|
||||
"Central Pacific": "Pacífico Central",
|
||||
"Western Pacific": "Pacífico Ocidental",
|
||||
"Indian Ocean": "Oceano Índico",
|
||||
"Southern Hemisphere": "Hemisfério Sul",
|
||||
"Cable tram": "Bonde a cabo",
|
||||
"Aerial lift": "Teleférico",
|
||||
"Fishing": "Pesca",
|
||||
"Tug": "Rebocador",
|
||||
"Sailing": "Veleiro",
|
||||
"Pleasure craft": "Embarcação de recreio",
|
||||
"Pilot vessel": "Embarcação de praticagem",
|
||||
"Search and rescue": "Busca e salvamento",
|
||||
"Law enforcement": "Fiscalização",
|
||||
"High-speed craft": "Embarcação de alta velocidade",
|
||||
"Passenger": "Passageiros",
|
||||
"Cargo": "Carga",
|
||||
"Tanker": "Petroleiro",
|
||||
"Yes": "Sim",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kt",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Sequestro (squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Falha de rádio (squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Emergência (squawk 7700)",
|
||||
"Emergency: {kind}": "Emergência: {kind}",
|
||||
"Emergency declared": "Emergência declarada",
|
||||
"Tsunami warning issued": "Alerta de tsunami emitido",
|
||||
"VFR, no flight plan": "VFR, sem plano de voo",
|
||||
"VFR conspicuity": "Código VFR de visibilidade",
|
||||
"IFR, no code yet": "IFR, ainda sem código",
|
||||
"Hijack": "Sequestro",
|
||||
"Climbing {n} ft/min": "Subindo a {n} ft/min",
|
||||
"Descending {n} ft/min": "Descendo a {n} ft/min",
|
||||
"Cruising, level": "Cruzeiro, nivelado",
|
||||
"Airliners": "Aviões comerciais",
|
||||
"Widebodies": "Aviões de fuselagem larga",
|
||||
"Business jets": "Jatos executivos",
|
||||
"Helicopters": "Helicópteros",
|
||||
"Turboprops": "Turboélices",
|
||||
"Fast jets": "Jatos rápidos",
|
||||
"Four-engine jets": "Quadrimotores",
|
||||
"M6 and above": "M6 ou mais",
|
||||
"M5 to 6": "M5 a 6",
|
||||
"M4 to 5": "M4 a 5",
|
||||
"Below M4": "Abaixo de M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "País",
|
||||
"altitude|Level": "Nivelado",
|
||||
"{h} h {m} min": "{h} h {m} min",
|
||||
"{n} min": "{n} min",
|
||||
"{speed} {direction}": "{speed} de {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Escaneando",
|
||||
"Route": "Rota",
|
||||
"3D model": "Modelo 3D",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Vista da cabine",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Rumo para {code}: {course}",
|
||||
"Over {place}": "Sobre {place}",
|
||||
"Below": "Abaixo"
|
||||
}
|
||||
+476
-1
@@ -1057,6 +1057,7 @@
|
||||
"Ask or command": "Спросите или дайте команду",
|
||||
"WebRTC microphone support unavailable": "Поддержка микрофона WebRTC недоступна",
|
||||
"Requesting microphone": "Запрос доступа к микрофону",
|
||||
"Voice is disabled in Stories.": "Голосовое управление в историях отключено.",
|
||||
"Voice off": "Голос выключен",
|
||||
"VOICE UNAVAILABLE": "ГОЛОС НЕДОСТУПЕН",
|
||||
"VOICE ACTIVE": "ГОЛОС АКТИВЕН",
|
||||
@@ -3862,5 +3863,479 @@
|
||||
"Search layers…": "Поиск слоёв…",
|
||||
"Layer groups": "Группы слоёв",
|
||||
"Jump to {name}": "Перейти к «{name}»",
|
||||
"No layers match": "Нет подходящих слоёв"
|
||||
"No layers match": "Нет подходящих слоёв",
|
||||
"A GEV scene, played on the live globe.": "Сцена GEV, воспроизводимая на живом глобусе.",
|
||||
"Drag the map to explore · Resume any time": "Перетаскивайте карту для обзора · Продолжить можно в любой момент",
|
||||
"Region": "Регион",
|
||||
"Europe": "Европа",
|
||||
"Middle East": "Ближний Восток",
|
||||
"South Asia": "Южная Азия",
|
||||
"East Asia": "Восточная Азия",
|
||||
"Length": "Длительность",
|
||||
"Under 1 min": "Меньше 1 мин",
|
||||
"1 min or more": "1 мин и больше",
|
||||
"Shots": "Кадры",
|
||||
"Layers on": "Включённые слои",
|
||||
"Stories": "Истории",
|
||||
"NEW": "НОВОЕ",
|
||||
"GEV Stories": "Истории GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Подобранные интерактивные обзоры того, что происходит на Земле. Запустите историю, берите карту под свой контроль когда угодно, а затем продолжите просмотр.",
|
||||
"Browse stories": "Смотреть истории",
|
||||
"Not now": "Не сейчас",
|
||||
"Opened in GEV": "Открыто в GEV",
|
||||
"Back to story": "Назад к истории",
|
||||
"GEV Stories explore": "Обзор историй GEV",
|
||||
"Resize story list": "Изменить размер списка историй",
|
||||
"Story list size. Drag, or press to change": "Размер списка историй. Перетащите или нажмите, чтобы изменить",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} из {count} истории",
|
||||
"few": "{n} из {count} историй",
|
||||
"many": "{n} из {count} историй",
|
||||
"other": "{n} из {count} истории"
|
||||
},
|
||||
"Sort stories": "Сортировка историй",
|
||||
"Newest": "Новые",
|
||||
"Longest": "Самые длинные",
|
||||
"A–Z": "А–Я",
|
||||
"{count} filters on": {
|
||||
"one": "{count} фильтр включён",
|
||||
"few": "{count} фильтра включено",
|
||||
"many": "{count} фильтров включено",
|
||||
"other": "{count} фильтра включено"
|
||||
},
|
||||
"Filters": "Фильтры",
|
||||
"Search stories": "Поиск историй",
|
||||
"Search stories, places, creators": "Поиск историй, мест, авторов",
|
||||
"Clear search": "Очистить поиск",
|
||||
"Topics": "Темы",
|
||||
"Filter stories": "Фильтр историй",
|
||||
"Show {count} stories": {
|
||||
"one": "Показать {count} историю",
|
||||
"few": "Показать {count} истории",
|
||||
"many": "Показать {count} историй",
|
||||
"other": "Показать {count} истории"
|
||||
},
|
||||
"No stories match": "Нет подходящих историй",
|
||||
"Try another word or clear the filters.": "Попробуйте другое слово или сбросьте фильтры.",
|
||||
"Clear all": "Сбросить всё",
|
||||
"STORY": "ИСТОРИЯ",
|
||||
"Play {title}": "Воспроизвести: {title}",
|
||||
"Play story": "Воспроизвести историю",
|
||||
"Preview {title}": "Предпросмотр: {title}",
|
||||
"Click to preview": "Нажмите для предпросмотра",
|
||||
"Click to play": "Нажмите для воспроизведения",
|
||||
"Tap to play": "Коснитесь для воспроизведения",
|
||||
"Pick a story or a pin to preview it here": "Выберите историю или метку, чтобы посмотреть её здесь",
|
||||
"Story": "История",
|
||||
"{what} link copied": "Ссылка скопирована: {what}",
|
||||
"Copy this link: {url}": "Скопируйте эту ссылку: {url}",
|
||||
"Back to stories": "Назад к историям",
|
||||
"Back to the globe": "Назад к глобусу",
|
||||
"Breadcrumb": "Навигационная цепочка",
|
||||
"Globe": "Глобус",
|
||||
"Share": "Поделиться",
|
||||
"Back to GEV": "Назад в GEV",
|
||||
"Chapter {n}": "Глава {n}",
|
||||
"Context. Swipe up or press to open": "Контекст. Проведите вверх или нажмите, чтобы открыть",
|
||||
"Context. Swipe down or press to close": "Контекст. Проведите вниз или нажмите, чтобы закрыть",
|
||||
"Search this story": "Поиск по истории",
|
||||
"Voice search (not in this build)": "Голосовой поиск (нет в этой сборке)",
|
||||
"Search results": "Результаты поиска",
|
||||
"Nothing in this story matches.": "В этой истории ничего не найдено.",
|
||||
"Chapters": "Главы",
|
||||
"now": "сейчас",
|
||||
"About": "Об истории",
|
||||
"by {creator}": "автор: {creator}",
|
||||
"Key moments": "Ключевые моменты",
|
||||
"Sources": "Источники",
|
||||
"Background": "Предыстория",
|
||||
"Related stories": "Похожие истории",
|
||||
"Story link copied": "Ссылка на историю скопирована",
|
||||
"You": "Вы",
|
||||
"Open this moment in GEV": "Открыть этот момент в GEV",
|
||||
"Open": "Открыть",
|
||||
"Share this story": "Поделиться историей",
|
||||
"GEV Story": "История GEV",
|
||||
"Story card": "Карточка истории",
|
||||
"Chapter": "Глава",
|
||||
"CHAPTER {n} / {total}": "ГЛАВА {n} / {total}",
|
||||
"ON THE MAP": "НА КАРТЕ",
|
||||
"Right now": "Прямо сейчас",
|
||||
"RIGHT NOW": "ПРЯМО СЕЙЧАС",
|
||||
"Minimise card": "Свернуть карточку",
|
||||
"Expand card": "Развернуть карточку",
|
||||
"Card pages": "Страницы карточки",
|
||||
"Resize context panel": "Изменить размер панели контекста",
|
||||
"Swipe up for context": "Проведите вверх, чтобы увидеть контекст",
|
||||
"Chapter start": "Начало главы",
|
||||
"Story time": "Время истории",
|
||||
"chapter": "глава",
|
||||
"Key moment: {label}": "Ключевой момент: {label}",
|
||||
"Exit expanded map": "Выйти из развёрнутой карты",
|
||||
"Expand map": "Развернуть карту",
|
||||
"Exit cockpit to open Stories": "Выйдите из кабины, чтобы открыть Истории",
|
||||
"Stories could not load. Check the connection and try again.": "Не удалось загрузить Истории. Проверьте подключение и повторите попытку.",
|
||||
"Shot {n} of {total}": "Кадр {n} из {total}",
|
||||
"GEV scene": "Сцена GEV",
|
||||
"SAVE TO STORIES": "СОХРАНИТЬ В STORIES",
|
||||
"REMOVE FROM STORIES": "УБРАТЬ ИЗ STORIES",
|
||||
"Show this scene on the Stories page": "Показать эту сцену на странице Stories",
|
||||
"Take this scene off the Stories page": "Убрать эту сцену со страницы Stories",
|
||||
"Saved to Stories": "Сохранено в Stories",
|
||||
"Removed from Stories": "Удалено из Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Сцена, созданная вами в GEV, на живом глобусе.",
|
||||
"Floods": "Наводнения",
|
||||
"Wildfires": "Лесные пожары",
|
||||
"Storms": "Штормы",
|
||||
"Earthquakes": "Землетрясения",
|
||||
"Maritime": "Море",
|
||||
"Space": "Космос",
|
||||
"Conflict": "Конфликты",
|
||||
"Climate": "Климат",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Переключитесь на Esri World Imagery, чтобы создать миниатюру",
|
||||
"Thumbnail could not be captured": "Не удалось снять миниатюру",
|
||||
"Thumbnail captured": "Миниатюра снята",
|
||||
"Stories tags": "Теги Stories",
|
||||
"Story thumbnail": "Миниатюра истории",
|
||||
"Use the current view as the Stories card image": "Использовать текущий вид как изображение карточки в Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Позиции самолётов получены из ADS-B: мировой снимок OpenSky Network, а там, где у OpenSky нет данных, — adsb.lol.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Резервный источник рейсов (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Орбиты спутников рассчитываются по текущим элементам орбит CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Землетрясения берутся из живой ленты Геологической службы США (USGS).",
|
||||
"Traffic": "Трафик",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Дорожный трафик; для пробок в реальном времени нужен свой ключ TomTom.",
|
||||
"Live traffic flow, with your own key": "Поток трафика в реальном времени, со своим ключом",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Воздушное движение по всему миру в реальном времени: Атлантика, Европа, Япония и Сан-Франциско.",
|
||||
"The Atlantic": "Атлантика",
|
||||
"Western Europe": "Западная Европа",
|
||||
"Japan": "Япония",
|
||||
"San Francisco Bay Area": "Район залива Сан-Франциско",
|
||||
"Pull back over the Atlantic": "Отдаление над Атлантикой",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Спутники на орбите, вид над Флоридой, Африкой, Токио и Парижем.",
|
||||
"Over Florida": "Над Флоридой",
|
||||
"Over Africa": "Над Африкой",
|
||||
"Over Tokyo": "Над Токио",
|
||||
"Over Paris": "Над Парижем",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Недавние землетрясения в тепловом режиме: Калифорния, Япония, Новая Зеландия и у берегов Португалии.",
|
||||
"California": "Калифорния",
|
||||
"New Zealand": "Новая Зеландия",
|
||||
"Off Portugal": "У берегов Португалии",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Рейсы, спутники и трафик вместе над Нью-Йорком, Лос-Анджелесом и Лондоном.",
|
||||
"New York, closer": "Нью-Йорк, ближе",
|
||||
"New York, closer still": "Нью-Йорк, ещё ближе",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Все живые слои сразу, с отдалением от Токио до всей планеты.",
|
||||
"Tokyo, pulling back": "Токио, отдаление",
|
||||
"Japan and East Asia": "Япония и Восточная Азия",
|
||||
"South China Sea": "Южно-Китайское море",
|
||||
"The whole globe": "Весь земной шар",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "Прорывной паводок на Bhote Koshi в Непале 26 августа 2026 года, вниз по долине до Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Реконструированный путь паводка (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "МИНИАТЮРА",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Мировой снимок рейсов в реальном времени (некоммерческая лицензия для исследований и образования)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Элементы орбит и каталог спутников (данные правительства США)",
|
||||
"Satellite operators, owners and purposes": "Операторы, владельцы и назначение спутников",
|
||||
"Earthquake feed (U.S. public domain)": "Лента землетрясений (общественное достояние в США)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Архивные спутниковые снимки и снимки после события (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Визуализация прорывного паводка на Bhote Koshi 26 августа 2026 года, а не официальная модель опасности. Архивные виды (2021) и виды после события — снимки Vantor WorldView; путь реки — реконструкция GeoPera. Ролики очевидцев ведут на исходные публикации, время их съёмки не проверено.",
|
||||
"That story is not available here": "Эта история здесь недоступна",
|
||||
"DRAFT": "ЧЕРНОВИК",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Черновик, ещё не сохранённый как история. Нажмите «СОХРАНИТЬ В STORIES» в разделе РЕДАКТОР, чтобы сохранить его.",
|
||||
"Heading to next stop": "Едет к следующей остановке",
|
||||
"Arriving at a stop": "Подъезжает к остановке",
|
||||
"Stopped at a stop": "Стоит на остановке",
|
||||
"Wikipedia": "Википедия",
|
||||
"Wikidata": "Викиданные",
|
||||
"Website": "Сайт",
|
||||
"Phase": "Фаза",
|
||||
"Flight level": "Эшелон",
|
||||
"Mach": "Мах",
|
||||
"Squawk {code}": "Сквок {code}",
|
||||
"Signal": "Сигнал",
|
||||
"Civilian, in the air": "Гражданские, в воздухе",
|
||||
"Military, in the air": "Военные, в воздухе",
|
||||
"On the ground": "На земле",
|
||||
"Motion": "Движение",
|
||||
"Operator": "Оператор",
|
||||
"Last reported": "Последний отчёт",
|
||||
"Crowding": "Заполненность",
|
||||
"Class": "Класс",
|
||||
"Magnitude": "Магнитуда",
|
||||
"Labels": "Подписи",
|
||||
"3D aircraft": "Самолёты в 3D",
|
||||
"M{mag} earthquake": "Землетрясение M{mag}",
|
||||
"Earthquake": "Землетрясение",
|
||||
"{n} kt winds": "Ветер {n} уз.",
|
||||
"Wildfire": "Лесной пожар",
|
||||
"{n} acres": "{n} акров",
|
||||
"{n}% contained": "Локализован на {n}%",
|
||||
"prescribed burn": "контролируемый пал",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} спутниковое обнаружение пожара",
|
||||
"few": "{count} спутниковых обнаружения пожара",
|
||||
"many": "{count} спутниковых обнаружений пожара",
|
||||
"other": "{count} спутникового обнаружения пожара"
|
||||
},
|
||||
"last day": "за сутки",
|
||||
"Conditions unknown": "Погода неизвестна",
|
||||
"Partly cloudy": "Переменная облачность",
|
||||
"Overcast": "Пасмурно",
|
||||
"Fog": "Туман",
|
||||
"Drizzle": "Морось",
|
||||
"Rain": "Дождь",
|
||||
"Snow": "Снег",
|
||||
"Rain showers": "Ливни",
|
||||
"Snow showers": "Снегопад",
|
||||
"Thunderstorm": "Гроза",
|
||||
"Mixed conditions": "Переменная погода",
|
||||
"Search {name} and nearby": "Поиск: {name} и рядом",
|
||||
"Search what is in view": "Поиск по видимому",
|
||||
"Close Context search": "Закрыть поиск в контексте",
|
||||
"Search in Context": "Поиск в контексте",
|
||||
"Close search": "Закрыть поиск",
|
||||
"Shrink Context back to a panel": "Свернуть контекст в панель",
|
||||
"Expand Context to a full-height column": "Развернуть контекст во всю высоту",
|
||||
"Context tabs": "Вкладки контекста",
|
||||
"Inspector": "Инспектор",
|
||||
"Properties": "Свойства",
|
||||
"Level": "Уровень",
|
||||
"Last {n} min": "За {n} мин",
|
||||
"Just now": "Только что",
|
||||
"Since selected": "С момента выбора",
|
||||
"Altitude": "Высота",
|
||||
"Heading": "Курс",
|
||||
"Field of view": "Поле зрения",
|
||||
"Camera frame": "Кадр камеры",
|
||||
"Acquiring frame…": "Получение кадра…",
|
||||
"Show a bigger view": "Показать крупнее",
|
||||
"Camera view": "Вид с камеры",
|
||||
"More info": "Подробнее",
|
||||
"{n} s ago": "{n} с назад",
|
||||
"{n} min ago": "{n} мин назад",
|
||||
"{n} h ago": "{n} ч назад",
|
||||
"{n} d ago": "{n} дн. назад",
|
||||
"Out of feed · last reading": "Нет в потоке · последние данные",
|
||||
"Live · {age}": "Сейчас · {age}",
|
||||
"{n} m": "{n} м",
|
||||
"{n} km": "{n} км",
|
||||
"updated {age}": "обновлено {age}",
|
||||
"Selected on the map": "Выбрано на карте",
|
||||
"Close card": "Закрыть карточку",
|
||||
"{n}% flown": "Пройдено {n}%",
|
||||
"to go": "осталось",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "Плановый маршрут этого рейса не совпадает с положением самолёта; возможно, это другой участок того же рейса.",
|
||||
"Scheduled · unverified: does not match where the plane is": "По расписанию · не подтверждено: не совпадает с положением самолёта",
|
||||
"Nothing in this item’s details matches “{text}”.": "В сведениях об этом объекте нет «{text}».",
|
||||
"Matching details": "Совпадающие сведения",
|
||||
"Enter orbital view": "Войти в орбитальный вид",
|
||||
"Enter Cockpit": "Войти в кабину",
|
||||
"Fly to": "Перелететь",
|
||||
"Following": "Слежение",
|
||||
"Follow": "Следить",
|
||||
"Ask GEV about {name}": "Спросить GEV о {name}",
|
||||
"Flights within {radius}": "Рейсы в радиусе {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Во включённых слоях нет рейсов в радиусе {radius}.",
|
||||
"Vessels within {radius}": "Суда в радиусе {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Во включённых слоях нет судов в радиусе {radius}.",
|
||||
"Cloud": "Облачность",
|
||||
"Visibility": "Видимость",
|
||||
"Conditions here": "Обстановка здесь",
|
||||
"feels {n}°": "ощущается как {n}°",
|
||||
"Reading conditions here…": "Получение обстановки…",
|
||||
"No weather reading here.": "Здесь нет данных о погоде.",
|
||||
"Local solar time": "Местное солнечное время",
|
||||
"Nearby radius": "Радиус поблизости",
|
||||
"How far out the nearby lists look": "Насколько далеко смотрят списки поблизости",
|
||||
"Hazards within {radius}": "Опасности в радиусе {radius}",
|
||||
"Turns the layer on": "Включает слой",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "В радиусе {radius} нет сообщений о землетрясениях, тропических штормах или лесных пожарах.",
|
||||
"Broadcast alerts within {radius}": "Оповещения в радиусе {radius}",
|
||||
"Also within {radius}": "Также в радиусе {radius}",
|
||||
"Local news": "Местные новости",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Солнечные часы · {time} по солнцу · солнце {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Солнечные часы · {time} по солнцу · солнце за горизонтом",
|
||||
"{count} things": {
|
||||
"one": "{count} объект",
|
||||
"few": "{count} объекта",
|
||||
"many": "{count} объектов",
|
||||
"other": "{count} объекта"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} слоя",
|
||||
"few": "{count} слоёв",
|
||||
"many": "{count} слоёв",
|
||||
"other": "{count} слоя"
|
||||
},
|
||||
"{things} in view from {layers}": "В поле зрения {things} из {layers}",
|
||||
"{n} km up": "на высоте {n} км",
|
||||
"{n} m up": "на высоте {n} м",
|
||||
"This view": "Этот вид",
|
||||
"Day": "День",
|
||||
"Twilight": "Сумерки",
|
||||
"Night": "Ночь",
|
||||
"Daylight": "Освещённость",
|
||||
"sun {n}°": "солнце {n}°",
|
||||
"Of {n} read, {total} loaded": "Из {n} прочитанных, загружено {total}",
|
||||
"Of all {n}": "Из всех {n}",
|
||||
"Of {n} in view": "Из {n} в поле зрения",
|
||||
"Error": "Ошибка",
|
||||
"Stale": "Устарело",
|
||||
"In view": "В поле зрения",
|
||||
"Globe view": "Вид глобуса",
|
||||
"Nothing selected": "Ничего не выбрано",
|
||||
"Worldwide now": "Сейчас в мире",
|
||||
"Turn on {name}": "Включить {name}",
|
||||
"{n} loaded": "загружено {n}",
|
||||
"{n} in view": "{n} в поле зрения",
|
||||
"Turn off {name}": "Выключить {name}",
|
||||
"Camera height": "Высота камеры",
|
||||
"Nothing in view matches “{text}”.": "В поле зрения нет «{text}».",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Из включённых слоёв здесь ничего не видно. Отдалите карту, чтобы увидеть больше.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Ни в одном загруженном слое ничего не видно. Включите слои в разделе «Слои данных».",
|
||||
"Places in view": "Места в поле зрения",
|
||||
"Show here": "Показать здесь",
|
||||
"Ask GEV what's here": "Спросить GEV, что здесь",
|
||||
"aircraft": "воздушное судно",
|
||||
"vessel": "судно",
|
||||
"launch": "запуск",
|
||||
"fire": "пожар",
|
||||
"Fire detection": "Обнаружение пожара",
|
||||
"fire perimeter": "контур пожара",
|
||||
"earthquake": "землетрясение",
|
||||
"storm": "шторм",
|
||||
"air quality station": "станция качества воздуха",
|
||||
"installation": "объект",
|
||||
"dam": "плотина",
|
||||
"data centre": "центр обработки данных",
|
||||
"place": "место",
|
||||
"vehicle": "транспорт",
|
||||
"bike station": "велостанция",
|
||||
"plate reader": "считыватель номеров",
|
||||
"camera": "камера",
|
||||
"airspace": "воздушное пространство",
|
||||
"sighting": "наблюдение",
|
||||
"Callsign": "Позывной",
|
||||
"Registration": "Регистрация",
|
||||
"Aircraft class": "Класс ВС",
|
||||
"Course": "Курс",
|
||||
"Vertical rate": "Вертикальная скорость",
|
||||
"Squawk": "Сквок",
|
||||
"Emergency": "Чрезвычайная ситуация",
|
||||
"Last contact": "Последний контакт",
|
||||
"Ship type": "Тип судна",
|
||||
"Destination": "Пункт назначения",
|
||||
"Depth": "Глубина",
|
||||
"Time": "Время",
|
||||
"Place": "Место",
|
||||
"Fire power": "Мощность пожара",
|
||||
"Satellite": "Спутник",
|
||||
"Sensor": "Датчик",
|
||||
"Detected": "Обнаружено",
|
||||
"Contained": "Локализован",
|
||||
"Discovered": "Обнаружен",
|
||||
"Basin": "Бассейн",
|
||||
"Index": "Индекс",
|
||||
"Health risk": "Риск для здоровья",
|
||||
"Bikes": "Велосипеды",
|
||||
"Docks": "Места",
|
||||
"Floor": "Нижняя граница",
|
||||
"Ceiling": "Верхняя граница",
|
||||
"Active": "Действует",
|
||||
"NORAD ID": "NORAD ID",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Мощность",
|
||||
"Output": "Выработка",
|
||||
"River": "Река",
|
||||
"City": "Город",
|
||||
"State": "Штат",
|
||||
"Street": "Улица",
|
||||
"Opened": "Открыт",
|
||||
"Height": "Высота",
|
||||
"IT load": "ИТ-нагрузка",
|
||||
"Waterway": "Водный путь",
|
||||
"Military": "Военное",
|
||||
"Land use": "Землепользование",
|
||||
"Telecom": "Связь",
|
||||
"feature": "объект",
|
||||
"Empty": "Пусто",
|
||||
"Many seats free": "Много свободных мест",
|
||||
"Few seats free": "Мало свободных мест",
|
||||
"Standing room only": "Только стоячие места",
|
||||
"Crowded": "Переполнено",
|
||||
"Not taking passengers": "Посадки нет",
|
||||
"Major hurricane": "Сильный ураган",
|
||||
"Typhoon": "Тайфун",
|
||||
"Super typhoon": "Супертайфун",
|
||||
"Tropical cyclone": "Тропический циклон",
|
||||
"Prescribed burn": "Контролируемый пал",
|
||||
"Atlantic": "Атлантика",
|
||||
"Eastern Pacific": "Восточная часть Тихого океана",
|
||||
"Central Pacific": "Центральная часть Тихого океана",
|
||||
"Western Pacific": "Западная часть Тихого океана",
|
||||
"Indian Ocean": "Индийский океан",
|
||||
"Southern Hemisphere": "Южное полушарие",
|
||||
"Cable tram": "Канатный трамвай",
|
||||
"Aerial lift": "Канатная дорога",
|
||||
"Fishing": "Рыболовное",
|
||||
"Tug": "Буксир",
|
||||
"Sailing": "Парусное",
|
||||
"Pleasure craft": "Прогулочное",
|
||||
"Pilot vessel": "Лоцманское",
|
||||
"Search and rescue": "Поисково-спасательное",
|
||||
"Law enforcement": "Правоохранительное",
|
||||
"High-speed craft": "Скоростное",
|
||||
"Passenger": "Пассажирское",
|
||||
"Cargo": "Грузовое",
|
||||
"Tanker": "Танкер",
|
||||
"Yes": "Да",
|
||||
"{n} ft": "{n} фт",
|
||||
"{n} km/s": "{n} км/с",
|
||||
"{n} km/h": "{n} км/ч",
|
||||
"{n} kt": "{n} уз",
|
||||
"{n} ft/min": "{n} фт/мин",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} МВт",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} гПа",
|
||||
"Hijack (squawk 7500)": "Захват (сквок 7500)",
|
||||
"Radio failure (squawk 7600)": "Отказ радиосвязи (сквок 7600)",
|
||||
"Emergency (squawk 7700)": "Бедствие (сквок 7700)",
|
||||
"Emergency: {kind}": "Чрезвычайная ситуация: {kind}",
|
||||
"Emergency declared": "Объявлена чрезвычайная ситуация",
|
||||
"Tsunami warning issued": "Объявлена угроза цунами",
|
||||
"VFR, no flight plan": "ПВП, без плана полёта",
|
||||
"VFR conspicuity": "Общий код ПВП",
|
||||
"IFR, no code yet": "ППП, код ещё не назначен",
|
||||
"Hijack": "Захват",
|
||||
"Climbing {n} ft/min": "Набор высоты {n} фт/мин",
|
||||
"Descending {n} ft/min": "Снижение {n} фт/мин",
|
||||
"Cruising, level": "Крейсерский полёт",
|
||||
"Airliners": "Авиалайнеры",
|
||||
"Widebodies": "Широкофюзеляжные",
|
||||
"Business jets": "Бизнес-джеты",
|
||||
"Helicopters": "Вертолёты",
|
||||
"Turboprops": "Турбовинтовые",
|
||||
"Fast jets": "Скоростные реактивные",
|
||||
"Four-engine jets": "Четырёхмоторные",
|
||||
"M6 and above": "M6 и выше",
|
||||
"M5 to 6": "M5–6",
|
||||
"M4 to 5": "M4–5",
|
||||
"Below M4": "Ниже M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Страна",
|
||||
"altitude|Level": "Без изменений",
|
||||
"{h} h {m} min": "{h} ч {m} мин",
|
||||
"{n} min": "{n} мин",
|
||||
"{speed} {direction}": "{speed}, {direction}",
|
||||
"{n} mm": "{n} мм",
|
||||
"Scanning": "Сканирование",
|
||||
"Route": "Маршрут",
|
||||
"3D model": "3D-модель",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Вид из кабины",
|
||||
"KT": "УЗ",
|
||||
"Course to {code}: {course}": "Курс на {code}: {course}",
|
||||
"Over {place}": "Над: {place}",
|
||||
"Below": "Под спутником"
|
||||
}
|
||||
+464
-1
@@ -754,6 +754,7 @@
|
||||
"Requesting microphone": "Begär åtkomst till mikrofonen",
|
||||
"Ask or command": "Fråga eller ge ett kommando",
|
||||
"Running command": "Kör kommando",
|
||||
"Voice is disabled in Stories.": "Röststyrning är avstängd i Stories.",
|
||||
"Voice off": "Röst av",
|
||||
"WebRTC microphone support unavailable": "Mikrofonstöd för WebRTC saknas",
|
||||
"VOICE UNAVAILABLE": "RÖST OTILLGÄNGLIG",
|
||||
@@ -3668,5 +3669,467 @@
|
||||
"Search layers…": "Sök lager…",
|
||||
"Layer groups": "Lagergrupper",
|
||||
"Jump to {name}": "Gå till {name}",
|
||||
"No layers match": "Inga lager matchar"
|
||||
"No layers match": "Inga lager matchar",
|
||||
"A GEV scene, played on the live globe.": "En GEV-scen som spelas upp på globen i realtid.",
|
||||
"Drag the map to explore · Resume any time": "Dra i kartan för att utforska · Fortsätt när du vill",
|
||||
"Region": "Region",
|
||||
"Europe": "Europa",
|
||||
"Middle East": "Mellanöstern",
|
||||
"South Asia": "Sydasien",
|
||||
"East Asia": "Östasien",
|
||||
"Length": "Längd",
|
||||
"Under 1 min": "Kortare än 1 min",
|
||||
"1 min or more": "1 min eller mer",
|
||||
"Shots": "Tagningar",
|
||||
"Layers on": "Lager som är på",
|
||||
"Stories": "Berättelser",
|
||||
"NEW": "NYTT",
|
||||
"GEV Stories": "GEV Berättelser",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Kurerade, interaktiva vyer över vad som händer på jorden. Spela upp en, ta över kartan när du vill och fortsätt sedan berättelsen.",
|
||||
"Browse stories": "Bläddra bland berättelser",
|
||||
"Not now": "Inte nu",
|
||||
"Opened in GEV": "Öppnad i GEV",
|
||||
"Back to story": "Tillbaka till berättelsen",
|
||||
"GEV Stories explore": "Utforska GEV Berättelser",
|
||||
"Resize story list": "Ändra storlek på berättelselistan",
|
||||
"Story list size. Drag, or press to change": "Storlek på berättelselistan. Dra eller tryck för att ändra",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} av {count} berättelse",
|
||||
"other": "{n} av {count} berättelser"
|
||||
},
|
||||
"Sort stories": "Sortera berättelser",
|
||||
"Newest": "Nyaste",
|
||||
"Longest": "Längsta",
|
||||
"A–Z": "A–Ö",
|
||||
"{count} filters on": {
|
||||
"one": "{count} filter på",
|
||||
"other": "{count} filter på"
|
||||
},
|
||||
"Filters": "Filter",
|
||||
"Search stories": "Sök berättelser",
|
||||
"Search stories, places, creators": "Sök berättelser, platser, skapare",
|
||||
"Clear search": "Rensa sökningen",
|
||||
"Topics": "Ämnen",
|
||||
"Filter stories": "Filtrera berättelser",
|
||||
"Show {count} stories": {
|
||||
"one": "Visa {count} berättelse",
|
||||
"other": "Visa {count} berättelser"
|
||||
},
|
||||
"No stories match": "Inga berättelser matchar",
|
||||
"Try another word or clear the filters.": "Prova ett annat ord eller rensa filtren.",
|
||||
"Clear all": "Rensa alla",
|
||||
"STORY": "BERÄTTELSE",
|
||||
"Play {title}": "Spela upp {title}",
|
||||
"Play story": "Spela upp berättelsen",
|
||||
"Preview {title}": "Förhandsvisa {title}",
|
||||
"Click to preview": "Klicka för att förhandsvisa",
|
||||
"Click to play": "Klicka för att spela upp",
|
||||
"Tap to play": "Tryck för att spela upp",
|
||||
"Pick a story or a pin to preview it here": "Välj en berättelse eller en nål för att förhandsvisa den här",
|
||||
"Story": "Berättelse",
|
||||
"{what} link copied": "Länken till {what} har kopierats",
|
||||
"Copy this link: {url}": "Kopiera den här länken: {url}",
|
||||
"Back to stories": "Tillbaka till berättelserna",
|
||||
"Back to the globe": "Tillbaka till globen",
|
||||
"Breadcrumb": "Länkstig",
|
||||
"Globe": "Glob",
|
||||
"Share": "Dela",
|
||||
"Back to GEV": "Tillbaka till GEV",
|
||||
"Chapter {n}": "Kapitel {n}",
|
||||
"Context. Swipe up or press to open": "Kontext. Svep uppåt eller tryck för att öppna",
|
||||
"Context. Swipe down or press to close": "Kontext. Svep nedåt eller tryck för att stänga",
|
||||
"Search this story": "Sök i den här berättelsen",
|
||||
"Voice search (not in this build)": "Röstsökning (finns inte i den här versionen)",
|
||||
"Search results": "Sökresultat",
|
||||
"Nothing in this story matches.": "Inget i den här berättelsen matchar.",
|
||||
"Chapters": "Kapitel",
|
||||
"now": "nu",
|
||||
"About": "Om",
|
||||
"by {creator}": "av {creator}",
|
||||
"Key moments": "Nyckelögonblick",
|
||||
"Sources": "Källor",
|
||||
"Background": "Bakgrund",
|
||||
"Related stories": "Relaterade berättelser",
|
||||
"Story link copied": "Länken till berättelsen har kopierats",
|
||||
"You": "Du",
|
||||
"Open this moment in GEV": "Öppna det här ögonblicket i GEV",
|
||||
"Open": "Öppna",
|
||||
"Share this story": "Dela den här berättelsen",
|
||||
"GEV Story": "GEV-berättelse",
|
||||
"Story card": "Berättelsekort",
|
||||
"Chapter": "Kapitel",
|
||||
"CHAPTER {n} / {total}": "KAPITEL {n} / {total}",
|
||||
"ON THE MAP": "PÅ KARTAN",
|
||||
"Right now": "Just nu",
|
||||
"RIGHT NOW": "JUST NU",
|
||||
"Minimise card": "Minimera kortet",
|
||||
"Expand card": "Fäll ut kortet",
|
||||
"Card pages": "Kortsidor",
|
||||
"Resize context panel": "Ändra storlek på kontextpanelen",
|
||||
"Swipe up for context": "Svep uppåt för kontext",
|
||||
"Chapter start": "Kapitlets början",
|
||||
"Story time": "Berättelsens tid",
|
||||
"chapter": "kapitel",
|
||||
"Key moment: {label}": "Nyckelögonblick: {label}",
|
||||
"Exit expanded map": "Lämna den förstorade kartan",
|
||||
"Expand map": "Förstora kartan",
|
||||
"Exit cockpit to open Stories": "Lämna cockpiten för att öppna Berättelser",
|
||||
"Stories could not load. Check the connection and try again.": "Berättelser kunde inte läsas in. Kontrollera anslutningen och försök igen.",
|
||||
"Shot {n} of {total}": "Tagning {n} av {total}",
|
||||
"GEV scene": "GEV-scen",
|
||||
"SAVE TO STORIES": "SPARA I STORIES",
|
||||
"REMOVE FROM STORIES": "TA BORT FRÅN STORIES",
|
||||
"Show this scene on the Stories page": "Visa scenen på Stories-sidan",
|
||||
"Take this scene off the Stories page": "Ta bort scenen från Stories-sidan",
|
||||
"Saved to Stories": "Sparad i Stories",
|
||||
"Removed from Stories": "Borttagen från Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "En scen du skapade i GEV, spelad på den levande globen.",
|
||||
"Floods": "Översvämningar",
|
||||
"Wildfires": "Skogsbränder",
|
||||
"Storms": "Stormar",
|
||||
"Earthquakes": "Jordbävningar",
|
||||
"Maritime": "Sjöfart",
|
||||
"Space": "Rymden",
|
||||
"Conflict": "Konflikter",
|
||||
"Climate": "Klimat",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Byt till Esri World Imagery för att ta en miniatyrbild",
|
||||
"Thumbnail could not be captured": "Miniatyrbilden kunde inte tas",
|
||||
"Thumbnail captured": "Miniatyrbild tagen",
|
||||
"Stories tags": "Taggar för Stories",
|
||||
"Story thumbnail": "Berättelsens miniatyrbild",
|
||||
"Use the current view as the Stories card image": "Använd den aktuella vyn som bild på Stories-kortet",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Flygplanspositioner kommer från ADS-B: OpenSky Networks världsomfattande ögonblicksbild, med adsb.lol där OpenSky saknar data.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Reservkälla för flyg i realtid (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Satellitbanorna beräknas från CelesTraks aktuella banelement.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Jordbävningarna kommer från U.S. Geological Surveys realtidsflöde.",
|
||||
"Traffic": "Trafik",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Vägtrafik; köer i realtid kräver en egen TomTom-nyckel.",
|
||||
"Live traffic flow, with your own key": "Trafikflöde i realtid, med egen nyckel",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Flygtrafik i realtid runt om i världen: Atlanten, Europa, Japan och San Francisco.",
|
||||
"The Atlantic": "Atlanten",
|
||||
"Western Europe": "Västeuropa",
|
||||
"Japan": "Japan",
|
||||
"San Francisco Bay Area": "San Francisco-bukten",
|
||||
"Pull back over the Atlantic": "Zooma ut över Atlanten",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Satelliter i omloppsbana, sedda över Florida, Afrika, Tokyo och Paris.",
|
||||
"Over Florida": "Över Florida",
|
||||
"Over Africa": "Över Afrika",
|
||||
"Over Tokyo": "Över Tokyo",
|
||||
"Over Paris": "Över Paris",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Nya jordbävningar i värmekameravyn: Kalifornien, Japan, Nya Zeeland och utanför Portugal.",
|
||||
"California": "Kalifornien",
|
||||
"New Zealand": "Nya Zeeland",
|
||||
"Off Portugal": "Utanför Portugal",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Flyg, satelliter och trafik tillsammans över New York, Los Angeles och London.",
|
||||
"New York, closer": "New York, närmare",
|
||||
"New York, closer still": "New York, ännu närmare",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Alla realtidslager på en gång, utzoomning från Tokyo till hela planeten.",
|
||||
"Tokyo, pulling back": "Tokyo, utzoomning",
|
||||
"Japan and East Asia": "Japan och Östasien",
|
||||
"South China Sea": "Sydkinesiska havet",
|
||||
"The whole globe": "Hela jordklotet",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "Dammbrottsfloden i Bhote Koshi i Nepal den 26 augusti 2026, följd nedför dalen till Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Rekonstruerad flodväg (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "MINIATYRBILD",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Världsomfattande ögonblicksbild av flyg i realtid (icke-kommersiell licens för forskning och utbildning)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Satelliters banelement och katalog (data från USA:s regering)",
|
||||
"Satellite operators, owners and purposes": "Satelliters operatörer, ägare och syften",
|
||||
"Earthquake feed (U.S. public domain)": "Jordbävningsflöde (allmän egendom i USA)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Historiska satellitbilder och bilder efter händelsen (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "En visualisering av dammbrottsfloden i Bhote Koshi den 26 augusti 2026, inte en officiell riskmodell. De historiska vyerna (2021) och vyerna efter händelsen är Vantor WorldView-bilder; flodens väg är GeoPeras rekonstruktion. Ögonvittnesklippen länkar till sina ursprungliga inlägg, och deras inspelningstider är inte verifierade.",
|
||||
"That story is not available here": "Den berättelsen är inte tillgänglig här",
|
||||
"DRAFT": "UTKAST",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Ett utkast som inte är sparat som berättelse än. Använd SPARA I STORIES under REDIGERING för att spara det.",
|
||||
"Heading to next stop": "På väg till nästa hållplats",
|
||||
"Arriving at a stop": "Ankommer till en hållplats",
|
||||
"Stopped at a stop": "Står vid en hållplats",
|
||||
"Wikipedia": "Wikipedia",
|
||||
"Wikidata": "Wikidata",
|
||||
"Website": "Webbplats",
|
||||
"Phase": "Fas",
|
||||
"Flight level": "Flygnivå",
|
||||
"Mach": "Mach",
|
||||
"Squawk {code}": "Squawk {code}",
|
||||
"Signal": "Signal",
|
||||
"Civilian, in the air": "Civila, i luften",
|
||||
"Military, in the air": "Militära, i luften",
|
||||
"On the ground": "På marken",
|
||||
"Motion": "Rörelse",
|
||||
"Operator": "Operatör",
|
||||
"Last reported": "Senast rapporterat",
|
||||
"Crowding": "Trängsel",
|
||||
"Class": "Klass",
|
||||
"Magnitude": "Magnitud",
|
||||
"Labels": "Etiketter",
|
||||
"3D aircraft": "3D-flygplan",
|
||||
"M{mag} earthquake": "Jordbävning M{mag}",
|
||||
"Earthquake": "Jordbävning",
|
||||
"{n} kt winds": "Vind {n} knop",
|
||||
"Wildfire": "Skogsbrand",
|
||||
"{n} acres": "{n} acres",
|
||||
"{n}% contained": "{n} % under kontroll",
|
||||
"prescribed burn": "naturvårdsbränning",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} brandträff från satellit",
|
||||
"other": "{count} brandträffar från satellit"
|
||||
},
|
||||
"last day": "senaste dygnet",
|
||||
"Conditions unknown": "Okänt väder",
|
||||
"Partly cloudy": "Halvklart",
|
||||
"Overcast": "Mulet",
|
||||
"Fog": "Dimma",
|
||||
"Drizzle": "Duggregn",
|
||||
"Rain": "Regn",
|
||||
"Snow": "Snö",
|
||||
"Rain showers": "Regnskurar",
|
||||
"Snow showers": "Snöbyar",
|
||||
"Thunderstorm": "Åska",
|
||||
"Mixed conditions": "Växlande väder",
|
||||
"Search {name} and nearby": "Sök i {name} och i närheten",
|
||||
"Search what is in view": "Sök bland det som syns",
|
||||
"Close Context search": "Stäng sökningen i Kontext",
|
||||
"Search in Context": "Sök i Kontext",
|
||||
"Close search": "Stäng sökningen",
|
||||
"Shrink Context back to a panel": "Krymp Kontext till en panel",
|
||||
"Expand Context to a full-height column": "Visa Kontext som en kolumn i full höjd",
|
||||
"Context tabs": "Flikar i Kontext",
|
||||
"Inspector": "Inspektör",
|
||||
"Properties": "Egenskaper",
|
||||
"Level": "Nivå",
|
||||
"Last {n} min": "Senaste {n} min",
|
||||
"Just now": "Nyss",
|
||||
"Since selected": "Sedan valet",
|
||||
"Altitude": "Höjd",
|
||||
"Heading": "Kurs",
|
||||
"Field of view": "Synfält",
|
||||
"Camera frame": "Kamerabild",
|
||||
"Acquiring frame…": "Hämtar bild…",
|
||||
"Show a bigger view": "Visa större",
|
||||
"Camera view": "Kameravy",
|
||||
"More info": "Mer info",
|
||||
"{n} s ago": "för {n} s sedan",
|
||||
"{n} min ago": "för {n} min sedan",
|
||||
"{n} h ago": "för {n} h sedan",
|
||||
"{n} d ago": "för {n} d sedan",
|
||||
"Out of feed · last reading": "Utanför flödet · senaste avläsning",
|
||||
"Live · {age}": "Live · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "uppdaterad {age}",
|
||||
"Selected on the map": "Valt på kartan",
|
||||
"Close card": "Stäng kortet",
|
||||
"{n}% flown": "{n} % flugen",
|
||||
"to go": "kvar",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "Den planerade rutten för det här flightnumret stämmer inte med var planet är; det kan vara en annan etapp av samma flight.",
|
||||
"Scheduled · unverified: does not match where the plane is": "Planerad · ej bekräftad: stämmer inte med var planet är",
|
||||
"Nothing in this item’s details matches “{text}”.": "Inget i objektets detaljer matchar ”{text}”.",
|
||||
"Matching details": "Matchande detaljer",
|
||||
"Enter orbital view": "Öppna omloppsvyn",
|
||||
"Enter Cockpit": "Öppna cockpit",
|
||||
"Fly to": "Flyg dit",
|
||||
"Following": "Följer",
|
||||
"Follow": "Följ",
|
||||
"Ask GEV about {name}": "Fråga GEV om {name}",
|
||||
"Flights within {radius}": "Flyg inom {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "Inga flyg inom {radius} från de lager som är på.",
|
||||
"Vessels within {radius}": "Fartyg inom {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "Inga fartyg inom {radius} från de lager som är på.",
|
||||
"Cloud": "Moln",
|
||||
"Visibility": "Sikt",
|
||||
"Conditions here": "Förhållanden här",
|
||||
"feels {n}°": "känns som {n}°",
|
||||
"Reading conditions here…": "Hämtar förhållanden här…",
|
||||
"No weather reading here.": "Ingen väderdata här.",
|
||||
"Local solar time": "Lokal soltid",
|
||||
"Nearby radius": "Radie i närheten",
|
||||
"How far out the nearby lists look": "Hur långt listorna i närheten når",
|
||||
"Hazards within {radius}": "Faror inom {radius}",
|
||||
"Turns the layer on": "Slår på lagret",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "Inga jordbävningar, tropiska stormar eller skogsbränder rapporterade inom {radius}.",
|
||||
"Broadcast alerts within {radius}": "Utsända varningar inom {radius}",
|
||||
"Also within {radius}": "Även inom {radius}",
|
||||
"Local news": "Lokala nyheter",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Solur · {time} soltid · sol {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Solur · {time} soltid · solen under horisonten",
|
||||
"{count} things": {
|
||||
"one": "{count} sak",
|
||||
"other": "{count} saker"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} lager",
|
||||
"other": "{count} lager"
|
||||
},
|
||||
"{things} in view from {layers}": "{things} i vyn från {layers}",
|
||||
"{n} km up": "{n} km upp",
|
||||
"{n} m up": "{n} m upp",
|
||||
"This view": "Den här vyn",
|
||||
"Day": "Dag",
|
||||
"Twilight": "Skymning",
|
||||
"Night": "Natt",
|
||||
"Daylight": "Dagsljus",
|
||||
"sun {n}°": "sol {n}°",
|
||||
"Of {n} read, {total} loaded": "Av {n} lästa, {total} inlästa",
|
||||
"Of all {n}": "Av alla {n}",
|
||||
"Of {n} in view": "Av {n} i vyn",
|
||||
"Error": "Fel",
|
||||
"Stale": "Inaktuell",
|
||||
"In view": "I vyn",
|
||||
"Globe view": "Jordglobsvy",
|
||||
"Nothing selected": "Inget valt",
|
||||
"Worldwide now": "I världen nu",
|
||||
"Turn on {name}": "Slå på {name}",
|
||||
"{n} loaded": "{n} inlästa",
|
||||
"{n} in view": "{n} i vyn",
|
||||
"Turn off {name}": "Stäng av {name}",
|
||||
"Camera height": "Kamerahöjd",
|
||||
"Nothing in view matches “{text}”.": "Inget i vyn matchar ”{text}”.",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "Inget från lagren som är på syns här. Zooma ut för att se mer.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "Inget inläst lager har något i vyn. Slå på några under Datalager.",
|
||||
"Places in view": "Platser i vyn",
|
||||
"Show here": "Visa här",
|
||||
"Ask GEV what's here": "Fråga GEV vad som finns här",
|
||||
"aircraft": "flygplan",
|
||||
"vessel": "fartyg",
|
||||
"launch": "uppskjutning",
|
||||
"fire": "brand",
|
||||
"Fire detection": "Branddetektering",
|
||||
"fire perimeter": "brandområde",
|
||||
"earthquake": "jordbävning",
|
||||
"storm": "storm",
|
||||
"air quality station": "luftkvalitetsstation",
|
||||
"installation": "anläggning",
|
||||
"dam": "damm",
|
||||
"data centre": "datacenter",
|
||||
"place": "plats",
|
||||
"vehicle": "fordon",
|
||||
"bike station": "cykelstation",
|
||||
"plate reader": "skyltläsare",
|
||||
"camera": "kamera",
|
||||
"airspace": "luftrum",
|
||||
"sighting": "observation",
|
||||
"Callsign": "Anropssignal",
|
||||
"Registration": "Registrering",
|
||||
"Aircraft class": "Flygplansklass",
|
||||
"Course": "Kurs",
|
||||
"Vertical rate": "Vertikal hastighet",
|
||||
"Squawk": "Squawk",
|
||||
"Emergency": "Nödläge",
|
||||
"Last contact": "Senaste kontakt",
|
||||
"Ship type": "Fartygstyp",
|
||||
"Destination": "Destination",
|
||||
"Depth": "Djup",
|
||||
"Time": "Tid",
|
||||
"Place": "Plats",
|
||||
"Fire power": "Brandeffekt",
|
||||
"Satellite": "Satellit",
|
||||
"Sensor": "Sensor",
|
||||
"Detected": "Upptäckt",
|
||||
"Contained": "Under kontroll",
|
||||
"Discovered": "Upptäckt",
|
||||
"Basin": "Bassäng",
|
||||
"Index": "Index",
|
||||
"Health risk": "Hälsorisk",
|
||||
"Bikes": "Cyklar",
|
||||
"Docks": "Platser",
|
||||
"Floor": "Undre gräns",
|
||||
"Ceiling": "Övre gräns",
|
||||
"Active": "Aktiv",
|
||||
"NORAD ID": "NORAD-ID",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Kapacitet",
|
||||
"Output": "Effekt",
|
||||
"River": "Flod",
|
||||
"City": "Stad",
|
||||
"State": "Delstat",
|
||||
"Street": "Gata",
|
||||
"Opened": "Öppnad",
|
||||
"Height": "Höjd",
|
||||
"IT load": "IT-last",
|
||||
"Waterway": "Vattenväg",
|
||||
"Military": "Militär",
|
||||
"Land use": "Markanvändning",
|
||||
"Telecom": "Telekom",
|
||||
"feature": "objekt",
|
||||
"Empty": "Tom",
|
||||
"Many seats free": "Många lediga platser",
|
||||
"Few seats free": "Få lediga platser",
|
||||
"Standing room only": "Endast ståplatser",
|
||||
"Crowded": "Trångt",
|
||||
"Not taking passengers": "Tar inte emot resenärer",
|
||||
"Major hurricane": "Kraftig orkan",
|
||||
"Typhoon": "Tyfon",
|
||||
"Super typhoon": "Supertyfon",
|
||||
"Tropical cyclone": "Tropisk cyklon",
|
||||
"Prescribed burn": "Naturvårdsbränning",
|
||||
"Atlantic": "Atlanten",
|
||||
"Eastern Pacific": "Östra Stilla havet",
|
||||
"Central Pacific": "Centrala Stilla havet",
|
||||
"Western Pacific": "Västra Stilla havet",
|
||||
"Indian Ocean": "Indiska oceanen",
|
||||
"Southern Hemisphere": "Södra halvklotet",
|
||||
"Cable tram": "Kabelspårvagn",
|
||||
"Aerial lift": "Linbana",
|
||||
"Fishing": "Fiske",
|
||||
"Tug": "Bogserbåt",
|
||||
"Sailing": "Segelfartyg",
|
||||
"Pleasure craft": "Fritidsbåt",
|
||||
"Pilot vessel": "Lotsbåt",
|
||||
"Search and rescue": "Sjöräddning",
|
||||
"Law enforcement": "Myndighetsfartyg",
|
||||
"High-speed craft": "Snabbgående fartyg",
|
||||
"Passenger": "Passagerarfartyg",
|
||||
"Cargo": "Lastfartyg",
|
||||
"Tanker": "Tankfartyg",
|
||||
"Yes": "Ja",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n} %",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "Kapning (squawk 7500)",
|
||||
"Radio failure (squawk 7600)": "Radiofel (squawk 7600)",
|
||||
"Emergency (squawk 7700)": "Nödläge (squawk 7700)",
|
||||
"Emergency: {kind}": "Nödläge: {kind}",
|
||||
"Emergency declared": "Nödläge utlyst",
|
||||
"Tsunami warning issued": "Tsunamivarning utfärdad",
|
||||
"VFR, no flight plan": "VFR, ingen färdplan",
|
||||
"VFR conspicuity": "VFR-standardkod",
|
||||
"IFR, no code yet": "IFR, ingen kod än",
|
||||
"Hijack": "Kapning",
|
||||
"Climbing {n} ft/min": "Stiger {n} ft/min",
|
||||
"Descending {n} ft/min": "Sjunker {n} ft/min",
|
||||
"Cruising, level": "Marschflyg, plant",
|
||||
"Airliners": "Trafikflygplan",
|
||||
"Widebodies": "Widebody-plan",
|
||||
"Business jets": "Affärsjet",
|
||||
"Helicopters": "Helikoptrar",
|
||||
"Turboprops": "Turbopropplan",
|
||||
"Fast jets": "Stridsflygplan",
|
||||
"Four-engine jets": "Fyrmotoriga jetplan",
|
||||
"M6 and above": "M6 och över",
|
||||
"M5 to 6": "M5 till 6",
|
||||
"M4 to 5": "M4 till 5",
|
||||
"Below M4": "Under M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Land",
|
||||
"altitude|Level": "Oförändrad",
|
||||
"{h} h {m} min": "{h} h {m} min",
|
||||
"{n} min": "{n} min",
|
||||
"{speed} {direction}": "{speed} från {direction}",
|
||||
"{n} mm": "{n} mm",
|
||||
"Scanning": "Skannar",
|
||||
"Route": "Rutt",
|
||||
"3D model": "3D-modell",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Cockpitvy",
|
||||
"KT": "KT",
|
||||
"Course to {code}: {course}": "Kurs mot {code}: {course}",
|
||||
"Over {place}": "Över {place}",
|
||||
"Below": "Nedanför"
|
||||
}
|
||||
+476
-1
@@ -2602,6 +2602,7 @@
|
||||
"Gemini voice is not connected": "Голосовий режим Gemini не підключено",
|
||||
"Gemini interrupted input exceeded its buffer or wait limit. Start voice again.": "Перерване введення Gemini перевищило ліміт буфера або очікування. Запустіть голосовий режим знову.",
|
||||
"Gemini Live connection is expiring. Start voice again for a new conversation.": "Термін дії зʼєднання з Gemini Live спливає. Запустіть голосовий режим знову для нової розмови.",
|
||||
"Voice is disabled in Stories.": "Голосове керування в історіях вимкнено.",
|
||||
"Voice off": "Голос вимкнено",
|
||||
"Gemini voice sessions have a time limit. When a session expires, start voice again for a new conversation.": "Тривалість голосових сеансів Gemini обмежена. Коли сеанс завершиться, запустіть голосовий режим знову для нової розмови.",
|
||||
"Stopped by voice": "Зупинено голосовою командою",
|
||||
@@ -3862,5 +3863,479 @@
|
||||
"Search layers…": "Пошук шарів…",
|
||||
"Layer groups": "Групи шарів",
|
||||
"Jump to {name}": "Перейти до «{name}»",
|
||||
"No layers match": "Немає відповідних шарів"
|
||||
"No layers match": "Немає відповідних шарів",
|
||||
"A GEV scene, played on the live globe.": "Сцена GEV, відтворена на живому глобусі.",
|
||||
"Drag the map to explore · Resume any time": "Перетягуйте карту для огляду · Продовжити можна будь-коли",
|
||||
"Region": "Регіон",
|
||||
"Europe": "Європа",
|
||||
"Middle East": "Близький Схід",
|
||||
"South Asia": "Південна Азія",
|
||||
"East Asia": "Східна Азія",
|
||||
"Length": "Тривалість",
|
||||
"Under 1 min": "Менше 1 хв",
|
||||
"1 min or more": "1 хв і більше",
|
||||
"Shots": "Кадри",
|
||||
"Layers on": "Увімкнені шари",
|
||||
"Stories": "Історії",
|
||||
"NEW": "НОВЕ",
|
||||
"GEV Stories": "Історії GEV",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "Добірка інтерактивних оглядів того, що відбувається на Землі. Запустіть історію, беріть карту під свій контроль будь-коли, а потім продовжте перегляд.",
|
||||
"Browse stories": "Переглянути історії",
|
||||
"Not now": "Не зараз",
|
||||
"Opened in GEV": "Відкрито в GEV",
|
||||
"Back to story": "Назад до історії",
|
||||
"GEV Stories explore": "Огляд історій GEV",
|
||||
"Resize story list": "Змінити розмір списку історій",
|
||||
"Story list size. Drag, or press to change": "Розмір списку історій. Перетягніть або натисніть, щоб змінити",
|
||||
"{n} of {count} stories": {
|
||||
"one": "{n} з {count} історії",
|
||||
"few": "{n} з {count} історій",
|
||||
"many": "{n} з {count} історій",
|
||||
"other": "{n} з {count} історії"
|
||||
},
|
||||
"Sort stories": "Сортування історій",
|
||||
"Newest": "Нові",
|
||||
"Longest": "Найдовші",
|
||||
"A–Z": "А–Я",
|
||||
"{count} filters on": {
|
||||
"one": "{count} фільтр увімкнено",
|
||||
"few": "{count} фільтри увімкнено",
|
||||
"many": "{count} фільтрів увімкнено",
|
||||
"other": "{count} фільтра увімкнено"
|
||||
},
|
||||
"Filters": "Фільтри",
|
||||
"Search stories": "Пошук історій",
|
||||
"Search stories, places, creators": "Пошук історій, місць, авторів",
|
||||
"Clear search": "Очистити пошук",
|
||||
"Topics": "Теми",
|
||||
"Filter stories": "Фільтр історій",
|
||||
"Show {count} stories": {
|
||||
"one": "Показати {count} історію",
|
||||
"few": "Показати {count} історії",
|
||||
"many": "Показати {count} історій",
|
||||
"other": "Показати {count} історії"
|
||||
},
|
||||
"No stories match": "Немає відповідних історій",
|
||||
"Try another word or clear the filters.": "Спробуйте інше слово або скиньте фільтри.",
|
||||
"Clear all": "Скинути все",
|
||||
"STORY": "ІСТОРІЯ",
|
||||
"Play {title}": "Відтворити: {title}",
|
||||
"Play story": "Відтворити історію",
|
||||
"Preview {title}": "Попередній перегляд: {title}",
|
||||
"Click to preview": "Натисніть для попереднього перегляду",
|
||||
"Click to play": "Натисніть для відтворення",
|
||||
"Tap to play": "Торкніться для відтворення",
|
||||
"Pick a story or a pin to preview it here": "Виберіть історію або мітку, щоб переглянути її тут",
|
||||
"Story": "Історія",
|
||||
"{what} link copied": "Посилання скопійовано: {what}",
|
||||
"Copy this link: {url}": "Скопіюйте це посилання: {url}",
|
||||
"Back to stories": "Назад до історій",
|
||||
"Back to the globe": "Назад до глобуса",
|
||||
"Breadcrumb": "Навігаційний ланцюжок",
|
||||
"Globe": "Глобус",
|
||||
"Share": "Поділитися",
|
||||
"Back to GEV": "Назад до GEV",
|
||||
"Chapter {n}": "Розділ {n}",
|
||||
"Context. Swipe up or press to open": "Контекст. Проведіть угору або натисніть, щоб відкрити",
|
||||
"Context. Swipe down or press to close": "Контекст. Проведіть униз або натисніть, щоб закрити",
|
||||
"Search this story": "Пошук в історії",
|
||||
"Voice search (not in this build)": "Голосовий пошук (немає в цій збірці)",
|
||||
"Search results": "Результати пошуку",
|
||||
"Nothing in this story matches.": "У цій історії нічого не знайдено.",
|
||||
"Chapters": "Розділи",
|
||||
"now": "зараз",
|
||||
"About": "Про історію",
|
||||
"by {creator}": "автор: {creator}",
|
||||
"Key moments": "Ключові моменти",
|
||||
"Sources": "Джерела",
|
||||
"Background": "Передісторія",
|
||||
"Related stories": "Схожі історії",
|
||||
"Story link copied": "Посилання на історію скопійовано",
|
||||
"You": "Ви",
|
||||
"Open this moment in GEV": "Відкрити цей момент у GEV",
|
||||
"Open": "Відкрити",
|
||||
"Share this story": "Поділитися історією",
|
||||
"GEV Story": "Історія GEV",
|
||||
"Story card": "Картка історії",
|
||||
"Chapter": "Розділ",
|
||||
"CHAPTER {n} / {total}": "РОЗДІЛ {n} / {total}",
|
||||
"ON THE MAP": "НА КАРТІ",
|
||||
"Right now": "Просто зараз",
|
||||
"RIGHT NOW": "ПРОСТО ЗАРАЗ",
|
||||
"Minimise card": "Згорнути картку",
|
||||
"Expand card": "Розгорнути картку",
|
||||
"Card pages": "Сторінки картки",
|
||||
"Resize context panel": "Змінити розмір панелі контексту",
|
||||
"Swipe up for context": "Проведіть угору, щоб побачити контекст",
|
||||
"Chapter start": "Початок розділу",
|
||||
"Story time": "Час історії",
|
||||
"chapter": "розділ",
|
||||
"Key moment: {label}": "Ключовий момент: {label}",
|
||||
"Exit expanded map": "Вийти з розгорнутої карти",
|
||||
"Expand map": "Розгорнути карту",
|
||||
"Exit cockpit to open Stories": "Вийдіть із кабіни, щоб відкрити Історії",
|
||||
"Stories could not load. Check the connection and try again.": "Не вдалося завантажити Історії. Перевірте з’єднання та спробуйте ще раз.",
|
||||
"Shot {n} of {total}": "Кадр {n} з {total}",
|
||||
"GEV scene": "Сцена GEV",
|
||||
"SAVE TO STORIES": "ЗБЕРЕГТИ В STORIES",
|
||||
"REMOVE FROM STORIES": "ПРИБРАТИ ЗІ STORIES",
|
||||
"Show this scene on the Stories page": "Показати цю сцену на сторінці Stories",
|
||||
"Take this scene off the Stories page": "Прибрати цю сцену зі сторінки Stories",
|
||||
"Saved to Stories": "Збережено в Stories",
|
||||
"Removed from Stories": "Вилучено зі Stories",
|
||||
"A scene you made in GEV, played on the live globe.": "Сцена, яку ви створили в GEV, на живому глобусі.",
|
||||
"Floods": "Повені",
|
||||
"Wildfires": "Лісові пожежі",
|
||||
"Storms": "Шторми",
|
||||
"Earthquakes": "Землетруси",
|
||||
"Maritime": "Море",
|
||||
"Space": "Космос",
|
||||
"Conflict": "Конфлікти",
|
||||
"Climate": "Клімат",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "Перемкніться на Esri World Imagery, щоб створити мініатюру",
|
||||
"Thumbnail could not be captured": "Не вдалося зняти мініатюру",
|
||||
"Thumbnail captured": "Мініатюру знято",
|
||||
"Stories tags": "Теги Stories",
|
||||
"Story thumbnail": "Мініатюра історії",
|
||||
"Use the current view as the Stories card image": "Використати поточний вигляд як зображення картки в Stories",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "Позиції літаків отримано з ADS-B: світовий знімок OpenSky Network, а там, де в OpenSky немає даних, — adsb.lol.",
|
||||
"Live-flight fallback (ODbL 1.0)": "Резервне джерело рейсів (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "Орбіти супутників розраховуються за поточними елементами орбіт CelesTrak.",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "Землетруси надходять із живої стрічки Геологічної служби США (USGS).",
|
||||
"Traffic": "Дорожній рух",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "Дорожній рух; для заторів у реальному часі потрібен власний ключ TomTom.",
|
||||
"Live traffic flow, with your own key": "Потік руху в реальному часі, з власним ключем",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "Повітряний рух по всьому світу в реальному часі: Атлантика, Європа, Японія та Сан-Франциско.",
|
||||
"The Atlantic": "Атлантика",
|
||||
"Western Europe": "Західна Європа",
|
||||
"Japan": "Японія",
|
||||
"San Francisco Bay Area": "Район затоки Сан-Франциско",
|
||||
"Pull back over the Atlantic": "Віддалення над Атлантикою",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "Супутники на орбіті, вигляд над Флоридою, Африкою, Токіо та Парижем.",
|
||||
"Over Florida": "Над Флоридою",
|
||||
"Over Africa": "Над Африкою",
|
||||
"Over Tokyo": "Над Токіо",
|
||||
"Over Paris": "Над Парижем",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "Недавні землетруси в тепловому режимі: Каліфорнія, Японія, Нова Зеландія та біля берегів Португалії.",
|
||||
"California": "Каліфорнія",
|
||||
"New Zealand": "Нова Зеландія",
|
||||
"Off Portugal": "Біля берегів Португалії",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "Рейси, супутники та дорожній рух разом над Нью-Йорком, Лос-Анджелесом і Лондоном.",
|
||||
"New York, closer": "Нью-Йорк, ближче",
|
||||
"New York, closer still": "Нью-Йорк, ще ближче",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "Усі живі шари одразу, з віддаленням від Токіо до всієї планети.",
|
||||
"Tokyo, pulling back": "Токіо, віддалення",
|
||||
"Japan and East Asia": "Японія та Східна Азія",
|
||||
"South China Sea": "Південнокитайське море",
|
||||
"The whole globe": "Уся земна куля",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "Прорив паводка на Bhote Koshi в Непалі 26 серпня 2026 року, вниз долиною до Trishuli.",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "Реконструйований шлях паводка (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "МІНІАТЮРА",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "Світовий знімок рейсів у реальному часі (некомерційна ліцензія для досліджень і освіти)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "Елементи орбіт і каталог супутників (дані уряду США)",
|
||||
"Satellite operators, owners and purposes": "Оператори, власники та призначення супутників",
|
||||
"Earthquake feed (U.S. public domain)": "Стрічка землетрусів (суспільне надбання в США)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "Архівні супутникові знімки та знімки після події (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "Візуалізація прориву паводка на Bhote Koshi 26 серпня 2026 року, а не офіційна модель небезпеки. Архівні види (2021) і види після події — знімки Vantor WorldView; шлях річки — реконструкція GeoPera. Відео очевидців ведуть на початкові публікації, час їх зйомки не перевірено.",
|
||||
"That story is not available here": "Ця історія тут недоступна",
|
||||
"DRAFT": "ЧЕРНЕТКА",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "Чернетка, ще не збережена як історія. Натисніть «ЗБЕРЕГТИ В STORIES» у розділі РЕДАКТОР, щоб зберегти її.",
|
||||
"Heading to next stop": "Їде до наступної зупинки",
|
||||
"Arriving at a stop": "Під’їжджає до зупинки",
|
||||
"Stopped at a stop": "Стоїть на зупинці",
|
||||
"Wikipedia": "Вікіпедія",
|
||||
"Wikidata": "Вікідані",
|
||||
"Website": "Вебсайт",
|
||||
"Phase": "Фаза",
|
||||
"Flight level": "Ешелон",
|
||||
"Mach": "Мах",
|
||||
"Squawk {code}": "Сквок {code}",
|
||||
"Signal": "Сигнал",
|
||||
"Civilian, in the air": "Цивільні, у повітрі",
|
||||
"Military, in the air": "Військові, у повітрі",
|
||||
"On the ground": "На землі",
|
||||
"Motion": "Рух",
|
||||
"Operator": "Оператор",
|
||||
"Last reported": "Останнє повідомлення",
|
||||
"Crowding": "Заповненість",
|
||||
"Class": "Клас",
|
||||
"Magnitude": "Магнітуда",
|
||||
"Labels": "Підписи",
|
||||
"3D aircraft": "Літаки в 3D",
|
||||
"M{mag} earthquake": "Землетрус M{mag}",
|
||||
"Earthquake": "Землетрус",
|
||||
"{n} kt winds": "Вітер {n} вуз.",
|
||||
"Wildfire": "Лісова пожежа",
|
||||
"{n} acres": "{n} акрів",
|
||||
"{n}% contained": "Локалізовано на {n}%",
|
||||
"prescribed burn": "контрольоване випалювання",
|
||||
"{count} satellite fire hits": {
|
||||
"one": "{count} супутникове виявлення пожежі",
|
||||
"few": "{count} супутникові виявлення пожежі",
|
||||
"many": "{count} супутникових виявлень пожежі",
|
||||
"other": "{count} супутникового виявлення пожежі"
|
||||
},
|
||||
"last day": "за добу",
|
||||
"Conditions unknown": "Погода невідома",
|
||||
"Partly cloudy": "Мінлива хмарність",
|
||||
"Overcast": "Похмуро",
|
||||
"Fog": "Туман",
|
||||
"Drizzle": "Мряка",
|
||||
"Rain": "Дощ",
|
||||
"Snow": "Сніг",
|
||||
"Rain showers": "Зливи",
|
||||
"Snow showers": "Снігопад",
|
||||
"Thunderstorm": "Гроза",
|
||||
"Mixed conditions": "Мінлива погода",
|
||||
"Search {name} and nearby": "Пошук: {name} і поруч",
|
||||
"Search what is in view": "Пошук у видимому",
|
||||
"Close Context search": "Закрити пошук у контексті",
|
||||
"Search in Context": "Пошук у контексті",
|
||||
"Close search": "Закрити пошук",
|
||||
"Shrink Context back to a panel": "Згорнути контекст у панель",
|
||||
"Expand Context to a full-height column": "Розгорнути контекст на всю висоту",
|
||||
"Context tabs": "Вкладки контексту",
|
||||
"Inspector": "Інспектор",
|
||||
"Properties": "Властивості",
|
||||
"Level": "Рівень",
|
||||
"Last {n} min": "За {n} хв",
|
||||
"Just now": "Щойно",
|
||||
"Since selected": "Від вибору",
|
||||
"Altitude": "Висота",
|
||||
"Heading": "Курс",
|
||||
"Field of view": "Поле зору",
|
||||
"Camera frame": "Кадр камери",
|
||||
"Acquiring frame…": "Отримання кадру…",
|
||||
"Show a bigger view": "Показати більше",
|
||||
"Camera view": "Вигляд із камери",
|
||||
"More info": "Докладніше",
|
||||
"{n} s ago": "{n} с тому",
|
||||
"{n} min ago": "{n} хв тому",
|
||||
"{n} h ago": "{n} год тому",
|
||||
"{n} d ago": "{n} дн. тому",
|
||||
"Out of feed · last reading": "Немає в потоці · останні дані",
|
||||
"Live · {age}": "Зараз · {age}",
|
||||
"{n} m": "{n} м",
|
||||
"{n} km": "{n} км",
|
||||
"updated {age}": "оновлено {age}",
|
||||
"Selected on the map": "Вибрано на мапі",
|
||||
"Close card": "Закрити картку",
|
||||
"{n}% flown": "Пройдено {n}%",
|
||||
"to go": "залишилось",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "Плановий маршрут цього рейсу не збігається з положенням літака; можливо, це інша ділянка того самого рейсу.",
|
||||
"Scheduled · unverified: does not match where the plane is": "За розкладом · не підтверджено: не збігається з положенням літака",
|
||||
"Nothing in this item’s details matches “{text}”.": "У відомостях про цей об’єкт немає «{text}».",
|
||||
"Matching details": "Збіги у відомостях",
|
||||
"Enter orbital view": "Увійти в орбітальний вигляд",
|
||||
"Enter Cockpit": "Увійти в кабіну",
|
||||
"Fly to": "Перелетіти",
|
||||
"Following": "Стеження",
|
||||
"Follow": "Стежити",
|
||||
"Ask GEV about {name}": "Запитати GEV про {name}",
|
||||
"Flights within {radius}": "Рейси в радіусі {radius}",
|
||||
"No flights within {radius} from the layers that are on.": "В увімкнених шарах немає рейсів у радіусі {radius}.",
|
||||
"Vessels within {radius}": "Судна в радіусі {radius}",
|
||||
"No vessels within {radius} from the layers that are on.": "В увімкнених шарах немає суден у радіусі {radius}.",
|
||||
"Cloud": "Хмарність",
|
||||
"Visibility": "Видимість",
|
||||
"Conditions here": "Обстановка тут",
|
||||
"feels {n}°": "відчувається як {n}°",
|
||||
"Reading conditions here…": "Отримання обстановки…",
|
||||
"No weather reading here.": "Тут немає даних про погоду.",
|
||||
"Local solar time": "Місцевий сонячний час",
|
||||
"Nearby radius": "Радіус поблизу",
|
||||
"How far out the nearby lists look": "Наскільки далеко сягають списки поблизу",
|
||||
"Hazards within {radius}": "Небезпеки в радіусі {radius}",
|
||||
"Turns the layer on": "Вмикає шар",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "У радіусі {radius} немає повідомлень про землетруси, тропічні шторми чи лісові пожежі.",
|
||||
"Broadcast alerts within {radius}": "Сповіщення в радіусі {radius}",
|
||||
"Also within {radius}": "Також у радіусі {radius}",
|
||||
"Local news": "Місцеві новини",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "Сонячний годинник · {time} за сонцем · сонце {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "Сонячний годинник · {time} за сонцем · сонце за обрієм",
|
||||
"{count} things": {
|
||||
"one": "{count} об’єкт",
|
||||
"few": "{count} об’єкти",
|
||||
"many": "{count} об’єктів",
|
||||
"other": "{count} об’єкта"
|
||||
},
|
||||
"{count} layers": {
|
||||
"one": "{count} шару",
|
||||
"few": "{count} шарів",
|
||||
"many": "{count} шарів",
|
||||
"other": "{count} шару"
|
||||
},
|
||||
"{things} in view from {layers}": "У полі зору {things} з {layers}",
|
||||
"{n} km up": "на висоті {n} км",
|
||||
"{n} m up": "на висоті {n} м",
|
||||
"This view": "Цей вигляд",
|
||||
"Day": "День",
|
||||
"Twilight": "Сутінки",
|
||||
"Night": "Ніч",
|
||||
"Daylight": "Освітленість",
|
||||
"sun {n}°": "сонце {n}°",
|
||||
"Of {n} read, {total} loaded": "З {n} прочитаних завантажено {total}",
|
||||
"Of all {n}": "З усіх {n}",
|
||||
"Of {n} in view": "З {n} у полі зору",
|
||||
"Error": "Помилка",
|
||||
"Stale": "Застаріло",
|
||||
"In view": "У полі зору",
|
||||
"Globe view": "Вигляд глобуса",
|
||||
"Nothing selected": "Нічого не вибрано",
|
||||
"Worldwide now": "Зараз у світі",
|
||||
"Turn on {name}": "Увімкнути {name}",
|
||||
"{n} loaded": "завантажено {n}",
|
||||
"{n} in view": "{n} у полі зору",
|
||||
"Turn off {name}": "Вимкнути {name}",
|
||||
"Camera height": "Висота камери",
|
||||
"Nothing in view matches “{text}”.": "У полі зору немає «{text}».",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "З увімкнених шарів тут нічого не видно. Віддаліть мапу, щоб побачити більше.",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "У жодному завантаженому шарі нічого не видно. Увімкніть шари в розділі «Шари даних».",
|
||||
"Places in view": "Місця в полі зору",
|
||||
"Show here": "Показати тут",
|
||||
"Ask GEV what's here": "Запитати GEV, що тут",
|
||||
"aircraft": "повітряне судно",
|
||||
"vessel": "судно",
|
||||
"launch": "запуск",
|
||||
"fire": "пожежа",
|
||||
"Fire detection": "Виявлення пожежі",
|
||||
"fire perimeter": "контур пожежі",
|
||||
"earthquake": "землетрус",
|
||||
"storm": "шторм",
|
||||
"air quality station": "станція якості повітря",
|
||||
"installation": "об’єкт",
|
||||
"dam": "гребля",
|
||||
"data centre": "центр обробки даних",
|
||||
"place": "місце",
|
||||
"vehicle": "транспорт",
|
||||
"bike station": "велостанція",
|
||||
"plate reader": "зчитувач номерів",
|
||||
"camera": "камера",
|
||||
"airspace": "повітряний простір",
|
||||
"sighting": "спостереження",
|
||||
"Callsign": "Позивний",
|
||||
"Registration": "Реєстрація",
|
||||
"Aircraft class": "Клас ПС",
|
||||
"Course": "Курс",
|
||||
"Vertical rate": "Вертикальна швидкість",
|
||||
"Squawk": "Сквок",
|
||||
"Emergency": "Надзвичайна ситуація",
|
||||
"Last contact": "Останній контакт",
|
||||
"Ship type": "Тип судна",
|
||||
"Destination": "Пункт призначення",
|
||||
"Depth": "Глибина",
|
||||
"Time": "Час",
|
||||
"Place": "Місце",
|
||||
"Fire power": "Потужність пожежі",
|
||||
"Satellite": "Супутник",
|
||||
"Sensor": "Датчик",
|
||||
"Detected": "Виявлено",
|
||||
"Contained": "Локалізовано",
|
||||
"Discovered": "Виявлено",
|
||||
"Basin": "Басейн",
|
||||
"Index": "Індекс",
|
||||
"Health risk": "Ризик для здоров’я",
|
||||
"Bikes": "Велосипеди",
|
||||
"Docks": "Місця",
|
||||
"Floor": "Нижня межа",
|
||||
"Ceiling": "Верхня межа",
|
||||
"Active": "Діє",
|
||||
"NORAD ID": "NORAD ID",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "Потужність",
|
||||
"Output": "Вироблення",
|
||||
"River": "Річка",
|
||||
"City": "Місто",
|
||||
"State": "Штат",
|
||||
"Street": "Вулиця",
|
||||
"Opened": "Відкрито",
|
||||
"Height": "Висота",
|
||||
"IT load": "ІТ-навантаження",
|
||||
"Waterway": "Водний шлях",
|
||||
"Military": "Військове",
|
||||
"Land use": "Землекористування",
|
||||
"Telecom": "Зв’язок",
|
||||
"feature": "об’єкт",
|
||||
"Empty": "Порожньо",
|
||||
"Many seats free": "Багато вільних місць",
|
||||
"Few seats free": "Мало вільних місць",
|
||||
"Standing room only": "Лише стоячі місця",
|
||||
"Crowded": "Переповнено",
|
||||
"Not taking passengers": "Посадки немає",
|
||||
"Major hurricane": "Сильний ураган",
|
||||
"Typhoon": "Тайфун",
|
||||
"Super typhoon": "Супертайфун",
|
||||
"Tropical cyclone": "Тропічний циклон",
|
||||
"Prescribed burn": "Контрольоване випалювання",
|
||||
"Atlantic": "Атлантика",
|
||||
"Eastern Pacific": "Східна частина Тихого океану",
|
||||
"Central Pacific": "Центральна частина Тихого океану",
|
||||
"Western Pacific": "Західна частина Тихого океану",
|
||||
"Indian Ocean": "Індійський океан",
|
||||
"Southern Hemisphere": "Південна півкуля",
|
||||
"Cable tram": "Канатний трамвай",
|
||||
"Aerial lift": "Канатна дорога",
|
||||
"Fishing": "Рибальське",
|
||||
"Tug": "Буксир",
|
||||
"Sailing": "Вітрильне",
|
||||
"Pleasure craft": "Прогулянкове",
|
||||
"Pilot vessel": "Лоцманське",
|
||||
"Search and rescue": "Пошуково-рятувальне",
|
||||
"Law enforcement": "Правоохоронне",
|
||||
"High-speed craft": "Швидкісне",
|
||||
"Passenger": "Пасажирське",
|
||||
"Cargo": "Вантажне",
|
||||
"Tanker": "Танкер",
|
||||
"Yes": "Так",
|
||||
"{n} ft": "{n} фт",
|
||||
"{n} km/s": "{n} км/с",
|
||||
"{n} km/h": "{n} км/год",
|
||||
"{n} kt": "{n} вуз",
|
||||
"{n} ft/min": "{n} фт/хв",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} МВт",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} гПа",
|
||||
"Hijack (squawk 7500)": "Захоплення (сквок 7500)",
|
||||
"Radio failure (squawk 7600)": "Відмова радіозв’язку (сквок 7600)",
|
||||
"Emergency (squawk 7700)": "Лихо (сквок 7700)",
|
||||
"Emergency: {kind}": "Надзвичайна ситуація: {kind}",
|
||||
"Emergency declared": "Оголошено надзвичайну ситуацію",
|
||||
"Tsunami warning issued": "Оголошено загрозу цунамі",
|
||||
"VFR, no flight plan": "ПВП, без плану польоту",
|
||||
"VFR conspicuity": "Загальний код ПВП",
|
||||
"IFR, no code yet": "ППП, код ще не призначено",
|
||||
"Hijack": "Захоплення",
|
||||
"Climbing {n} ft/min": "Набір висоти {n} фт/хв",
|
||||
"Descending {n} ft/min": "Зниження {n} фт/хв",
|
||||
"Cruising, level": "Крейсерський політ",
|
||||
"Airliners": "Авіалайнери",
|
||||
"Widebodies": "Широкофюзеляжні",
|
||||
"Business jets": "Бізнес-джети",
|
||||
"Helicopters": "Гелікоптери",
|
||||
"Turboprops": "Турбогвинтові",
|
||||
"Fast jets": "Швидкісні реактивні",
|
||||
"Four-engine jets": "Чотиримоторні",
|
||||
"M6 and above": "M6 і вище",
|
||||
"M5 to 6": "M5–6",
|
||||
"M4 to 5": "M4–5",
|
||||
"Below M4": "Нижче M4",
|
||||
"{kind} {name}": "{kind} {name}",
|
||||
"place|Country": "Країна",
|
||||
"altitude|Level": "Без змін",
|
||||
"{h} h {m} min": "{h} год {m} хв",
|
||||
"{n} min": "{n} хв",
|
||||
"{speed} {direction}": "{speed}, {direction}",
|
||||
"{n} mm": "{n} мм",
|
||||
"Scanning": "Сканування",
|
||||
"Route": "Маршрут",
|
||||
"3D model": "3D-модель",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "Вигляд з кабіни",
|
||||
"KT": "ВУЗ",
|
||||
"Course to {code}: {course}": "Курс на {code}: {course}",
|
||||
"Over {place}": "Над: {place}",
|
||||
"Below": "Під супутником"
|
||||
}
|
||||
+458
-1
@@ -2345,6 +2345,7 @@
|
||||
"Release Space to send": "松开空格键发送",
|
||||
"Hold Space to talk": "按住空格键说话",
|
||||
"Ask or command": "提问或下达指令",
|
||||
"Voice is disabled in Stories.": "故事模式下语音控制已禁用。",
|
||||
"Voice off": "语音已关闭",
|
||||
"VOICE UNAVAILABLE": "语音不可用",
|
||||
"VOICE ACTIVE": "语音已启用",
|
||||
@@ -3571,5 +3572,461 @@
|
||||
"Search layers…": "搜索图层…",
|
||||
"Layer groups": "图层分组",
|
||||
"Jump to {name}": "跳转到{name}",
|
||||
"No layers match": "没有匹配的图层"
|
||||
"No layers match": "没有匹配的图层",
|
||||
"A GEV scene, played on the live globe.": "在实时地球上播放的 GEV 场景。",
|
||||
"Drag the map to explore · Resume any time": "拖动地图进行探索 · 随时可继续",
|
||||
"Region": "地区",
|
||||
"Europe": "欧洲",
|
||||
"Middle East": "中东",
|
||||
"South Asia": "南亚",
|
||||
"East Asia": "东亚",
|
||||
"Length": "时长",
|
||||
"Under 1 min": "不到 1 分钟",
|
||||
"1 min or more": "1 分钟及以上",
|
||||
"Shots": "镜头",
|
||||
"Layers on": "已开启的图层",
|
||||
"Stories": "故事",
|
||||
"NEW": "新",
|
||||
"GEV Stories": "GEV 故事",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "精选的互动视图,呈现地球上正在发生的事。播放一个故事,随时接管地图,然后再继续观看。",
|
||||
"Browse stories": "浏览故事",
|
||||
"Not now": "以后再说",
|
||||
"Opened in GEV": "已在 GEV 中打开",
|
||||
"Back to story": "返回故事",
|
||||
"GEV Stories explore": "GEV 故事探索",
|
||||
"Resize story list": "调整故事列表大小",
|
||||
"Story list size. Drag, or press to change": "故事列表大小。拖动或按下以更改",
|
||||
"{n} of {count} stories": {
|
||||
"other": "第 {n} 个,共 {count} 个故事"
|
||||
},
|
||||
"Sort stories": "故事排序",
|
||||
"Newest": "最新",
|
||||
"Longest": "最长",
|
||||
"A–Z": "按名称",
|
||||
"{count} filters on": {
|
||||
"other": "已启用 {count} 个筛选"
|
||||
},
|
||||
"Filters": "筛选",
|
||||
"Search stories": "搜索故事",
|
||||
"Search stories, places, creators": "搜索故事、地点、创作者",
|
||||
"Clear search": "清除搜索",
|
||||
"Topics": "主题",
|
||||
"Filter stories": "筛选故事",
|
||||
"Show {count} stories": {
|
||||
"other": "显示 {count} 个故事"
|
||||
},
|
||||
"No stories match": "没有匹配的故事",
|
||||
"Try another word or clear the filters.": "请换个关键词或清除筛选。",
|
||||
"Clear all": "全部清除",
|
||||
"STORY": "故事",
|
||||
"Play {title}": "播放 {title}",
|
||||
"Play story": "播放故事",
|
||||
"Preview {title}": "预览 {title}",
|
||||
"Click to preview": "点击预览",
|
||||
"Click to play": "点击播放",
|
||||
"Tap to play": "轻触播放",
|
||||
"Pick a story or a pin to preview it here": "选择一个故事或标记,在此预览",
|
||||
"Story": "故事",
|
||||
"{what} link copied": "{what}链接已复制",
|
||||
"Copy this link: {url}": "复制此链接:{url}",
|
||||
"Back to stories": "返回故事列表",
|
||||
"Back to the globe": "返回地球",
|
||||
"Breadcrumb": "导航路径",
|
||||
"Globe": "地球",
|
||||
"Share": "分享",
|
||||
"Back to GEV": "返回 GEV",
|
||||
"Chapter {n}": "第 {n} 章",
|
||||
"Context. Swipe up or press to open": "背景信息。上滑或按下以打开",
|
||||
"Context. Swipe down or press to close": "背景信息。下滑或按下以关闭",
|
||||
"Search this story": "在此故事中搜索",
|
||||
"Voice search (not in this build)": "语音搜索 (此版本不支持)",
|
||||
"Search results": "搜索结果",
|
||||
"Nothing in this story matches.": "此故事中没有匹配项。",
|
||||
"Chapters": "章节",
|
||||
"now": "现在",
|
||||
"About": "简介",
|
||||
"by {creator}": "作者:{creator}",
|
||||
"Key moments": "关键时刻",
|
||||
"Sources": "来源",
|
||||
"Background": "背景",
|
||||
"Related stories": "相关故事",
|
||||
"Story link copied": "故事链接已复制",
|
||||
"You": "你",
|
||||
"Open this moment in GEV": "在 GEV 中打开此时刻",
|
||||
"Open": "打开",
|
||||
"Share this story": "分享此故事",
|
||||
"GEV Story": "GEV 故事",
|
||||
"Story card": "故事卡片",
|
||||
"Chapter": "章节",
|
||||
"CHAPTER {n} / {total}": "第 {n} 章 / {total}",
|
||||
"ON THE MAP": "地图上",
|
||||
"Right now": "当前",
|
||||
"RIGHT NOW": "当前",
|
||||
"Minimise card": "最小化卡片",
|
||||
"Expand card": "展开卡片",
|
||||
"Card pages": "卡片页面",
|
||||
"Resize context panel": "调整背景信息面板大小",
|
||||
"Swipe up for context": "上滑查看背景信息",
|
||||
"Chapter start": "章节开始",
|
||||
"Story time": "故事时间",
|
||||
"chapter": "章节",
|
||||
"Key moment: {label}": "关键时刻:{label}",
|
||||
"Exit expanded map": "退出放大地图",
|
||||
"Expand map": "放大地图",
|
||||
"Exit cockpit to open Stories": "请先退出座舱,再打开故事",
|
||||
"Stories could not load. Check the connection and try again.": "无法加载故事。请检查网络连接后重试。",
|
||||
"Shot {n} of {total}": "镜头 {n}/{total}",
|
||||
"GEV scene": "GEV 场景",
|
||||
"SAVE TO STORIES": "保存到 STORIES",
|
||||
"REMOVE FROM STORIES": "从 STORIES 移除",
|
||||
"Show this scene on the Stories page": "在 Stories 页面显示此场景",
|
||||
"Take this scene off the Stories page": "将此场景从 Stories 页面移除",
|
||||
"Saved to Stories": "已保存到 Stories",
|
||||
"Removed from Stories": "已从 Stories 移除",
|
||||
"A scene you made in GEV, played on the live globe.": "你在 GEV 中制作的场景,在实时地球上播放。",
|
||||
"Floods": "洪水",
|
||||
"Wildfires": "山火",
|
||||
"Storms": "风暴",
|
||||
"Earthquakes": "地震",
|
||||
"Maritime": "海事",
|
||||
"Space": "太空",
|
||||
"Conflict": "冲突",
|
||||
"Climate": "气候",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "请切换至 Esri World Imagery 以截取缩略图",
|
||||
"Thumbnail could not be captured": "无法截取缩略图",
|
||||
"Thumbnail captured": "已截取缩略图",
|
||||
"Stories tags": "故事标签",
|
||||
"Story thumbnail": "故事缩略图",
|
||||
"Use the current view as the Stories card image": "将当前视图用作故事卡片图片",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "飞机位置来自 ADS-B:OpenSky Network 的全球快照,OpenSky 没有数据的地方由 adsb.lol 补充。",
|
||||
"Live-flight fallback (ODbL 1.0)": "实时航班备用来源 (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "卫星轨道根据 CelesTrak 当前的轨道根数推算。",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "地震数据来自美国地质调查局 (USGS) 的实时数据流。",
|
||||
"Traffic": "交通",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "道路交通;实时拥堵需要你自己的 TomTom 密钥。",
|
||||
"Live traffic flow, with your own key": "实时交通流量,需使用你自己的密钥",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "全球实时空中交通:大西洋、欧洲、日本和旧金山。",
|
||||
"The Atlantic": "大西洋",
|
||||
"Western Europe": "西欧",
|
||||
"Japan": "日本",
|
||||
"San Francisco Bay Area": "旧金山湾区",
|
||||
"Pull back over the Atlantic": "在大西洋上空拉远",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "在轨卫星,从佛罗里达、非洲、东京和巴黎上空观看。",
|
||||
"Over Florida": "佛罗里达上空",
|
||||
"Over Africa": "非洲上空",
|
||||
"Over Tokyo": "东京上空",
|
||||
"Over Paris": "巴黎上空",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "热成像风格下的近期地震:加利福尼亚、日本、新西兰和葡萄牙近海。",
|
||||
"California": "加利福尼亚",
|
||||
"New Zealand": "新西兰",
|
||||
"Off Portugal": "葡萄牙近海",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "纽约、洛杉矶和伦敦上空的航班、卫星与交通。",
|
||||
"New York, closer": "纽约,更近",
|
||||
"New York, closer still": "纽约,再近一些",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "同时显示所有实时图层,从东京拉远到整个地球。",
|
||||
"Tokyo, pulling back": "东京,拉远",
|
||||
"Japan and East Asia": "日本与东亚",
|
||||
"South China Sea": "南海",
|
||||
"The whole globe": "整个地球",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "2026 年 8 月 26 日尼泊尔 Bhote Koshi 溃决洪水,沿河谷而下追踪至 Trishuli。",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "重建的洪水路径 (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "缩略图",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "全球实时航班快照(非商业研究与教育许可)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "卫星轨道根数与目录(美国政府数据)",
|
||||
"Satellite operators, owners and purposes": "卫星运营者、所有者与用途",
|
||||
"Earthquake feed (U.S. public domain)": "地震数据流(美国公有领域)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "历史与事件后卫星影像 (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "这是 2026 年 8 月 26 日 Bhote Koshi 溃决洪水的可视化,并非官方灾害模型。历史(2021 年)与事件后视图为 Vantor WorldView 影像;河流路径为 GeoPera 的重建结果。目击者视频链接到其原始帖子,拍摄时间未经核实。",
|
||||
"That story is not available here": "该故事在此处不可用",
|
||||
"DRAFT": "草稿",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "尚未保存为故事的草稿。在“创作”中使用“保存到 STORIES”即可保存。",
|
||||
"Heading to next stop": "前往下一站",
|
||||
"Arriving at a stop": "即将到站",
|
||||
"Stopped at a stop": "停靠站点",
|
||||
"Wikipedia": "维基百科",
|
||||
"Wikidata": "维基数据",
|
||||
"Website": "网站",
|
||||
"Phase": "阶段",
|
||||
"Flight level": "飞行高度层",
|
||||
"Mach": "马赫",
|
||||
"Squawk {code}": "应答机编码 {code}",
|
||||
"Signal": "信号",
|
||||
"Civilian, in the air": "民用,空中",
|
||||
"Military, in the air": "军用,空中",
|
||||
"On the ground": "地面",
|
||||
"Motion": "运动",
|
||||
"Operator": "运营商",
|
||||
"Last reported": "最近报告",
|
||||
"Crowding": "拥挤程度",
|
||||
"Class": "类别",
|
||||
"Magnitude": "震级",
|
||||
"Labels": "标签",
|
||||
"3D aircraft": "3D 飞机",
|
||||
"M{mag} earthquake": "{mag} 级地震",
|
||||
"Earthquake": "地震",
|
||||
"{n} kt winds": "风速 {n} 节",
|
||||
"Wildfire": "野火",
|
||||
"{n} acres": "{n} 英亩",
|
||||
"{n}% contained": "已控制 {n}%",
|
||||
"prescribed burn": "计划烧除",
|
||||
"{count} satellite fire hits": {
|
||||
"other": "{count} 个卫星火点"
|
||||
},
|
||||
"last day": "过去一天",
|
||||
"Conditions unknown": "天气未知",
|
||||
"Partly cloudy": "局部多云",
|
||||
"Overcast": "阴",
|
||||
"Fog": "雾",
|
||||
"Drizzle": "毛毛雨",
|
||||
"Rain": "雨",
|
||||
"Snow": "雪",
|
||||
"Rain showers": "阵雨",
|
||||
"Snow showers": "阵雪",
|
||||
"Thunderstorm": "雷暴",
|
||||
"Mixed conditions": "天气多变",
|
||||
"Search {name} and nearby": "搜索 {name} 及附近",
|
||||
"Search what is in view": "搜索视野内内容",
|
||||
"Close Context search": "关闭态势搜索",
|
||||
"Search in Context": "在态势中搜索",
|
||||
"Close search": "关闭搜索",
|
||||
"Shrink Context back to a panel": "将态势缩回面板",
|
||||
"Expand Context to a full-height column": "将态势展开为全高栏",
|
||||
"Context tabs": "态势标签页",
|
||||
"Inspector": "检查器",
|
||||
"Properties": "属性",
|
||||
"Level": "等级",
|
||||
"Last {n} min": "最近 {n} 分钟",
|
||||
"Just now": "刚刚",
|
||||
"Since selected": "自选中起",
|
||||
"Altitude": "高度",
|
||||
"Heading": "航向",
|
||||
"Field of view": "视场",
|
||||
"Camera frame": "摄像头画面",
|
||||
"Acquiring frame…": "正在获取画面…",
|
||||
"Show a bigger view": "放大查看",
|
||||
"Camera view": "摄像头视图",
|
||||
"More info": "更多信息",
|
||||
"{n} s ago": "{n} 秒前",
|
||||
"{n} min ago": "{n} 分钟前",
|
||||
"{n} h ago": "{n} 小时前",
|
||||
"{n} d ago": "{n} 天前",
|
||||
"Out of feed · last reading": "已离开数据源 · 最后读数",
|
||||
"Live · {age}": "实时 · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "更新于 {age}",
|
||||
"Selected on the map": "地图上的选中项",
|
||||
"Close card": "关闭卡片",
|
||||
"{n}% flown": "已飞 {n}%",
|
||||
"to go": "剩余",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "该航班号的计划航线与飞机位置不符,可能是同一航班的另一航段。",
|
||||
"Scheduled · unverified: does not match where the plane is": "计划 · 未核实:与飞机位置不符",
|
||||
"Nothing in this item’s details matches “{text}”.": "此项详情中没有与“{text}”匹配的内容。",
|
||||
"Matching details": "匹配的详情",
|
||||
"Enter orbital view": "进入轨道视图",
|
||||
"Enter Cockpit": "进入座舱",
|
||||
"Fly to": "飞往",
|
||||
"Following": "跟随中",
|
||||
"Follow": "跟随",
|
||||
"Ask GEV about {name}": "向 GEV 询问 {name}",
|
||||
"Flights within {radius}": "{radius} 内的航班",
|
||||
"No flights within {radius} from the layers that are on.": "已开启的图层中 {radius} 内没有航班。",
|
||||
"Vessels within {radius}": "{radius} 内的船舶",
|
||||
"No vessels within {radius} from the layers that are on.": "已开启的图层中 {radius} 内没有船舶。",
|
||||
"Cloud": "云量",
|
||||
"Visibility": "能见度",
|
||||
"Conditions here": "此处状况",
|
||||
"feels {n}°": "体感 {n}°",
|
||||
"Reading conditions here…": "正在读取此处状况…",
|
||||
"No weather reading here.": "此处没有天气数据。",
|
||||
"Local solar time": "当地太阳时",
|
||||
"Nearby radius": "附近半径",
|
||||
"How far out the nearby lists look": "附近列表的范围",
|
||||
"Hazards within {radius}": "{radius} 内的灾害",
|
||||
"Turns the layer on": "开启该图层",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "{radius} 内未报告地震、热带风暴或野火。",
|
||||
"Broadcast alerts within {radius}": "{radius} 内的广播警报",
|
||||
"Also within {radius}": "{radius} 内的其他项",
|
||||
"Local news": "本地新闻",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "日晷 · 太阳时 {time} · 太阳 {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "日晷 · 太阳时 {time} · 太阳在地平线下",
|
||||
"{count} things": {
|
||||
"other": "{count} 项"
|
||||
},
|
||||
"{count} layers": {
|
||||
"other": "{count} 个图层"
|
||||
},
|
||||
"{things} in view from {layers}": "视野内有来自 {layers} 的 {things}",
|
||||
"{n} km up": "高 {n} km",
|
||||
"{n} m up": "高 {n} m",
|
||||
"This view": "当前视图",
|
||||
"Day": "白天",
|
||||
"Twilight": "晨昏",
|
||||
"Night": "夜间",
|
||||
"Daylight": "日照",
|
||||
"sun {n}°": "太阳 {n}°",
|
||||
"Of {n} read, {total} loaded": "读取 {n} 个,已加载 {total} 个",
|
||||
"Of all {n}": "全部 {n} 个中",
|
||||
"Of {n} in view": "视野内 {n} 个中",
|
||||
"Error": "错误",
|
||||
"Stale": "已过时",
|
||||
"In view": "视野内",
|
||||
"Globe view": "地球视图",
|
||||
"Nothing selected": "未选中任何内容",
|
||||
"Worldwide now": "全球当前",
|
||||
"Turn on {name}": "开启 {name}",
|
||||
"{n} loaded": "已加载 {n}",
|
||||
"{n} in view": "视野内 {n}",
|
||||
"Turn off {name}": "关闭 {name}",
|
||||
"Camera height": "相机高度",
|
||||
"Nothing in view matches “{text}”.": "视野内没有与“{text}”匹配的内容。",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "已开启的图层在此处视野内没有内容。缩小以查看更多。",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "已加载的图层在视野内都没有内容。请在数据图层中开启一些。",
|
||||
"Places in view": "视野内的地点",
|
||||
"Show here": "在此显示",
|
||||
"Ask GEV what's here": "问问 GEV 这里有什么",
|
||||
"aircraft": "飞机",
|
||||
"vessel": "船舶",
|
||||
"launch": "发射",
|
||||
"fire": "火点",
|
||||
"Fire detection": "火点探测",
|
||||
"fire perimeter": "火场范围",
|
||||
"earthquake": "地震",
|
||||
"storm": "风暴",
|
||||
"air quality station": "空气质量站",
|
||||
"installation": "设施",
|
||||
"dam": "水坝",
|
||||
"data centre": "数据中心",
|
||||
"place": "地点",
|
||||
"vehicle": "车辆",
|
||||
"bike station": "单车站",
|
||||
"plate reader": "车牌识别器",
|
||||
"camera": "摄像头",
|
||||
"airspace": "空域",
|
||||
"sighting": "目击",
|
||||
"Callsign": "呼号",
|
||||
"Registration": "注册号",
|
||||
"Aircraft class": "机型类别",
|
||||
"Course": "航线",
|
||||
"Vertical rate": "垂直速率",
|
||||
"Squawk": "应答机编码",
|
||||
"Emergency": "紧急情况",
|
||||
"Last contact": "最后联系",
|
||||
"Ship type": "船舶类型",
|
||||
"Destination": "目的地",
|
||||
"Depth": "深度",
|
||||
"Time": "时间",
|
||||
"Place": "地点",
|
||||
"Fire power": "火点功率",
|
||||
"Satellite": "卫星",
|
||||
"Sensor": "传感器",
|
||||
"Detected": "探测时间",
|
||||
"Contained": "已控制",
|
||||
"Discovered": "发现时间",
|
||||
"Basin": "海域",
|
||||
"Index": "指数",
|
||||
"Health risk": "健康风险",
|
||||
"Bikes": "单车",
|
||||
"Docks": "车桩",
|
||||
"Floor": "下限",
|
||||
"Ceiling": "上限",
|
||||
"Active": "生效时间",
|
||||
"NORAD ID": "NORAD 编号",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "容量",
|
||||
"Output": "输出",
|
||||
"River": "河流",
|
||||
"City": "城市",
|
||||
"State": "州",
|
||||
"Street": "街道",
|
||||
"Opened": "启用",
|
||||
"Height": "高度",
|
||||
"IT load": "IT 负载",
|
||||
"Waterway": "水道",
|
||||
"Military": "军用",
|
||||
"Land use": "土地用途",
|
||||
"Telecom": "电信",
|
||||
"feature": "要素",
|
||||
"Empty": "空车",
|
||||
"Many seats free": "空座较多",
|
||||
"Few seats free": "空座较少",
|
||||
"Standing room only": "仅剩站位",
|
||||
"Crowded": "拥挤",
|
||||
"Not taking passengers": "不载客",
|
||||
"Major hurricane": "强飓风",
|
||||
"Typhoon": "台风",
|
||||
"Super typhoon": "超强台风",
|
||||
"Tropical cyclone": "热带气旋",
|
||||
"Prescribed burn": "计划烧除",
|
||||
"Atlantic": "大西洋",
|
||||
"Eastern Pacific": "东太平洋",
|
||||
"Central Pacific": "中太平洋",
|
||||
"Western Pacific": "西太平洋",
|
||||
"Indian Ocean": "印度洋",
|
||||
"Southern Hemisphere": "南半球",
|
||||
"Cable tram": "缆索电车",
|
||||
"Aerial lift": "空中缆车",
|
||||
"Fishing": "渔船",
|
||||
"Tug": "拖船",
|
||||
"Sailing": "帆船",
|
||||
"Pleasure craft": "游艇",
|
||||
"Pilot vessel": "引航船",
|
||||
"Search and rescue": "搜救船",
|
||||
"Law enforcement": "执法船",
|
||||
"High-speed craft": "高速船",
|
||||
"Passenger": "客船",
|
||||
"Cargo": "货船",
|
||||
"Tanker": "油轮",
|
||||
"Yes": "是",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "劫机(应答机编码 7500)",
|
||||
"Radio failure (squawk 7600)": "无线电故障(应答机编码 7600)",
|
||||
"Emergency (squawk 7700)": "紧急情况(应答机编码 7700)",
|
||||
"Emergency: {kind}": "紧急情况:{kind}",
|
||||
"Emergency declared": "已宣布紧急情况",
|
||||
"Tsunami warning issued": "已发布海啸警报",
|
||||
"VFR, no flight plan": "VFR,无飞行计划",
|
||||
"VFR conspicuity": "VFR 识别码",
|
||||
"IFR, no code yet": "IFR,尚未分配编码",
|
||||
"Hijack": "劫机",
|
||||
"Climbing {n} ft/min": "爬升 {n} ft/min",
|
||||
"Descending {n} ft/min": "下降 {n} ft/min",
|
||||
"Cruising, level": "巡航,平飞",
|
||||
"Airliners": "客机",
|
||||
"Widebodies": "宽体机",
|
||||
"Business jets": "公务机",
|
||||
"Helicopters": "直升机",
|
||||
"Turboprops": "涡桨飞机",
|
||||
"Fast jets": "高速喷气机",
|
||||
"Four-engine jets": "四发喷气机",
|
||||
"M6 and above": "M6 及以上",
|
||||
"M5 to 6": "M5 至 6",
|
||||
"M4 to 5": "M4 至 5",
|
||||
"Below M4": "M4 以下",
|
||||
"{kind} {name}": "{kind}{name}",
|
||||
"place|Country": "国家",
|
||||
"altitude|Level": "平飞",
|
||||
"{h} h {m} min": "{h} 小时 {m} 分钟",
|
||||
"{n} min": "{n} 分钟",
|
||||
"{speed} {direction}": "{direction}风 {speed}",
|
||||
"{n} mm": "{n} 毫米",
|
||||
"Scanning": "扫描中",
|
||||
"Route": "航线",
|
||||
"3D model": "3D 模型",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "驾驶舱视角",
|
||||
"KT": "kt",
|
||||
"Course to {code}: {course}": "前往 {code} 的航向:{course}",
|
||||
"Over {place}": "{place}上空",
|
||||
"Below": "下方"
|
||||
}
|
||||
@@ -2335,6 +2335,7 @@
|
||||
"Release Space to send": "鬆開空格鍵發送",
|
||||
"Hold Space to talk": "按住空格鍵說話",
|
||||
"Ask or command": "提問或下達指令",
|
||||
"Voice is disabled in Stories.": "故事模式下語音控制已停用。",
|
||||
"Voice off": "語音已關閉",
|
||||
"VOICE UNAVAILABLE": "語音不可用",
|
||||
"VOICE ACTIVE": "語音已啟用",
|
||||
@@ -3571,5 +3572,461 @@
|
||||
"Search layers…": "搜尋圖層…",
|
||||
"Layer groups": "圖層分組",
|
||||
"Jump to {name}": "跳至{name}",
|
||||
"No layers match": "沒有符合的圖層"
|
||||
"No layers match": "沒有符合的圖層",
|
||||
"A GEV scene, played on the live globe.": "在即時地球上播放的 GEV 場景。",
|
||||
"Drag the map to explore · Resume any time": "拖動地圖進行探索 · 隨時可繼續",
|
||||
"Region": "地區",
|
||||
"Europe": "歐洲",
|
||||
"Middle East": "中東",
|
||||
"South Asia": "南亞",
|
||||
"East Asia": "東亞",
|
||||
"Length": "時長",
|
||||
"Under 1 min": "不到 1 分鐘",
|
||||
"1 min or more": "1 分鐘及以上",
|
||||
"Shots": "鏡頭",
|
||||
"Layers on": "已開啟的圖層",
|
||||
"Stories": "故事",
|
||||
"NEW": "新",
|
||||
"GEV Stories": "GEV 故事",
|
||||
"Curated, interactive views of what is happening on Earth. Play one, take over the map whenever you like, then pick the story back up.": "精選的互動視圖,呈現地球上正在發生的事。播放一個故事,隨時接管地圖,然後再繼續觀看。",
|
||||
"Browse stories": "瀏覽故事",
|
||||
"Not now": "以後再說",
|
||||
"Opened in GEV": "已在 GEV 中打開",
|
||||
"Back to story": "返回故事",
|
||||
"GEV Stories explore": "GEV 故事探索",
|
||||
"Resize story list": "調整故事列表大小",
|
||||
"Story list size. Drag, or press to change": "故事列表大小。拖動或按下以更改",
|
||||
"{n} of {count} stories": {
|
||||
"other": "第 {n} 個,共 {count} 個故事"
|
||||
},
|
||||
"Sort stories": "故事排序",
|
||||
"Newest": "最新",
|
||||
"Longest": "最長",
|
||||
"A–Z": "按名稱",
|
||||
"{count} filters on": {
|
||||
"other": "已啟用 {count} 個篩選"
|
||||
},
|
||||
"Filters": "篩選",
|
||||
"Search stories": "搜索故事",
|
||||
"Search stories, places, creators": "搜索故事、地點、創作者",
|
||||
"Clear search": "清除搜尋",
|
||||
"Topics": "主題",
|
||||
"Filter stories": "篩選故事",
|
||||
"Show {count} stories": {
|
||||
"other": "顯示 {count} 個故事"
|
||||
},
|
||||
"No stories match": "沒有符合的故事",
|
||||
"Try another word or clear the filters.": "請換個關鍵詞或清除篩選。",
|
||||
"Clear all": "全部清除",
|
||||
"STORY": "故事",
|
||||
"Play {title}": "播放 {title}",
|
||||
"Play story": "播放故事",
|
||||
"Preview {title}": "預覽 {title}",
|
||||
"Click to preview": "點擊預覽",
|
||||
"Click to play": "點擊播放",
|
||||
"Tap to play": "輕觸播放",
|
||||
"Pick a story or a pin to preview it here": "選擇一個故事或標記,在此預覽",
|
||||
"Story": "故事",
|
||||
"{what} link copied": "{what}鏈接已複製",
|
||||
"Copy this link: {url}": "複製此鏈接:{url}",
|
||||
"Back to stories": "返回故事列表",
|
||||
"Back to the globe": "返回地球",
|
||||
"Breadcrumb": "導航路徑",
|
||||
"Globe": "地球",
|
||||
"Share": "分享",
|
||||
"Back to GEV": "返回 GEV",
|
||||
"Chapter {n}": "第 {n} 章",
|
||||
"Context. Swipe up or press to open": "背景資訊。上滑或按下以打開",
|
||||
"Context. Swipe down or press to close": "背景資訊。下滑或按下以關閉",
|
||||
"Search this story": "在此故事中搜索",
|
||||
"Voice search (not in this build)": "語音搜索 (此版本不支援)",
|
||||
"Search results": "搜索結果",
|
||||
"Nothing in this story matches.": "此故事中沒有符合項目。",
|
||||
"Chapters": "章節",
|
||||
"now": "現在",
|
||||
"About": "簡介",
|
||||
"by {creator}": "作者:{creator}",
|
||||
"Key moments": "關鍵時刻",
|
||||
"Sources": "來源",
|
||||
"Background": "背景",
|
||||
"Related stories": "相關故事",
|
||||
"Story link copied": "故事鏈接已複製",
|
||||
"You": "你",
|
||||
"Open this moment in GEV": "在 GEV 中打開此時刻",
|
||||
"Open": "打開",
|
||||
"Share this story": "分享此故事",
|
||||
"GEV Story": "GEV 故事",
|
||||
"Story card": "故事卡片",
|
||||
"Chapter": "章節",
|
||||
"CHAPTER {n} / {total}": "第 {n} 章 / {total}",
|
||||
"ON THE MAP": "地圖上",
|
||||
"Right now": "當前",
|
||||
"RIGHT NOW": "當前",
|
||||
"Minimise card": "最小化卡片",
|
||||
"Expand card": "展開卡片",
|
||||
"Card pages": "卡片頁面",
|
||||
"Resize context panel": "調整背景資訊面板大小",
|
||||
"Swipe up for context": "上滑查看背景資訊",
|
||||
"Chapter start": "章節開始",
|
||||
"Story time": "故事時間",
|
||||
"chapter": "章節",
|
||||
"Key moment: {label}": "關鍵時刻:{label}",
|
||||
"Exit expanded map": "退出放大地圖",
|
||||
"Expand map": "放大地圖",
|
||||
"Exit cockpit to open Stories": "請先退出座艙,再開啟故事",
|
||||
"Stories could not load. Check the connection and try again.": "無法載入故事。請檢查網路連線後重試。",
|
||||
"Shot {n} of {total}": "鏡頭 {n}/{total}",
|
||||
"GEV scene": "GEV 場景",
|
||||
"SAVE TO STORIES": "儲存到 STORIES",
|
||||
"REMOVE FROM STORIES": "從 STORIES 移除",
|
||||
"Show this scene on the Stories page": "在 Stories 頁面顯示此場景",
|
||||
"Take this scene off the Stories page": "將此場景從 Stories 頁面移除",
|
||||
"Saved to Stories": "已儲存到 Stories",
|
||||
"Removed from Stories": "已從 Stories 移除",
|
||||
"A scene you made in GEV, played on the live globe.": "你在 GEV 中製作的場景,在即時地球上播放。",
|
||||
"Floods": "洪水",
|
||||
"Wildfires": "山火",
|
||||
"Storms": "風暴",
|
||||
"Earthquakes": "地震",
|
||||
"Maritime": "海事",
|
||||
"Space": "太空",
|
||||
"Conflict": "衝突",
|
||||
"Climate": "氣候",
|
||||
"Switch to Esri World Imagery to capture a thumbnail": "請切換至 Esri World Imagery 以擷取縮圖",
|
||||
"Thumbnail could not be captured": "無法擷取縮圖",
|
||||
"Thumbnail captured": "已擷取縮圖",
|
||||
"Stories tags": "故事標籤",
|
||||
"Story thumbnail": "故事縮圖",
|
||||
"Use the current view as the Stories card image": "將目前檢視用作故事卡片圖片",
|
||||
"Aircraft positions come from ADS-B: the OpenSky Network’s worldwide snapshot, with adsb.lol where OpenSky has none.": "飛機位置來自 ADS-B:OpenSky Network 的全球快照,OpenSky 沒有資料的地方由 adsb.lol 補充。",
|
||||
"Live-flight fallback (ODbL 1.0)": "即時航班備用來源 (ODbL 1.0)",
|
||||
"Satellite orbits are propagated from CelesTrak’s current element sets.": "衛星軌道根據 CelesTrak 目前的軌道根數推算。",
|
||||
"Earthquakes come from the U.S. Geological Survey’s live feed.": "地震資料來自美國地質調查局 (USGS) 的即時資料流。",
|
||||
"Traffic": "交通",
|
||||
"Road traffic; live congestion needs your own TomTom key.": "道路交通;即時壅塞需要你自己的 TomTom 金鑰。",
|
||||
"Live traffic flow, with your own key": "即時交通流量,需使用你自己的金鑰",
|
||||
"Live air traffic around the world: the Atlantic, Europe, Japan and San Francisco.": "全球即時空中交通:大西洋、歐洲、日本和舊金山。",
|
||||
"The Atlantic": "大西洋",
|
||||
"Western Europe": "西歐",
|
||||
"Japan": "日本",
|
||||
"San Francisco Bay Area": "舊金山灣區",
|
||||
"Pull back over the Atlantic": "在大西洋上空拉遠",
|
||||
"Satellites in orbit, watched from over Florida, Africa, Tokyo and Paris.": "在軌衛星,從佛羅里達、非洲、東京和巴黎上空觀看。",
|
||||
"Over Florida": "佛羅里達上空",
|
||||
"Over Africa": "非洲上空",
|
||||
"Over Tokyo": "東京上空",
|
||||
"Over Paris": "巴黎上空",
|
||||
"Recent earthquakes in the thermal look: California, Japan, New Zealand and off Portugal.": "熱成像風格下的近期地震:加利福尼亞、日本、紐西蘭和葡萄牙外海。",
|
||||
"California": "加利福尼亞",
|
||||
"New Zealand": "紐西蘭",
|
||||
"Off Portugal": "葡萄牙外海",
|
||||
"Flights, satellites and traffic together over New York, Los Angeles and London.": "紐約、洛杉磯和倫敦上空的航班、衛星與交通。",
|
||||
"New York, closer": "紐約,更近",
|
||||
"New York, closer still": "紐約,再近一些",
|
||||
"Every live layer at once, pulling back from Tokyo to the whole planet.": "同時顯示所有即時圖層,從東京拉遠到整個地球。",
|
||||
"Tokyo, pulling back": "東京,拉遠",
|
||||
"Japan and East Asia": "日本與東亞",
|
||||
"South China Sea": "南海",
|
||||
"The whole globe": "整個地球",
|
||||
"The 26 August 2026 Bhote Koshi outburst flood in Nepal, followed down the valley to Trishuli.": "2026 年 8 月 26 日尼泊爾 Bhote Koshi 潰決洪水,沿河谷而下追蹤至 Trishuli。",
|
||||
"Reconstructed flood path (CC BY-NC 4.0)": "重建的洪水路徑 (CC BY-NC 4.0)",
|
||||
"THUMBNAIL": "縮圖",
|
||||
"Worldwide live-flight snapshot (non-commercial research and education licence)": "全球即時航班快照(非商業研究與教育授權)",
|
||||
"Satellite element sets and catalogue (U.S. government data)": "衛星軌道根數與目錄(美國政府資料)",
|
||||
"Satellite operators, owners and purposes": "衛星營運者、擁有者與用途",
|
||||
"Earthquake feed (U.S. public domain)": "地震資料流(美國公有領域)",
|
||||
"Historical and post-event satellite imagery (CC BY-NC 4.0)": "歷史與事件後衛星影像 (CC BY-NC 4.0)",
|
||||
"A visualization of the 26 August 2026 Bhote Koshi outburst flood, not an official hazard model. The historical (2021) and post-event views are Vantor WorldView imagery; the river’s path is GeoPera’s reconstruction. Witness clips link to their original posts, and their capture times are unverified.": "這是 2026 年 8 月 26 日 Bhote Koshi 潰決洪水的視覺化,並非官方災害模型。歷史(2021 年)與事件後畫面為 Vantor WorldView 影像;河流路徑為 GeoPera 的重建結果。目擊者影片連結到其原始貼文,拍攝時間未經核實。",
|
||||
"That story is not available here": "該故事在此處無法使用",
|
||||
"DRAFT": "草稿",
|
||||
"A draft, not saved as a story yet. Use SAVE TO STORIES in AUTHORING to save it.": "尚未儲存為故事的草稿。在「創作」中使用「儲存到 STORIES」即可儲存。",
|
||||
"Heading to next stop": "前往下一站",
|
||||
"Arriving at a stop": "即將到站",
|
||||
"Stopped at a stop": "停靠站點",
|
||||
"Wikipedia": "維基百科",
|
||||
"Wikidata": "維基數據",
|
||||
"Website": "網站",
|
||||
"Phase": "階段",
|
||||
"Flight level": "飛行高度層",
|
||||
"Mach": "馬赫",
|
||||
"Squawk {code}": "應答機編碼 {code}",
|
||||
"Signal": "訊號",
|
||||
"Civilian, in the air": "民用,空中",
|
||||
"Military, in the air": "軍用,空中",
|
||||
"On the ground": "地面",
|
||||
"Motion": "運動",
|
||||
"Operator": "營運商",
|
||||
"Last reported": "最近報告",
|
||||
"Crowding": "擁擠程度",
|
||||
"Class": "類別",
|
||||
"Magnitude": "震級",
|
||||
"Labels": "標籤",
|
||||
"3D aircraft": "3D 飛機",
|
||||
"M{mag} earthquake": "{mag} 級地震",
|
||||
"Earthquake": "地震",
|
||||
"{n} kt winds": "風速 {n} 節",
|
||||
"Wildfire": "野火",
|
||||
"{n} acres": "{n} 英畝",
|
||||
"{n}% contained": "已控制 {n}%",
|
||||
"prescribed burn": "計畫燒除",
|
||||
"{count} satellite fire hits": {
|
||||
"other": "{count} 個衛星火點"
|
||||
},
|
||||
"last day": "過去一天",
|
||||
"Conditions unknown": "天氣未知",
|
||||
"Partly cloudy": "局部多雲",
|
||||
"Overcast": "陰",
|
||||
"Fog": "霧",
|
||||
"Drizzle": "毛毛雨",
|
||||
"Rain": "雨",
|
||||
"Snow": "雪",
|
||||
"Rain showers": "陣雨",
|
||||
"Snow showers": "陣雪",
|
||||
"Thunderstorm": "雷暴",
|
||||
"Mixed conditions": "天氣多變",
|
||||
"Search {name} and nearby": "搜尋 {name} 及附近",
|
||||
"Search what is in view": "搜尋視野內內容",
|
||||
"Close Context search": "關閉態勢搜尋",
|
||||
"Search in Context": "在態勢中搜尋",
|
||||
"Close search": "關閉搜尋",
|
||||
"Shrink Context back to a panel": "將態勢縮回面板",
|
||||
"Expand Context to a full-height column": "將態勢展開為全高欄",
|
||||
"Context tabs": "態勢分頁",
|
||||
"Inspector": "檢查器",
|
||||
"Properties": "屬性",
|
||||
"Level": "等級",
|
||||
"Last {n} min": "最近 {n} 分鐘",
|
||||
"Just now": "剛剛",
|
||||
"Since selected": "自選取起",
|
||||
"Altitude": "高度",
|
||||
"Heading": "航向",
|
||||
"Field of view": "視野",
|
||||
"Camera frame": "攝影機畫面",
|
||||
"Acquiring frame…": "正在取得畫面…",
|
||||
"Show a bigger view": "放大檢視",
|
||||
"Camera view": "攝影機視圖",
|
||||
"More info": "更多資訊",
|
||||
"{n} s ago": "{n} 秒前",
|
||||
"{n} min ago": "{n} 分鐘前",
|
||||
"{n} h ago": "{n} 小時前",
|
||||
"{n} d ago": "{n} 天前",
|
||||
"Out of feed · last reading": "已離開資料源 · 最後讀數",
|
||||
"Live · {age}": "實時 · {age}",
|
||||
"{n} m": "{n} m",
|
||||
"{n} km": "{n} km",
|
||||
"updated {age}": "更新於 {age}",
|
||||
"Selected on the map": "地圖上的選取項",
|
||||
"Close card": "關閉卡片",
|
||||
"{n}% flown": "已飛 {n}%",
|
||||
"to go": "剩餘",
|
||||
"The scheduled route for this flight number does not match where the plane is; it may be another leg of the same flight.": "該航班號的計畫航線與飛機位置不符,可能是同一航班的另一航段。",
|
||||
"Scheduled · unverified: does not match where the plane is": "計畫 · 未核實:與飛機位置不符",
|
||||
"Nothing in this item’s details matches “{text}”.": "此項詳情中沒有與「{text}」相符的內容。",
|
||||
"Matching details": "相符的詳情",
|
||||
"Enter orbital view": "進入軌道視圖",
|
||||
"Enter Cockpit": "進入座艙",
|
||||
"Fly to": "飛往",
|
||||
"Following": "跟隨中",
|
||||
"Follow": "跟隨",
|
||||
"Ask GEV about {name}": "向 GEV 詢問 {name}",
|
||||
"Flights within {radius}": "{radius} 內的航班",
|
||||
"No flights within {radius} from the layers that are on.": "已開啟的圖層中 {radius} 內沒有航班。",
|
||||
"Vessels within {radius}": "{radius} 內的船舶",
|
||||
"No vessels within {radius} from the layers that are on.": "已開啟的圖層中 {radius} 內沒有船舶。",
|
||||
"Cloud": "雲量",
|
||||
"Visibility": "能見度",
|
||||
"Conditions here": "此處狀況",
|
||||
"feels {n}°": "體感 {n}°",
|
||||
"Reading conditions here…": "正在讀取此處狀況…",
|
||||
"No weather reading here.": "此處沒有天氣資料。",
|
||||
"Local solar time": "當地太陽時",
|
||||
"Nearby radius": "附近半徑",
|
||||
"How far out the nearby lists look": "附近清單的範圍",
|
||||
"Hazards within {radius}": "{radius} 內的災害",
|
||||
"Turns the layer on": "開啟該圖層",
|
||||
"No earthquakes, tropical storms or wildfires reported within {radius}.": "{radius} 內未報告地震、熱帶風暴或野火。",
|
||||
"Broadcast alerts within {radius}": "{radius} 內的廣播警報",
|
||||
"Also within {radius}": "{radius} 內的其他項",
|
||||
"Local news": "本地新聞",
|
||||
"Sundial · {time} solar · sun {deg}° {dir}": "日晷 · 太陽時 {time} · 太陽 {deg}° {dir}",
|
||||
"Sundial · {time} solar · sun below the horizon": "日晷 · 太陽時 {time} · 太陽在地平線下",
|
||||
"{count} things": {
|
||||
"other": "{count} 項"
|
||||
},
|
||||
"{count} layers": {
|
||||
"other": "{count} 個圖層"
|
||||
},
|
||||
"{things} in view from {layers}": "視野內有來自 {layers} 的 {things}",
|
||||
"{n} km up": "高 {n} km",
|
||||
"{n} m up": "高 {n} m",
|
||||
"This view": "目前視圖",
|
||||
"Day": "白天",
|
||||
"Twilight": "晨昏",
|
||||
"Night": "夜間",
|
||||
"Daylight": "日照",
|
||||
"sun {n}°": "太陽 {n}°",
|
||||
"Of {n} read, {total} loaded": "讀取 {n} 個,已載入 {total} 個",
|
||||
"Of all {n}": "全部 {n} 個中",
|
||||
"Of {n} in view": "視野內 {n} 個中",
|
||||
"Error": "錯誤",
|
||||
"Stale": "已過時",
|
||||
"In view": "視野內",
|
||||
"Globe view": "地球視圖",
|
||||
"Nothing selected": "未選取任何內容",
|
||||
"Worldwide now": "全球目前",
|
||||
"Turn on {name}": "開啟 {name}",
|
||||
"{n} loaded": "已載入 {n}",
|
||||
"{n} in view": "視野內 {n}",
|
||||
"Turn off {name}": "關閉 {name}",
|
||||
"Camera height": "相機高度",
|
||||
"Nothing in view matches “{text}”.": "視野內沒有與「{text}」相符的內容。",
|
||||
"Nothing from the layers that are on is in view here. Zoom out to see more.": "已開啟的圖層在此處視野內沒有內容。縮小以檢視更多。",
|
||||
"No loaded layer has anything in view. Turn some on in Data Layers.": "已載入的圖層在視野內都沒有內容。請在數據圖層中開啟一些。",
|
||||
"Places in view": "視野內的地點",
|
||||
"Show here": "在此顯示",
|
||||
"Ask GEV what's here": "問問 GEV 這裡有什麼",
|
||||
"aircraft": "飛機",
|
||||
"vessel": "船舶",
|
||||
"launch": "發射",
|
||||
"fire": "火點",
|
||||
"Fire detection": "火點偵測",
|
||||
"fire perimeter": "火場範圍",
|
||||
"earthquake": "地震",
|
||||
"storm": "風暴",
|
||||
"air quality station": "空氣品質站",
|
||||
"installation": "設施",
|
||||
"dam": "水壩",
|
||||
"data centre": "資料中心",
|
||||
"place": "地點",
|
||||
"vehicle": "車輛",
|
||||
"bike station": "單車站",
|
||||
"plate reader": "車牌辨識器",
|
||||
"camera": "攝影機",
|
||||
"airspace": "空域",
|
||||
"sighting": "目擊",
|
||||
"Callsign": "呼號",
|
||||
"Registration": "註冊號",
|
||||
"Aircraft class": "機型類別",
|
||||
"Course": "航線",
|
||||
"Vertical rate": "垂直速率",
|
||||
"Squawk": "應答機編碼",
|
||||
"Emergency": "緊急情況",
|
||||
"Last contact": "最後聯繫",
|
||||
"Ship type": "船舶類型",
|
||||
"Destination": "目的地",
|
||||
"Depth": "深度",
|
||||
"Time": "時間",
|
||||
"Place": "地點",
|
||||
"Fire power": "火點功率",
|
||||
"Satellite": "衛星",
|
||||
"Sensor": "感測器",
|
||||
"Detected": "偵測時間",
|
||||
"Contained": "已控制",
|
||||
"Discovered": "發現時間",
|
||||
"Basin": "海域",
|
||||
"Index": "指數",
|
||||
"Health risk": "健康風險",
|
||||
"Bikes": "單車",
|
||||
"Docks": "車樁",
|
||||
"Floor": "下限",
|
||||
"Ceiling": "上限",
|
||||
"Active": "生效時間",
|
||||
"NORAD ID": "NORAD 編號",
|
||||
"MMSI": "MMSI",
|
||||
"ICAO24": "ICAO24",
|
||||
"Capacity": "容量",
|
||||
"Output": "輸出",
|
||||
"River": "河流",
|
||||
"City": "城市",
|
||||
"State": "州",
|
||||
"Street": "街道",
|
||||
"Opened": "啟用",
|
||||
"Height": "高度",
|
||||
"IT load": "IT 負載",
|
||||
"Waterway": "水道",
|
||||
"Military": "軍用",
|
||||
"Land use": "土地用途",
|
||||
"Telecom": "電信",
|
||||
"feature": "要素",
|
||||
"Empty": "空車",
|
||||
"Many seats free": "空座較多",
|
||||
"Few seats free": "空座較少",
|
||||
"Standing room only": "僅剩站位",
|
||||
"Crowded": "擁擠",
|
||||
"Not taking passengers": "不載客",
|
||||
"Major hurricane": "強颶風",
|
||||
"Typhoon": "颱風",
|
||||
"Super typhoon": "超強颱風",
|
||||
"Tropical cyclone": "熱帶氣旋",
|
||||
"Prescribed burn": "計畫燒除",
|
||||
"Atlantic": "大西洋",
|
||||
"Eastern Pacific": "東太平洋",
|
||||
"Central Pacific": "中太平洋",
|
||||
"Western Pacific": "西太平洋",
|
||||
"Indian Ocean": "印度洋",
|
||||
"Southern Hemisphere": "南半球",
|
||||
"Cable tram": "纜索電車",
|
||||
"Aerial lift": "空中纜車",
|
||||
"Fishing": "漁船",
|
||||
"Tug": "拖船",
|
||||
"Sailing": "帆船",
|
||||
"Pleasure craft": "遊艇",
|
||||
"Pilot vessel": "引航船",
|
||||
"Search and rescue": "搜救船",
|
||||
"Law enforcement": "執法船",
|
||||
"High-speed craft": "高速船",
|
||||
"Passenger": "客船",
|
||||
"Cargo": "貨船",
|
||||
"Tanker": "油輪",
|
||||
"Yes": "是",
|
||||
"{n} ft": "{n} ft",
|
||||
"{n} km/s": "{n} km/s",
|
||||
"{n} km/h": "{n} km/h",
|
||||
"{n} kt": "{n} kn",
|
||||
"{n} ft/min": "{n} ft/min",
|
||||
"{n}°": "{n}°",
|
||||
"M {n}": "M {n}",
|
||||
"{n} MW": "{n} MW",
|
||||
"{n}%": "{n}%",
|
||||
"{n} hPa": "{n} hPa",
|
||||
"Hijack (squawk 7500)": "劫機(應答機編碼 7500)",
|
||||
"Radio failure (squawk 7600)": "無線電故障(應答機編碼 7600)",
|
||||
"Emergency (squawk 7700)": "緊急情況(應答機編碼 7700)",
|
||||
"Emergency: {kind}": "緊急情況:{kind}",
|
||||
"Emergency declared": "已宣布緊急情況",
|
||||
"Tsunami warning issued": "已發布海嘯警報",
|
||||
"VFR, no flight plan": "VFR,無飛行計畫",
|
||||
"VFR conspicuity": "VFR 識別碼",
|
||||
"IFR, no code yet": "IFR,尚未分配編碼",
|
||||
"Hijack": "劫機",
|
||||
"Climbing {n} ft/min": "爬升 {n} ft/min",
|
||||
"Descending {n} ft/min": "下降 {n} ft/min",
|
||||
"Cruising, level": "巡航,平飛",
|
||||
"Airliners": "客機",
|
||||
"Widebodies": "廣體機",
|
||||
"Business jets": "公務機",
|
||||
"Helicopters": "直升機",
|
||||
"Turboprops": "渦槳飛機",
|
||||
"Fast jets": "高速噴射機",
|
||||
"Four-engine jets": "四發噴射機",
|
||||
"M6 and above": "M6 及以上",
|
||||
"M5 to 6": "M5 至 6",
|
||||
"M4 to 5": "M4 至 5",
|
||||
"Below M4": "M4 以下",
|
||||
"{kind} {name}": "{kind}{name}",
|
||||
"place|Country": "國家",
|
||||
"altitude|Level": "平飛",
|
||||
"{h} h {m} min": "{h} 小時 {m} 分鐘",
|
||||
"{n} min": "{n} 分鐘",
|
||||
"{speed} {direction}": "{direction}風 {speed}",
|
||||
"{n} mm": "{n} 毫米",
|
||||
"Scanning": "掃描中",
|
||||
"Route": "航線",
|
||||
"3D model": "3D 模型",
|
||||
"3D": "3D",
|
||||
"Cockpit view": "駕駛艙視角",
|
||||
"KT": "kt",
|
||||
"Course to {code}: {course}": "前往 {code} 的航向:{course}",
|
||||
"Over {place}": "{place}上空",
|
||||
"Below": "下方"
|
||||
}
|
||||
+287
-13
@@ -47,7 +47,16 @@
|
||||
"▲ {frp} MW",
|
||||
"ICAO: {id}",
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}"
|
||||
"NORAD: {id}",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{speed} {direction}",
|
||||
"3D"
|
||||
],
|
||||
"de": [
|
||||
"1090 MHz",
|
||||
@@ -252,7 +261,42 @@
|
||||
"OPT-IN",
|
||||
"{minutes} min",
|
||||
"1 min/s",
|
||||
"Status"
|
||||
"Status",
|
||||
"Region",
|
||||
"Wind (km/h)",
|
||||
"Story",
|
||||
"STORY",
|
||||
"Japan",
|
||||
"Wikipedia",
|
||||
"Wikidata",
|
||||
"Website",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"Signal",
|
||||
"Magnitude",
|
||||
"Live · {age}",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"Squawk",
|
||||
"Sensor",
|
||||
"Index",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"Tanker",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n} hPa",
|
||||
"Turboprops",
|
||||
"{kind} {name}",
|
||||
"{n} mm",
|
||||
"Route",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"es": [
|
||||
"1 min/s",
|
||||
@@ -417,7 +461,36 @@
|
||||
"NORAD: {id}",
|
||||
"Regional",
|
||||
"{datasets} · {tiles} · {packs}",
|
||||
"VIRTUAL"
|
||||
"VIRTUAL",
|
||||
"Sensor",
|
||||
"{count} acres",
|
||||
"California",
|
||||
"Wikipedia",
|
||||
"Wikidata",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"{n} acres",
|
||||
"Inspector",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"Error",
|
||||
"Squawk",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{h} h {m} min",
|
||||
"{n} min",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"fr": [
|
||||
"1 min/s",
|
||||
@@ -641,7 +714,41 @@
|
||||
"Orthophoto",
|
||||
"Oblique",
|
||||
"Type",
|
||||
"{range} NM"
|
||||
"{range} NM",
|
||||
"Maritime",
|
||||
"Europe",
|
||||
"Globe",
|
||||
"Sources",
|
||||
"Wikidata",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"Signal",
|
||||
"Magnitude",
|
||||
"{n} acres",
|
||||
"Altitude",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"installation",
|
||||
"Squawk",
|
||||
"Destination",
|
||||
"Satellite",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"Cargo",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{h} h {m} min",
|
||||
"{n} min",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"it": [
|
||||
"1 min/s",
|
||||
@@ -848,7 +955,34 @@
|
||||
"NORAD: {id}",
|
||||
"DATASET",
|
||||
"{count} datasets",
|
||||
"ZOOM"
|
||||
"ZOOM",
|
||||
"followers",
|
||||
"California",
|
||||
"Wikipedia",
|
||||
"Wikidata",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"Squawk",
|
||||
"Satellite",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{h} h {m} min",
|
||||
"{n} min",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"ja": [
|
||||
"1090 MHz",
|
||||
@@ -914,7 +1048,25 @@
|
||||
"▲ {frp} MW",
|
||||
"ICAO: {id}",
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}"
|
||||
"NORAD: {id}",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"NORAD ID",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} kt",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"pt": [
|
||||
"1 min/s",
|
||||
@@ -1079,7 +1231,36 @@
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}",
|
||||
"Regional",
|
||||
"VIRTUAL"
|
||||
"VIRTUAL",
|
||||
"Sensor",
|
||||
"{count} acres",
|
||||
"Wikidata",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"Magnitude",
|
||||
"{n} acres",
|
||||
"Altitude",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"Squawk",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} kt",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{h} h {m} min",
|
||||
"{n} min",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"ru": [
|
||||
"1900–1945",
|
||||
@@ -1116,7 +1297,15 @@
|
||||
"ICAO: {id}",
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}",
|
||||
"{datasets} · {tiles} · {packs}"
|
||||
"{datasets} · {tiles} · {packs}",
|
||||
"NORAD ID",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n}%",
|
||||
"{kind} {name}",
|
||||
"3D"
|
||||
],
|
||||
"sv": [
|
||||
"STATION",
|
||||
@@ -1277,7 +1466,39 @@
|
||||
"ICAO: {id}",
|
||||
"NORAD: {id}",
|
||||
"MMSI: {id}",
|
||||
"Status"
|
||||
"Status",
|
||||
"Region",
|
||||
"Japan",
|
||||
"Wikipedia",
|
||||
"Wikidata",
|
||||
"Mach",
|
||||
"Squawk {code}",
|
||||
"Signal",
|
||||
"{n} acres",
|
||||
"Live · {age}",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"storm",
|
||||
"Squawk",
|
||||
"Destination",
|
||||
"Sensor",
|
||||
"Index",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"{h} h {m} min",
|
||||
"{n} min",
|
||||
"{n} mm",
|
||||
"3D",
|
||||
"KT"
|
||||
],
|
||||
"uk": [
|
||||
"1900–1945",
|
||||
@@ -1308,7 +1529,15 @@
|
||||
"{division}, {country}",
|
||||
"ICAO: {id}",
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}"
|
||||
"NORAD: {id}",
|
||||
"NORAD ID",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n}%",
|
||||
"{kind} {name}",
|
||||
"3D"
|
||||
],
|
||||
"zh-CN": [
|
||||
"1090 MHz",
|
||||
@@ -1379,7 +1608,21 @@
|
||||
"CC BY 4.0",
|
||||
"acartia.io ↗",
|
||||
"iNaturalist ↗",
|
||||
"iNaturalist"
|
||||
"iNaturalist",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"3D"
|
||||
],
|
||||
"zh-Hant": [
|
||||
"1090 MHz",
|
||||
@@ -1450,7 +1693,21 @@
|
||||
"CC BY 4.0",
|
||||
"acartia.io ↗",
|
||||
"iNaturalist ↗",
|
||||
"iNaturalist"
|
||||
"iNaturalist",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"3D"
|
||||
],
|
||||
"he": [
|
||||
"{speed} kn",
|
||||
@@ -1550,6 +1807,23 @@
|
||||
"Ironbow",
|
||||
"ICAO: {id}",
|
||||
"MMSI: {id}",
|
||||
"NORAD: {id}"
|
||||
"NORAD: {id}",
|
||||
"{n} m",
|
||||
"{n} km",
|
||||
"MMSI",
|
||||
"ICAO24",
|
||||
"{n} ft",
|
||||
"{n} km/s",
|
||||
"{n} km/h",
|
||||
"{n} kt",
|
||||
"{n} ft/min",
|
||||
"{n}°",
|
||||
"M {n}",
|
||||
"{n} MW",
|
||||
"{n}%",
|
||||
"{n} hPa",
|
||||
"{kind} {name}",
|
||||
"3D",
|
||||
"KT"
|
||||
]
|
||||
}
|
||||
@@ -222,9 +222,14 @@ export function createPanel({ state: layerState, parts }) {
|
||||
ensurePanel();
|
||||
layerState.panelRenders += 1;
|
||||
const { subject, cohorts } = layerState.results;
|
||||
const windowLabel = t('{distance} FLIGHT / VESSEL WINDOW', {
|
||||
distance: presentAwarenessDistance(AWARENESS_RADIUS_M),
|
||||
});
|
||||
publish({
|
||||
kind: 'results',
|
||||
subject: `${subject.label} · ${t('{distance} FLIGHT / VESSEL WINDOW', { distance: presentAwarenessDistance(AWARENESS_RADIUS_M) })}`,
|
||||
subject: `${subject.label} · ${windowLabel}`,
|
||||
subjectIdentity: { layerId: subject.layerId, id: subject.id },
|
||||
subjectLabel: subject.label,
|
||||
subjectNames: presentNames(subject.memberNames),
|
||||
photo: presentPhoto(subject),
|
||||
navigation: presentNavigation(),
|
||||
|
||||
@@ -246,6 +246,19 @@ export function createQueries({
|
||||
* routeDestination: string|null}}
|
||||
*/
|
||||
|
||||
/** An airport at one end of a route, when it has a position. */
|
||||
function routeEnd(airport) {
|
||||
const lat = Number(airport?.lat ?? airport?.latitude);
|
||||
const lon = Number(airport?.lon ?? airport?.longitude);
|
||||
if (!Number.isFinite(lat) || !Number.isFinite(lon)) return null;
|
||||
return {
|
||||
code: String(airport?.code ?? '').trim() || null,
|
||||
name: String(airport?.name ?? airport?.municipality ?? '').trim() || null,
|
||||
lat,
|
||||
lon,
|
||||
};
|
||||
}
|
||||
|
||||
function mapAnalystRecord(
|
||||
icao24,
|
||||
info,
|
||||
@@ -275,6 +288,9 @@ export function createQueries({
|
||||
// A converted contact reports the class it RENDERS as, so an analyst
|
||||
// filter/superlative agrees with the triangle on screen.
|
||||
aircraftClass: tr3bAircraftClass(icao24, text(info?.klass)),
|
||||
// What picks its fleet model, for the context card's turning model.
|
||||
typeCode: text(info?.typeCode),
|
||||
category: info?.category ?? null,
|
||||
originCountry: text(info?.originCountry),
|
||||
operator: text(info?.airline),
|
||||
squawk: text(info?.squawk),
|
||||
@@ -293,6 +309,19 @@ export function createQueries({
|
||||
lastContactAtMs: num(info?.lastContactEpochMs),
|
||||
routeOrigin: routeOk ? text(info?.route?.origin?.code) : null,
|
||||
routeDestination: routeOk ? text(info?.route?.destination?.code) : null,
|
||||
// The airports themselves, for the context card's route globe.
|
||||
routeFrom: routeOk ? routeEnd(info?.route?.origin) : null,
|
||||
routeTo: routeOk ? routeEnd(info?.route?.destination) : null,
|
||||
// The scheduled route when it does not fit where the plane is (often
|
||||
// another leg of the same flight number): the card shows it marked
|
||||
// unverified, everything else still treats the flight as routeless.
|
||||
routeScheduled:
|
||||
!routeOk && info?.route?.origin?.code && info?.route?.destination?.code
|
||||
? {
|
||||
from: text(info.route.origin.code),
|
||||
to: text(info.route.destination.code),
|
||||
}
|
||||
: null,
|
||||
};
|
||||
}
|
||||
const methods = {
|
||||
@@ -748,6 +777,18 @@ export function createQueries({
|
||||
return result;
|
||||
},
|
||||
|
||||
/**
|
||||
* Ask for an aircraft's scheduled route (origin and destination airports),
|
||||
* as tracking does; it lands on the record when the lookup answers.
|
||||
* @param {string} icao24
|
||||
*/
|
||||
requestRoute(icao24) {
|
||||
if (icao24)
|
||||
parts.enrichment._requestRouteEnrichment(
|
||||
String(icao24).trim().toLowerCase(),
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
* Start camera-tracking an aircraft by ICAO24 address.
|
||||
* @param {string} icao24 - ICAO 24-bit transponder address.
|
||||
|
||||
@@ -163,7 +163,7 @@ export function createLifecycle({
|
||||
// has none), cut short and in capitals as the mission index shows names.
|
||||
// Registered once; off, the layer has no time to show, and each step tells
|
||||
// the clock once it has settled.
|
||||
worldClock.register({
|
||||
const clockSource = {
|
||||
id: 'rocket-launches',
|
||||
coverage: () => {
|
||||
if (!layerState._enabled) return null;
|
||||
@@ -184,11 +184,15 @@ export function createLifecycle({
|
||||
if (!marks.length) return null;
|
||||
return { start: marks[0].time, end: marks.at(-1).time, marks };
|
||||
},
|
||||
});
|
||||
};
|
||||
// Unregistered on destroy, so a page that builds the app again holds no old layer; init
|
||||
// registers it again.
|
||||
let uncover = worldClock.register(clockSource);
|
||||
|
||||
const methods = {
|
||||
init(viewer) {
|
||||
layerState._viewer = viewer;
|
||||
uncover ??= worldClock.register(clockSource);
|
||||
layerState._enabled = false;
|
||||
parts.panel.createMissionPanel();
|
||||
parts.overlays.createReplayVehicleOverlay();
|
||||
@@ -324,6 +328,8 @@ export function createLifecycle({
|
||||
|
||||
async destroy(viewer) {
|
||||
hover?.destroy();
|
||||
uncover?.();
|
||||
uncover = null;
|
||||
hover = null;
|
||||
layerState._sourceController.abort();
|
||||
releaseContinuousRender('rocket-launches'); // direct-destroy path (perf wave 2 fix)
|
||||
|
||||
@@ -16,7 +16,7 @@ export function createLifecycle({
|
||||
// While on with a catalog, satellites can be shown at any time in reach of
|
||||
// their element sets. Registered once; off, the layer has no time to show,
|
||||
// and each step tells the clock once it has settled.
|
||||
worldClock.register({
|
||||
const clockSource = {
|
||||
id: 'satellites',
|
||||
coverage: () => {
|
||||
if (!layerState._enabled || !layerState._catalog.size) return null;
|
||||
@@ -26,7 +26,10 @@ export function createLifecycle({
|
||||
end: now + SATELLITE_COVERAGE_MS,
|
||||
};
|
||||
},
|
||||
});
|
||||
};
|
||||
// Unregistered on destroy, so a page that builds the app again holds no old layer; init
|
||||
// registers it again.
|
||||
let uncover = worldClock.register(clockSource);
|
||||
const { holdContinuousRender, releaseContinuousRender } = services.render;
|
||||
const { registerPickOwner, unregisterPickOwner } = services.picking;
|
||||
|
||||
@@ -39,6 +42,7 @@ export function createLifecycle({
|
||||
// Catalog data refresh; propagation remains preRender-owned.
|
||||
|
||||
async init(viewer) {
|
||||
uncover ??= worldClock.register(clockSource);
|
||||
// Asked first: a viewer without one fails before anything is built.
|
||||
const frame = frameOf(viewer);
|
||||
parts.catalog._abortActiveUpdates();
|
||||
@@ -154,6 +158,8 @@ export function createLifecycle({
|
||||
|
||||
destroy(viewer) {
|
||||
parts.catalog._abortActiveUpdates();
|
||||
uncover?.();
|
||||
uncover = null;
|
||||
releaseContinuousRender('satellites'); // direct-destroy path (perf wave 2 fix)
|
||||
layerState._enabled = false;
|
||||
parts.tracking._clearTracking();
|
||||
|
||||
@@ -5,6 +5,7 @@ import http from 'node:http';
|
||||
import { EventEmitter, once } from 'node:events';
|
||||
import test from 'node:test';
|
||||
import * as Cesium from 'cesium';
|
||||
import { worldClock } from '../../time/worldClock.js';
|
||||
import { createSatelliteSource } from './source.js';
|
||||
import { createState } from './state.js';
|
||||
import { createControls } from './controls.js';
|
||||
@@ -309,3 +310,28 @@ test('destroy aborts an in-flight response and initialization starts with new ow
|
||||
assert.equal(f.stats().count, CORE.length);
|
||||
assert.equal(f.feed(), 'nominal');
|
||||
});
|
||||
|
||||
test('destroy takes the layer off the world clock, and init puts it back', async (t) => {
|
||||
// Each registration the layer makes, while it stands.
|
||||
const register = worldClock.register;
|
||||
const standing = new Set();
|
||||
worldClock.register = (source) => {
|
||||
standing.add(source);
|
||||
const off = register.call(worldClock, source);
|
||||
return () => {
|
||||
standing.delete(source);
|
||||
off();
|
||||
};
|
||||
};
|
||||
t.after(() => {
|
||||
worldClock.register = register;
|
||||
});
|
||||
const f = await fixture(t);
|
||||
const mine = () =>
|
||||
[...standing].filter(({ id }) => id === 'satellites').length;
|
||||
assert.equal(mine(), 1);
|
||||
f.parts.lifecycle.methods.destroy(f.viewer);
|
||||
assert.equal(mine(), 0);
|
||||
await f.parts.lifecycle.methods.init(f.viewer);
|
||||
assert.equal(mine(), 1);
|
||||
});
|
||||
@@ -5,12 +5,23 @@ import {
|
||||
transitDetectionClass,
|
||||
transitDetectionId,
|
||||
transitDetectionMetric,
|
||||
vehicleReportTimeMs,
|
||||
} from './policy.js';
|
||||
import {
|
||||
TRANSIT_ENABLED_FEEDS,
|
||||
getRegisteredTransitFeed,
|
||||
transitRouteLabel,
|
||||
} from '../../data/transitFeeds.js';
|
||||
import { transitModeTier } from '../../data/transitPresetStyle.js';
|
||||
import { displayMotion } from './movement.js';
|
||||
|
||||
/** The display's motion word as a record field for the Context card. */
|
||||
const MOTION_FIELD = Object.freeze({
|
||||
'EN ROUTE': 'moving',
|
||||
STOPPED: 'stopped',
|
||||
WAITING: 'waiting',
|
||||
'NO FIX': 'no-fix',
|
||||
});
|
||||
|
||||
/** Regions, not feeds: one region can carry several feeds (Rio has two). */
|
||||
const TRANSIT_REGION_COUNT = new Set(
|
||||
@@ -211,10 +222,14 @@ export function createQueries({ state, parts }) {
|
||||
* query engine. On demand only (once per spoken query); [] while the
|
||||
* layer is off.
|
||||
* @param {number} [maxCount=Infinity] Most records to return.
|
||||
* @returns {Array<Object>} {id, label, routeId, mode, lat, lon, speedMps, courseDeg, status, occupancy}.
|
||||
* @returns {Array<Object>} {id, label, routeId, mode, lat, lon, speedMps, courseDeg, status, occupancy},
|
||||
* plus `key` (the layer's own vehicle key, which a map click carries),
|
||||
* `route`, `operator`, `place`, `observedMs` and `motion` (what the
|
||||
* display shows: moving, stopped, waiting or no-fix) for the Context card.
|
||||
*/
|
||||
getAnalystRecords(maxCount = Infinity) {
|
||||
if (!state._enabled) return [];
|
||||
const now = Date.now();
|
||||
const num = (v) => (Number.isFinite(v) ? v : null);
|
||||
const result = [];
|
||||
for (const entry of state._vehicles.values()) {
|
||||
@@ -222,6 +237,8 @@ export function createQueries({ state, parts }) {
|
||||
const record = entry.record || {};
|
||||
if (!Number.isFinite(record.lat) || !Number.isFinite(record.lon))
|
||||
continue;
|
||||
const feed = feedForEntry(state, entry);
|
||||
const reportedMs = vehicleReportTimeMs(record, entry.fetchedAt);
|
||||
result.push({
|
||||
id: record.label || record.id || entry.key,
|
||||
label: record.label || null,
|
||||
@@ -233,6 +250,15 @@ export function createQueries({ state, parts }) {
|
||||
courseDeg: num(entry.courseDeg ?? record.bearing),
|
||||
status: record.status || null,
|
||||
occupancy: record.occupancy || null,
|
||||
key: entry.key,
|
||||
route:
|
||||
record.routeId && feed
|
||||
? transitRouteLabel(feed, record.routeId)
|
||||
: record.routeId || null,
|
||||
operator: feed?.name || null,
|
||||
place: feed?.region || null,
|
||||
observedMs: Number.isFinite(reportedMs) ? reportedMs : null,
|
||||
motion: MOTION_FIELD[displayMotion(entry, now).word] || null,
|
||||
});
|
||||
}
|
||||
return result;
|
||||
|
||||
@@ -175,3 +175,44 @@ test('a vessel snapshot at a time the source drops for a newer one is no failure
|
||||
assert.equal(probe.feed.loading, false);
|
||||
assert.deepEqual(probe.applied, []);
|
||||
});
|
||||
|
||||
test('back at live, the live poll goes out at once even while a snapshot at a time was still loading', async () => {
|
||||
const queries = [];
|
||||
const probe = ingestion({
|
||||
getSnapshot(query, { signal }) {
|
||||
queries.push(query);
|
||||
if (query.atMs === undefined)
|
||||
return Promise.resolve({
|
||||
records: [{ id: '111', latitude: 1, longitude: 2, observedAtMs: 5 }],
|
||||
observedAtMs: 5,
|
||||
freshness: 'current',
|
||||
complete: true,
|
||||
transportStatus: 'live',
|
||||
});
|
||||
// A snapshot at a time answers only when dropped.
|
||||
return new Promise((_, reject) =>
|
||||
signal.addEventListener('abort', () => {
|
||||
const error = new Error('aborted');
|
||||
error.name = 'AbortError';
|
||||
reject(error);
|
||||
}),
|
||||
);
|
||||
},
|
||||
});
|
||||
probe.state.follows = true;
|
||||
const timeline = new AbortController();
|
||||
const atTime = probe.loadAt(5_000, {
|
||||
signal: timeline.signal,
|
||||
replace: true,
|
||||
});
|
||||
// The clock goes back to live: the timeline drops what loads and resumes
|
||||
// the live poll in the same turn.
|
||||
probe.state.follows = false;
|
||||
timeline.abort();
|
||||
const live = probe.loadLivePositions({});
|
||||
await assert.rejects(atTime, { name: 'AbortError' });
|
||||
await live;
|
||||
assert.equal(queries.length, 2);
|
||||
assert.equal(Object.hasOwn(queries[1], 'atMs'), false);
|
||||
assert.equal(probe.applied.at(-1).rows.length, 1);
|
||||
});
|
||||
@@ -27,9 +27,20 @@ export function createIngestion({
|
||||
async function loadLivePositions(viewer) {
|
||||
// Following the world clock, the layer shows the snapshots loadAt applies.
|
||||
if (followsClock()) return;
|
||||
// Back at live, a snapshot at a time still loading no longer applies:
|
||||
// it would hold the live poll back until the next refresh.
|
||||
if (feed.loading && feed.loadingAtTime) dropLoad();
|
||||
await loadPositions(viewer);
|
||||
}
|
||||
|
||||
/** Let go of the load in flight, so another can start now. */
|
||||
function dropLoad() {
|
||||
feed.abort?.abort();
|
||||
feed.loading = false;
|
||||
feed.loadingAtTime = false;
|
||||
feed.abort = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply the source's snapshot at world time `atMs` (its timeline says it
|
||||
* can answer one), in place of every vessel when `replace`. Resolves
|
||||
@@ -41,11 +52,7 @@ export function createIngestion({
|
||||
async function loadAt(atMs, { signal = null, replace = false } = {}) {
|
||||
// Whatever polls or loads for another time no longer applies: the
|
||||
// timeline asks for one time at a time.
|
||||
if (feed.loading) {
|
||||
feed.abort?.abort();
|
||||
feed.loading = false;
|
||||
feed.abort = null;
|
||||
}
|
||||
if (feed.loading) dropLoad();
|
||||
return loadPositions(readViewer(), { atMs, replace, signal });
|
||||
}
|
||||
|
||||
@@ -53,6 +60,7 @@ export function createIngestion({
|
||||
const timed = atMs !== undefined;
|
||||
if (!viewer || feed.loading) return false;
|
||||
feed.loading = true;
|
||||
feed.loadingAtTime = timed;
|
||||
feed.loadingLabel = feed.loaded ? 'refreshing...' : 'loading...';
|
||||
const requestController = new AbortController();
|
||||
const requestSessionId = feed.sessionId;
|
||||
@@ -113,6 +121,10 @@ export function createIngestion({
|
||||
ownsAisRequest(requestController, requestSessionId) &&
|
||||
error?.name !== 'AbortError'
|
||||
) {
|
||||
// The key is missing only while the source says so; any other
|
||||
// failure is an outage, not a key to add.
|
||||
feed.transportStatus =
|
||||
error?.code === 'key-required' ? 'missing-key' : null;
|
||||
markUnavailable(error?.message || msg('AIS live load failed'));
|
||||
console.warn('[Data:ais-live-vessels]', feed.error, error);
|
||||
}
|
||||
@@ -123,6 +135,7 @@ export function createIngestion({
|
||||
feed.sessionId === requestSessionId
|
||||
) {
|
||||
feed.loading = false;
|
||||
feed.loadingAtTime = false;
|
||||
feed.loadingLabel =
|
||||
feed.firstConnectPhase === 'loading' ? AIS_FIRST_CONNECT_LABEL : '';
|
||||
feed.abort = null;
|
||||
@@ -267,6 +280,8 @@ export function createVesselFeed() {
|
||||
return {
|
||||
enabled: false,
|
||||
loading: false,
|
||||
/** Whether the load in flight is a snapshot at a time, not a poll. */
|
||||
loadingAtTime: false,
|
||||
loaded: false,
|
||||
stale: false,
|
||||
partial: false,
|
||||
|
||||
@@ -147,3 +147,41 @@ test('vessels are asked for by the area in view, and again only when the view mo
|
||||
await ingestion.refreshIfMoved();
|
||||
assert.deepEqual(asked.at(-1), { maxRows: 500 });
|
||||
});
|
||||
|
||||
test('a source refusing for want of a key leaves the feed waiting for its key', async () => {
|
||||
const keyless = Object.assign(new Error('AISSTREAM_API_KEY not set'), {
|
||||
code: 'key-required',
|
||||
});
|
||||
const probe = setup({
|
||||
getSnapshot: async () => {
|
||||
throw keyless;
|
||||
},
|
||||
});
|
||||
await probe.methods.update();
|
||||
assert.equal(probe.feed.transportStatus, 'missing-key');
|
||||
assert.equal(probe.feed.error, 'AISSTREAM_API_KEY not set');
|
||||
const down = setup({
|
||||
getSnapshot: async () => {
|
||||
throw new Error('feed down');
|
||||
},
|
||||
});
|
||||
await down.methods.update();
|
||||
assert.notEqual(down.feed.transportStatus, 'missing-key');
|
||||
});
|
||||
|
||||
test('a source failing for another reason after a missing key is an outage, not a key to add', async () => {
|
||||
let fail = Object.assign(new Error('AISSTREAM_API_KEY not set'), {
|
||||
code: 'key-required',
|
||||
});
|
||||
const probe = setup({
|
||||
getSnapshot: async () => {
|
||||
throw fail;
|
||||
},
|
||||
});
|
||||
await probe.methods.update();
|
||||
assert.equal(probe.feed.transportStatus, 'missing-key');
|
||||
fail = new Error('feed down');
|
||||
await probe.methods.update();
|
||||
assert.equal(probe.feed.transportStatus, null);
|
||||
assert.equal(probe.feed.error, 'feed down');
|
||||
});
|
||||
@@ -133,7 +133,11 @@ export function createLifecycle({
|
||||
state.activeLabelCount = 0;
|
||||
state.selectedRecord = null;
|
||||
state.trail = null;
|
||||
state.trailHeadOff?.();
|
||||
state.trailHeadOff = null;
|
||||
state.trailPositions = [];
|
||||
state.trailTimes = [];
|
||||
state.trailBodyCount = -1;
|
||||
state.trailId = null;
|
||||
state.trailBackfillToken = 0;
|
||||
}
|
||||
|
||||
@@ -54,10 +54,94 @@ export function vesselPositionAt(record, tMs) {
|
||||
}
|
||||
|
||||
const RAD = Math.PI / 180;
|
||||
/** The mean Earth radius (metres) a span's length is judged on. */
|
||||
const EARTH_RADIUS_M = 6371008.8;
|
||||
|
||||
/**
|
||||
* The stretch of a vessel's track around world time `tMs`, as
|
||||
* vesselPositionAt draws it: between the last fix at or before the time and
|
||||
* the next one (`move`, which always ends after `tMs`), or where it holds
|
||||
* still (`hold`) before its first fix, after its last, or around a record's
|
||||
* one move; from when (`fromMs`) until when (`untilMs`) the answer holds.
|
||||
* Null for a vessel the clock never moves (no fixes and no move).
|
||||
* @param {object} record
|
||||
* @param {number} tMs
|
||||
* @returns {{kind: 'move', lat0: number, lon0: number, t0: number,
|
||||
* lat1: number, lon1: number, t1: number, metres: number}|
|
||||
* {kind: 'hold', lat: number, lon: number, fromMs: number,
|
||||
* untilMs: number}|null}
|
||||
*/
|
||||
export function vesselSpanAt(record, tMs) {
|
||||
if (!Number.isFinite(tMs)) return null;
|
||||
const fixes = record?.fixes;
|
||||
if (fixes?.length >= 2) {
|
||||
const first = fixes[0];
|
||||
const last = fixes[fixes.length - 1];
|
||||
if (tMs < first.atMs)
|
||||
return hold(first.lat, first.lon, -Infinity, first.atMs);
|
||||
if (tMs >= last.atMs) return hold(last.lat, last.lon, last.atMs, Infinity);
|
||||
// The first fix after the time: the one before it is at or before it.
|
||||
let low = 1;
|
||||
let high = fixes.length - 1;
|
||||
while (low < high) {
|
||||
const mid = (low + high) >> 1;
|
||||
if (fixes[mid].atMs <= tMs) low = mid + 1;
|
||||
else high = mid;
|
||||
}
|
||||
const a = fixes[low - 1];
|
||||
const b = fixes[low];
|
||||
return move(a.lat, a.lon, a.atMs, b.lat, b.lon, b.atMs);
|
||||
}
|
||||
const motion = record?.motion;
|
||||
if (!motion || !(motion.toMs > motion.fromMs)) return null;
|
||||
if (tMs < motion.fromMs)
|
||||
return hold(motion.fromLat, motion.fromLon, -Infinity, motion.fromMs);
|
||||
if (tMs >= motion.toMs)
|
||||
return hold(record.lat, record.lon, motion.toMs, Infinity);
|
||||
return move(
|
||||
motion.fromLat,
|
||||
motion.fromLon,
|
||||
motion.fromMs,
|
||||
motion.toLat,
|
||||
motion.toLon,
|
||||
motion.toMs,
|
||||
);
|
||||
}
|
||||
|
||||
const hold = (lat, lon, fromMs, untilMs) => ({
|
||||
kind: 'hold',
|
||||
lat,
|
||||
lon,
|
||||
fromMs,
|
||||
untilMs,
|
||||
});
|
||||
|
||||
function move(lat0, lon0, t0, lat1, lon1, t1) {
|
||||
return {
|
||||
kind: 'move',
|
||||
lat0,
|
||||
lon0,
|
||||
t0,
|
||||
lat1,
|
||||
lon1,
|
||||
t1,
|
||||
metres: greatCircleAngle(lat0, lon0, lat1, lon1) * EARTH_RADIUS_M,
|
||||
};
|
||||
}
|
||||
|
||||
/** The angle (radians) between two positions, seen from the Earth's centre. */
|
||||
function greatCircleAngle(lat1, lon1, lat2, lon2) {
|
||||
const phi1 = lat1 * RAD;
|
||||
const phi2 = lat2 * RAD;
|
||||
const s =
|
||||
Math.sin((phi2 - phi1) / 2) ** 2 +
|
||||
Math.cos(phi1) * Math.cos(phi2) * Math.sin(((lon2 - lon1) * RAD) / 2) ** 2;
|
||||
return 2 * Math.asin(Math.min(1, Math.sqrt(s)));
|
||||
}
|
||||
|
||||
/** The point `fraction` of the way from one position to another. It runs
|
||||
* for every drawn vessel as the clock plays, so it builds no arrays. */
|
||||
function greatCircleAt(lat1, lon1, lat2, lon2, fraction) {
|
||||
export function greatCircleAt(lat1, lon1, lat2, lon2, fraction) {
|
||||
const phi1 = lat1 * RAD;
|
||||
const lambda1 = lon1 * RAD;
|
||||
const phi2 = lat2 * RAD;
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { fixesMove, vesselPositionAt } from './motion.js';
|
||||
import {
|
||||
fixesMove,
|
||||
greatCircleAt,
|
||||
vesselPositionAt,
|
||||
vesselSpanAt,
|
||||
} from './motion.js';
|
||||
|
||||
const record = {
|
||||
lat: 1,
|
||||
@@ -61,3 +66,76 @@ test('fixes that stay in one place do not move a vessel', () => {
|
||||
);
|
||||
assert.equal(fixesMove(null), false);
|
||||
});
|
||||
|
||||
const fixes = [
|
||||
{ atMs: 1_000, lat: 0, lon: 0 },
|
||||
{ atMs: 2_000, lat: 0, lon: 1 },
|
||||
{ atMs: 3_000, lat: 1, lon: 1 },
|
||||
];
|
||||
|
||||
test('vesselSpanAt holds at the first fix before it, until it', () => {
|
||||
assert.deepEqual(vesselSpanAt({ fixes }, 500), {
|
||||
kind: 'hold',
|
||||
lat: 0,
|
||||
lon: 0,
|
||||
fromMs: -Infinity,
|
||||
untilMs: 1_000,
|
||||
});
|
||||
});
|
||||
|
||||
test('vesselSpanAt runs from the fix at or before the time to the next, ending after it', () => {
|
||||
for (const [atMs, t0, t1] of [
|
||||
[1_000, 1_000, 2_000],
|
||||
[1_999, 1_000, 2_000],
|
||||
[2_000, 2_000, 3_000],
|
||||
[2_500, 2_000, 3_000],
|
||||
]) {
|
||||
const span = vesselSpanAt({ fixes }, atMs);
|
||||
assert.equal(span.kind, 'move');
|
||||
assert.deepEqual([span.t0, span.t1], [t0, t1], `at ${atMs}`);
|
||||
assert.ok(span.t1 > atMs);
|
||||
}
|
||||
// A degree of longitude on the equator.
|
||||
assert.ok(Math.abs(vesselSpanAt({ fixes }, 1_500).metres - 111_195) < 10);
|
||||
});
|
||||
|
||||
test('vesselSpanAt holds at the last fix from it on', () => {
|
||||
assert.deepEqual(vesselSpanAt({ fixes }, 3_000), {
|
||||
kind: 'hold',
|
||||
lat: 1,
|
||||
lon: 1,
|
||||
fromMs: 3_000,
|
||||
untilMs: Infinity,
|
||||
});
|
||||
});
|
||||
|
||||
test("vesselSpanAt follows a record's one move, and nothing for none", () => {
|
||||
assert.equal(vesselSpanAt(record, 500).untilMs, 1_000);
|
||||
const span = vesselSpanAt(record, 1_500);
|
||||
assert.equal(span.kind, 'move');
|
||||
assert.deepEqual([span.lat0, span.lat1], [0, 1]);
|
||||
assert.deepEqual(vesselSpanAt(record, 9_000), {
|
||||
kind: 'hold',
|
||||
lat: 1,
|
||||
lon: 1,
|
||||
fromMs: record.motion.toMs,
|
||||
untilMs: Infinity,
|
||||
});
|
||||
assert.equal(vesselSpanAt({ lat: 1, lon: 1 }, 1_500), null);
|
||||
});
|
||||
|
||||
test('vesselSpanAt agrees with vesselPositionAt along the span', () => {
|
||||
for (const atMs of [1_000, 1_250, 2_000, 2_750]) {
|
||||
const span = vesselSpanAt({ fixes }, atMs);
|
||||
const at = greatCircleAt(
|
||||
span.lat0,
|
||||
span.lon0,
|
||||
span.lat1,
|
||||
span.lon1,
|
||||
(atMs - span.t0) / (span.t1 - span.t0),
|
||||
);
|
||||
const expected = vesselPositionAt({ fixes }, atMs);
|
||||
assert.ok(Math.abs(at.lat - expected.lat) < 1e-9);
|
||||
assert.ok(Math.abs(at.lon - expected.lon) < 1e-9);
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,284 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import * as Cesium from 'cesium';
|
||||
import { createVesselLayer } from './index.js';
|
||||
import { bindFakeCesiumScene } from '../../testSupport/fakeCesiumScene.mjs';
|
||||
|
||||
// Following the world clock on a renderer that moves icons along motion
|
||||
// segments on its own clock, each vessel's icon is drawn along its track
|
||||
// between two fixes, and the layer draws it again only when that runs out.
|
||||
|
||||
const noop = () => {};
|
||||
|
||||
function setup(t, { capabilities = new Set(['motionSegments']) } = {}) {
|
||||
const originalDocument = globalThis.document;
|
||||
globalThis.document = { getElementById: () => null };
|
||||
t.after(() => {
|
||||
if (originalDocument === undefined) delete globalThis.document;
|
||||
else globalThis.document = originalDocument;
|
||||
});
|
||||
const layer = createVesselLayer({
|
||||
source: { getSnapshot: async () => ({ records: [] }) },
|
||||
services: {
|
||||
context: {
|
||||
clearSelectedEntityContextForLayer: noop,
|
||||
registerEntityContext: () => null,
|
||||
},
|
||||
trails: {
|
||||
createTrail: () => ({ setPositions: noop, clear: noop, destroy: noop }),
|
||||
},
|
||||
labels: { formatKnots: (knots) => `${knots} kt` },
|
||||
picking: { unregisterPickOwner: noop },
|
||||
overlay: {
|
||||
setOverlayEntries: noop,
|
||||
setOverlaySourceVisible: noop,
|
||||
clearOverlaySource: noop,
|
||||
},
|
||||
geoid: {},
|
||||
sprites: {},
|
||||
focus: {
|
||||
focusNowMs: () => 0,
|
||||
getFocusTarget: () => null,
|
||||
focusPassIsNeeded: () => false,
|
||||
forgetSpriteFocus: noop,
|
||||
},
|
||||
worldFocus: {},
|
||||
render: {
|
||||
holdContinuousRender: noop,
|
||||
releaseContinuousRender: noop,
|
||||
governorRequestRender: noop,
|
||||
},
|
||||
},
|
||||
});
|
||||
const camera = {
|
||||
positionWC: { x: 0, y: 0, z: 7_000_000 },
|
||||
heading: 0,
|
||||
pitch: -1.2,
|
||||
roll: 0,
|
||||
};
|
||||
const viewer = { camera, scene: {} };
|
||||
const { draw } = bindFakeCesiumScene(viewer, { capabilities });
|
||||
layer.testing._setVesselStateForTest({ viewer, icons: null });
|
||||
layer.testing._setAisRuntimeForTest({
|
||||
now: () => 0,
|
||||
setTimeout: () => 0,
|
||||
clearTimeout: noop,
|
||||
});
|
||||
const icons = () =>
|
||||
[...draw.sets.values()].find(
|
||||
(record) => record.kind === 'icons' && !record.disposed,
|
||||
);
|
||||
return { layer, viewer, icons };
|
||||
}
|
||||
|
||||
const T = 1_000_000;
|
||||
/** Northbound off Rotterdam, a fix a minute (about 1.1 km apart). */
|
||||
const row = (fixes) => ({
|
||||
mmsi: '111',
|
||||
lat: fixes.at(-1).lat,
|
||||
lon: fixes.at(-1).lon,
|
||||
last_position_epoch: fixes.at(-1).atMs / 1000,
|
||||
fixes,
|
||||
});
|
||||
const minuteFixes = [
|
||||
{ atMs: T, lat: 51.93, lon: 4.05 },
|
||||
{ atMs: T + 60_000, lat: 51.94, lon: 4.05 },
|
||||
{ atMs: T + 120_000, lat: 51.95, lon: 4.05 },
|
||||
];
|
||||
|
||||
test('following the clock, an icon moves along its fixes on the scene clock and is drawn again only when that runs out', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
const set = icons();
|
||||
assert.deepEqual(set.spec.motionClock, { kind: 'scene' });
|
||||
let item = set.items.get('111');
|
||||
assert.equal(item.motion.kind, 'lerp');
|
||||
assert.deepEqual([item.motion.t0, item.motion.t1], [T, T + 60_000]);
|
||||
const writes = set.writes;
|
||||
// Within the stretch: the renderer moves it, the layer writes nothing.
|
||||
for (let atMs = T + 11_000; atMs < T + 60_000; atMs += 1_000)
|
||||
layer.testing._runClockPassForTest(atMs);
|
||||
assert.equal(set.writes, writes);
|
||||
// The stretch runs out: the next one is drawn, once.
|
||||
layer.testing._runClockPassForTest(T + 60_000);
|
||||
item = set.items.get('111');
|
||||
assert.deepEqual([item.motion.t0, item.motion.t1], [T + 60_000, T + 120_000]);
|
||||
assert.equal(set.writes, writes + 1);
|
||||
// Past the last fix, it holds there for good.
|
||||
layer.testing._runClockPassForTest(T + 200_000);
|
||||
assert.equal(set.items.get('111').motion.kind, 'hold');
|
||||
const held = set.writes;
|
||||
layer.testing._runClockPassForTest(T + 900_000);
|
||||
assert.equal(set.writes, held);
|
||||
});
|
||||
|
||||
test('a time moved back before the stretch drawn draws the one it is in', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T + 90_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T + 90_000);
|
||||
assert.equal(icons().items.get('111').motion.t0, T + 60_000);
|
||||
layer.testing._runClockPassForTest(T + 30_000);
|
||||
const item = icons().items.get('111');
|
||||
assert.deepEqual([item.motion.t0, item.motion.t1], [T, T + 60_000]);
|
||||
});
|
||||
|
||||
test('a long stretch between fixes is drawn a piece of at most 10 km at a time', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
// About 55.6 km in an hour: six pieces of ten minutes.
|
||||
const fixes = [
|
||||
{ atMs: T, lat: 51.5, lon: 4.05 },
|
||||
{ atMs: T + 3_600_000, lat: 52.0, lon: 4.05 },
|
||||
];
|
||||
layer.testing._followClockForTest(T + 700_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(fixes)]);
|
||||
layer.testing._runClockPassForTest(T + 700_000);
|
||||
const { motion } = icons().items.get('111');
|
||||
assert.deepEqual([motion.t0, motion.t1], [T + 600_000, T + 1_200_000]);
|
||||
});
|
||||
|
||||
test('going live, every icon holds again on the live clock', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
assert.equal(icons().items.get('111').motion.kind, 'lerp');
|
||||
layer.testing._followClockForTest(null);
|
||||
layer.testing._runLiveFrameForTest();
|
||||
assert.equal(icons().items.get('111').motion.kind, 'hold');
|
||||
assert.equal(icons().spec.motionClock.kind, 'live');
|
||||
});
|
||||
|
||||
test('a renderer without motion segments has the layer move each icon, as before', (t) => {
|
||||
const { layer, viewer, icons } = setup(t, { capabilities: new Set() });
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
assert.equal(icons().items.get('111').motion.kind, 'hold');
|
||||
assert.equal(icons().spec.motionClock, undefined);
|
||||
});
|
||||
|
||||
test('a vessel shows a minute before its first fix, and hides again when the time moves back before that', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T - 120_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T - 120_000);
|
||||
assert.equal(icons().items.get('111').show, false);
|
||||
layer.testing._runClockPassForTest(T - 60_000);
|
||||
assert.equal(icons().items.get('111').show, true);
|
||||
layer.testing._runClockPassForTest(T - 30_000);
|
||||
assert.equal(icons().items.get('111').show, true);
|
||||
layer.testing._runClockPassForTest(T - 90_000);
|
||||
assert.equal(icons().items.get('111').show, false);
|
||||
});
|
||||
|
||||
test('the detection overlay reads a vessel where it is at the time drawn', (t) => {
|
||||
const { layer, viewer } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(minuteFixes)]);
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
const record = layer.testing._vesselRecordForTest('111');
|
||||
const visual = layer.testing._vesselVisualForTest(record);
|
||||
visual.visible = true;
|
||||
// Mid-stretch, with no pass reading this vessel since.
|
||||
layer.testing._followClockForTest(T + 40_000);
|
||||
const [object] = layer.getDetectableObjects();
|
||||
assert.equal(object.sourceId, '111');
|
||||
assert.ok(Math.abs(visual.drawnLat - (51.93 + 0.01 * (40 / 60))) < 1e-6);
|
||||
});
|
||||
|
||||
/** Three vessels a little apart, each on the minute fixes. */
|
||||
const fleet = () =>
|
||||
['111', '222', '333'].map((mmsi, i) => ({
|
||||
...row(minuteFixes.map((fix) => ({ ...fix, lon: fix.lon + i * 0.01 }))),
|
||||
mmsi,
|
||||
}));
|
||||
const latAt = (atMs) => 51.93 + (0.01 * (atMs - T)) / 60_000;
|
||||
|
||||
test('positions asked of the layer are where the vessels are drawn at the time drawn', (t) => {
|
||||
const { layer, viewer } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, fleet());
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
// Mid-stretch, with no pass since.
|
||||
layer.testing._followClockForTest(T + 40_000);
|
||||
const latOf = (position) =>
|
||||
Cesium.Math.toDegrees(
|
||||
Cesium.Cartographic.fromCartesian(
|
||||
new Cesium.Cartesian3(position.x, position.y, position.z),
|
||||
).latitude,
|
||||
);
|
||||
const rows = layer.getAllPositions();
|
||||
assert.equal(rows.length, 3);
|
||||
for (const { id, position } of rows)
|
||||
assert.ok(Math.abs(latOf(position) - latAt(T + 40_000)) < 1e-5, id);
|
||||
// One vessel asked of by itself is brought there too.
|
||||
const record = layer.testing._vesselRecordForTest('222');
|
||||
const visual = layer.testing._vesselVisualForTest(record);
|
||||
layer.findByQuery('222');
|
||||
assert.ok(Math.abs(visual.drawnLat - latAt(T + 40_000)) < 1e-6);
|
||||
});
|
||||
|
||||
test('going live, every icon holds where its segment last drew it', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, fleet());
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
layer.testing._runClockPassForTest(T + 40_000);
|
||||
layer.testing._followClockForTest(null);
|
||||
layer.testing._runLiveFrameForTest();
|
||||
for (const id of ['111', '222', '333']) {
|
||||
const record = layer.testing._vesselRecordForTest(id);
|
||||
const visual = layer.testing._vesselVisualForTest(record);
|
||||
assert.ok(Math.abs(visual.drawnLat - latAt(T + 40_000)) < 1e-6, id);
|
||||
assert.deepEqual(icons().items.get(id).pos, visual.position);
|
||||
assert.equal(icons().items.get(id).motion.kind, 'hold');
|
||||
}
|
||||
});
|
||||
|
||||
test('a time on the end of a piece draws the next piece', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
// About 55.6 km in a little under an hour: six pieces, the first of whose
|
||||
// ends rounds into the piece before it.
|
||||
const fixes = [
|
||||
{ atMs: T, lat: 51.5, lon: 4.05 },
|
||||
{ atMs: T + 3_599_002, lat: 52.0, lon: 4.05 },
|
||||
];
|
||||
layer.testing._followClockForTest(T);
|
||||
layer.testing._reconcileVesselsForTest(viewer, [row(fixes)]);
|
||||
for (let k = 1; k < 6; k += 1) {
|
||||
const atMs = T + (3_599_002 * k) / 6;
|
||||
layer.testing._runClockPassForTest(atMs);
|
||||
const { motion } = icons().items.get('111');
|
||||
assert.ok(motion.t0 <= atMs && atMs < motion.t1, `piece ${k}`);
|
||||
}
|
||||
});
|
||||
|
||||
test('going live, a vessel a live update has drawn since stays where that drew it', (t) => {
|
||||
const { layer, viewer, icons } = setup(t);
|
||||
layer.testing._followClockForTest(T + 10_000);
|
||||
layer.testing._reconcileVesselsForTest(viewer, fleet());
|
||||
// A later fix while following: each record keeps the move to it.
|
||||
const later = { atMs: T + 180_000, lat: 51.96, lon: 4.05 };
|
||||
layer.testing._reconcileVesselsForTest(
|
||||
viewer,
|
||||
fleet()
|
||||
.map((r) => row([...r.fixes, { ...later, lon: r.lon }]))
|
||||
.map((r, i) => ({ ...r, mmsi: ['111', '222', '333'][i] })),
|
||||
);
|
||||
layer.testing._runClockPassForTest(T + 10_000);
|
||||
layer.testing._runClockPassForTest(T + 40_000);
|
||||
layer.testing._followClockForTest(null);
|
||||
// The live feed lands before the next frame, the ship further north.
|
||||
const live = fleet().map((row) => ({ ...row, lat: 52.1 }));
|
||||
layer.testing._reconcileVesselsForTest(viewer, live);
|
||||
layer.testing._runLiveFrameForTest();
|
||||
for (const id of ['111', '222', '333']) {
|
||||
const record = layer.testing._vesselRecordForTest(id);
|
||||
const visual = layer.testing._vesselVisualForTest(record);
|
||||
assert.equal(visual.drawnLat, 52.1, id);
|
||||
assert.deepEqual(icons().items.get(id).pos, visual.position);
|
||||
}
|
||||
});
|
||||
@@ -601,3 +601,21 @@ test('a virtual aid to navigation keeps its disc and its virtual flag', async ()
|
||||
assert.equal(layer.testing._vesselRecordForTest('993672009').virtual, true);
|
||||
assert.match(atob(icons.item('993672009').image.split(',')[1]), /<circle/);
|
||||
});
|
||||
|
||||
test('a feed with no AISStream key reports its key as required, and a live one does not', async () => {
|
||||
let current = snapshot([], {
|
||||
transportStatus: 'missing-key',
|
||||
complete: false,
|
||||
});
|
||||
const { layer } = setup({
|
||||
async getSnapshot() {
|
||||
return current;
|
||||
},
|
||||
});
|
||||
assert.equal(layer.requiresKeyId, 'aisstream');
|
||||
await layer.update();
|
||||
assert.equal(layer.getStats().keyRequired, true);
|
||||
current = snapshot([observation('111')]);
|
||||
await layer.update();
|
||||
assert.equal(layer.getStats().keyRequired, false);
|
||||
});
|
||||
@@ -53,6 +53,12 @@ export const TRAIL_MAX_POINTS = 400;
|
||||
|
||||
export const TRAIL_MIN_MOVE_M = 25;
|
||||
|
||||
/** Longest head (m) drawn from the trail's last drawn fix to the vessel: a
|
||||
* farther vessel (the clock jumped past the fixes the trail holds) keeps no
|
||||
* head until its fixes arrive. */
|
||||
|
||||
export const TRAIL_HEAD_MAX_M = 20000;
|
||||
|
||||
/** Whether the layer shows the world clock's time instead of the live feed:
|
||||
* its source declares a timeline and the clock is away from live. */
|
||||
export const followsClock = (vesselState) =>
|
||||
|
||||
@@ -299,6 +299,8 @@ export function createQueries({
|
||||
icon: '◭',
|
||||
|
||||
source: 'AISStream',
|
||||
// Without an AISStream key the feed cannot start; the panel names the key.
|
||||
requiresKeyId: 'aisstream',
|
||||
|
||||
updateInterval: REFRESH_MS,
|
||||
|
||||
@@ -366,7 +368,7 @@ export function createQueries({
|
||||
for (const record of records) {
|
||||
if (!Number.isFinite(record.lat) || !Number.isFinite(record.lon))
|
||||
continue;
|
||||
const position = components.rendering.iconPosition(record);
|
||||
const position = components.rendering.drawnPositionNow(record);
|
||||
if (!position) continue;
|
||||
const distanceM = distance(centerCartesian, position);
|
||||
if (!Number.isFinite(distanceM) || distanceM > range) continue;
|
||||
@@ -471,7 +473,7 @@ export function createQueries({
|
||||
|
||||
for (const record of records) {
|
||||
if (result.length >= cap) break;
|
||||
const position = components.rendering.iconPosition(record);
|
||||
const position = components.rendering.drawnPositionNow(record);
|
||||
if (!position) continue;
|
||||
result.push({
|
||||
id: record.id,
|
||||
@@ -664,6 +666,7 @@ export function createQueries({
|
||||
!visual.modelOwnsVisual
|
||||
)
|
||||
continue;
|
||||
components.rendering.readVesselNow(record);
|
||||
const position = visual.position;
|
||||
if (!position) continue;
|
||||
result.push({
|
||||
@@ -712,6 +715,7 @@ export function createQueries({
|
||||
? 'unavailable'
|
||||
: undefined,
|
||||
transportStatus: state.feed.transportStatus,
|
||||
keyRequired: state.feed.transportStatus === 'missing-key',
|
||||
lastMessageAt: state.feed.lastMessageAt,
|
||||
rawRowCount: state.feed.rawRowCount,
|
||||
acceptedRowCount: state.feed.acceptedRowCount,
|
||||
|
||||
+268
-11
@@ -16,6 +16,7 @@ import {
|
||||
findCamera,
|
||||
findFrame,
|
||||
findQuery,
|
||||
rendererOf,
|
||||
} from '../../render/rendererOf.js';
|
||||
import { poseSignature } from '../../render/camera/poseSignature.js';
|
||||
import { createVesselIconBook } from './iconBook.js';
|
||||
@@ -29,7 +30,12 @@ import {
|
||||
CARD_MIN_SEP_PX,
|
||||
followsClock,
|
||||
} from './policy.js';
|
||||
import { fixesMove, vesselPositionAt } from './motion.js';
|
||||
import {
|
||||
fixesMove,
|
||||
greatCircleAt,
|
||||
vesselPositionAt,
|
||||
vesselSpanAt,
|
||||
} from './motion.js';
|
||||
import { TIMELINE_UNSEEN_MS } from '../../time/timelineFixes.js';
|
||||
import {
|
||||
fleetModelSet,
|
||||
@@ -68,6 +74,11 @@ const CAMERA_STEP_FLOOR_M = 100;
|
||||
/** Scratch for where a moved vessel was drawn. */
|
||||
const _movedFrom = vec();
|
||||
|
||||
/** The longest piece (metres) of the track between two fixes an icon is
|
||||
* drawn along as one straight line on the renderer's clock: at 10 km the
|
||||
* line runs under 2 m inside the great circle the layer reads it on. */
|
||||
const SEGMENT_PIECE_M = 10000;
|
||||
|
||||
export function createRendering({
|
||||
vesselState,
|
||||
services,
|
||||
@@ -83,11 +94,27 @@ export function createRendering({
|
||||
return visualRecords.get(record) || record;
|
||||
}
|
||||
|
||||
/** Where a record's icon is drawn: its row holds at the visual position. */
|
||||
/** Where a record's icon is drawn: its row holds at the visual position
|
||||
* (brought up to the time drawn while the renderer moves the icons). */
|
||||
function iconPosition(record) {
|
||||
readVesselNow(record);
|
||||
return getVisual(record).position;
|
||||
}
|
||||
|
||||
/**
|
||||
* Where a record's icon is drawn now, for a reader of many vessels at
|
||||
* once: while the renderer moves the icons, its segment at the world time
|
||||
* (a new position each call); else the visual position, as iconPosition.
|
||||
*/
|
||||
function drawnPositionNow(record) {
|
||||
const visual = getVisual(record);
|
||||
if (!segmentsOn() || !visual.position) return visual.position;
|
||||
return (
|
||||
state.icons?.position(visual.iconId, vesselState.worldNow()) ??
|
||||
visual.position
|
||||
);
|
||||
}
|
||||
|
||||
function prepareRecordVisual(record) {
|
||||
let visual = visualRecords.get(record);
|
||||
if (!visual) {
|
||||
@@ -172,7 +199,9 @@ export function createRendering({
|
||||
fromDegreesInto(lon, lat, heightM - VESSEL_LIFT_M, visual.waterline);
|
||||
visual.drawnLat = lat;
|
||||
visual.drawnLon = lon;
|
||||
syncRecordIcon(record);
|
||||
// Moving on the renderer's clock, its icon is where it is already.
|
||||
if (segmentsOn()) visual.cullPosition = liftedForHorizon(visual.position);
|
||||
else syncRecordIcon(record);
|
||||
}
|
||||
|
||||
// Reused projection buffers for the card pass, grown to the candidates.
|
||||
@@ -226,6 +255,9 @@ export function createRendering({
|
||||
function ensureCollections(viewer) {
|
||||
ensureModels(viewer);
|
||||
if (!viewer || state.icons) return;
|
||||
const capabilities = rendererOf(viewer)?.capabilities ?? null;
|
||||
iconMotion = capabilities?.has('motionSegments') === true;
|
||||
segmentsWere = segmentsOn();
|
||||
const set = drawOf(viewer).icons({
|
||||
id: `ais-vessels:${++instances}`,
|
||||
// Translucent, as its billboards were: overlapping chevrons keep
|
||||
@@ -233,18 +265,118 @@ export function createRendering({
|
||||
blend: 'translucent',
|
||||
horizonCull: true,
|
||||
drawOrder: spriteDrawOrder?.('ais') ?? 0,
|
||||
...(iconMotion ? { motionClock: motionClock(segmentsWere) } : null),
|
||||
});
|
||||
// Columns of no rows put the set's host in the scene now, rather than
|
||||
// with its first vessel.
|
||||
set.setColumns?.({ ids: [] });
|
||||
state.icons = createVesselIconBook(set);
|
||||
iconSet = set;
|
||||
state.icons = createVesselIconBook(set, { capabilities });
|
||||
state.icons.show = state.feed.enabled;
|
||||
}
|
||||
|
||||
// The icon draw set, and whether its renderer moves icons along motion
|
||||
// segments on its own clock.
|
||||
let iconSet = null;
|
||||
let iconMotion = false;
|
||||
// Whether the icons last moved on the renderer's clock.
|
||||
let segmentsWere = false;
|
||||
// The record drawn under each icon id, for replanning an id.
|
||||
const iconRecords = new Map();
|
||||
// From when (world ms) each planned icon's motion holds: one planned
|
||||
// after the time drawn is planned again when the time moves back.
|
||||
const planFrom = new Map();
|
||||
// The world time the icons were last checked against.
|
||||
let replannedAtMs = -Infinity;
|
||||
|
||||
/**
|
||||
* Whether vessel icons move on the renderer's clock: following the world
|
||||
* clock, each is drawn along its track between two fixes as a segment the
|
||||
* renderer moves every frame on the scene's time, and the layer writes an
|
||||
* icon only when its segment runs out, rather than moving every drawn
|
||||
* icon each frame. Live, a host placement moves them as before.
|
||||
*/
|
||||
function segmentsOn() {
|
||||
return iconMotion && followsClock(vesselState);
|
||||
}
|
||||
|
||||
/** The set's motion clock: the scene's time while following the clock. */
|
||||
const motionClock = (scene) =>
|
||||
scene ? { kind: 'scene' } : { kind: 'live', delayMs: 0 };
|
||||
|
||||
/**
|
||||
* The segment a vessel's icon moves along at world time `atMs`: the piece
|
||||
* of its track between two fixes the time is in (at most SEGMENT_PIECE_M
|
||||
* long), or where it holds; with when it runs out and from when it holds.
|
||||
* Null for a vessel the clock does not move: it holds where it is drawn.
|
||||
*/
|
||||
function planMotion(record, atMs) {
|
||||
if (!record.motion && !fixesMove(record.fixes)) return null;
|
||||
const span = vesselSpanAt(record, atMs);
|
||||
if (!span) return null;
|
||||
if (span.kind === 'hold') {
|
||||
// Before its first fix it is drawn from TIMELINE_UNSEEN_MS ahead of
|
||||
// it (seenYet): drawn again when the time crosses that.
|
||||
let { fromMs, untilMs } = span;
|
||||
const shownFromMs = record.fixes?.[0]?.atMs - TIMELINE_UNSEEN_MS;
|
||||
if (fromMs === -Infinity && shownFromMs < untilMs) {
|
||||
if (atMs < shownFromMs) untilMs = shownFromMs;
|
||||
else fromMs = shownFromMs;
|
||||
}
|
||||
return {
|
||||
motion: null,
|
||||
pos: anchorAt(span.lat, span.lon),
|
||||
expiresAt: untilMs,
|
||||
validFrom: fromMs,
|
||||
};
|
||||
}
|
||||
const n = Math.max(1, Math.ceil(span.metres / SEGMENT_PIECE_M));
|
||||
const spanMs = span.t1 - span.t0;
|
||||
const pieceEnd = (i) => (i === n ? span.t1 : span.t0 + (spanMs * i) / n);
|
||||
let k = Math.min(
|
||||
n - 1,
|
||||
Math.max(0, Math.floor(((atMs - span.t0) / spanMs) * n)),
|
||||
);
|
||||
// A time on a piece's end belongs to the next piece, whatever rounding
|
||||
// says, so a segment is never drawn already run out.
|
||||
while (k < n - 1 && pieceEnd(k + 1) <= atMs) k += 1;
|
||||
while (k > 0 && pieceEnd(k) > atMs) k -= 1;
|
||||
const t0 = pieceEnd(k);
|
||||
const t1 = pieceEnd(k + 1);
|
||||
const at = (i) =>
|
||||
i === 0
|
||||
? { lat: span.lat0, lon: span.lon0 }
|
||||
: i === n
|
||||
? { lat: span.lat1, lon: span.lon1 }
|
||||
: greatCircleAt(span.lat0, span.lon0, span.lat1, span.lon1, i / n);
|
||||
const a = at(k);
|
||||
const b = at(k + 1);
|
||||
const to = anchorAt(b.lat, b.lon);
|
||||
const courseDeg = vesselCourseDeg(record);
|
||||
return {
|
||||
motion: {
|
||||
kind: 'lerp',
|
||||
from: anchorAt(a.lat, a.lon),
|
||||
to,
|
||||
t0,
|
||||
t1,
|
||||
course0Deg: courseDeg,
|
||||
courseSlopeDeg: 0,
|
||||
},
|
||||
pos: to,
|
||||
expiresAt: t1,
|
||||
validFrom: t0,
|
||||
};
|
||||
}
|
||||
|
||||
/** Let the icon draw set go (the layer is destroyed). */
|
||||
function disposeCollections() {
|
||||
state.icons?.dispose();
|
||||
state.icons = null;
|
||||
iconSet = null;
|
||||
iconRecords.clear();
|
||||
planFrom.clear();
|
||||
replannedAtMs = -Infinity;
|
||||
}
|
||||
|
||||
/** Whether the Cockpit's bridge camera rides this record's ship. */
|
||||
@@ -276,20 +408,25 @@ export function createRendering({
|
||||
const courseDeg = vesselCourseDeg(record);
|
||||
// Following the clock, not there yet at the time drawn.
|
||||
visual.seen = seenYet(record);
|
||||
const plan = segmentsOn()
|
||||
? planMotion(record, vesselState.worldNow())
|
||||
: null;
|
||||
visual.plan = plan;
|
||||
return {
|
||||
id: visual.iconId,
|
||||
// Hidden while the bridge camera rides it, its model draws it, or it
|
||||
// is not there yet.
|
||||
show: !isCockpitSubject(record) && !visual.modelOwnsVisual && visual.seen,
|
||||
pos: visual.position,
|
||||
pos: plan?.pos ?? visual.position,
|
||||
image: shipIcon(record, selected),
|
||||
size: [SHIP_ICON_PX, SHIP_ICON_PX],
|
||||
// Selection changes the colour only, never the size.
|
||||
scale: shipScale(record),
|
||||
rotationMode: 'course',
|
||||
// Held on course; `course` for renderers without motion segments.
|
||||
// Held on course, or along its track on the renderer's clock;
|
||||
// `course` for renderers without motion segments.
|
||||
course: courseDeg,
|
||||
motion: { kind: 'hold', courseDeg },
|
||||
motion: plan?.motion ?? { kind: 'hold', courseDeg },
|
||||
focus: state.icons?.focus(visual.iconId) ?? 1,
|
||||
disableDepthTest: Infinity,
|
||||
meta: visual.meta,
|
||||
@@ -308,7 +445,8 @@ export function createRendering({
|
||||
const visual = getVisual(record);
|
||||
// The pick meta, and the key of the vessel's focus emphasis.
|
||||
visual.meta = { layer: 'ais-live-vessels', id: visual.iconId };
|
||||
state.icons.put({ ...iconItem(record, visual), focus: 1 });
|
||||
iconRecords.set(visual.iconId, record);
|
||||
putIcon(visual, { ...iconItem(record, visual), focus: 1 });
|
||||
if (visual.position)
|
||||
visual.cullPosition = liftedForHorizon(visual.position);
|
||||
visual.visible = isVisible(visual.cullPosition, occluder, record);
|
||||
@@ -325,10 +463,23 @@ export function createRendering({
|
||||
function syncRecordIcon(record) {
|
||||
const visual = getVisual(record);
|
||||
if (!state.icons?.has(visual.iconId) || !visual.position) return;
|
||||
state.icons.put(iconItem(record, visual));
|
||||
putIcon(visual, iconItem(record, visual));
|
||||
visual.cullPosition = liftedForHorizon(visual.position);
|
||||
}
|
||||
|
||||
/** Draw a vessel's icon item, with when its segment runs out while the
|
||||
* icons move on the renderer's clock. */
|
||||
function putIcon(visual, item) {
|
||||
if (!segmentsOn()) {
|
||||
planFrom.delete(item.id);
|
||||
state.icons.put(item, { expiresAt: null });
|
||||
return;
|
||||
}
|
||||
const plan = visual.plan;
|
||||
planFrom.set(item.id, plan?.validFrom ?? -Infinity);
|
||||
state.icons.put(item, { expiresAt: plan?.expiresAt ?? Infinity });
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove a record's icon row.
|
||||
* @param {Object} record - Vessel record to tear down.
|
||||
@@ -341,6 +492,8 @@ export function createRendering({
|
||||
if (!icons?.has(visual.iconId)) return;
|
||||
forgetSpriteFocus(icons.item(visual.iconId).meta);
|
||||
icons.remove(visual.iconId);
|
||||
iconRecords.delete(visual.iconId);
|
||||
planFrom.delete(visual.iconId);
|
||||
}
|
||||
|
||||
function shipScale(record) {
|
||||
@@ -548,7 +701,8 @@ export function createRendering({
|
||||
state.preRenderRemover =
|
||||
findFrame(viewer)?.on('preRender', () => {
|
||||
if (state.feed.enabled) {
|
||||
if (followsClock(vesselState)) followClockPositions();
|
||||
syncSegments();
|
||||
if (followsClock(vesselState)) followClock();
|
||||
else if (services.placement) followPlacements();
|
||||
}
|
||||
updateVisibility();
|
||||
@@ -569,6 +723,102 @@ export function createRendering({
|
||||
let clockPassAtMs = null;
|
||||
// Whether the last pass left drawn vessels short of its world time.
|
||||
let drawnBehind = false;
|
||||
/** One world-clock pass: icons on the renderer's clock when it moves
|
||||
* them, else moved by the layer. */
|
||||
function followClock() {
|
||||
syncSegments();
|
||||
if (segmentsOn()) followClockSegments();
|
||||
else followClockPositions();
|
||||
}
|
||||
|
||||
/**
|
||||
* Once a frame: when the icons start or stop moving on the renderer's
|
||||
* clock (the layer starts or stops following the world clock), put the
|
||||
* set on that clock and draw every icon again, along its segment or held.
|
||||
*/
|
||||
function syncSegments() {
|
||||
const on = segmentsOn();
|
||||
if (on === segmentsWere) return;
|
||||
segmentsWere = on;
|
||||
iconSet?.setOptions?.({ motionClock: motionClock(on) });
|
||||
// Leaving the clock, each icon holds where its segment last drew it;
|
||||
// one a live update has drawn since (no world time drawn) stays there.
|
||||
const lastAtMs = on ? -Infinity : replannedAtMs;
|
||||
replannedAtMs = -Infinity;
|
||||
for (const record of state.records.all) {
|
||||
const drawnAtMs = visualRecords.get(record)?.drawnAtMs;
|
||||
if (
|
||||
lastAtMs > -Infinity &&
|
||||
Number.isFinite(drawnAtMs) &&
|
||||
catchUpVisual(record, lastAtMs)
|
||||
)
|
||||
continue;
|
||||
syncRecordIcon(record);
|
||||
}
|
||||
}
|
||||
|
||||
// The vessels drawn with a card (and the selected one): their cards are
|
||||
// anchored at where the layer reads them, so it reads them every frame.
|
||||
const carded = new Set();
|
||||
|
||||
/**
|
||||
* As the world clock plays with the icons on the renderer's clock: the
|
||||
* renderer moves each icon along its segment, and the layer draws again
|
||||
* only those whose segment ran out (or, the time moved back, started after
|
||||
* it). Where the layer reads a vessel (its cards, picks, the horizon, its
|
||||
* model) moves on by itself: every frame for the vessels drawn with a
|
||||
* card or a model and the one the bridge camera rides, and for the rest a
|
||||
* share of them each pass, so each moves at least every HIDDEN_FOLLOW_MS.
|
||||
*/
|
||||
function followClockSegments() {
|
||||
const atMs = vesselState.worldNow();
|
||||
if (atMs < replannedAtMs)
|
||||
for (const [id, from] of planFrom) if (from > atMs) replanIcon(id, atMs);
|
||||
replannedAtMs = atMs;
|
||||
for (const id of state.icons?.due(atMs) ?? []) replanIcon(id, atMs);
|
||||
for (const record of carded) catchUpVisual(record, atMs);
|
||||
for (const item of modelItems.values()) catchUpVisual(item.record, atMs);
|
||||
const ridden = state.cockpitSubjectId
|
||||
? state.records.byId.get(state.cockpitSubjectId)
|
||||
: null;
|
||||
if (ridden) catchUpVisual(ridden, atMs);
|
||||
const all = state.records.all;
|
||||
const wallMs = performance.now();
|
||||
const sinceMs =
|
||||
hiddenFollowedAtWallMs === null
|
||||
? HIDDEN_FOLLOW_MS
|
||||
: wallMs - hiddenFollowedAtWallMs;
|
||||
const share = Math.min(
|
||||
all.length,
|
||||
Math.ceil((all.length * Math.max(0, sinceMs)) / HIDDEN_FOLLOW_MS),
|
||||
);
|
||||
if (share > 0) hiddenFollowedAtWallMs = wallMs;
|
||||
for (let k = 0; k < share; k += 1) {
|
||||
if (hiddenCursor >= all.length) hiddenCursor = 0;
|
||||
const record = all[hiddenCursor];
|
||||
if (visualRecords.get(record)?.position) catchUpVisual(record, atMs);
|
||||
else followRecord(record, atMs, false, motionPass);
|
||||
hiddenCursor += 1;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Bring where the layer reads a vessel up to the world time, for a reader
|
||||
* that needs it where it is drawn now (the detection overlay): while the
|
||||
* icons move on the renderer's clock, only some are read every frame.
|
||||
*/
|
||||
function readVesselNow(record) {
|
||||
if (segmentsOn()) catchUpVisual(record, vesselState.worldNow());
|
||||
}
|
||||
|
||||
/** Draw an icon's vessel again where it is at `atMs`. */
|
||||
function replanIcon(id, atMs) {
|
||||
const record = iconRecords.get(id);
|
||||
if (!record) return;
|
||||
catchUpVisual(record, atMs);
|
||||
syncRecordIcon(record);
|
||||
}
|
||||
|
||||
function followClockPositions() {
|
||||
const atMs = vesselState.worldNow();
|
||||
const wallMs = performance.now();
|
||||
@@ -1039,7 +1289,7 @@ export function createRendering({
|
||||
const visual = getVisual(record);
|
||||
const id = visual?.iconId;
|
||||
const item = icons?.item(id);
|
||||
const position = visual?.position;
|
||||
const position = item ? drawnPositionNow(record) : visual?.position;
|
||||
if (!item || !position) continue;
|
||||
const sprite = item.meta;
|
||||
// Most of a worldwide feed sits behind the horizon. A hidden icon with
|
||||
@@ -1121,6 +1371,8 @@ export function createRendering({
|
||||
? [components.cards.buildSelectedVesselCard(selected)]
|
||||
: [];
|
||||
const maxLabels = labelRowLimit();
|
||||
carded.clear();
|
||||
if (selectedCarded) carded.add(selected);
|
||||
|
||||
if (!query || !records.length || maxLabels <= 0) {
|
||||
state.activeLabelCount = entries.length;
|
||||
@@ -1183,6 +1435,7 @@ export function createRendering({
|
||||
continue;
|
||||
accepted.push({ x: candidate.x, y: candidate.y });
|
||||
entries.push(components.cards.buildVesselCard(candidate.record));
|
||||
carded.add(candidate.record);
|
||||
}
|
||||
state.activeLabelCount = entries.length;
|
||||
publishVesselOverlayEntries(entries);
|
||||
@@ -1273,6 +1526,7 @@ export function createRendering({
|
||||
return {
|
||||
getVisual,
|
||||
iconPosition,
|
||||
drawnPositionNow,
|
||||
forgetClockStep,
|
||||
prepareRecordVisual,
|
||||
anchorPosition,
|
||||
@@ -1292,7 +1546,10 @@ export function createRendering({
|
||||
cancelTrailingVisibilityPass,
|
||||
cancelPlacementFrame,
|
||||
followPlacements,
|
||||
followClock,
|
||||
followClockPositions,
|
||||
readVesselNow,
|
||||
syncSegments,
|
||||
applyVesselFocusDeemphasis,
|
||||
makeOccluder,
|
||||
isVisible,
|
||||
|
||||
@@ -90,9 +90,9 @@ export function createVesselSnapshotRenderer({
|
||||
},
|
||||
},
|
||||
);
|
||||
// The selected vessel at the new time: its trail starts there.
|
||||
// The selected vessel at the new time: its trail is drawn to it.
|
||||
if (replace && state.selectedRecord && state.trailId)
|
||||
tracking.startSelectedVesselTrail(state.selectedRecord);
|
||||
tracking.retimeSelectedVesselTrail(state.selectedRecord);
|
||||
state.lastVisibilityUpdate = 0;
|
||||
rendering.updateVisibility(true);
|
||||
}
|
||||
|
||||
@@ -97,6 +97,13 @@ export function createVesselState({ source, services }) {
|
||||
trail: null,
|
||||
/** @type {{x: number, y: number, z: number}[]} Chronological ECEF trail vertices (oldest first) */
|
||||
trailPositions: [],
|
||||
/** @type {number[]} Epoch ms of each trail vertex (NaN: undated, drawn
|
||||
* at any time), parallel to trailPositions. */
|
||||
trailTimes: [],
|
||||
/** How many trail vertices the body draws now, or -1 before it draws. */
|
||||
trailBodyCount: -1,
|
||||
/** @type {(() => void)|null} Stops drawing the trail's head each frame. */
|
||||
trailHeadOff: null,
|
||||
/** @type {string|null} Id of the vessel that owns the active selected-vessel trail. */
|
||||
trailId: null,
|
||||
/** @type {number} Monotonic token — invalidates in-flight backfill responses */
|
||||
|
||||
@@ -62,6 +62,7 @@ export function createTesting({
|
||||
state.trailPositions = Array.isArray(options.trailPositions)
|
||||
? [...options.trailPositions]
|
||||
: [];
|
||||
state.trailTimes = state.trailPositions.map(() => Number.NaN);
|
||||
state.feed.transportStatus = options.transportStatus || null;
|
||||
state.feed.lastMessageAt = options.lastMessageAt ?? null;
|
||||
state.feed.rawRowCount = Number.isFinite(options.rawRowCount)
|
||||
@@ -182,18 +183,32 @@ export function createTesting({
|
||||
components.rendering.followPlacements();
|
||||
}
|
||||
|
||||
/**
|
||||
* Run what one live frame runs (not following the clock): settle whether
|
||||
* icons move on the renderer's clock, then the placement pass. Test-only
|
||||
* seam.
|
||||
*/
|
||||
|
||||
function _runLiveFrameForTest() {
|
||||
components.rendering.syncSegments();
|
||||
components.rendering.followPlacements();
|
||||
}
|
||||
|
||||
/** Run one world-clock pass at world time `atMs`. Test-only seam. */
|
||||
|
||||
function _runClockPassForTest(atMs) {
|
||||
vesselState.worldNow = () => atMs;
|
||||
components.rendering.followClockPositions();
|
||||
components.rendering.followClock();
|
||||
}
|
||||
|
||||
/** Follow the world clock, standing at world time `atMs`. Test-only seam. */
|
||||
/**
|
||||
* Follow the world clock, standing at world time `atMs`; `null` goes back
|
||||
* to live. Test-only seam.
|
||||
*/
|
||||
|
||||
function _followClockForTest(atMs) {
|
||||
vesselState.timeline = { active: () => true };
|
||||
vesselState.worldNow = () => atMs;
|
||||
vesselState.timeline = { active: () => atMs !== null };
|
||||
vesselState.worldNow = () => atMs ?? 0;
|
||||
}
|
||||
|
||||
/** True while a trailing visibility frame is scheduled. Test-only seam. */
|
||||
@@ -240,6 +255,7 @@ export function createTesting({
|
||||
_vesselVisualForTest,
|
||||
_runPlacementPassForTest,
|
||||
_runClockPassForTest,
|
||||
_runLiveFrameForTest,
|
||||
_hasTrailingVisibilityPassForTest,
|
||||
};
|
||||
}
|
||||
+126
-13
@@ -1,13 +1,22 @@
|
||||
import { fromDegrees } from '../../geo/ellipsoid.js';
|
||||
import { distance } from '../../geo/vector.js';
|
||||
import { findFrame } from '../../render/rendererOf.js';
|
||||
import {
|
||||
TRAIL_HEIGHT_M,
|
||||
TRAIL_COLOR,
|
||||
TRAIL_HEAD_MAX_M,
|
||||
TRAIL_MAX_POINTS,
|
||||
TRAIL_MIN_MOVE_M,
|
||||
followsClock,
|
||||
} from './policy.js';
|
||||
|
||||
/** A vessel record's own fix time, epoch ms (NaN when it gives none). */
|
||||
function recordFixMs(record) {
|
||||
const epoch = record?.lastPositionEpoch;
|
||||
if (Number.isFinite(epoch)) return epoch * 1000;
|
||||
return Number.isFinite(record?.receivedAtMs) ? record.receivedAtMs : NaN;
|
||||
}
|
||||
|
||||
export function createTracking({
|
||||
vesselState,
|
||||
services,
|
||||
@@ -89,18 +98,94 @@ export function createTracking({
|
||||
state.trailBackfillToken += 1;
|
||||
state.trailId = record.id;
|
||||
state.trailPositions = [];
|
||||
state.trailTimes = [];
|
||||
const current = vesselTrailPosition(record);
|
||||
if (current) state.trailPositions.push(current);
|
||||
if (current) {
|
||||
state.trailPositions.push(current);
|
||||
state.trailTimes.push(recordFixMs(record));
|
||||
}
|
||||
if (!state.trail && state.viewer) {
|
||||
state.trail = createTrail(state.viewer, {
|
||||
color: TRAIL_COLOR,
|
||||
width: 2.5,
|
||||
});
|
||||
}
|
||||
if (state.trail) state.trail.setPositions(state.trailPositions);
|
||||
if (!state.trailHeadOff && state.viewer)
|
||||
state.trailHeadOff =
|
||||
findFrame(state.viewer)?.on('preRender', drawSelectedVesselTrail) ??
|
||||
null;
|
||||
drawTrailBody();
|
||||
backfillVesselTrail(record.id, state.trailBackfillToken, record.reference);
|
||||
}
|
||||
|
||||
/**
|
||||
* The world clock moved to another time: the trail keeps what it holds,
|
||||
* drawn up to the new time, until the vessel's track at that time
|
||||
* replaces it. Clearing it would blank the trail at every step of the clock.
|
||||
* @param {Object} record - The selected vessel at the new time.
|
||||
*/
|
||||
function retimeSelectedVesselTrail(record) {
|
||||
if (state.trailId !== record.id || !state.trail) {
|
||||
startSelectedVesselTrail(record);
|
||||
return;
|
||||
}
|
||||
state.trailAbort?.abort();
|
||||
state.trailAbort = new AbortController();
|
||||
state.trailBackfillToken += 1;
|
||||
drawSelectedVesselTrail();
|
||||
backfillVesselTrail(record.id, state.trailBackfillToken, record.reference, {
|
||||
replace: true,
|
||||
});
|
||||
}
|
||||
|
||||
/** The world time the selected vessel is drawn at; Infinity live, where
|
||||
* every fix is behind it. */
|
||||
function drawnTimeMs() {
|
||||
return followsClock(vesselState) ? vesselState.worldNow() : Infinity;
|
||||
}
|
||||
|
||||
/** How many trail vertices are at or before `atMs` (undated ones always). */
|
||||
function bodyCountAt(atMs) {
|
||||
let count = state.trailTimes.length;
|
||||
while (count > 0 && state.trailTimes[count - 1] > atMs) count -= 1;
|
||||
return count;
|
||||
}
|
||||
|
||||
/** Draw the trail's body: its fixes up to the time the vessel is drawn at.
|
||||
* A fix ahead of the vessel would draw the trail in front of it. */
|
||||
function drawTrailBody() {
|
||||
if (!state.trail) return;
|
||||
state.trailBodyCount = bodyCountAt(drawnTimeMs());
|
||||
state.trail.setPositions(
|
||||
state.trailPositions.slice(0, state.trailBodyCount),
|
||||
);
|
||||
}
|
||||
|
||||
/** The head: the body's last vertex to where the vessel is drawn, or none
|
||||
* (no vessel drawn, or one too far from the body to be on its path). */
|
||||
function trailHeadPositions() {
|
||||
const record = state.selectedRecord;
|
||||
if (!record || record.id !== state.trailId || state.trailBodyCount < 1)
|
||||
return null;
|
||||
// Where its icon is drawn now (the renderer's, while it moves the icons).
|
||||
const at = components.rendering.drawnPositionNow(record);
|
||||
const last = state.trailPositions[state.trailBodyCount - 1];
|
||||
if (!at || !last) return null;
|
||||
const metres = distance(last, at);
|
||||
if (metres < 1 || metres > TRAIL_HEAD_MAX_M) return null;
|
||||
return [last, { x: at.x, y: at.y, z: at.z }];
|
||||
}
|
||||
|
||||
/**
|
||||
* Each frame before it draws: the body moved on when the drawn time has
|
||||
* passed a fix, then the head to where the vessel is drawn now.
|
||||
*/
|
||||
function drawSelectedVesselTrail() {
|
||||
if (!state.trail || !state.trailId) return;
|
||||
if (bodyCountAt(drawnTimeMs()) !== state.trailBodyCount) drawTrailBody();
|
||||
state.trail.setHead?.(trailHeadPositions());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fire-and-forget backfill from the server-side per-vessel ring buffer
|
||||
* (PRD F3 — "recent path" since server boot, not voyage history). Older
|
||||
@@ -112,7 +197,12 @@ export function createTracking({
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
|
||||
async function backfillVesselTrail(id, token, reference = id) {
|
||||
async function backfillVesselTrail(
|
||||
id,
|
||||
token,
|
||||
reference = id,
|
||||
{ replace = false } = {},
|
||||
) {
|
||||
const owner = state.trailAbort;
|
||||
// Following the world clock, the track ends at the world's time.
|
||||
const atMs = followsClock(vesselState) ? vesselState.worldNow() : undefined;
|
||||
@@ -139,6 +229,7 @@ export function createTracking({
|
||||
if (state.trailId !== id) return;
|
||||
|
||||
const older = [];
|
||||
const olderTimes = [];
|
||||
for (const sample of samples) {
|
||||
const lat = Number(sample?.latitude);
|
||||
const lon = Number(sample?.longitude);
|
||||
@@ -156,16 +247,29 @@ export function createTracking({
|
||||
TRAIL_HEIGHT_M,
|
||||
);
|
||||
older.push(fromDegrees(lon, lat, heightM));
|
||||
}
|
||||
if (!older.length) return;
|
||||
|
||||
state.trailPositions = older.concat(state.trailPositions);
|
||||
if (state.trailPositions.length > TRAIL_MAX_POINTS) {
|
||||
state.trailPositions = state.trailPositions.slice(
|
||||
state.trailPositions.length - TRAIL_MAX_POINTS,
|
||||
olderTimes.push(
|
||||
Number.isFinite(sample?.observedAtMs) ? sample.observedAtMs : NaN,
|
||||
);
|
||||
}
|
||||
if (state.trail) state.trail.setPositions(state.trailPositions);
|
||||
if (replace) {
|
||||
// The track at the new time, then the vessel's own fix at it.
|
||||
const record = state.selectedRecord;
|
||||
const current = record?.id === id ? vesselTrailPosition(record) : null;
|
||||
state.trailPositions = current ? [...older, current] : older;
|
||||
state.trailTimes = current
|
||||
? [...olderTimes, recordFixMs(record)]
|
||||
: olderTimes;
|
||||
} else {
|
||||
if (!older.length) return;
|
||||
state.trailPositions = older.concat(state.trailPositions);
|
||||
state.trailTimes = olderTimes.concat(state.trailTimes);
|
||||
}
|
||||
if (state.trailPositions.length > TRAIL_MAX_POINTS) {
|
||||
const drop = state.trailPositions.length - TRAIL_MAX_POINTS;
|
||||
state.trailPositions = state.trailPositions.slice(drop);
|
||||
state.trailTimes = state.trailTimes.slice(drop);
|
||||
}
|
||||
drawTrailBody();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -181,9 +285,12 @@ export function createTracking({
|
||||
const last = state.trailPositions[state.trailPositions.length - 1];
|
||||
if (last && distance(last, next) <= TRAIL_MIN_MOVE_M) return;
|
||||
state.trailPositions.push(next);
|
||||
if (state.trailPositions.length > TRAIL_MAX_POINTS)
|
||||
state.trailTimes.push(recordFixMs(record));
|
||||
if (state.trailPositions.length > TRAIL_MAX_POINTS) {
|
||||
state.trailPositions.shift();
|
||||
state.trail.setPositions(state.trailPositions);
|
||||
state.trailTimes.shift();
|
||||
}
|
||||
drawTrailBody();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -196,6 +303,10 @@ export function createTracking({
|
||||
state.trailBackfillToken += 1;
|
||||
state.trailId = null;
|
||||
state.trailPositions = [];
|
||||
state.trailTimes = [];
|
||||
state.trailBodyCount = -1;
|
||||
state.trailHeadOff?.();
|
||||
state.trailHeadOff = null;
|
||||
if (state.trail) state.trail.clear();
|
||||
}
|
||||
|
||||
@@ -215,6 +326,8 @@ export function createTracking({
|
||||
vesselTrailPosition,
|
||||
refloorVesselRecords,
|
||||
startSelectedVesselTrail,
|
||||
retimeSelectedVesselTrail,
|
||||
drawSelectedVesselTrail,
|
||||
backfillVesselTrail,
|
||||
appendSelectedVesselTrailFix,
|
||||
clearSelectedVesselTrail,
|
||||
|
||||
@@ -5,10 +5,12 @@ import { createTracking } from './tracking.js';
|
||||
import { TRAIL_HEIGHT_M, TRAIL_MAX_POINTS } from './policy.js';
|
||||
|
||||
/** One tracking part over a fake trail and geoid; `geoidN` is N everywhere. */
|
||||
function setup({ geoidN = 40, track = null } = {}) {
|
||||
function setup({ geoidN = 40, track = null, clockAt = null } = {}) {
|
||||
const drawn = [];
|
||||
const heads = [];
|
||||
const trail = {
|
||||
setPositions: (positions) => drawn.push([...positions]),
|
||||
setHead: (positions) => heads.push(positions),
|
||||
clear() {},
|
||||
destroy() {},
|
||||
};
|
||||
@@ -16,7 +18,12 @@ function setup({ geoidN = 40, track = null } = {}) {
|
||||
const records = [];
|
||||
const vesselState = {
|
||||
_geoidReady: true,
|
||||
_source: { getTrack: async () => track },
|
||||
_source: {
|
||||
getTrack: async (reference, options) =>
|
||||
typeof track === 'function' ? track(options) : track,
|
||||
},
|
||||
timeline: { active: () => clockAt !== null },
|
||||
worldNow: () => clockAt,
|
||||
state: {
|
||||
viewer: {},
|
||||
trail: null,
|
||||
@@ -34,6 +41,17 @@ function setup({ geoidN = 40, track = null } = {}) {
|
||||
},
|
||||
rendering: {
|
||||
getVisual: (record) => visuals.get(record) ?? record,
|
||||
// Drawn where its visual says, at the trail's height in these tests.
|
||||
drawnPositionNow: (record) => {
|
||||
const visual = visuals.get(record);
|
||||
return visual
|
||||
? Cesium.Cartesian3.fromDegrees(
|
||||
visual.drawnLon,
|
||||
visual.drawnLat,
|
||||
geoidN + TRAIL_HEIGHT_M,
|
||||
)
|
||||
: null;
|
||||
},
|
||||
anchorPosition: (record) => ({ anchoredAt: [record.lon, record.lat] }),
|
||||
syncRecordIcon: (record) => synced.push(record),
|
||||
forgetClockStep: () => synced.push('forgetClockStep'),
|
||||
@@ -51,7 +69,16 @@ function setup({ geoidN = 40, track = null } = {}) {
|
||||
layer: {},
|
||||
options: {},
|
||||
});
|
||||
return { tracking, vesselState, drawn, synced, records, visuals, renders };
|
||||
return {
|
||||
tracking,
|
||||
vesselState,
|
||||
drawn,
|
||||
heads,
|
||||
synced,
|
||||
records,
|
||||
visuals,
|
||||
renders,
|
||||
};
|
||||
}
|
||||
|
||||
const near = (a, b) =>
|
||||
@@ -172,3 +199,107 @@ test('a long backfill keeps the newest TRAIL_MAX_POINTS vertices', async () => {
|
||||
'the live fix stays newest',
|
||||
);
|
||||
});
|
||||
|
||||
const settle = () => new Promise((resolve) => setTimeout(resolve, 0));
|
||||
const at = (lat, lon) =>
|
||||
Cesium.Cartesian3.fromDegrees(lon, lat, 40 + TRAIL_HEIGHT_M);
|
||||
|
||||
test('following the clock, the trail ends at the vessel: fixes after its time wait, and a head joins the last one to it', async () => {
|
||||
const T = 1_800_000_000_000;
|
||||
const track = {
|
||||
records: [
|
||||
{ latitude: 51.8, longitude: 4.0, observedAtMs: T - 120_000 },
|
||||
{ latitude: 51.81, longitude: 4.0, observedAtMs: T - 60_000 },
|
||||
],
|
||||
};
|
||||
const { tracking, vesselState, drawn, heads, visuals } = setup({
|
||||
track,
|
||||
clockAt: T,
|
||||
});
|
||||
const record = {
|
||||
id: 'v',
|
||||
reference: 'v',
|
||||
lat: 51.83,
|
||||
lon: 4.0,
|
||||
lastPositionEpoch: (T + 120_000) / 1000,
|
||||
};
|
||||
vesselState.state.selectedRecord = record;
|
||||
visuals.set(record, { drawnLat: 51.815, drawnLon: 4.0, drawnAtMs: T });
|
||||
tracking.startSelectedVesselTrail(record);
|
||||
await settle();
|
||||
assert.equal(drawn.at(-1).length, 2, 'the fixes before the time');
|
||||
assert.ok(near(drawn.at(-1)[1], at(51.81, 4.0)));
|
||||
tracking.drawSelectedVesselTrail();
|
||||
const head = heads.at(-1);
|
||||
assert.ok(near(head[0], at(51.81, 4.0)), 'from the last drawn fix');
|
||||
assert.ok(near(head[1], at(51.815, 4.0)), 'to the vessel as drawn');
|
||||
|
||||
// The clock passes the vessel's own fix: the body takes it on the next
|
||||
// frame, and the vessel holds there.
|
||||
vesselState.worldNow = () => T + 150_000;
|
||||
visuals.get(record).drawnLat = 51.83;
|
||||
tracking.drawSelectedVesselTrail();
|
||||
assert.equal(drawn.at(-1).length, 3);
|
||||
assert.equal(heads.at(-1), null, 'no head with the vessel on its fix');
|
||||
});
|
||||
|
||||
test('a clock jump keeps the trail drawn to the new time until the track at it arrives', async () => {
|
||||
const T = 1_800_000_000_000;
|
||||
let release;
|
||||
const later = new Promise((resolve) => (release = resolve));
|
||||
let asked = 0;
|
||||
const first = {
|
||||
records: [
|
||||
{ latitude: 51.8, longitude: 4.0, observedAtMs: T - 120_000 },
|
||||
{ latitude: 51.81, longitude: 4.0, observedAtMs: T - 60_000 },
|
||||
],
|
||||
};
|
||||
const { tracking, vesselState, drawn, visuals } = setup({
|
||||
track: () => (asked++ === 0 ? first : later),
|
||||
clockAt: T,
|
||||
});
|
||||
const record = {
|
||||
id: 'v',
|
||||
reference: 'v',
|
||||
lat: 51.815,
|
||||
lon: 4.0,
|
||||
lastPositionEpoch: T / 1000,
|
||||
};
|
||||
vesselState.state.selectedRecord = record;
|
||||
visuals.set(record, { drawnLat: 51.815, drawnLon: 4.0, drawnAtMs: T });
|
||||
tracking.startSelectedVesselTrail(record);
|
||||
await settle();
|
||||
const before = drawn.length;
|
||||
// Back a minute and a half: one fix is behind the vessel then.
|
||||
vesselState.worldNow = () => T - 90_000;
|
||||
tracking.retimeSelectedVesselTrail(record);
|
||||
assert.ok(
|
||||
drawn.slice(before).every((positions) => positions.length >= 1),
|
||||
'never blanked',
|
||||
);
|
||||
assert.equal(drawn.at(-1).length, 1, 'cut to the new time');
|
||||
release({
|
||||
records: [
|
||||
{ latitude: 51.79, longitude: 4.0, observedAtMs: T - 180_000 },
|
||||
{ latitude: 51.8, longitude: 4.0, observedAtMs: T - 120_000 },
|
||||
],
|
||||
});
|
||||
await settle();
|
||||
assert.equal(drawn.at(-1).length, 2, 'the track at the new time');
|
||||
assert.ok(near(drawn.at(-1)[0], at(51.79, 4.0)));
|
||||
});
|
||||
|
||||
test('live, the head joins the last fix to the vessel where it is placed, and not across a jump', () => {
|
||||
const { tracking, vesselState, heads, visuals } = setup();
|
||||
const record = { id: 'v', reference: 'v', lat: 51.8, lon: 4.0 };
|
||||
vesselState.state.selectedRecord = record;
|
||||
visuals.set(record, { drawnLat: 51.801, drawnLon: 4.0 });
|
||||
tracking.startSelectedVesselTrail(record);
|
||||
tracking.drawSelectedVesselTrail();
|
||||
assert.ok(near(heads.at(-1)[0], at(51.8, 4.0)));
|
||||
assert.ok(near(heads.at(-1)[1], at(51.801, 4.0)));
|
||||
// Drawn 100 km on: no head across that.
|
||||
visuals.get(record).drawnLat = 52.7;
|
||||
tracking.drawSelectedVesselTrail();
|
||||
assert.equal(heads.at(-1), null);
|
||||
});
|
||||
+31
-15
@@ -82,16 +82,22 @@ export function normalizeLayerLoading(layer = {}) {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* A batch's ending from its layers' stats: a layer that failed fails it; a
|
||||
* layer only waiting for its provider key (whose error is that missing key)
|
||||
* ends it KEY REQUIRED, which asks the user to act rather than reporting a
|
||||
* fault.
|
||||
*/
|
||||
function terminalFromParticipantStats(summary, participantIds) {
|
||||
if (!participantIds?.length) return null;
|
||||
const participants = new Set(participantIds);
|
||||
return summary.records.some(
|
||||
(record) =>
|
||||
participants.has(record.id) &&
|
||||
(record.error || record.unavailable || record.keyRequired),
|
||||
)
|
||||
? 'error'
|
||||
: null;
|
||||
let keyRequired = false;
|
||||
for (const record of summary.records) {
|
||||
if (!participants.has(record.id)) continue;
|
||||
if (record.keyRequired) keyRequired = true;
|
||||
else if (record.error || record.unavailable) return 'error';
|
||||
}
|
||||
return keyRequired ? 'key-required' : null;
|
||||
}
|
||||
|
||||
/** Aggregate all manager layers without changing their lifecycle authority. */
|
||||
@@ -272,17 +278,26 @@ export function reduceTrafficSyncFeedback(
|
||||
};
|
||||
}
|
||||
|
||||
function terminalFromEvent(event) {
|
||||
/**
|
||||
* A lifecycle event's ending. A layer that failed only for want of its
|
||||
* provider key (its stats say `keyRequired`) ends KEY REQUIRED on every
|
||||
* load or refresh, not just the first.
|
||||
*/
|
||||
function terminalFromEvent(event, summary) {
|
||||
const type = String(event?.type || '');
|
||||
if (type === 'visibility-failed' || type === 'refresh-failed' || event?.error)
|
||||
return 'error';
|
||||
return summary?.records?.some(
|
||||
(record) => record.id === event?.layerId && record.keyRequired,
|
||||
)
|
||||
? 'key-required'
|
||||
: 'error';
|
||||
if (type === 'visibility-cancelled' || event?.cancelled) return 'cancelled';
|
||||
if (type === 'visibility' || type === 'refresh') return 'complete';
|
||||
return null;
|
||||
}
|
||||
|
||||
function mergeTerminalOutcome(current, next) {
|
||||
const severity = { complete: 1, cancelled: 2, error: 3 };
|
||||
const severity = { complete: 1, cancelled: 2, 'key-required': 3, error: 4 };
|
||||
if (!next) return current || null;
|
||||
if (!current || severity[next] > severity[current]) return next;
|
||||
return current;
|
||||
@@ -306,7 +321,7 @@ export function reduceLoadingFeedback(previous, summary, nowMs, event = null) {
|
||||
beginning ? null : state.batchOutcome,
|
||||
terminalFromParticipantStats(summary, activeIds),
|
||||
),
|
||||
eventParticipates ? terminalFromEvent(event) : null,
|
||||
eventParticipates ? terminalFromEvent(event, summary) : null,
|
||||
);
|
||||
return {
|
||||
phase: 'loading',
|
||||
@@ -325,7 +340,7 @@ export function reduceLoadingFeedback(previous, summary, nowMs, event = null) {
|
||||
failedEventIds: [
|
||||
...new Set([
|
||||
...(beginning ? [] : state.failedEventIds || []),
|
||||
...(eventParticipates && terminalFromEvent(event) === 'error'
|
||||
...(eventParticipates && terminalFromEvent(event, summary) === 'error'
|
||||
? [eventLayerId]
|
||||
: []),
|
||||
]),
|
||||
@@ -343,13 +358,13 @@ export function reduceLoadingFeedback(previous, summary, nowMs, event = null) {
|
||||
state.batchOutcome,
|
||||
terminalFromParticipantStats(summary, state.activeIds),
|
||||
),
|
||||
eventParticipates ? terminalFromEvent(event) : null,
|
||||
eventParticipates ? terminalFromEvent(event, summary) : null,
|
||||
) || 'complete';
|
||||
const wasVisible = state.visible || now >= state.showAt;
|
||||
if (!wasVisible && terminal === 'complete')
|
||||
return createLoadingFeedbackState();
|
||||
const dwell =
|
||||
terminal === 'error'
|
||||
terminal === 'error' || terminal === 'key-required'
|
||||
? LOADING_FAILURE_DWELL_MS
|
||||
: LOADING_TERMINAL_DWELL_MS;
|
||||
return {
|
||||
@@ -362,7 +377,7 @@ export function reduceLoadingFeedback(previous, summary, nowMs, event = null) {
|
||||
failedEventIds: [
|
||||
...new Set([
|
||||
...(state.failedEventIds || []),
|
||||
...(eventParticipates && terminalFromEvent(event) === 'error'
|
||||
...(eventParticipates && terminalFromEvent(event, summary) === 'error'
|
||||
? [eventLayerId]
|
||||
: []),
|
||||
]),
|
||||
@@ -424,6 +439,7 @@ export function presentLoadingFeedback(state, summary, nowMs) {
|
||||
const labels = {
|
||||
complete: 'LOAD COMPLETE',
|
||||
cancelled: 'LOAD CANCELLED',
|
||||
'key-required': 'KEY REQUIRED',
|
||||
error: 'LOAD FAILED',
|
||||
};
|
||||
const label =
|
||||
|
||||
@@ -474,15 +474,15 @@ test('reveals sustained loading and then a bounded completion state', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('terminal loading feedback centers its label without an empty detail slot', () => {
|
||||
test('terminal loading feedback, KEY REQUIRED included, centers its label without an empty detail slot', () => {
|
||||
const css = readStylesheet(new URL('../style.css', import.meta.url));
|
||||
assert.match(
|
||||
css,
|
||||
/#global-loading-status:is\(\s*\[data-state='complete'\],\s*\[data-state='cancelled'\],\s*\[data-state='error'\]\s*\)\s*\{[\s\S]*?justify-content:\s*center;[\s\S]*?text-align:\s*center;/,
|
||||
/#global-loading-status:is\(\s*\[data-state='complete'\],\s*\[data-state='cancelled'\],\s*\[data-state='key-required'\],\s*\[data-state='error'\]\s*\)\s*\{[\s\S]*?justify-content:\s*center;[\s\S]*?text-align:\s*center;/,
|
||||
);
|
||||
assert.match(
|
||||
css,
|
||||
/#global-loading-status:is\(\s*\[data-state='complete'\],\s*\[data-state='cancelled'\],\s*\[data-state='error'\]\s*\)\s*#global-loading-detail\s*\{\s*display:\s*none;/,
|
||||
/#global-loading-status:is\(\s*\[data-state='complete'\],\s*\[data-state='cancelled'\],\s*\[data-state='key-required'\],\s*\[data-state='error'\]\s*\)\s*#global-loading-detail\s*\{\s*display:\s*none;/,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -618,7 +618,7 @@ test('AIS first-connect grace expiry reports failure even without a terminal man
|
||||
);
|
||||
});
|
||||
|
||||
test('participant stats failure outranks a simultaneous visibility completion', () => {
|
||||
test('a participant waiting for its key outranks a simultaneous visibility completion', () => {
|
||||
const enabling = aggregateLayerLoading([
|
||||
{
|
||||
id: 'ais-live-vessels',
|
||||
@@ -645,7 +645,97 @@ test('participant stats failure outranks a simultaneous visibility completion',
|
||||
enabled: true,
|
||||
});
|
||||
|
||||
assert.equal(state.terminal, 'error');
|
||||
assert.equal(state.terminal, 'key-required');
|
||||
const view = presentLoadingFeedback(state, missingKey, 250);
|
||||
assert.equal(view.label, 'KEY REQUIRED');
|
||||
assert.equal(view.state, 'key-required');
|
||||
assert.equal(
|
||||
state.hideAt,
|
||||
250 + LOADING_FAILURE_DWELL_MS,
|
||||
'shown long enough to read',
|
||||
);
|
||||
});
|
||||
|
||||
test('a keyless layer’s refresh failing ends KEY REQUIRED, and another layer’s LOAD FAILED', () => {
|
||||
const refreshEnd = (layer) => {
|
||||
const refreshing = aggregateLayerLoading([
|
||||
{
|
||||
...layer,
|
||||
enabled: true,
|
||||
lifecycleState: 'enabled',
|
||||
stats: { ...layer.stats, refreshing: true },
|
||||
},
|
||||
]);
|
||||
let state = reduceLoadingFeedback(
|
||||
createLoadingFeedbackState(),
|
||||
refreshing,
|
||||
0,
|
||||
);
|
||||
state = reduceLoadingFeedback(state, refreshing, 200);
|
||||
const done = aggregateLayerLoading([
|
||||
{ ...layer, enabled: true, lifecycleState: 'enabled' },
|
||||
]);
|
||||
state = reduceLoadingFeedback(state, done, 300, {
|
||||
type: 'refresh-failed',
|
||||
layerId: layer.id,
|
||||
error: new Error(layer.stats.error),
|
||||
});
|
||||
return presentLoadingFeedback(state, done, 300).label;
|
||||
};
|
||||
assert.equal(
|
||||
refreshEnd({
|
||||
id: 'ais-live-vessels',
|
||||
stats: { keyRequired: true, error: 'AISSTREAM_API_KEY not set' },
|
||||
}),
|
||||
'KEY REQUIRED',
|
||||
);
|
||||
assert.equal(
|
||||
refreshEnd({ id: 'ais-live-vessels', stats: { error: 'feed down' } }),
|
||||
'LOAD FAILED',
|
||||
);
|
||||
});
|
||||
|
||||
test('a missing key ends a batch KEY REQUIRED, and another layer failing still ends it LOAD FAILED', () => {
|
||||
const loading = (ids) =>
|
||||
aggregateLayerLoading(
|
||||
ids.map((id) => ({ id, lifecycleState: 'enabling' })),
|
||||
);
|
||||
const ended = (layers) => {
|
||||
let state = reduceLoadingFeedback(
|
||||
createLoadingFeedbackState(),
|
||||
loading(layers.map((layer) => layer.id)),
|
||||
0,
|
||||
);
|
||||
state = reduceLoadingFeedback(
|
||||
state,
|
||||
loading(layers.map((layer) => layer.id)),
|
||||
200,
|
||||
);
|
||||
const done = aggregateLayerLoading(
|
||||
layers.map((layer) => ({
|
||||
...layer,
|
||||
enabled: true,
|
||||
lifecycleState: 'enabled',
|
||||
})),
|
||||
);
|
||||
state = reduceLoadingFeedback(state, done, 300);
|
||||
return presentLoadingFeedback(state, done, 300).label;
|
||||
};
|
||||
// A keyless layer's own error is the missing key.
|
||||
const keyless = {
|
||||
id: 'ais-live-vessels',
|
||||
stats: { keyRequired: true, error: 'AISSTREAM_API_KEY not set' },
|
||||
};
|
||||
assert.equal(ended([keyless]), 'KEY REQUIRED');
|
||||
assert.equal(
|
||||
ended([keyless, { id: 'quakes', stats: { count: 3 } }]),
|
||||
'KEY REQUIRED',
|
||||
);
|
||||
assert.equal(
|
||||
ended([keyless, { id: 'flights', stats: { error: 'Failed' } }]),
|
||||
'LOAD FAILED',
|
||||
);
|
||||
assert.equal(ended([{ id: 'quakes', stats: { count: 3 } }]), 'LOAD COMPLETE');
|
||||
});
|
||||
|
||||
test('retains the worst terminal outcome until every concurrent load drains', () => {
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
/**
|
||||
* @module maps/attribution
|
||||
* @description The on-map credits of the map stacks' sources.
|
||||
* @description The on-map credits of the map stacks' sources, and Esri
|
||||
* World Imagery's tile address, which the globe and the card previews share.
|
||||
*/
|
||||
|
||||
// Attribution and service rights are documented in DATA_SOURCES.md.
|
||||
/** Esri World Imagery's tiles; Stories' card images draw from the same. */
|
||||
export const ESRI_TILES =
|
||||
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}';
|
||||
/** Esri World Imagery's credit line, as plain text. */
|
||||
export const ESRI_IMAGERY_CREDIT =
|
||||
'Powered by Esri — Source: Esri, Maxar, Earthstar Geographics, and the GIS User Community';
|
||||
export const ESRI_ATTRIBUTION_HTML =
|
||||
'<a href="https://www.esri.com" target="_blank" rel="noopener">Powered by Esri</a>';
|
||||
@@ -25,7 +25,7 @@ export function createDefaultMapSources({
|
||||
id: hasIon ? 'world' : 'keyless',
|
||||
create: hasIon
|
||||
? (request) => engineOf().terrain.world(ionToken, request)
|
||||
: () => engineOf().terrain.keyless(),
|
||||
: (request) => engineOf().terrain.keyless(request),
|
||||
};
|
||||
return {
|
||||
defaultId: googleTileset ? 'photoreal' : 'esri-imagery',
|
||||
|
||||
+125
-17
@@ -13,12 +13,18 @@
|
||||
* photoreal base is turned off through the port and on again when shown.
|
||||
*/
|
||||
import { findFrame, findGlobe, rendererOf } from '../render/rendererOf.js';
|
||||
import { ESRI_IMAGERY_CREDIT, ESRI_TILES } from './attribution.js';
|
||||
import { KEYLESS_TERRAIN_URL } from './keylessTerrain.js';
|
||||
|
||||
const ESRI_TILES =
|
||||
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}';
|
||||
const ESRI_CREDIT =
|
||||
'Powered by Esri — Source: Esri, Maxar, Earthstar Geographics, and the GIS User Community';
|
||||
/** Esri World Imagery's deepest level (its tile info lists levels 0–23). */
|
||||
const ESRI_MAX_LEVEL = 23;
|
||||
/**
|
||||
* A tile Esri has no imagery for: it answers every such tile with this one
|
||||
* "Map data not yet available" picture, the same bytes each time.
|
||||
*/
|
||||
const ESRI_MISSING_TILE =
|
||||
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/23/0/0';
|
||||
const OSM_MAX_LEVEL = 19;
|
||||
const OSM_TILES = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
|
||||
const OSM_CREDIT = '© OpenStreetMap contributors';
|
||||
/** Cesium ion's world imagery assets (`MAP_STACKS`' `style`). */
|
||||
@@ -33,6 +39,90 @@ const shownGlobes = new WeakMap();
|
||||
|
||||
const credit = (text) => ({ text });
|
||||
|
||||
/** Esri's "no imagery here" picture's bytes, once read; null if unread. */
|
||||
let esriMissing = null;
|
||||
|
||||
/** Read Esri's "no imagery here" picture, once; null while it cannot be. */
|
||||
function esriMissingTile() {
|
||||
esriMissing ??= fetch(ESRI_MISSING_TILE)
|
||||
.then((response) => (response.ok ? response.arrayBuffer() : null))
|
||||
.then((buffer) => (buffer ? new Uint8Array(buffer) : null))
|
||||
.catch(() => null)
|
||||
.then((bytes) => {
|
||||
// Not read: asked for again with the next tile.
|
||||
if (!bytes) esriMissing = null;
|
||||
return bytes;
|
||||
});
|
||||
return esriMissing;
|
||||
}
|
||||
|
||||
const sameBytes = (a, b) =>
|
||||
a.length === b.length && a.every((byte, i) => byte === b[i]);
|
||||
|
||||
/**
|
||||
* An Esri tile, fetched. Esri's "no imagery here" picture is a missing tile,
|
||||
* drawn from its parent, as Cesium's own Esri provider discards it; a
|
||||
* refused tile is a failed one, which counts toward the Esri source's
|
||||
* fallback to OSM.
|
||||
*/
|
||||
async function fetchEsriTile({ url, signal }) {
|
||||
const [response, missing] = await Promise.all([
|
||||
fetch(url, { signal }),
|
||||
esriMissingTile(),
|
||||
]);
|
||||
if (!response.ok) {
|
||||
const error = new Error(`Esri tile answered ${response.status}`);
|
||||
error.statusCode = response.status;
|
||||
throw error;
|
||||
}
|
||||
const bytes = await response.arrayBuffer();
|
||||
if (missing && sameBytes(new Uint8Array(bytes), missing))
|
||||
return { missing: true };
|
||||
const contentType = response.headers.get('content-type');
|
||||
return { bytes, ...(contentType ? { contentType } : {}) };
|
||||
}
|
||||
|
||||
/** Cesium World Terrain's ion asset. */
|
||||
const ION_WORLD_TERRAIN = 1;
|
||||
|
||||
/**
|
||||
* Ask Cesium ion for an asset's endpoint, as Cesium does before it draws
|
||||
* one: a token ion refuses, or no answer, refuses the switch with ion's
|
||||
* message, so the map stack stays where it was and says why.
|
||||
* @param {number} asset
|
||||
* @param {string} token
|
||||
* @param {AbortSignal} [signal]
|
||||
*/
|
||||
async function ionEndpoint(asset, token, signal) {
|
||||
const response = await fetch(
|
||||
`https://api.cesium.com/v1/assets/${asset}/endpoint?access_token=${encodeURIComponent(token)}`,
|
||||
{ signal },
|
||||
);
|
||||
const body = await response.json().catch(() => null);
|
||||
if (!response.ok)
|
||||
throw new Error(
|
||||
body?.message ||
|
||||
`Cesium ion answered ${response.status} for asset ${asset}`,
|
||||
);
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the keyless terrain answers: its `layer.json`, read as any
|
||||
* quantized-mesh terrain is read before its first tile.
|
||||
*/
|
||||
async function keylessTerrainAnswers(signal) {
|
||||
try {
|
||||
const response = await fetch(`${KEYLESS_TERRAIN_URL}/layer.json`, {
|
||||
signal,
|
||||
});
|
||||
return response.ok;
|
||||
} catch (error) {
|
||||
if (signal?.aborted) throw error;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Turn a photoreal handle's base on or off. Turning it on can fail (the
|
||||
* port answers route `none`, or rejects): the handle is then off again, so
|
||||
@@ -126,7 +216,7 @@ export const globeMapEngine = Object.freeze({
|
||||
kind: 'xyz',
|
||||
url: OSM_TILES,
|
||||
tiling: 'webMercator',
|
||||
maxLevel: 19,
|
||||
maxLevel: OSM_MAX_LEVEL,
|
||||
credit: credit(OSM_CREDIT),
|
||||
}),
|
||||
esri: () =>
|
||||
@@ -134,12 +224,18 @@ export const globeMapEngine = Object.freeze({
|
||||
kind: 'xyz',
|
||||
url: ESRI_TILES,
|
||||
tiling: 'webMercator',
|
||||
maxLevel: 19,
|
||||
credit: credit(ESRI_CREDIT),
|
||||
maxLevel: ESRI_MAX_LEVEL,
|
||||
fetchTile: fetchEsriTile,
|
||||
credit: credit(ESRI_IMAGERY_CREDIT),
|
||||
}),
|
||||
ion(style, accessToken) {
|
||||
if (!String(accessToken || '').trim())
|
||||
throw new Error('Ion imagery requires an explicit token');
|
||||
async ion(style, accessToken, { signal } = {}) {
|
||||
const token = String(accessToken || '').trim();
|
||||
if (!token) throw new Error('Ion imagery requires an explicit token');
|
||||
const endpoint = await ionEndpoint(style, token, signal);
|
||||
if (endpoint?.type !== 'IMAGERY' || endpoint.externalType !== 'BING')
|
||||
throw new Error(
|
||||
'Ion world imagery did not return a Bing imagery endpoint',
|
||||
);
|
||||
return Object.freeze({
|
||||
kind: 'world',
|
||||
worldStyle: WORLD_STYLES[style] ?? 'aerial',
|
||||
@@ -147,19 +243,31 @@ export const globeMapEngine = Object.freeze({
|
||||
},
|
||||
}),
|
||||
terrain: Object.freeze({
|
||||
world: async (accessToken) => {
|
||||
if (!String(accessToken || '').trim())
|
||||
world: async (accessToken, { signal } = {}) => {
|
||||
const token = String(accessToken || '').trim();
|
||||
if (!token)
|
||||
throw new Error('World terrain requires an explicit ion token');
|
||||
await ionEndpoint(ION_WORLD_TERRAIN, token, signal);
|
||||
return {
|
||||
provider: null,
|
||||
spec: { kind: 'world', requestVertexNormals: true },
|
||||
};
|
||||
},
|
||||
// Re:Earth's keyless terrain, as the Cesium map engine draws it.
|
||||
keyless: async () => ({
|
||||
provider: null,
|
||||
spec: { kind: 'quantizedMesh', url: KEYLESS_TERRAIN_URL },
|
||||
}),
|
||||
/**
|
||||
* Re:Earth's keyless terrain. While it does not answer, the ellipsoid
|
||||
* stands in as a fallback the map stack tries the terrain again behind.
|
||||
*/
|
||||
keyless: async ({ signal } = {}) => {
|
||||
if (await keylessTerrainAnswers(signal))
|
||||
return {
|
||||
provider: null,
|
||||
spec: { kind: 'quantizedMesh', url: KEYLESS_TERRAIN_URL },
|
||||
};
|
||||
console.warn(
|
||||
'[MapStack] Re:Earth terrain unavailable, falling back to flat ellipsoid terrain',
|
||||
);
|
||||
return { provider: null, spec: { kind: 'ellipsoid' }, fallback: true };
|
||||
},
|
||||
}),
|
||||
createImageryLayer: (spec) => ({ spec, layer: null }),
|
||||
requestRender(host) {
|
||||
|
||||
@@ -70,6 +70,116 @@ test('the globe is shown and hidden through the port, read back without globe vi
|
||||
assert.equal(engine.globeShown(visible.host), false);
|
||||
});
|
||||
|
||||
/** Answer `fetch` from `answers` (url to response) while `run` runs. */
|
||||
async function withFetch(answers, run) {
|
||||
const real = globalThis.fetch;
|
||||
const asked = [];
|
||||
globalThis.fetch = async (url) => {
|
||||
asked.push(String(url));
|
||||
const answer = answers(String(url));
|
||||
if (answer instanceof Error) throw answer;
|
||||
return answer;
|
||||
};
|
||||
try {
|
||||
return await run(asked);
|
||||
} finally {
|
||||
globalThis.fetch = real;
|
||||
}
|
||||
}
|
||||
|
||||
const bytesResponse = (bytes, status = 200) => ({
|
||||
ok: status >= 200 && status < 300,
|
||||
status,
|
||||
headers: { get: (name) => (name === 'content-type' ? 'image/jpeg' : null) },
|
||||
arrayBuffer: async () => new Uint8Array(bytes).buffer,
|
||||
json: async () => JSON.parse(new TextDecoder().decode(new Uint8Array(bytes))),
|
||||
});
|
||||
|
||||
const jsonResponse = (body, status = 200) =>
|
||||
bytesResponse([...new TextEncoder().encode(JSON.stringify(body))], status);
|
||||
|
||||
/** Cesium ion's endpoints as a valid token is answered. */
|
||||
const ionAnswers = (url) =>
|
||||
/assets\/1\/endpoint/.test(url)
|
||||
? jsonResponse({ type: 'TERRAIN', url: 'https://assets.ion.invalid/1/' })
|
||||
: jsonResponse({ type: 'IMAGERY', externalType: 'BING', options: {} });
|
||||
|
||||
// Nothing here reaches the network: ion and the keyless terrain answer,
|
||||
// offline.
|
||||
globalThis.fetch = async (url) =>
|
||||
String(url).startsWith('https://api.cesium.com/')
|
||||
? ionAnswers(String(url))
|
||||
: bytesResponse([1]);
|
||||
|
||||
test('Esri goes to its deepest level, its no-imagery picture drawn from the parent', async () => {
|
||||
const spec = engine.imagery.esri();
|
||||
assert.equal(spec.maxLevel, 23);
|
||||
const placeholder = [9, 9, 9];
|
||||
await withFetch(
|
||||
(url) =>
|
||||
url.endsWith('/tile/23/0/0')
|
||||
? bytesResponse(placeholder)
|
||||
: url.endsWith('/5/1/2')
|
||||
? bytesResponse([1, 2, 3, 4])
|
||||
: url.endsWith('/22/7/7')
|
||||
? bytesResponse(placeholder)
|
||||
: bytesResponse([], 503),
|
||||
async (asked) => {
|
||||
const signal = new AbortController().signal;
|
||||
const tile = await spec.fetchTile({ url: `${'x'}/5/1/2`, signal });
|
||||
assert.deepEqual([...new Uint8Array(tile.bytes)], [1, 2, 3, 4]);
|
||||
assert.equal(tile.contentType, 'image/jpeg');
|
||||
assert.deepEqual(
|
||||
await spec.fetchTile({ url: 'x/22/7/7', signal }),
|
||||
{ missing: true },
|
||||
'the no-imagery picture is a missing tile',
|
||||
);
|
||||
await assert.rejects(
|
||||
spec.fetchTile({ url: 'x/1/1/1', signal }),
|
||||
(error) => error.statusCode === 503,
|
||||
'a refused tile is a failed one',
|
||||
);
|
||||
assert.equal(
|
||||
asked.filter((url) => url.endsWith('/tile/23/0/0')).length,
|
||||
1,
|
||||
'the no-imagery picture is read once',
|
||||
);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
test('keyless terrain that does not answer is the flat ellipsoid, marked a fallback', async () => {
|
||||
await withFetch(
|
||||
() => new TypeError('offline'),
|
||||
async (asked) => {
|
||||
const warn = console.warn;
|
||||
console.warn = () => {};
|
||||
try {
|
||||
assert.deepEqual(await engine.terrain.keyless(), {
|
||||
provider: null,
|
||||
spec: { kind: 'ellipsoid' },
|
||||
fallback: true,
|
||||
});
|
||||
} finally {
|
||||
console.warn = warn;
|
||||
}
|
||||
assert.deepEqual(asked, [`${KEYLESS_TERRAIN_URL}/layer.json`]);
|
||||
},
|
||||
);
|
||||
await withFetch(
|
||||
() => bytesResponse([], 503),
|
||||
async () => {
|
||||
const warn = console.warn;
|
||||
console.warn = () => {};
|
||||
try {
|
||||
assert.equal((await engine.terrain.keyless()).fallback, true);
|
||||
} finally {
|
||||
console.warn = warn;
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
test('terrain is the port’s world terrain, or the keyless quantized mesh without a token', async () => {
|
||||
const { host, renderer } = scene(['terrain']);
|
||||
await assert.rejects(engine.terrain.world(''), /ion token/);
|
||||
@@ -78,20 +188,66 @@ test('terrain is the port’s world terrain, or the keyless quantized mesh witho
|
||||
assert.deepEqual(calls(renderer, 'setTerrain').at(-1).args, [
|
||||
{ kind: 'world', requestVertexNormals: true },
|
||||
]);
|
||||
engine.applyTerrain(host, await engine.terrain.keyless());
|
||||
engine.applyTerrain(
|
||||
host,
|
||||
await withFetch(
|
||||
() => bytesResponse([1]),
|
||||
() => engine.terrain.keyless(),
|
||||
),
|
||||
);
|
||||
assert.deepEqual(calls(renderer, 'setTerrain').at(-1).args, [
|
||||
{ kind: 'quantizedMesh', url: KEYLESS_TERRAIN_URL },
|
||||
]);
|
||||
assert.throws(() => engine.imagery.ion(2, ''), /token/);
|
||||
assert.deepEqual(engine.imagery.ion(3, 'token'), {
|
||||
await assert.rejects(engine.imagery.ion(2, ''), /token/);
|
||||
assert.deepEqual(await engine.imagery.ion(3, 'token'), {
|
||||
kind: 'world',
|
||||
worldStyle: 'aerialLabels',
|
||||
});
|
||||
});
|
||||
|
||||
test('a token ion refuses refuses the switch with ion’s message, as Cesium’s own route did', async () => {
|
||||
await withFetch(
|
||||
() =>
|
||||
jsonResponse(
|
||||
{ code: 'InvalidCredentials', message: 'Invalid access token' },
|
||||
401,
|
||||
),
|
||||
async (asked) => {
|
||||
await assert.rejects(
|
||||
engine.imagery.ion(2, 'bad'),
|
||||
/Invalid access token/,
|
||||
);
|
||||
await assert.rejects(engine.terrain.world('bad'), /Invalid access token/);
|
||||
assert.match(asked[0], /\/v1\/assets\/2\/endpoint\?access_token=bad$/);
|
||||
assert.match(asked[1], /\/v1\/assets\/1\/endpoint\?access_token=bad$/);
|
||||
},
|
||||
);
|
||||
await withFetch(
|
||||
() => jsonResponse({ type: 'IMAGERY', externalType: 'GOOGLE_2D_MAPS' }),
|
||||
async () => {
|
||||
await assert.rejects(
|
||||
engine.imagery.ion(2, 'token'),
|
||||
/Bing imagery endpoint/,
|
||||
);
|
||||
},
|
||||
);
|
||||
await withFetch(
|
||||
() => new TypeError('offline'),
|
||||
async () => {
|
||||
await assert.rejects(engine.terrain.world('token'), /offline/);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
test('where the renderer draws no terrain the ellipsoid stays', async () => {
|
||||
const { host, renderer } = scene([]);
|
||||
engine.applyTerrain(host, await engine.terrain.keyless());
|
||||
engine.applyTerrain(
|
||||
host,
|
||||
await withFetch(
|
||||
() => bytesResponse([1]),
|
||||
() => engine.terrain.keyless(),
|
||||
),
|
||||
);
|
||||
assert.deepEqual(calls(renderer, 'setTerrain').at(-1).args, [null]);
|
||||
});
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ const COCKPIT_REFUSALS = Object.freeze({
|
||||
aircraft: msg('Exit cockpit to fly to an aircraft'),
|
||||
satellite: msg('Exit cockpit to fly to a satellite'),
|
||||
frame: msg('Exit cockpit to frame contacts'),
|
||||
// Opening Stories (src/stories/controller.js) takes the camera.
|
||||
stories: msg('Exit cockpit to open Stories'),
|
||||
});
|
||||
|
||||
/** The destination nouns with their own Cockpit refusal (for tests). */
|
||||
|
||||
@@ -25,15 +25,16 @@ const css = readStylesheet(new URL('../style.css', import.meta.url));
|
||||
|
||||
function realtimeTools() { return GEV_REALTIME_TOOLS; }
|
||||
|
||||
test('Realtime schema exposes the authoritative 35-tool inventory', () => {
|
||||
test('Realtime schema exposes the authoritative 36-tool inventory', () => {
|
||||
const tools = realtimeTools();
|
||||
assert.equal(tools.length, 35);
|
||||
assert.equal(tools.length, 36);
|
||||
const names = tools.map((tool) => tool.name);
|
||||
assert.equal(new Set(names).size, 35, 'tool names are unique');
|
||||
assert.equal(new Set(names).size, 36, 'tool names are unique');
|
||||
assert.ok(names.includes('resolve_area'));
|
||||
assert.ok(names.includes('find_imagery'));
|
||||
assert.ok(names.includes('osm_query'));
|
||||
assert.ok(names.includes('show_street_level'));
|
||||
assert.ok(names.includes('open_stories'));
|
||||
assert.ok(names.includes('set_context_mode'));
|
||||
assert.ok(names.includes('control_cockpit'));
|
||||
assert.ok(names.includes('set_voice_inactivity_timeout'));
|
||||
@@ -209,6 +210,8 @@ test('no unchanged Realtime tool definition drifts silently', () => {
|
||||
'osm_query',
|
||||
// Street-level photos: a new composite tool, not an edit to a shipped one.
|
||||
'show_street_level',
|
||||
// Stories Explore: a new entry action.
|
||||
'open_stories',
|
||||
]);
|
||||
const unchanged = realtimeTools()
|
||||
.filter((tool) => !TOUCHED.has(tool.name))
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
* - `renderFailureNotice({allowReload, store})`: a recoverable notice,
|
||||
* published to `store`, when the renderer stops drawing
|
||||
* (`src/render/cesium/renderFailure.js`); returns its removal.
|
||||
* - `cardPreviews`: the Context card's previews of a picked aircraft (its
|
||||
* model turning, its route on a small globe, the view from its cockpit),
|
||||
* each drawn into an element the card gives it
|
||||
* (`src/render/cesium/cardPreviews.js`); without it the card shows its
|
||||
* photo and figures only.
|
||||
*
|
||||
* A plugin hands them as its `applicationHooks(renderer)`
|
||||
* (`ApplicationHooks`, `contract/renderer.d.ts`); the application scene
|
||||
|
||||
@@ -7,17 +7,15 @@
|
||||
* The renderer it makes is transitional. Its ports are the shared Cesium
|
||||
* ports (`ports.js`), the ones the conformance renderer is checked with,
|
||||
* and it has every member of the contract. The application's base (the
|
||||
* photoreal tiles, the map stack's imagery and terrain) is still loaded
|
||||
* through the Cesium map engine (`mapEngine.js`), which the plugin hands
|
||||
* the application with the renderer (its `applicationHooks`); the globe
|
||||
* port drapes its imagery on that base as drawn (see `globe.js`).
|
||||
* photoreal tiles, the map stack's imagery and terrain) is loaded through
|
||||
* the globe port, as on any renderer (`src/maps/globeEngine.js`).
|
||||
* `whenSettled` waits for the globe, the scene's 3D tiles and what the draw
|
||||
* sets hold.
|
||||
*
|
||||
* What only this renderer needs at startup is set up here: the free-look
|
||||
* height limit, keyboard access to the credits' expand link (in the page's
|
||||
* language). The plugin's `applicationHooks` are what the application
|
||||
* uses where a renderer has them: the map engine, stale command trimming,
|
||||
* uses where a renderer has them: stale command trimming,
|
||||
* whether an entity is the viewer's own, and the viewer QA scripts read.
|
||||
* Adapter code reaches the viewer behind a renderer through
|
||||
* `cesiumViewerOf` (`viewers.js`), never through a renderer member, so no
|
||||
@@ -30,14 +28,14 @@ import { bindRenderer } from '../rendererOf.js';
|
||||
import { FREE_LOOK_MAX_HEIGHT_METERS } from '../../globeInView.js';
|
||||
import { createCesiumInput } from './input.js';
|
||||
import { cesiumCapabilities, createCesiumPorts } from './ports.js';
|
||||
import { IDLE_FRAME_RATE } from '../../renderGovernor.js';
|
||||
import { cesiumMapEngine } from './mapEngine.js';
|
||||
import { installFreeLookHeightLimit } from './freeLookLimit.js';
|
||||
import { trimStaleSceneCommands } from './sceneCommandRelease.js';
|
||||
import { configureCreditKeyboardAccess } from './creditKeyboard.js';
|
||||
import { onLocaleChange } from '../../i18n/index.js';
|
||||
import { cesiumViewerOf, recordViewer } from './viewers.js';
|
||||
import { installRenderFailureNotice } from './renderFailure.js';
|
||||
import { cesiumCardPreviews } from './cardPreviews.js';
|
||||
import { cesiumPhotorealOf } from './globe.js';
|
||||
|
||||
export { cesiumViewerOf };
|
||||
|
||||
@@ -128,8 +126,6 @@ export function createCesiumRendererPlugin({
|
||||
capabilities = new ReadonlySet(cesiumCapabilities(viewer.scene));
|
||||
ports = createCesiumPorts(viewer, {
|
||||
capabilities,
|
||||
// Ticking at the display's rate only while anything moves.
|
||||
idleFps: IDLE_FRAME_RATE,
|
||||
credentials: { googleApiKey, googleTokens, worldDataToken },
|
||||
...(cameraController ? { cameraController } : {}),
|
||||
...(clock ? { now, date: () => clock.date() } : {}),
|
||||
@@ -214,7 +210,6 @@ export function createCesiumRendererPlugin({
|
||||
applicationHooks(renderer) {
|
||||
const viewer = cesiumViewerOf(renderer);
|
||||
return {
|
||||
mapEngine: cesiumMapEngine,
|
||||
// Cesium's credit display (#cesium-credits) shows the credits.
|
||||
ownCreditDisplay: true,
|
||||
// Drops the draw commands the scene keeps after it stops drawing
|
||||
@@ -224,11 +219,20 @@ export function createCesiumRendererPlugin({
|
||||
// the aircraft it flies still draws).
|
||||
viewerDrawsEntity: (entity) => viewer.entities.contains(entity),
|
||||
// QA scripts drive and read the viewer itself.
|
||||
qaHandles: { viewer },
|
||||
qaHandles: {
|
||||
viewer,
|
||||
/** The photoreal tileset the globe holds now, shown or hidden. */
|
||||
get tileset() {
|
||||
return cesiumPhotorealOf(viewer.scene);
|
||||
},
|
||||
},
|
||||
// A recoverable notice when the globe stops drawing
|
||||
// (renderFailure.js).
|
||||
renderFailureNotice: (options) =>
|
||||
installRenderFailureNotice(viewer, options),
|
||||
// The Context card's previews, each in a small scene of its own
|
||||
// (cardPreviews.js).
|
||||
cardPreviews: cesiumCardPreviews,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,8 +3,14 @@ import test from 'node:test';
|
||||
import * as Cesium from 'cesium';
|
||||
import { CONTRACT_VERSION, checkRendererShape } from '../contract/index.js';
|
||||
import { rendererOf } from '../rendererOf.js';
|
||||
import { IDLE_FRAME_RATE } from '../../renderGovernor.js';
|
||||
import { cesiumMapEngine } from './mapEngine.js';
|
||||
import {
|
||||
_resetRenderGovernorForTest,
|
||||
holdContinuousRender,
|
||||
IDLE_FRAME_RATE,
|
||||
installRenderGovernor,
|
||||
releaseContinuousRender,
|
||||
uninstallRenderGovernor,
|
||||
} from '../../renderGovernor.js';
|
||||
import {
|
||||
ReadonlySet,
|
||||
cesiumRenderer,
|
||||
@@ -143,7 +149,11 @@ test('the plugin wraps the viewer it is given, behind the accessor only', async
|
||||
'free look is limited to low heights from the start',
|
||||
);
|
||||
const hooks = plugin.applicationHooks(renderer);
|
||||
assert.equal(hooks.mapEngine, cesiumMapEngine, 'the map stacks use Cesium');
|
||||
assert.equal(
|
||||
hooks.mapEngine,
|
||||
undefined,
|
||||
'the map stacks switch through the globe port',
|
||||
);
|
||||
assert.equal(hooks.ownCreditDisplay, true, 'Cesium shows its own credits');
|
||||
assert.equal(hooks.qaHandles.viewer, viewer, 'QA scripts read the viewer');
|
||||
assert.equal(hooks.viewerDrawsEntity({ own: true }), true);
|
||||
@@ -169,7 +179,7 @@ test('the plugin wraps the viewer it is given, behind the accessor only', async
|
||||
assert.deepEqual(log, ['resize', 'destroy'], 'destroying twice is safe');
|
||||
});
|
||||
|
||||
test('the application’s loop ticks at the idle rate while nothing moves, and at the display’s while anything does', async (t) => {
|
||||
test('with the governor installed, the loop ticks at the idle rate while nothing moves, and at the display’s while anything does, the renderer’s own holds included', async (t) => {
|
||||
withDocument(t, fakeDocument());
|
||||
let viewer;
|
||||
const plugin = createCesiumRendererPlugin({
|
||||
@@ -184,12 +194,19 @@ test('the application’s loop ticks at the idle rate while nothing moves, and a
|
||||
container: {},
|
||||
signal: new AbortController().signal,
|
||||
});
|
||||
installRenderGovernor(renderer.frame);
|
||||
t.after(() => _resetRenderGovernorForTest());
|
||||
assert.equal(viewer.targetFrameRate, IDLE_FRAME_RATE, 'idle');
|
||||
holdContinuousRender('flights');
|
||||
assert.equal(viewer.targetFrameRate, undefined, 'a layer moving');
|
||||
releaseContinuousRender('flights');
|
||||
assert.equal(viewer.targetFrameRate, IDLE_FRAME_RATE);
|
||||
assert.equal(renderer.frame.diagnostics().targetFps, 0, 'no cap');
|
||||
const release = renderer.frame.holdContinuous('flights');
|
||||
assert.equal(viewer.targetFrameRate, undefined);
|
||||
// As animated visual styles hold it (effects.js).
|
||||
const release = renderer.frame.holdContinuous('effects:animated');
|
||||
assert.equal(viewer.targetFrameRate, undefined, 'the renderer’s own hold');
|
||||
release();
|
||||
assert.equal(viewer.targetFrameRate, IDLE_FRAME_RATE);
|
||||
uninstallRenderGovernor(renderer.frame);
|
||||
renderer.destroy();
|
||||
});
|
||||
|
||||
|
||||
@@ -106,8 +106,9 @@ export function createApplicationViewer({
|
||||
}),
|
||||
);
|
||||
try {
|
||||
// Until the frame port takes over (appRenderer.js), tick at the idle
|
||||
// rate so the startup load does not compete with drawing at 240 fps.
|
||||
// Until the render governor takes over (src/renderGovernor.js, installed
|
||||
// by src/app/scene.js), tick at the idle rate so the startup load does
|
||||
// not compete with drawing at 240 fps.
|
||||
viewer.targetFrameRate = IDLE_FRAME_RATE;
|
||||
// No double-click follow or zoom: the Viewer's own (it tracked or
|
||||
// zoomed to the entity picked) is off. Following is a layer's click.
|
||||
|
||||
@@ -0,0 +1,753 @@
|
||||
/**
|
||||
* @module render/cesium/cardPreviews
|
||||
* @description The Context card's previews on the Cesium renderer: an
|
||||
* aircraft's model turning on its own, its route on a small globe, and the
|
||||
* view ahead from its cockpit. Each draws in a small Cesium scene of its own
|
||||
* inside the element it is given, and is torn down with the card. The
|
||||
* application reaches them through the `cardPreviews` application hook
|
||||
* (`render/applicationHooks.js`); the card's words, figures and HUD stay
|
||||
* the application's.
|
||||
*
|
||||
* Every preview is `{setActive(active), update(values), destroy()}`: a
|
||||
* hidden one stops drawing and rests on its last frame, and shown again it
|
||||
* draws once straight away so there is no gap. A preview that cannot be
|
||||
* made calls its `onFailed`.
|
||||
*/
|
||||
import * as Cesium from 'cesium';
|
||||
import { webglContext } from './internals.js';
|
||||
import { createEsriImagery } from './mapImagery.js';
|
||||
|
||||
/**
|
||||
* Destroy a preview's widget and free its WebGL context. A browser keeps
|
||||
* only a handful of contexts open and drops the oldest, the main globe's,
|
||||
* when there are too many; a destroyed widget's context is otherwise freed
|
||||
* only when garbage is collected, so flicking through cards could push the
|
||||
* globe's out.
|
||||
* @param {Cesium.CesiumWidget|null} widget
|
||||
*/
|
||||
function destroyWidget(widget) {
|
||||
if (!widget || widget.isDestroyed()) return;
|
||||
let gl = null;
|
||||
try {
|
||||
gl = webglContext(widget.scene) ?? null;
|
||||
} catch {
|
||||
gl = null;
|
||||
}
|
||||
widget.destroy();
|
||||
try {
|
||||
gl?.getExtension?.('WEBGL_lose_context')?.loseContext();
|
||||
} catch {
|
||||
// Nothing more can be done; the context goes when it is collected.
|
||||
}
|
||||
}
|
||||
|
||||
/** A small widget with no input, credits or render-loop error panel. */
|
||||
function createWidget(container, options) {
|
||||
const widget = new Cesium.CesiumWidget(container, {
|
||||
skyBox: false,
|
||||
scene3DOnly: true,
|
||||
shadows: false,
|
||||
showRenderLoopErrors: false,
|
||||
// The globe's own credits already show; a preview's go in its corner.
|
||||
creditContainer: document.createElement('div'),
|
||||
...options,
|
||||
});
|
||||
widget.scene.screenSpaceCameraController.enableInputs = false;
|
||||
return widget;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops a hidden widget's render loop once `ready()` says it has something
|
||||
* to rest on; shown again, it draws once at once.
|
||||
*/
|
||||
function renderLoopSwitch(widget, ready = () => true) {
|
||||
let active = true;
|
||||
const sync = () => {
|
||||
if (widget.isDestroyed()) return;
|
||||
const run = active || !ready();
|
||||
if (run && !widget.useDefaultRenderLoop) {
|
||||
widget.resize();
|
||||
widget.render();
|
||||
}
|
||||
widget.useDefaultRenderLoop = run;
|
||||
};
|
||||
return {
|
||||
sync,
|
||||
set(next) {
|
||||
active = Boolean(next);
|
||||
sync();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
const reducedMotion = () =>
|
||||
globalThis.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches === true;
|
||||
|
||||
// ── The turning model ──────────────────────────────────────────────────
|
||||
|
||||
/** How long each look lasts, and each reveal between them, in turns. */
|
||||
const PLAIN_TURNS = 1;
|
||||
const SCAN_TURNS = 0.3;
|
||||
const REVEAL_TURNS = 0.07;
|
||||
/** How long (ms) the plain model holds after the reveal before a cycle ends. */
|
||||
const HOLD_MS = 700;
|
||||
/** How fast the model turns, in radians a millisecond (about 0.3 a second). */
|
||||
const TURN_PER_MS = 0.0003;
|
||||
|
||||
// Model space, normalised so the craft reaches about 1.7 from its centre.
|
||||
// u_reveal runs 0 to 2: from 0 to 1 the edge grows from the centre and
|
||||
// leaves wire inside it; at 1 it is all wire; from 1 to 2 it grows again and
|
||||
// leaves the model inside it. Outside that range the model draws as it is.
|
||||
const LOOK_SHADER = `
|
||||
void fragmentMain(FragmentInput fsInput, inout czm_modelMaterial material) {
|
||||
if (u_reveal <= 0.0 || u_reveal >= 2.0) return;
|
||||
vec3 p = fsInput.attributes.positionMC / u_half;
|
||||
bool entering = u_reveal < 1.0;
|
||||
float r = length(p);
|
||||
float front = mix(0.0, 1.8, entering ? u_reveal : u_reveal - 1.0);
|
||||
float edge = 1.0 - smoothstep(0.0, 0.05, abs(r - front));
|
||||
vec3 white = vec3(0.9, 0.96, 1.0);
|
||||
bool wire = entering ? r < front : r > front;
|
||||
if (!wire) {
|
||||
material.emissive += white * edge * 1.4;
|
||||
return;
|
||||
}
|
||||
// A fine grid: many small cells, hairline lines.
|
||||
vec3 q = p * 18.0;
|
||||
vec3 g = abs(fract(q - 0.5) - 0.5) / max(fwidth(q), vec3(1e-4));
|
||||
float line = (1.0 - clamp(min(min(g.x, g.y), g.z) * 2.4, 0.0, 1.0)) * 0.7;
|
||||
vec3 base = material.diffuse;
|
||||
// Opaque: a near-black body with white lines on it and its own colour
|
||||
// faintly through, which reads as a wireframe against the dark card (a
|
||||
// translucent model does not blend onto this scene's transparent canvas).
|
||||
material.diffuse = base * 0.12 + vec3(0.015, 0.02, 0.03);
|
||||
material.specular = vec3(0.0);
|
||||
material.emissive = white * line + base * 0.35 + white * edge * 1.4;
|
||||
}`;
|
||||
|
||||
/**
|
||||
* An aircraft's model turning slowly, with no globe, sky or imagery. Its
|
||||
* look changes as it turns: a whole rotation as it is, then a short
|
||||
* wireframe scan (under a third of a turn), then round again; each change is
|
||||
* a reveal, a bright ring growing from the craft's centre to its edges. One
|
||||
* custom shader does it, driven by a uniform, because a shader set on a
|
||||
* model after it is ready does nothing in this Cesium. Under reduced motion
|
||||
* there is no scan.
|
||||
*
|
||||
* `onPhase('plain'|'scan')` says when the look changes; `onCycle(ms)` when a
|
||||
* look and its scan end, with the drawing time they took, so the card can
|
||||
* give another view the same time.
|
||||
* @param {HTMLElement} container
|
||||
* @param {{gltf: Uint8Array|ArrayBuffer, basePath?: string, heading?: number,
|
||||
* viewRange?: number}} model The GLB's bytes; the heading (degrees) it
|
||||
* starts facing; how far the camera stands, in bounding radii.
|
||||
* @param {{onPhase?: (phase: string) => void, onCycle?: (ms: number) => void,
|
||||
* onFailed?: () => void}} [events]
|
||||
*/
|
||||
function modelPreview(
|
||||
container,
|
||||
{ gltf, basePath, heading = 0, viewRange = 1.9 },
|
||||
{ onPhase = () => {}, onCycle = () => {}, onFailed = () => {} } = {},
|
||||
) {
|
||||
let widget = null;
|
||||
let model = null;
|
||||
let loaded = false;
|
||||
let removeTick = null;
|
||||
let loop = null;
|
||||
const fail = () => {
|
||||
if (!widget) return;
|
||||
onFailed();
|
||||
};
|
||||
try {
|
||||
widget = createWidget(container, {
|
||||
globe: false,
|
||||
skyAtmosphere: false,
|
||||
baseLayer: false,
|
||||
contextOptions: { webgl: { alpha: true, antialias: true } },
|
||||
});
|
||||
const { scene } = widget;
|
||||
scene.backgroundColor = Cesium.Color.TRANSPARENT;
|
||||
scene.light = new Cesium.DirectionalLight({
|
||||
direction: Cesium.Cartesian3.normalize(
|
||||
new Cesium.Cartesian3(-0.4, -0.6, -0.7),
|
||||
new Cesium.Cartesian3(),
|
||||
),
|
||||
intensity: 2.4,
|
||||
});
|
||||
loop = renderLoopSwitch(widget, () => loaded);
|
||||
} catch {
|
||||
onFailed();
|
||||
return { setActive() {}, update() {}, destroy() {} };
|
||||
}
|
||||
|
||||
const shader = new Cesium.CustomShader({
|
||||
uniforms: {
|
||||
u_reveal: { type: Cesium.UniformType.FLOAT, value: 0 },
|
||||
u_half: { type: Cesium.UniformType.FLOAT, value: 20 },
|
||||
},
|
||||
fragmentShaderText: LOOK_SHADER,
|
||||
});
|
||||
const origin = Cesium.Cartesian3.fromDegrees(0, 0, 0);
|
||||
|
||||
const start = (sphere) => {
|
||||
// The craft reaches about 0.6 of its bounding radius from the centre.
|
||||
shader.setUniform('u_half', sphere.radius * 0.6);
|
||||
const first = Cesium.Math.toRadians(heading + 140);
|
||||
let turn = first;
|
||||
let phase = 'plain';
|
||||
let cycleMs = 0;
|
||||
let lastFrame = performance.now();
|
||||
let holdMs = null;
|
||||
const still = reducedMotion();
|
||||
const range = sphere.radius * viewRange;
|
||||
const pitch = Cesium.Math.toRadians(-18);
|
||||
const ease = (x) => x * x * (3 - 2 * x);
|
||||
const frame = () => {
|
||||
// Only time spent drawing counts: a hidden preview stops drawing.
|
||||
const now = performance.now();
|
||||
const drawn = now - lastFrame < 250 ? now - lastFrame : 0;
|
||||
lastFrame = now;
|
||||
// A steady turn whatever the display's refresh rate; still under
|
||||
// reduced motion.
|
||||
if (!still) turn += TURN_PER_MS * drawn;
|
||||
const turns = (turn - first) / (2 * Math.PI);
|
||||
// Where in the scan it is, and from that how far each reveal has gone.
|
||||
const into = (turns % (PLAIN_TURNS + SCAN_TURNS)) - PLAIN_TURNS;
|
||||
let reveal = 0;
|
||||
if (!still && into >= 0) {
|
||||
if (into < REVEAL_TURNS) reveal = ease(into / REVEAL_TURNS);
|
||||
else if (into > SCAN_TURNS - REVEAL_TURNS)
|
||||
reveal =
|
||||
1 + ease((into - (SCAN_TURNS - REVEAL_TURNS)) / REVEAL_TURNS);
|
||||
else reveal = 1;
|
||||
}
|
||||
const next = reveal > 0 && reveal < 2 ? 'scan' : 'plain';
|
||||
cycleMs += drawn;
|
||||
// The cycle ends once the reveal back to the model has finished and
|
||||
// the plain model has held a moment, never mid-reveal.
|
||||
if (phase === 'scan' && next === 'plain') holdMs = 0;
|
||||
if (holdMs !== null && next === 'plain') {
|
||||
holdMs += drawn;
|
||||
if (holdMs >= HOLD_MS) {
|
||||
onCycle(cycleMs);
|
||||
cycleMs = 0;
|
||||
holdMs = null;
|
||||
}
|
||||
}
|
||||
if (next !== phase) {
|
||||
phase = next;
|
||||
onPhase(phase);
|
||||
}
|
||||
shader.setUniform('u_reveal', reveal);
|
||||
widget.camera.lookAt(
|
||||
sphere.center,
|
||||
new Cesium.HeadingPitchRange(turn, pitch, range),
|
||||
);
|
||||
};
|
||||
frame();
|
||||
removeTick = widget.scene.preRender.addEventListener(frame);
|
||||
widget.render();
|
||||
loaded = true;
|
||||
loop.sync();
|
||||
};
|
||||
|
||||
Cesium.Model.fromGltfAsync({
|
||||
gltf,
|
||||
basePath,
|
||||
customShader: shader,
|
||||
modelMatrix: Cesium.Transforms.eastNorthUpToFixedFrame(origin),
|
||||
// A light rim so the mesh reads against the dark card.
|
||||
silhouetteColor: Cesium.Color.WHITE.withAlpha(0.3),
|
||||
silhouetteSize: 1,
|
||||
}).then((made) => {
|
||||
if (!widget) {
|
||||
made.destroy();
|
||||
return;
|
||||
}
|
||||
model = widget.scene.primitives.add(made);
|
||||
model.readyEvent.addEventListener(() => {
|
||||
if (widget) start(model.boundingSphere);
|
||||
});
|
||||
model.errorEvent?.addEventListener?.(fail);
|
||||
}, fail);
|
||||
|
||||
function move(atNow) {
|
||||
const at = onRoute(from, to, atNow);
|
||||
if (!widget || !at || !plane || flyingIn) return;
|
||||
pose(plane, at);
|
||||
if (flownLine) flownLine.polyline.positions = arc(from, at, 48);
|
||||
if (aheadLine) aheadLine.polyline.positions = arc(at, to);
|
||||
widget.scene.requestRender();
|
||||
}
|
||||
|
||||
return {
|
||||
setActive: (active) => loop.set(active),
|
||||
update() {},
|
||||
destroy() {
|
||||
removeTick?.();
|
||||
removeTick = null;
|
||||
const gone = widget;
|
||||
widget = null;
|
||||
model = null;
|
||||
destroyWidget(gone);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
// ── The route globe ────────────────────────────────────────────────────
|
||||
|
||||
const CYAN = Cesium.Color.fromCssColorString('#36dcff');
|
||||
const AMBER = Cesium.Color.fromCssColorString('#ffb86b');
|
||||
/** Height (m) the route and the plane are drawn at, clear of the globe. */
|
||||
const ROUTE_HEIGHT_M = 30_000;
|
||||
|
||||
// The plane: the Material "flight" silhouette, nose up (north), white with
|
||||
// a cyan glow, drawn once as an image.
|
||||
const PLANE_ICON = `data:image/svg+xml;utf8,${encodeURIComponent(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 32 32" width="64" height="64">' +
|
||||
'<defs><filter id="g" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="1.4"/></filter></defs>' +
|
||||
'<path filter="url(#g)" fill="#36dcff" d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/>' +
|
||||
'<path fill="#ffffff" stroke="#0b1820" stroke-width="0.6" d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/>' +
|
||||
'</svg>',
|
||||
)}`;
|
||||
|
||||
/**
|
||||
* An airport's code as an image, white with a dark outline, at the page's
|
||||
* pixel ratio. The preview is a small scene of its own, so its two codes are
|
||||
* drawn into it rather than on the world overlay, which belongs to the globe.
|
||||
* @param {string} code
|
||||
* @returns {{image: HTMLCanvasElement, width: number, height: number}}
|
||||
* the image and its size on screen, CSS pixels
|
||||
*/
|
||||
function codeImage(code) {
|
||||
const ratio = Math.min(3, Math.max(1, globalThis.devicePixelRatio || 1));
|
||||
const font = `600 ${11 * ratio}px ui-monospace, monospace`;
|
||||
const canvas = document.createElement('canvas');
|
||||
const context = canvas.getContext('2d');
|
||||
context.font = font;
|
||||
const pad = 3 * ratio;
|
||||
canvas.width = Math.ceil(context.measureText(code).width + pad * 2);
|
||||
canvas.height = Math.ceil(15 * ratio);
|
||||
context.font = font;
|
||||
context.textBaseline = 'middle';
|
||||
context.lineJoin = 'round';
|
||||
context.lineWidth = 3 * ratio;
|
||||
context.strokeStyle = '#000';
|
||||
context.fillStyle = '#fff';
|
||||
context.strokeText(code, pad, canvas.height / 2);
|
||||
context.fillText(code, pad, canvas.height / 2);
|
||||
return {
|
||||
image: canvas,
|
||||
width: canvas.width / ratio,
|
||||
height: canvas.height / ratio,
|
||||
};
|
||||
}
|
||||
|
||||
/** The initial bearing (degrees from north) of the great circle a → b. */
|
||||
function bearing(a, b) {
|
||||
const rad = Math.PI / 180;
|
||||
const y = Math.sin((b.lon - a.lon) * rad) * Math.cos(b.lat * rad);
|
||||
const x =
|
||||
Math.cos(a.lat * rad) * Math.sin(b.lat * rad) -
|
||||
Math.sin(a.lat * rad) *
|
||||
Math.cos(b.lat * rad) *
|
||||
Math.cos((b.lon - a.lon) * rad);
|
||||
return (Math.atan2(y, x) / rad + 360) % 360;
|
||||
}
|
||||
|
||||
const geodesic = (a, b) =>
|
||||
new Cesium.EllipsoidGeodesic(
|
||||
Cesium.Cartographic.fromDegrees(a.lon, a.lat),
|
||||
Cesium.Cartographic.fromDegrees(b.lon, b.lat),
|
||||
);
|
||||
|
||||
/** Points along the great circle from a to b, as far as `upTo` (0 to 1). */
|
||||
function arc(a, b, steps = 64, upTo = 1) {
|
||||
const line = geodesic(a, b);
|
||||
const out = [];
|
||||
const n = Math.max(2, Math.round(steps * upTo));
|
||||
for (let i = 0; i <= n; i++) {
|
||||
const c = line.interpolateUsingFraction((i / n) * upTo);
|
||||
out.push(
|
||||
Cesium.Cartesian3.fromRadians(c.longitude, c.latitude, ROUTE_HEIGHT_M),
|
||||
);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/**
|
||||
* The point on the great circle from `from` to `to` nearest the craft. The
|
||||
* craft is drawn there and the route split there, so the path stays one
|
||||
* smooth arc: a craft a little off the direct line (vectors, airways, a
|
||||
* detour) would otherwise bend it into a sharp corner.
|
||||
*/
|
||||
function onRoute(from, to, at) {
|
||||
if (!at || !Number.isFinite(at.lat) || !Number.isFinite(at.lon)) return null;
|
||||
const route = geodesic(from, to);
|
||||
const here = Cesium.Cartesian3.fromDegrees(at.lon, at.lat);
|
||||
const point = new Cesium.Cartesian3();
|
||||
let best = null;
|
||||
let bestDistance = Infinity;
|
||||
const STEPS = 200;
|
||||
for (let i = 0; i <= STEPS; i++) {
|
||||
const c = route.interpolateUsingFraction(i / STEPS);
|
||||
Cesium.Cartesian3.fromRadians(
|
||||
c.longitude,
|
||||
c.latitude,
|
||||
0,
|
||||
Cesium.Ellipsoid.WGS84,
|
||||
point,
|
||||
);
|
||||
const d = Cesium.Cartesian3.distanceSquared(here, point);
|
||||
if (d < bestDistance) {
|
||||
bestDistance = d;
|
||||
best = {
|
||||
lat: Cesium.Math.toDegrees(c.latitude),
|
||||
lon: Cesium.Math.toDegrees(c.longitude),
|
||||
};
|
||||
}
|
||||
}
|
||||
return best;
|
||||
}
|
||||
|
||||
/**
|
||||
* The plane's billboard pose, nose along `deg` from north: the icon's up is
|
||||
* tied to the local north on the globe and turned from there, so it points
|
||||
* the right way in this tilted view too.
|
||||
*/
|
||||
function planePose(at, deg) {
|
||||
const position = Cesium.Cartesian3.fromDegrees(
|
||||
at.lon,
|
||||
at.lat,
|
||||
ROUTE_HEIGHT_M,
|
||||
);
|
||||
const frame = Cesium.Transforms.eastNorthUpToFixedFrame(position);
|
||||
const north = Cesium.Matrix4.getColumn(frame, 1, new Cesium.Cartesian4());
|
||||
return {
|
||||
position,
|
||||
rotation: -Cesium.Math.toRadians(deg),
|
||||
alignedAxis: new Cesium.Cartesian3(north.x, north.y, north.z),
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* A flight's route on a small globe: the great circle from origin to
|
||||
* destination, solid where it has flown and dashed ahead, the two airports
|
||||
* marked with their codes, and a plane where the craft is now, pointing at
|
||||
* the destination. On opening, the flown part draws out from the origin to
|
||||
* the craft. The globe uses Cesium's bundled Natural Earth image, so it
|
||||
* fetches no map tiles. It holds still, north up and framed on the route.
|
||||
* @param {HTMLElement} container
|
||||
* @param {{from: {code?: string, lat: number, lon: number},
|
||||
* to: {code?: string, lat: number, lon: number},
|
||||
* at?: {lat: number, lon: number}|null}} route
|
||||
* @param {{onFailed?: () => void}} [events]
|
||||
*/
|
||||
function routePreview(container, route, { onFailed = () => {} } = {}) {
|
||||
let widget = null;
|
||||
let loop = null;
|
||||
let { from, to } = route;
|
||||
let plane = null;
|
||||
let flownLine = null;
|
||||
let aheadLine = null;
|
||||
let removeGrow = null;
|
||||
/** True while the plane flies in from the origin; moves wait for it. */
|
||||
let flyingIn = false;
|
||||
/** The craft's latest position, kept through the fly-in and the load. */
|
||||
let latest = route.at;
|
||||
|
||||
const pose = (entity, where) => {
|
||||
const next = planePose(where, bearing(where, to));
|
||||
entity.position = next.position;
|
||||
entity.billboard.rotation = next.rotation;
|
||||
entity.billboard.alignedAxis = next.alignedAxis;
|
||||
};
|
||||
|
||||
const draw = (atNow) => {
|
||||
if (!widget) return;
|
||||
const at = onRoute(from, to, atNow);
|
||||
const { entities, scene } = widget;
|
||||
removeGrow?.();
|
||||
removeGrow = null;
|
||||
entities.removeAll();
|
||||
plane = flownLine = null;
|
||||
const pin = (place, color) =>
|
||||
entities.add({
|
||||
position: Cesium.Cartesian3.fromDegrees(place.lon, place.lat),
|
||||
point: {
|
||||
pixelSize: 7,
|
||||
color,
|
||||
outlineColor: Cesium.Color.BLACK.withAlpha(0.6),
|
||||
outlineWidth: 1,
|
||||
},
|
||||
...(place.code
|
||||
? {
|
||||
billboard: {
|
||||
...codeImage(place.code),
|
||||
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||
pixelOffset: new Cesium.Cartesian2(0, -6),
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
});
|
||||
pin(from, CYAN.withAlpha(0.9));
|
||||
pin(to, AMBER);
|
||||
|
||||
// Ahead of the craft, dashed; behind it, solid, drawing out on open.
|
||||
aheadLine = entities.add({
|
||||
polyline: {
|
||||
positions: arc(at || from, to),
|
||||
width: 1.5,
|
||||
material: new Cesium.PolylineDashMaterialProperty({
|
||||
color: AMBER.withAlpha(0.8),
|
||||
dashLength: 10,
|
||||
}),
|
||||
arcType: Cesium.ArcType.NONE,
|
||||
},
|
||||
});
|
||||
if (at) {
|
||||
let progress = 0;
|
||||
const flown = (flownLine = entities.add({
|
||||
polyline: {
|
||||
positions: new Cesium.CallbackProperty(
|
||||
() => arc(from, at, 48, Math.max(0.02, progress)),
|
||||
false,
|
||||
),
|
||||
width: 2.5,
|
||||
material: new Cesium.PolylineGlowMaterialProperty({
|
||||
color: CYAN,
|
||||
glowPower: 0.25,
|
||||
}),
|
||||
arcType: Cesium.ArcType.NONE,
|
||||
},
|
||||
}));
|
||||
// The plane starts at the origin and flies out along the flown line
|
||||
// as it draws, arriving where the craft is now.
|
||||
const first = planePose(from, bearing(from, to));
|
||||
plane = entities.add({
|
||||
position: first.position,
|
||||
billboard: {
|
||||
image: PLANE_ICON,
|
||||
width: 26,
|
||||
height: 26,
|
||||
rotation: first.rotation,
|
||||
alignedAxis: first.alignedAxis,
|
||||
},
|
||||
});
|
||||
const leg = geodesic(from, at);
|
||||
const ease = (x) => 1 - (1 - x) ** 3;
|
||||
// The fly-in waits until the globe has drawn (its imagery loads a
|
||||
// moment after the card opens), at most 1.5 s, so it is seen from the
|
||||
// start. Under reduced motion it is there at once.
|
||||
let began = reducedMotion() ? -Infinity : null;
|
||||
const opened = performance.now();
|
||||
flyingIn = true;
|
||||
const grow = () => {
|
||||
if (began === null) {
|
||||
if (!scene.globe.tilesLoaded && performance.now() - opened < 1500)
|
||||
return;
|
||||
began = performance.now();
|
||||
}
|
||||
const raw = Math.min(1, (performance.now() - began) / 1600);
|
||||
progress = ease(raw);
|
||||
const c = leg.interpolateUsingFraction(progress);
|
||||
pose(plane, {
|
||||
lat: Cesium.Math.toDegrees(c.latitude),
|
||||
lon: Cesium.Math.toDegrees(c.longitude),
|
||||
});
|
||||
if (raw >= 1) {
|
||||
flyingIn = false;
|
||||
flown.polyline.positions = arc(from, at, 48);
|
||||
removeGrow?.();
|
||||
removeGrow = null;
|
||||
// The craft may have moved on while the plane flew in.
|
||||
move(latest);
|
||||
}
|
||||
};
|
||||
removeGrow = scene.preRender.addEventListener(grow);
|
||||
}
|
||||
|
||||
// Frame the whole route, north up, looking down at a slight tilt; the
|
||||
// view holds still so the plane and labels keep their bearings.
|
||||
const points = [from, to, ...(at ? [at] : [])].map((p) =>
|
||||
Cesium.Cartesian3.fromDegrees(p.lon, p.lat),
|
||||
);
|
||||
const sphere = Cesium.BoundingSphere.fromPoints(points);
|
||||
const range = Math.max(1_800_000, sphere.radius * 3.2);
|
||||
const center =
|
||||
Cesium.Ellipsoid.WGS84.scaleToGeodeticSurface(sphere.center) ||
|
||||
sphere.center;
|
||||
widget.camera.lookAt(
|
||||
center,
|
||||
new Cesium.HeadingPitchRange(0, Cesium.Math.toRadians(-62), range),
|
||||
);
|
||||
scene.requestRender();
|
||||
};
|
||||
|
||||
try {
|
||||
widget = createWidget(container, {
|
||||
baseLayer: false,
|
||||
skyAtmosphere: false,
|
||||
contextOptions: { webgl: { alpha: true, antialias: true } },
|
||||
});
|
||||
const { scene } = widget;
|
||||
scene.backgroundColor = Cesium.Color.TRANSPARENT;
|
||||
scene.globe.baseColor = Cesium.Color.fromCssColorString('#0b1820');
|
||||
scene.globe.showGroundAtmosphere = false;
|
||||
scene.globe.enableLighting = false;
|
||||
loop = renderLoopSwitch(widget);
|
||||
} catch {
|
||||
onFailed();
|
||||
return { setActive() {}, update() {}, destroy() {} };
|
||||
}
|
||||
Cesium.TileMapServiceImageryProvider.fromUrl(
|
||||
Cesium.buildModuleUrl('Assets/Textures/NaturalEarthII'),
|
||||
).then(
|
||||
(imagery) => {
|
||||
if (!widget) return;
|
||||
const layer = widget.scene.imageryLayers.addImageryProvider(imagery);
|
||||
// Dimmed and cooled, so the route reads over it.
|
||||
layer.brightness = 0.55;
|
||||
layer.saturation = 0.35;
|
||||
layer.contrast = 1.1;
|
||||
draw(latest);
|
||||
},
|
||||
() => widget && onFailed(),
|
||||
);
|
||||
|
||||
function move(atNow) {
|
||||
const at = onRoute(from, to, atNow);
|
||||
if (!widget || !at || !plane || flyingIn) return;
|
||||
pose(plane, at);
|
||||
if (flownLine) flownLine.polyline.positions = arc(from, at, 48);
|
||||
if (aheadLine) aheadLine.polyline.positions = arc(at, to);
|
||||
widget.scene.requestRender();
|
||||
}
|
||||
|
||||
return {
|
||||
setActive: (active) => loop.set(active),
|
||||
/**
|
||||
* A new route redraws; the craft moving along it only moves its plane
|
||||
* and the two lines, without replaying the opening draw.
|
||||
*/
|
||||
update(next) {
|
||||
if (!widget) return;
|
||||
latest = next.at;
|
||||
if (next.from?.code !== from.code || next.to?.code !== to.code) {
|
||||
({ from, to } = next);
|
||||
draw(latest);
|
||||
return;
|
||||
}
|
||||
move(latest);
|
||||
},
|
||||
destroy() {
|
||||
removeGrow?.();
|
||||
removeGrow = null;
|
||||
const gone = widget;
|
||||
widget = null;
|
||||
destroyWidget(gone);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
// ── The cockpit view ───────────────────────────────────────────────────
|
||||
|
||||
/** A floor for the eye, so a landed or taxiing craft is not underground. */
|
||||
const MIN_EYE_M = 60;
|
||||
|
||||
/**
|
||||
* What the crew sees: the view ahead from the aircraft's own position,
|
||||
* height and heading, a little nose down, over Esri World Imagery (the
|
||||
* app's keyless basemap) on a plain ellipsoid with the sky's haze. It draws
|
||||
* only when asked: a still, moved along with the craft while it shows.
|
||||
* @param {HTMLElement} container
|
||||
* @param {{lat: number, lon: number, altitudeM?: number|null,
|
||||
* heading?: number|null}} craft
|
||||
* @param {{onFailed?: () => void}} [events]
|
||||
*/
|
||||
function cockpitPreview(container, craft, { onFailed = () => {} } = {}) {
|
||||
let widget = null;
|
||||
let loop = null;
|
||||
let active = false;
|
||||
let at = craft;
|
||||
const place = () => {
|
||||
if (!widget || !Number.isFinite(at?.lat) || !Number.isFinite(at?.lon))
|
||||
return;
|
||||
const height = Math.max(
|
||||
MIN_EYE_M,
|
||||
Number.isFinite(at.altitudeM) ? at.altitudeM : 0,
|
||||
);
|
||||
widget.camera.setView({
|
||||
destination: Cesium.Cartesian3.fromDegrees(at.lon, at.lat, height),
|
||||
orientation: {
|
||||
heading: Cesium.Math.toRadians(
|
||||
Number.isFinite(at.heading) ? at.heading : 0,
|
||||
),
|
||||
pitch: Cesium.Math.toRadians(-9),
|
||||
roll: 0,
|
||||
},
|
||||
});
|
||||
widget.scene.requestRender();
|
||||
};
|
||||
try {
|
||||
widget = createWidget(container, {
|
||||
baseLayer: false,
|
||||
requestRenderMode: true,
|
||||
maximumRenderTimeChange: Infinity,
|
||||
contextOptions: { webgl: { alpha: false, antialias: true } },
|
||||
});
|
||||
const { scene } = widget;
|
||||
scene.globe.baseColor = Cesium.Color.fromCssColorString('#0b1820');
|
||||
scene.globe.showGroundAtmosphere = true;
|
||||
scene.fog.enabled = true;
|
||||
scene.camera.frustum.fov = Cesium.Math.toRadians(70);
|
||||
// Tiles arriving ask for a frame, so the still fills in as they load.
|
||||
scene.globe.tileLoadProgressEvent.addEventListener(() =>
|
||||
scene.requestRender(),
|
||||
);
|
||||
place();
|
||||
// Hidden, it draws nothing at all, not even as tiles arrive.
|
||||
loop = renderLoopSwitch(widget);
|
||||
loop.set(active);
|
||||
} catch {
|
||||
onFailed();
|
||||
return { setActive() {}, update() {}, destroy() {} };
|
||||
}
|
||||
createEsriImagery().then(
|
||||
(imagery) => {
|
||||
if (!widget) return;
|
||||
widget.scene.imageryLayers.addImageryProvider(imagery);
|
||||
widget.scene.requestRender();
|
||||
},
|
||||
() => widget && onFailed(),
|
||||
);
|
||||
return {
|
||||
setActive(next) {
|
||||
active = Boolean(next);
|
||||
if (!widget) return;
|
||||
loop.set(active);
|
||||
if (active) place();
|
||||
},
|
||||
/** While it shows, the view keeps up with the craft. */
|
||||
update(next) {
|
||||
at = next;
|
||||
if (active) place();
|
||||
},
|
||||
destroy() {
|
||||
const gone = widget;
|
||||
widget = null;
|
||||
destroyWidget(gone);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* The card previews, as the `cardPreviews` application hook hands them.
|
||||
* @type {Readonly<{model: typeof modelPreview, route: typeof routePreview,
|
||||
* cockpit: typeof cockpitPreview}>}
|
||||
*/
|
||||
export const cesiumCardPreviews = Object.freeze({
|
||||
model: modelPreview,
|
||||
route: routePreview,
|
||||
cockpit: cockpitPreview,
|
||||
});
|
||||
+38
-28
@@ -413,18 +413,25 @@ function flowTime(speed) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Drawn frames a line set's lines stay unchanged before the solid ones
|
||||
* among them settle into a static batch (`settleLines`).
|
||||
* Milliseconds a line set's lines stay unchanged before the solid ones
|
||||
* among them settle into a static batch (`settleLines`), and a shape set's
|
||||
* moved shapes go back into its batches (`settleShapes`). Timed, so a
|
||||
* batch builds as soon at every refresh rate.
|
||||
*/
|
||||
export const SETTLE_FRAMES = 30;
|
||||
export const SETTLE_MS = 500;
|
||||
|
||||
/**
|
||||
* Fewer lines than this left in the collection beside a static batch wait
|
||||
* `LONG_SETTLE_FRAMES` to settle, as rebuilding the batch for them costs
|
||||
* `LONG_SETTLE_MS` to settle, as rebuilding the batch for them costs
|
||||
* more than drawing them in the collection for a while.
|
||||
*/
|
||||
export const FEW_LOOSE_LINES = 64;
|
||||
export const LONG_SETTLE_FRAMES = 300;
|
||||
export const LONG_SETTLE_MS = 5000;
|
||||
|
||||
/** A line set's settling: waiting the short time, the long one, or done. */
|
||||
const SETTLE_SHORT = 0;
|
||||
const SETTLE_LONG = 1;
|
||||
const SETTLE_DONE = 2;
|
||||
|
||||
/**
|
||||
* Clamped fills a set draws alone at most, each where it last moved
|
||||
@@ -452,12 +459,14 @@ const animating = (record) => record.gpu?.animating();
|
||||
* @param {{scene: object, report: (error: unknown) => void,
|
||||
* capabilities?: ReadonlySet<string>,
|
||||
* requestRender?: (reason: string) => void,
|
||||
* date?: () => number}} options `capabilities` gate
|
||||
* date?: () => number,
|
||||
* now?: () => number}} options `capabilities` gate
|
||||
* the GPU icon sets' members (by default they all are); `requestRender`,
|
||||
* the frame port's, asks for the frames a GPU icon set needs on its own
|
||||
* (its images packed), under the reason `icons:<set id>` (by default the
|
||||
* scene's, with no reason); `date`, the epoch ms a `live` motion clock
|
||||
* reads (by default the system clock's).
|
||||
* reads (by default the system clock's); `now`, the milliseconds settling
|
||||
* waits are timed by (`performance.now` by default).
|
||||
*/
|
||||
export function createCesiumDraw({
|
||||
scene,
|
||||
@@ -465,6 +474,7 @@ export function createCesiumDraw({
|
||||
capabilities = new Set(GPU_ICON_CAPABILITIES),
|
||||
requestRender: requestFrame = null,
|
||||
date = null,
|
||||
now = () => performance.now(),
|
||||
}) {
|
||||
const sets = new Map();
|
||||
// Fields share the sets' ids.
|
||||
@@ -3107,7 +3117,8 @@ export function createCesiumDraw({
|
||||
record.lineBox = settling ? own : null;
|
||||
record.batch = null;
|
||||
record.batchPending = null;
|
||||
record.settled = 0;
|
||||
record.changedAt = now();
|
||||
record.settleStage = SETTLE_SHORT;
|
||||
if (!draped.size && !glows.size && !alone.length && !groundPieces.length) {
|
||||
noteFlows(record);
|
||||
return replaceHost(record, own);
|
||||
@@ -3581,7 +3592,8 @@ export function createCesiumDraw({
|
||||
* still building drew them as they were, so it is dropped.
|
||||
*/
|
||||
function unsettle(record) {
|
||||
record.settled = 0;
|
||||
record.changedAt = now();
|
||||
record.settleStage = SETTLE_SHORT;
|
||||
const pending = record.batchPending;
|
||||
if (!pending) return;
|
||||
record.batchPending = null;
|
||||
@@ -3736,10 +3748,10 @@ export function createCesiumDraw({
|
||||
}
|
||||
|
||||
/**
|
||||
* After a draw: a line set whose lines have not changed for
|
||||
* `SETTLE_FRAMES` drawn frames starts building its static batch, of all
|
||||
* its lines that `settles`, once some are still in the collection (when
|
||||
* it has a batch and only a few are, after `LONG_SETTLE_FRAMES`); one
|
||||
* After a draw: a line set whose lines have not changed for `SETTLE_MS`
|
||||
* starts building its static batch, of all its lines that `settles`, once
|
||||
* some are still in the collection (when it has a batch and only a few
|
||||
* are, after `LONG_SETTLE_MS`); one
|
||||
* built swaps in for the collection's lines it draws (`swapBatch`).
|
||||
* Unchanged lines in a polyline collection cost a material id a line
|
||||
* every frame; in a batch they cost nothing until they change.
|
||||
@@ -3750,13 +3762,10 @@ export function createCesiumDraw({
|
||||
swapBatch(record);
|
||||
return;
|
||||
}
|
||||
if (record.settled > LONG_SETTLE_FRAMES) return;
|
||||
record.settled += 1;
|
||||
if (
|
||||
record.settled !== SETTLE_FRAMES &&
|
||||
record.settled !== LONG_SETTLE_FRAMES
|
||||
)
|
||||
return;
|
||||
if (record.settleStage === SETTLE_DONE) return;
|
||||
const wait =
|
||||
record.settleStage === SETTLE_SHORT ? SETTLE_MS : LONG_SETTLE_MS;
|
||||
if (now() - record.changedAt < wait) return;
|
||||
// The lines that can settle still in the collection: a batch is
|
||||
// rebuilt whole for them, so a few wait longer, as a few cost little.
|
||||
let loose = 0;
|
||||
@@ -3765,10 +3774,12 @@ export function createCesiumDraw({
|
||||
if (
|
||||
record.batch &&
|
||||
loose < FEW_LOOSE_LINES &&
|
||||
record.settled < LONG_SETTLE_FRAMES
|
||||
)
|
||||
record.settleStage === SETTLE_SHORT
|
||||
) {
|
||||
record.settleStage = SETTLE_LONG;
|
||||
return;
|
||||
record.settled = LONG_SETTLE_FRAMES + 1;
|
||||
}
|
||||
record.settleStage = SETTLE_DONE;
|
||||
if (!loose) return;
|
||||
const members = [];
|
||||
for (const [itemId, part] of record.lineParts) {
|
||||
@@ -5007,7 +5018,7 @@ export function createCesiumDraw({
|
||||
if (part.batch.ready) showOn(part.batch, part.id, false);
|
||||
}
|
||||
hideRetiringShape(record, item.id);
|
||||
record.shapesStill = 0;
|
||||
record.shapesMovedAt = now();
|
||||
part.solo = true;
|
||||
part.pendingShow = undefined;
|
||||
part.look = lookOf(item);
|
||||
@@ -5081,7 +5092,7 @@ export function createCesiumDraw({
|
||||
|
||||
/**
|
||||
* After a draw: a shape set whose shapes drawn alone have not moved for
|
||||
* `SETTLE_FRAMES` drawn frames rebuilds, so they go back into its
|
||||
* `SETTLE_MS` rebuilds, so they go back into its
|
||||
* batches; the host drawing them alone draws until the rebuild is ready.
|
||||
*/
|
||||
function settleShapes(record) {
|
||||
@@ -5093,9 +5104,8 @@ export function createCesiumDraw({
|
||||
break;
|
||||
}
|
||||
if (!alone) return;
|
||||
record.shapesStill = (record.shapesStill ?? 0) + 1;
|
||||
if (record.shapesStill < SETTLE_FRAMES) return;
|
||||
record.shapesStill = 0;
|
||||
if (now() - record.shapesMovedAt < SETTLE_MS) return;
|
||||
record.shapesMovedAt = now();
|
||||
record.rebuild();
|
||||
requestRender();
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@ import { bindRenderer, drawOf, findDraw } from '../rendererOf.js';
|
||||
import {
|
||||
createCesiumDraw,
|
||||
FEW_LOOSE_LINES,
|
||||
LONG_SETTLE_FRAMES,
|
||||
LONG_SETTLE_MS,
|
||||
MOVING_SHAPES,
|
||||
revealUniform,
|
||||
SETTLE_FRAMES,
|
||||
SETTLE_MS,
|
||||
unboundDrawPart,
|
||||
} from './draw.js';
|
||||
import { drawHitOf } from './drawHit.js';
|
||||
@@ -93,6 +93,19 @@ test('nothing to draw into, no port', () => {
|
||||
});
|
||||
|
||||
/** A draw port over a fake scene, with its frame hooks. */
|
||||
/**
|
||||
* Settling waits are timed. A test that settles times them by `frameClock`
|
||||
* (`timeFrames`), which each fake frame moves on by `FRAME_MS`.
|
||||
*/
|
||||
const FRAME_MS = 20;
|
||||
const SETTLE_FRAMES = SETTLE_MS / FRAME_MS;
|
||||
const LONG_SETTLE_FRAMES = LONG_SETTLE_MS / FRAME_MS;
|
||||
const frameClock = { ms: 0 };
|
||||
function timeFrames(t) {
|
||||
frameClock.ms = 0;
|
||||
t.mock.method(performance, 'now', () => frameClock.ms);
|
||||
}
|
||||
|
||||
function drawOver(scene = fakeScene()) {
|
||||
const viewer = { scene };
|
||||
const draw = drawOf(viewer);
|
||||
@@ -100,6 +113,7 @@ function drawOver(scene = fakeScene()) {
|
||||
scene,
|
||||
draw,
|
||||
frame() {
|
||||
frameClock.ms += FRAME_MS;
|
||||
scene.preRender.raiseEvent();
|
||||
scene.postRender.raiseEvent();
|
||||
},
|
||||
@@ -2978,8 +2992,9 @@ function settlingSet(id = 'stems') {
|
||||
};
|
||||
}
|
||||
|
||||
test('unchanged solid 3D lines settle into a static batch, changed there in place', () =>
|
||||
test('unchanged solid 3D lines settle into a static batch, changed there in place', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const { set, frame } = s;
|
||||
const stem = settleStem;
|
||||
@@ -3114,8 +3129,24 @@ test('unchanged solid 3D lines settle into a static batch, changed there in plac
|
||||
set.dispose();
|
||||
}));
|
||||
|
||||
test('many lines left beside a static batch settle as soon as they are unchanged', () =>
|
||||
test('lines settle after the same time at any refresh rate', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
s.set.set([settleStem('a', 100)]);
|
||||
const host = s.host();
|
||||
// Two frames are enough when they are half a second apart.
|
||||
frameClock.ms = SETTLE_MS - FRAME_MS - 1;
|
||||
s.frame();
|
||||
assert.equal(host.length, 1, 'not before the time');
|
||||
s.frame();
|
||||
assert.equal(host.length, 2, 'building once it has passed');
|
||||
s.set.dispose();
|
||||
}));
|
||||
|
||||
test('many lines left beside a static batch settle as soon as they are unchanged', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const { set } = s;
|
||||
const stems = (height) =>
|
||||
@@ -3134,8 +3165,9 @@ test('many lines left beside a static batch settle as soon as they are unchanged
|
||||
set.dispose();
|
||||
}));
|
||||
|
||||
test('an outlined solid line draws one outline material, recoloured in place, and never settles', () =>
|
||||
test('an outlined solid line draws one outline material, recoloured in place, and never settles', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const outlined = (core, halo) =>
|
||||
settleStem('ring', 100, {
|
||||
@@ -3177,8 +3209,9 @@ test('an outlined solid line draws one outline material, recoloured in place, an
|
||||
s.set.dispose();
|
||||
}));
|
||||
|
||||
test('a line that moves by as many points is written into the points it draws; by more, it takes new ones', () =>
|
||||
test('a line that moves by as many points is written into the points it draws; by more, it takes new ones', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const style = {
|
||||
kind: 'solid',
|
||||
@@ -3232,8 +3265,9 @@ test('a line that moves by as many points is written into the points it draws; b
|
||||
s.set.dispose();
|
||||
}));
|
||||
|
||||
test('a line under half a pixel wide, which the collection does not draw, never settles', () =>
|
||||
test('a line under half a pixel wide, which the collection does not draw, never settles', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
s.set.set([
|
||||
settleStem('thin', 100, { widthPx: 0.25 }),
|
||||
@@ -3248,8 +3282,9 @@ test('a line under half a pixel wide, which the collection does not draw, never
|
||||
s.set.dispose();
|
||||
}));
|
||||
|
||||
test('a settling line set keeps what was drawn, not the item a caller changes in place', () =>
|
||||
test('a settling line set keeps what was drawn, not the item a caller changes in place', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const { set } = s;
|
||||
const a = settleStem('a', 100);
|
||||
@@ -3276,8 +3311,9 @@ test('a settling line set keeps what was drawn, not the item a caller changes in
|
||||
set.dispose();
|
||||
}));
|
||||
|
||||
test('a settling line set rebuilt or gone while its batch builds, or after the viewer went, lets the batch go', () =>
|
||||
test('a settling line set rebuilt or gone while its batch builds, or after the viewer went, lets the batch go', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const s = settlingSet();
|
||||
const { set } = s;
|
||||
set.set([settleStem('a', 100), settleStem('b', 200)]);
|
||||
@@ -3308,17 +3344,22 @@ test('a settling line set rebuilt or gone while its batch builds, or after the v
|
||||
set.dispose();
|
||||
}));
|
||||
|
||||
test('a static batch that fails to build is reported once, and its lines stay in the collection', () =>
|
||||
test('a static batch that fails to build is reported once, and its lines stay in the collection', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const scene = fakeScene();
|
||||
const reported = [];
|
||||
const part = createCesiumDraw({
|
||||
scene,
|
||||
report: (error) => reported.push(error),
|
||||
});
|
||||
const afterFrame = () => {
|
||||
frameClock.ms += FRAME_MS;
|
||||
part.afterRender();
|
||||
};
|
||||
const set = part.port.lines({ id: 'failing' });
|
||||
set.set([settleStem('a', 100)]);
|
||||
for (let i = 0; i < SETTLE_FRAMES; i++) part.afterRender();
|
||||
for (let i = 0; i < SETTLE_FRAMES; i++) afterFrame();
|
||||
const host = scene.added[0];
|
||||
const batch = host.get(1);
|
||||
assert.ok(batch, 'building');
|
||||
@@ -3326,11 +3367,11 @@ test('a static batch that fails to build is reported once, and its lines stay in
|
||||
// batch keeps the error rather than throw it every frame.
|
||||
batch.update({ passes: { render: true }, mode: Cesium.SceneMode.SCENE3D });
|
||||
assert.ok(batch.failed, 'kept');
|
||||
part.afterRender();
|
||||
afterFrame();
|
||||
assert.deepEqual(reported, [batch.failed]);
|
||||
assert.equal(host.length, 1, 'the build is gone');
|
||||
assert.equal(host.get(0).length, 1, 'the collection draws the line');
|
||||
for (let i = 0; i < SETTLE_FRAMES * 2; i++) part.afterRender();
|
||||
for (let i = 0; i < SETTLE_FRAMES * 2; i++) afterFrame();
|
||||
assert.equal(host.length, 1, 'it settles no more');
|
||||
assert.equal(reported.length, 1);
|
||||
set.dispose();
|
||||
@@ -7482,8 +7523,9 @@ test('an inertial line with a depth-fail style draws behind the surface too, tur
|
||||
set.dispose();
|
||||
}));
|
||||
|
||||
test('a pattern line draws its image along it, repeated, and an inertial line turns with the sky', () =>
|
||||
test('a pattern line draws its image along it, repeated, and an inertial line turns with the sky', (t) =>
|
||||
withImageClasses(() => {
|
||||
timeFrames(t);
|
||||
const { scene, draw, frame } = drawOver();
|
||||
const set = draw.lines({ id: 'orbit-rings' });
|
||||
const ring = [
|
||||
@@ -7777,8 +7819,9 @@ const firstGround = (host) => {
|
||||
return null;
|
||||
};
|
||||
|
||||
test('moved clamped fills go back into a rebuilt batch once they have been still for a while', () =>
|
||||
test('moved clamped fills go back into a rebuilt batch once they have been still for a while', (t) =>
|
||||
withTerrainHeights(() => {
|
||||
timeFrames(t);
|
||||
const { scene, draw, frame } = drawOver();
|
||||
const set = draw.shapes({ id: 'settling' });
|
||||
set.set([groundBox('a', 1), groundBox('b', 2)]);
|
||||
|
||||
@@ -161,6 +161,8 @@ export function createSceneFrame(viewer) {
|
||||
liveTick = null;
|
||||
};
|
||||
const holds = new Map();
|
||||
// Told when the first hold is taken and the last released.
|
||||
const heldListeners = listenerList(uncaught);
|
||||
const pendingRenders = new Set();
|
||||
const gone = () => disposed || scene.isDestroyed?.();
|
||||
const sceneTime = (time) =>
|
||||
@@ -244,8 +246,10 @@ export function createSceneFrame(viewer) {
|
||||
},
|
||||
holdContinuous(reason) {
|
||||
if (disposed) return () => {};
|
||||
const first = holds.size === 0;
|
||||
holds.set(reason, (holds.get(reason) ?? 0) + 1);
|
||||
if (!gone()) scene.requestRender();
|
||||
if (first) heldListeners.fire(true);
|
||||
let released = false;
|
||||
return () => {
|
||||
if (released) return;
|
||||
@@ -255,8 +259,10 @@ export function createSceneFrame(viewer) {
|
||||
else holds.delete(reason);
|
||||
// What changed in the last held frame still gets drawn.
|
||||
if (!gone()) scene.requestRender();
|
||||
if (holds.size === 0) heldListeners.fire(false);
|
||||
};
|
||||
},
|
||||
onHeldChange: (cb) => heldListeners.on(cb),
|
||||
mode: () => (scene.requestRenderMode ? 'demand' : 'continuous'),
|
||||
diagnostics: () => ({
|
||||
mode: port.mode(),
|
||||
@@ -324,6 +330,7 @@ export function createSceneFrame(viewer) {
|
||||
settleTick(false);
|
||||
for (const off of removers.splice(0)) off();
|
||||
for (const list of Object.values(listeners)) list.clear();
|
||||
heldListeners.clear();
|
||||
holds.clear();
|
||||
// Waits settle rather than stay attached to a scene gone quiet.
|
||||
for (const done of [...pendingRenders]) done();
|
||||
|
||||
@@ -190,6 +190,23 @@ test('a built frame port counts holds per reason, times out a wait, and settles
|
||||
unbind();
|
||||
});
|
||||
|
||||
test('a built frame port says when its first hold is taken and its last released', () => {
|
||||
const viewer = fakeViewer();
|
||||
viewer.useDefaultRenderLoop = false;
|
||||
const frame = frameOf(viewer);
|
||||
const heard = [];
|
||||
const off = frame.onHeldChange((held) => heard.push(held));
|
||||
const a = frame.holdContinuous('spin');
|
||||
const b = frame.holdContinuous('glow');
|
||||
a();
|
||||
assert.deepEqual(heard, [true], 'once for the first hold');
|
||||
b();
|
||||
assert.deepEqual(heard, [true, false], 'once for the last release');
|
||||
off();
|
||||
frame.holdContinuous('spin')();
|
||||
assert.deepEqual(heard, [true, false], 'nothing once off');
|
||||
});
|
||||
|
||||
test('renderNow throws the error Cesium raises on renderError', () => {
|
||||
const listeners = new Set();
|
||||
const failure = new Error('worker failed');
|
||||
|
||||
+92
-12
@@ -59,7 +59,15 @@ async function terrainProvider(spec, { worldDataToken }) {
|
||||
throw new TypeError('Quantized-mesh terrain needs its url');
|
||||
// Busy hosts are asked again as the keyless terrain is
|
||||
// (`terrainRetry.js`); every tile's resource inherits the policy.
|
||||
const policy = createTerrainRetryPolicy();
|
||||
const policy = createTerrainRetryPolicy({
|
||||
// One line per cooldown window, not per tile: a burst throttles dozens.
|
||||
onThrottle: ({ statusCode, delayMs, inWindow }) => {
|
||||
if (inWindow === 1)
|
||||
console.warn(
|
||||
`[MapStack] terrain answered ${statusCode}; retrying throttled tiles after ${Math.round(delayMs)} ms`,
|
||||
);
|
||||
},
|
||||
});
|
||||
const resource = new Cesium.Resource({
|
||||
url: spec.url,
|
||||
retryCallback: policy.retryCallback,
|
||||
@@ -104,6 +112,19 @@ czm_material czm_getMaterial(czm_materialInput materialInput)
|
||||
/** The last `surfaceVersion` any globe port handed out. */
|
||||
let surfaceVersions = 0;
|
||||
|
||||
/** Each scene's photoreal tileset as a globe port holds it, shown or hidden. */
|
||||
const photorealTilesets = new WeakMap();
|
||||
|
||||
/**
|
||||
* The Cesium photoreal tileset a globe port over `scene` holds: shown, or
|
||||
* hidden and kept to show again; null when it holds none. For QA scripts.
|
||||
* @param {object} scene
|
||||
* @returns {object | null}
|
||||
*/
|
||||
export function cesiumPhotorealOf(scene) {
|
||||
return photorealTilesets.get(scene)?.() ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {object} widget A Cesium `CesiumWidget` or `Viewer`.
|
||||
* @param {{capabilities: ReadonlySet<string>,
|
||||
@@ -111,7 +132,8 @@ let surfaceVersions = 0;
|
||||
* report?: (error: unknown) => void,
|
||||
* credits?: import('../contract/credits').CreditsPort | null,
|
||||
* credentials?: {googleApiKey?: string, googleTokens?: () => Promise<string>,
|
||||
* worldDataToken?: string}}} options
|
||||
* worldDataToken?: string},
|
||||
* loadPhotoreal?: typeof loadPhotorealisticTileset}} options
|
||||
* @returns {{port: import('../contract/globe').GlobePort, dispose: () => void}}
|
||||
*/
|
||||
export function createCesiumGlobe(
|
||||
@@ -122,6 +144,8 @@ export function createCesiumGlobe(
|
||||
report = uncaught,
|
||||
credits = null,
|
||||
credentials = {},
|
||||
// Tests load their own.
|
||||
loadPhotoreal = loadPhotorealisticTileset,
|
||||
},
|
||||
) {
|
||||
const scene = widget.scene;
|
||||
@@ -130,9 +154,17 @@ export function createCesiumGlobe(
|
||||
|
||||
// --- Base ------------------------------------------------------------------
|
||||
|
||||
/** The photoreal tileset this port loaded, if any. */
|
||||
/** The photoreal tileset this port loaded, if any, and its spec. */
|
||||
let photoreal = null;
|
||||
let photorealSpec = null;
|
||||
let photorealStatus = { route: 'none' };
|
||||
/**
|
||||
* The photoreal tileset last turned off, kept hidden with the spec and
|
||||
* status it loaded with: that same spec shows it again at once, without
|
||||
* loading it anew (Google counts each load).
|
||||
*/
|
||||
let parked = null;
|
||||
photorealTilesets.set(scene, () => photoreal ?? parked?.tileset ?? null);
|
||||
let photorealGen = 0;
|
||||
let terrainGen = 0;
|
||||
let baseGen = 0;
|
||||
@@ -178,31 +210,74 @@ export function createCesiumGlobe(
|
||||
worldDataToken: () => credentials.worldDataToken,
|
||||
});
|
||||
|
||||
function removePhotoreal() {
|
||||
if (!photoreal) return;
|
||||
const tileset = photoreal;
|
||||
photoreal = null;
|
||||
// The layers draped on it move off before it takes them with it.
|
||||
imagery.sync();
|
||||
function destroyTileset(tileset) {
|
||||
if (!tileset.isDestroyed() && !scene.primitives.remove(tileset))
|
||||
tileset.destroy();
|
||||
}
|
||||
|
||||
function removePhotoreal() {
|
||||
if (!photoreal) return;
|
||||
const tileset = photoreal;
|
||||
photoreal = null;
|
||||
photorealSpec = null;
|
||||
// The layers draped on it move off before it takes them with it.
|
||||
imagery.sync();
|
||||
destroyTileset(tileset);
|
||||
}
|
||||
|
||||
/** Hide the photoreal tileset, kept for its spec to show again. */
|
||||
function parkPhotoreal() {
|
||||
if (!photoreal) return;
|
||||
if (parked) destroyTileset(parked.tileset);
|
||||
parked = {
|
||||
spec: photorealSpec,
|
||||
status: photorealStatus,
|
||||
tileset: photoreal,
|
||||
};
|
||||
photoreal.show = false;
|
||||
photoreal = null;
|
||||
photorealSpec = null;
|
||||
imagery.sync();
|
||||
}
|
||||
|
||||
/** Show the parked tileset again when `spec` is the one it loaded with. */
|
||||
function unparkPhotoreal(spec) {
|
||||
const kept = parked;
|
||||
if (!kept || kept.spec !== spec || kept.tileset.isDestroyed()) return null;
|
||||
parked = null;
|
||||
removePhotoreal();
|
||||
photoreal = kept.tileset;
|
||||
photorealSpec = spec;
|
||||
photoreal.show = true;
|
||||
photorealStatus = kept.status;
|
||||
imagery.sync();
|
||||
requestRender('base');
|
||||
return photorealStatus;
|
||||
}
|
||||
|
||||
async function setPhotoreal(spec) {
|
||||
const gen = ++photorealGen;
|
||||
removePhotoreal();
|
||||
photorealStatus = { route: 'none' };
|
||||
if (!spec || !can('photoreal')) {
|
||||
if (spec) removePhotoreal();
|
||||
else parkPhotoreal();
|
||||
photorealStatus = { route: 'none' };
|
||||
requestRender('base');
|
||||
return photorealStatus;
|
||||
}
|
||||
const shown = unparkPhotoreal(spec);
|
||||
if (shown) return shown;
|
||||
removePhotoreal();
|
||||
if (parked) {
|
||||
destroyTileset(parked.tileset);
|
||||
parked = null;
|
||||
}
|
||||
photorealStatus = { route: 'none' };
|
||||
// The spec's own route first: its key, else its tokens, else the
|
||||
// renderer's credentials.
|
||||
const googleApiKey =
|
||||
spec.key ?? (spec.token ? '' : (credentials.googleApiKey ?? ''));
|
||||
const token = spec.token ?? credentials.googleTokens;
|
||||
const result = await loadPhotorealisticTileset(Cesium, {
|
||||
const result = await loadPhotoreal(Cesium, {
|
||||
googleApiKey,
|
||||
// A renewal names the token it replaces.
|
||||
googleTokens: token ? { token: (options) => token(options) } : null,
|
||||
@@ -224,6 +299,7 @@ export function createCesiumGlobe(
|
||||
};
|
||||
} else {
|
||||
photoreal = scene.primitives.add(result.tileset);
|
||||
photorealSpec = spec;
|
||||
photorealStatus = { route: ROUTES[result.route] ?? 'google' };
|
||||
}
|
||||
imagery.sync();
|
||||
@@ -616,6 +692,10 @@ export function createCesiumGlobe(
|
||||
if (disposed) return;
|
||||
disposed = true;
|
||||
photorealGen += 1;
|
||||
if (parked) {
|
||||
destroyTileset(parked.tileset);
|
||||
parked = null;
|
||||
}
|
||||
terrainGen += 1;
|
||||
baseGen += 1;
|
||||
baseLoad?.abort();
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
import * as Cesium from 'cesium';
|
||||
import { createCesiumGlobe, markBaseTileset } from './globe.js';
|
||||
import {
|
||||
cesiumPhotorealOf,
|
||||
createCesiumGlobe,
|
||||
markBaseTileset,
|
||||
} from './globe.js';
|
||||
import { hookProvider, TILE_RETRY_DELAY_MS, xyzTileUrl } from './imagery.js';
|
||||
|
||||
const ALL = new Set([
|
||||
@@ -805,3 +809,43 @@ test('hillshade shading owns a free globe material, follows the terrain, gives i
|
||||
assert.equal(scene.globe.material, theirs);
|
||||
dispose();
|
||||
});
|
||||
|
||||
test('photoreal turned off is kept hidden, and the same spec shows it without loading it again', async () => {
|
||||
const scene = fakeScene();
|
||||
const loads = [];
|
||||
const { port } = createCesiumGlobe(
|
||||
{ scene },
|
||||
{
|
||||
capabilities: new Set(['photoreal']),
|
||||
requestRender: () => {},
|
||||
credentials: { worldDataToken: 'ion' },
|
||||
loadPhotoreal: async (_sdk, credentials) => {
|
||||
loads.push(credentials);
|
||||
return { tileset: fakeTileset(), route: 'direct', errors: [] };
|
||||
},
|
||||
},
|
||||
);
|
||||
const spec = { provider: 'google', key: 'key', fallback: true };
|
||||
assert.deepEqual(await port.setPhotoreal(spec), { route: 'google' });
|
||||
assert.equal(loads.length, 1);
|
||||
assert.equal(loads[0].googleApiKey, 'key');
|
||||
assert.equal(loads[0].cesiumToken, 'ion');
|
||||
const first = cesiumPhotorealOf(scene);
|
||||
assert.equal(first.show, true);
|
||||
|
||||
assert.deepEqual(await port.setPhotoreal(null), { route: 'none' });
|
||||
assert.equal(first.isDestroyed(), false, 'kept');
|
||||
assert.equal(first.show, false, 'hidden');
|
||||
assert.equal(cesiumPhotorealOf(scene), first, 'QA scripts still read it');
|
||||
|
||||
assert.deepEqual(await port.setPhotoreal(spec), { route: 'google' });
|
||||
assert.equal(loads.length, 1, 'not loaded again');
|
||||
assert.equal(cesiumPhotorealOf(scene), first);
|
||||
assert.equal(first.show, true);
|
||||
|
||||
await port.setPhotoreal(null);
|
||||
await port.setPhotoreal({ provider: 'google', key: 'other' });
|
||||
assert.equal(loads.length, 2, 'another spec loads its own');
|
||||
assert.equal(first.isDestroyed(), true, 'the kept one goes');
|
||||
assert.notEqual(cesiumPhotorealOf(scene), first);
|
||||
});
|
||||
@@ -59,10 +59,11 @@ export async function loadPhotorealisticTileset(
|
||||
export function createGoogleDirectTileset(Cesium, key) {
|
||||
key = clean(key);
|
||||
if (!key) throw new Error('Google 3D requires an explicit browser key');
|
||||
// Tiles keep drawing their own texture while draped weather loads.
|
||||
// Tiles keep drawing their own texture while draped weather loads, and
|
||||
// clamped marks land on them, as on the token routes' tiles.
|
||||
return Cesium.createGooglePhotorealistic3DTileset(
|
||||
{ key, onlyUsingWithGoogleGeocoder: true },
|
||||
{ asynchronouslyLoadImagery: true },
|
||||
{ asynchronouslyLoadImagery: true, enableCollision: true },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -149,6 +149,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'renderer.releaseUnused',
|
||||
'renderer.whenSettled',
|
||||
'renderer.resize',
|
||||
'frame.onHeldChange',
|
||||
'frame.setTargetFps',
|
||||
'globe.setTerrain',
|
||||
'globe.setPhotoreal',
|
||||
|
||||
@@ -32,6 +32,7 @@ import {
|
||||
videoProvider,
|
||||
} from './imageryFrames.js';
|
||||
import { withTileRequestHook } from './tileRequests.js';
|
||||
import { createIonImagery } from './mapImagery.js';
|
||||
|
||||
const SPLITS = { none: 'NONE', left: 'LEFT', right: 'RIGHT' };
|
||||
const DRAPES = new Set(['surface', 'objects', 'all']);
|
||||
@@ -157,9 +158,11 @@ export function providerFor(spec, { worldDataToken } = {}) {
|
||||
throw new TypeError(
|
||||
'World imagery needs the renderer’s world data token',
|
||||
);
|
||||
return Cesium.IonImageryProvider.fromAssetId(
|
||||
// Bing through ion, its tiles over HTTPS on any page, with ion's
|
||||
// credits, as the map stacks have always drawn it.
|
||||
return createIonImagery(
|
||||
WORLD_ASSETS[spec.worldStyle ?? 'aerial'] ?? WORLD_ASSETS.aerial,
|
||||
{ accessToken },
|
||||
accessToken,
|
||||
);
|
||||
}
|
||||
// The app's own: the vector base's tiles, painted from its style.
|
||||
|
||||
Loaded 100 of 209 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user