Commit Graph
2618 Commits
Author SHA1 Message Date
Said Turksever f7c058b97d Merge branch 'main' into fix/i18n-layer-errors-in-data 2026-10-28 15:09:37 +00:00
Said Turksever 71574179a2 test(qa): skip the seek visibility check outside a Vite dev server
__gevQaRegisterLayer exists only in dev builds; against vite preview the
check threw and the remaining director checks never ran.
2026-10-28 14:35:01 +00:00
Said Turksever d57bc0af3c test(locator): give the Stop test double the seek-generation helper
stopScene now supersedes seeks through _bumpSceneSeekGeneration; the
bhoteKoshiLocator Stop test calls stopScene on a plain object, so it
needs the method too. Without it four tests throw at the PR head.
2026-10-28 14:30:45 +00:00
Said Turksever b731adea49 Merge remote-tracking branch 'upstream/main' into pr1374-fix 2026-10-28 14:28:38 +00:00
Said Turksever 3b57299231 fix(director): keep rejected loads from cancelling LOAD; roll back seek only on refusal
- Superseding a seek aborts only the seek's own layer reconcile, so a
  loadShot that is later rejected (shot-not-found) no longer cancels an
  in-flight LOAD. Stop still aborts any LOAD.
- A refused seek rolls back to each layer's effective intent, so a manual
  toggle still in flight is kept.
- A cancelled seek leaves layers to whatever superseded it, as a cancelled
  LOAD does; only refusal rolls back.
- Move the _seekLoadedShot JSDoc back onto its method.
2026-10-28 14:28:38 +00:00
German KhokhlovandClaude Opus 5.5 b521f6a1fa i18n(de): apply review round 2
- Meaning fixes: the radio link opens the broadcaster's website
  (SENDER-WEBSITE), a straight lane is «geradeaus führend», not the middle
  one, IDLE is INAKTIV (BEREIT is READY), the Gemini errors name the send
  queue, traffic percent is live coverage (Live-Abdeckung), the voice radius
  is measured from the Bildmitte, the AIS voice error names the Live-Schiffe
  layer, and the Bhote landslide is «Erdrutsch» throughout (not «Abbruch»).
- Number-neutral status lines for feed and layer lists, and a payload count
  line that also reads correctly for +1.
- Retry wording follows the glossary: «neue Versuche in größeren Abständen».
- Weather history lines are shorter and fit the collapsed row: «Frame fehlt;
  letzter Stand bleibt erhalten», «Kein Frame in den {gap} min bis {time}»
  (the gap only looks back from the target time).
- Shorter search placeholder «Ort suchen...», which was clipped.
- Smaller wording: Himmelsring, Lagebild-HUD, SCHLEPPVERBAND, Minimum Fuel
  (Treibstoff knapp), Bloom / Leuchten, DOWNRANGE GESCHÄTZT, Places-Kontext,
  MELDUNG, Rückflug zur Weltübersicht, REALE BILDDATEN and others.
- Glossary and routing notes updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 18:21:14 +04:00
Said Turksever e37e8453dd Merge pull request #1014 from deepeshbind/fix/scene-director-callback-errors
fix: guard scene director callbacks
2026-10-28 14:19:41 +00:00
Said Turksever 8cedd159e3 fix(layers): translate every route proxy refusal and clear stale receiver errorText
The route proxy also refuses with 'routing busy — too many routes at once'
(429) and 'route proxy error'; both showed in English in every locale.
Mark them in ROUTING_REFUSALS and add es, ru, zh-CN and zh-Hant entries.

errorText is now cleared on a new connection, a mode switch and stop(), so
it never outlives the error it describes. Tests cover the two refusals,
'Routing failed: rate limited' (pattern order) and the stop() reset.
2026-10-28 14:13:39 +00:00
Said Turksever 69c5b32598 fix(traffic): date the STALE row by the oldest cached tile; add zh-Hant string 2026-10-28 14:10:18 +00:00
Said Turksever 7788168d73 fix(geocode): prefer the settlement when a POI also fits the region
When several candidates fit a "place, region" query, take a settlement or
administrative area over a POI of the same name, so a cafe called "Paris"
in Lyon cannot win "Paris, France" from the nearby pass.

Tests: region queries without a camera bias, whole-word and every-word
region matching, city and county regions, the nearby whole-name answer when
the unbiased request fails, and the settlement preference. The new tests sit
with the other Paris, Texas tests. The station fixture uses its real city.
CURRENT-STATE now describes the order the code applies.
2026-10-28 14:09:56 +00:00
Said Turksever c1820aea49 fix(terrain): end retries early on a long Retry-After; cover the 429 pause
A Retry-After longer than the 10 s retry budget used to sleep the whole
budget out and then give up, so the proxy's 429 pause started 10 s late
and every new-point poll in that window still went upstream and logged.
The retry loop now stops at once in that case.

Tests: the retry loop no longer sleeps for an unreachable Retry-After;
fully cached points, including stale ones, are served during the pause
with no upstream call; a 503 does not pause; a shorter concurrent
Retry-After never cuts the pause short. CURRENT-STATE now says which
requests are still served and which log.
2026-10-28 14:09:12 +00:00
Said Turksever 811eb7835d test(director): cover observer failures in session activate and clear 2026-10-28 14:08:49 +00:00
Said Turksever f7a7a76fb5 test(embed): pin the panel-aware visibility wiring in data setup 2026-10-28 14:06:53 +00:00
Said Turksever 5d5e6c6845 Merge remote-tracking branch 'upstream/main' into pr1014 2026-10-28 14:06:44 +00:00
Said Turksever 9659f38fe6 Merge remote-tracking branch 'upstream/main' into pr1405-fix 2026-10-28 14:06:40 +00:00
Said Turksever 11aad05dc9 Merge remote-tracking branch 'upstream/main' into pr1209-merge 2026-10-28 14:05:40 +00:00
Said Turksever d595e81edf Merge remote-tracking branch 'upstream/main' into pr1344 2026-10-28 14:04:56 +00:00
Said Turksever a75534e4d3 Merge remote-tracking branch 'upstream/main' into pr1402-merge 2026-10-28 14:01:42 +00:00
Said Turksever 81680c5a15 Merge remote-tracking branch 'upstream/main' into pr1401-review 2026-10-28 14:01:33 +00:00
German KhokhlovandClaude Opus 5.5 858ce827e5 i18n(pt): apply review round 2
Three-model review (astra, sol, fable), round 2: 29 of 30 findings
applied, one of them in part.

- pt: FIRMS «mais recente há», CCTV «cruzamentos», degraded radio
  directory, «{layers}: ativação recente» for any layer list, «Sem
  imagem», NIVELADO, AJUSTA-SE, quoted Provider Settings, V/S kept on
  the ADS-B card, no-break space in «(24 h)» / «(30 d)», and more
  (see docs/translations/pt.md).
- Malformed cyclone snapshot is now a catalog message (all locales).
- Markup supports data-i18n-context; the radio STATION TAG option uses
  "radio tag|All", so it no longer flips gender when the list loads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:57:51 +04:00
German KhokhlovandClaude Opus 5.5 e87001d0db i18n(fr): apply review round 2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:55:20 +04:00
German KhokhlovandClaude Opus 5.5 8ca7f52d19 i18n(ja): apply review round 1
Three-model review (astra, sol, Fable), round 1:
- Meaning fixes: post-tropical cyclone, partly cloudy, upload-date basis,
  ground track (対地針路), spec FOV, voice credentials, Activate → 押す,
  bikeshare counts, NHC/CPHC empty state, absence caveat, regional-news
  empty state, route steps (件の案内), minimum fuel, microphone access.
- Consistent terms: 範囲 for WINDOW, カバー範囲 for coverage, 封じ込め率
  for fire containment, サイクロン for storms, 交通流 for TomTom flow,
  シグナル tab, インポート / エクスポート for projects and presets,
  射撃場 for the RANGE class, か所 for sites, full-width colons.
- Short forms where the re-shoot showed a wrap: エクスポート (Scenes),
  提供元で操作 (embeds), 該当施設 (Contacts).
- cjk.css: the Recent Imagery slot line wraps at its separators in
  Japanese, never inside プレビュー.
- Glossary in docs/translations/ja.md updated to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:42:25 +04:00
German KhokhlovandClaude Opus 5.5 4f44a17b44 i18n(ar): apply review round 1
Findings from the astra, sol and fable reviews of the Arabic screenshots:

- Wording: forecast valid time is «عند», not an expiry; acres are آكر, not
  feddans; live layers are «تتبّع … المباشر» (not "direct flights"); the
  straight-ahead lane, turboprop, call sign, reconcile, proximity, retrying,
  count agreement (colon form, fixed counts, ي for compact day ages) and
  smaller fixes. Guide and glossary updated.
- Right to left: the scene editor's JSON fields are LTR; canvas map cards
  draw with LTR geometry and an Arabic face; whiteboard callouts anchor
  inside their cards; HDG/FOV keep their values; the cyclone timestamp no
  longer splits its date; bare-number counters read 01 / 25, translated
  ones say «من».
- Built-in shot titles of the Nepal shot pack's bootstrap shots localize
  (the applied pack vouches for them), in every language.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:42:24 +04:00
German KhokhlovandClaude Opus 5.5 b96c1dee15 i18n(it): apply review round 2
Three-model review (astra, sol, fable): 42 findings accepted, 3 deferred
(unmarked cyclone errors and the Chinese locale descriptors need new keys
in every catalog). The USGS callout now reads as an action (APRI LA FONTE)
because it opens the report. Layer, tool and card-title sentences agree with
any feature name («Il livello {layer} è attivo», «Lo strumento {name}»,
«{label}: attivato»). The store write error is grammatical for both
values. RADO/BILANCIATO agree with DENSO. Also fixes the meaning of
viewpoint, fire incident, trigger record, transit report, FIRMS cell age,
drizzle, widebody and fast-jet classes; Dissolvenza and CH replace the odd
abbreviations; cause/hint dashes become colons.

Fixes the Nepal scene showing shots 01-08 in English in every locale:
displayShotTitle() now also trusts the bootstrap keyframes of the append
recipe that upgrades a built-in scene (src/scenes/recipes.js, with a test).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:41:29 +04:00
German KhokhlovandClaude Opus 5.5 1eb9e06c49 i18n(de): apply review round 1
- Meaning fixes: playback connects to the broadcaster when it starts, browser
  keys are restricted at the provider, clearing data layers switches them off
  (ausschalten, not löschen), cockpit inputs are Quellen, Electronic is
  Elektronische Musik, AIS types name vessels (SEGLER, LOTSENBOOT,
  SANITÄTSDIENST, SCHNELLSCHIFF), contiguous US excludes Alaska/Hawaii,
  wind and weather readings are model values, nearest frames are nearest in
  time, cloud imagery and the brightness filter say what they are.
- NHC/CPHC advisories are Lageberichte, not Warnungen; cyclone strings use
  Wirbelsturm throughout. Glossary updated.
- Grammar: " oder " keeps its space as a join separator, "{x} konnte nicht
  sauber beendet werden", Then: no longer doubles Dann, scene save reasons
  continue the sentence in lower case, neutral "Warten auf".
- Spacing between numbers and units in the remaining nine readouts.
- Reroute tooltip: German mode nouns keep their capital (Auto, Fahrrad).
- Built-in Nepal shot titles localize in every language: the legacy scene
  upgrade rebuilds its base shots without sourcePackId, so the pack's own
  shots in the scene now vouch for them.
- Layout: the layer status column no longer shrinks under a wide chip, and
  a mixed-case compound (ALPR-Kameras) may break at its hyphen; only capital
  codes (ADS-B, RTL-SDR) stay unbroken. WIRD AKTIVIERT overlapped the name.
  The Bhote step meta line may take a third line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:30:21 +04:00
German KhokhlovandClaude Opus 5.5 3c0c10d3b1 i18n(pt): apply review round 1
Three-model review (astra, sol, fable): 51 of 52 findings applied, two
of them in part.

- pt: AQHI bands as health risk, NAVIO-TANQUE, CANDIDATO DO GOOGLE
  PLACES, Provider Settings agreement, retry/feed-down wording,
  NOTÍCIAS DA ÁREA (fits the briefing kicker), detection modes in the
  masculine, GS and REC kept on the HUD, EXPORTAR PREDEF., prepositions
  before times, and more (see docs/translations/pt.md).
- Cyclone request timeout is now a catalog message (all locales).
- Built-in Nepal base shots written by the legacy pack bootstrap now
  show their localized titles: displayShotTitle also trusts the legacy
  keyframes of an append pack the scene has applied.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:17:23 +04:00
German KhokhlovandClaude Opus 5.5 7a18e0093b i18n(uk): apply review round 1
- Fix meaning errors flagged by the three-model review: downed aircraft
  (Аварія літака), fast jet, the straight-ahead lane, road traffic,
  pilot vessel, nearby contact counts, the low-accuracy score.
- Terms: CRS/TRK → ШК (шляховий кут), ascent → виведення, booster
  flight → ПОЛІТ, session → сеанс, sequence → послідовність, place
  search → пошук місця, CCTV pitch → нахил, mapped sites →
  нанесені обʼєкти everywhere; glossary updated.
- Grammar: case agreement in the radio aria label and the key-store
  message, «прицілу», у/в euphony, payload count after a colon,
  FIRES as ПОЖ. so any count reads correctly.
- The cockpit current-style button widens to fit ЗВИЧАЙНИЙ; other
  languages keep the 58px minimum.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:08:36 +04:00
German KhokhlovandClaude Opus 5.5 5e47a2afbd i18n(it): apply review round 1
Three-model review (astra, sol, fable): 53 findings accepted, 14 rejected
or deferred. Fixes the meaning of "Downed aircraft", "Compilation", the
satellite ground-distance caveat and the browser-key restriction note;
agreement for Full, Provider Settings and Space Missions; fork directions
that compose with every modifier; a radio aria label that reads as a
phrase; imperative tooltips. Shortens the labels that clipped: ESP. A/B,
search placeholder, QUOTA · FT, PREC, Esri imagery note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:02:55 +04:00
Aditya bf5cbe7423 docs(changelog): add #1454 fragment 2026-10-28 18:16:40 +05:30
Aditya ac0e124a67 fix(flights): read a 359.6° track as 0° in the voice context, not 360°
The voice context records for a selected flight or military contact
rounded the track without wrapping, so a contact on 359.5° or more was
described to the assistant as heading "360°". Both now wrap after
rounding: 359.6° reads "0°", 359.4° still reads "359°".
2026-10-28 18:11:42 +05:30
German KhokhlovandClaude Opus 5.5 4adb9113bc i18n(fr): apply review round 1
Apply the accepted findings from the three-model French review: ground
track reads « route », wildfire containment « circonscrit », downrange
« distance au sol », tankers « navire-citerne », plus wording fixes for
lanes, timestamps, wind sector, radio, CCTV and voice strings.

Shots rebuilt by a pack's legacy bootstrap carry no sourcePackId, so the
first Nepal shot titles stayed English; the scene's applied-pack marker
now vouches for the pack's required titles.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 16:40:53 +04:00
German KhokhlovandClaude Opus 5.5 cdd90dac4b i18n(uk): fixes from the screenshot review
- Layer rows read «не оновлювалося» for a feed that never updated, not
  «ніколи».
- The dock voice toggle label fits on one line (ПЕРЕМК.), the cockpit
  briefing title (НОВИНИ РЕГІОНУ) no longer truncates, Celestial is «Небо».
- No-break spaces keep «24 год», «30 дн» and coordinate abbreviations
  (пн. ш., зх. д.) on one line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 16:26:34 +04:00
German KhokhlovandClaude Opus 5.5 91f1f80e60 i18n(ar): Arabic face for the Global Context lines
The Global Context panel and its buttons set ui-monospace through the `font`
shorthand, so Arabic fell back to a fixed-pitch face with letters spaced
apart. In Arabic they use the Arabic-aware mono stack.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 16:26:03 +04:00
Aditya a22f67ab65 docs(changelog): add #1453 fragment 2026-10-28 17:53:47 +05:30
Aditya 197f24d897 docs(changelog): add #1452 fragment 2026-10-28 17:38:45 +05:30
Aditya 46b3864d61 fix(satellites): stop matching a mission to a namesake from another year
The mission orbit lookup reads each loaded satellite's launch year from its
international designator, but satellite.js never parses that field, so the
year check never ran and a new payload could take an older namesake's orbit
and position. The loaded catalog now keeps the designator from the TLE line.
2026-10-28 17:15:48 +05:30
German KhokhlovandClaude Opus 5.5 9bf8395c54 i18n(ar): wording fixes from the screenshot review
- "never" in a layer row reads لم يُحدَّث (not updated), not أبدًا.
- Space Missions (30 يومًا) and Earthquakes (24 ساعة) keep their
  parenthesis together with a no-break space instead of wrapping inside it.
- VS BASEMAP is مقابل الخريطة, short enough for its segment.
- The voice pointer label THIS is هذا; two leftover حي (live) become مباشر.
- Latin provider names in Street Level hints lose their «» quotes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:23:13 +04:00
German KhokhlovandClaude Opus 5.5 d33f914a1c i18n(ar): reset letter-spacing on every Arabic container
A container that only holds a translate="no" span (a provider name in the
Global Context lines) kept its tracking and tore its own Arabic text into
separate glyphs. Only the Latin span itself keeps its letter-spacing now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:23:06 +04:00
German KhokhlovandClaude Opus 5.5 0d28150e22 i18n(de): fixes from the screenshot review
- Labels that ran out of their buttons: EXPORT / EXPORT A stay English
  (EXPORTIEREN was cut to EXPORTI…), the imagery mode reads VGL. KARTE,
  the scene run log PROTOKOLL (it broke as LAUFPROTOKOL/L), the dock voice
  status SPRACHE N. V., and the Esri imagery note fits its line.
- The cyclone layer is Sturmwarnungen (no hyphenated break in the layer
  list); Erdbeben (24 h) matches the other hour readouts; retry countdowns
  get a space before s; the Mapillary hint names the Straßenebene layer.
- The cyclone source's timeout and malformed-snapshot errors were plain
  English in every language: mark them like the wind source does and
  translate them in de, es, ru, zh-CN and zh-Hant.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:18:49 +04:00
German KhokhlovandClaude Opus 5.5 d6ecaca957 i18n(ja): fit labels found in the screenshot review
- Shorter layer and segment labels that wrapped or broke mid-word in the
  narrow panels: ALPRカメラ, 宇宙ミッション 30日, 地図と比較, 対象.
- Window readouts put the value after the label (空/海ウィンドウ 250 km),
  so a unit never runs into Japanese text.
- 情勢図 for the GhostMaps intel picture; Googleストリートビュー joined like
  any Latin product name in the guide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:13:52 +04:00
German KhokhlovandClaude Opus 5.5 e305447713 style(ja): CJK label rules for Japanese
cjk.css now covers Japanese as well as Chinese: tight tracking, the 9px
floor on dock voice labels and layer buttons, whole travel-mode and preset
labels, catalog-case units in the HUD and the taller Recent Imagery cards.
Japanese also gets strict line breaking (no line starts with ー or a small
kana) and unbroken segment labels (すべて, 平面). Chinese rendering is
unchanged: :is(:lang(zh), :lang(ja)) keeps the :lang(zh) specificity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:13:52 +04:00
German KhokhlovandClaude Opus 5.5 56a36df006 i18n(pt): fit cockpit labels found in the screenshot review
- The cockpit news kicker no longer cuts off: regional news reads «notícias
  locais», the cycle button «CICLO DESLIG.», the subtitle «ÚLTIMAS NOTÍCIAS
  DO LOCAL».
- Contact header fits in two lines («AR/MAR 250 KM · INSTALAÇÕES: ATÉ
  100 KM»); ground speed reads KT like the rest of the HUD.
- A space between a number and s/h/d («nova tentativa em 30 s», «há 5 h»),
  and «aproxime-se de uma rua» for zoom-to-street hints.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:10:32 +04:00
German KhokhlovandClaude Opus 5.5 d95bffb5fd i18n(fr): fit French labels found in the screenshot review
Shorter wording where the French text ran out of its button, chip or
collapsed card at 1600×1100: the DATA LAYERS launcher (COUCHES), Recent
Imagery buttons and hints (CETTE VUE, VS CARTE, EXP. A), the ENABLING /
DISABLING layer chip, the voice detail line and the location search
placeholder. Also the CCTV range readout gets a space before m, the radio
privacy note reads naturally, and the cockpit air/sea window is shorter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:09:45 +04:00
Aditya 420d64cecc docs(changelog): add #1451 fragment 2026-10-28 16:37:01 +05:30
German KhokhlovandClaude Opus 5.5 9de9106883 i18n(it): shorten labels that wrapped or clipped on screen
From the screenshot review: the Recent Imagery buttons (SELEZIONA, USA
VISTA, VS MAPPA BASE) no longer clip or wrap, the layer state chip reads
AVVIO / ARRESTO so a layer name keeps two lines, the cockpit contact header
fits two lines (ARIA/MARE, SITI), and the Bhote Koshi play buttons fit on one
line (AVVIA). The post-event year follows the label, as the reference one does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:03:34 +04:00
Aditya 50e06181c6 docs(changelog): add #1450 fragment 2026-10-28 16:25:12 +05:30
Aditya 0e0b82f511 docs(changelog): add #1449 fragment 2026-10-28 16:25:05 +05:30
Aditya 58e9f5ab2e docs(changelog): add #1448 fragment 2026-10-28 16:24:57 +05:30
Aditya 76a3d47e56 docs(changelog): add #1446 fragment 2026-10-28 16:24:42 +05:30
Aditya 81cf79157c docs(changelog): add #1445 fragment 2026-10-28 16:24:34 +05:30