mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
e525e0b838
The live flight card shows a small real map behind the pass: the great circle between the airports, solid where flown and dotted ahead, the aircraft on the line turned along the route. The route is framed in the free middle, the map fades out under the airports and times laid over it, and its place names are hidden. Data and map credits sit on the map as its hover text instead of a footer line. The card head now follows the booking dialog: a tinted band with pills for the state, what comes next and the delay; the numbers of the moment use the dialog's fields on the desktop and the sheet's stat boxes on the phone; both times sit on equal tiles in one line. Without live data the card, the strips and the plan line show nothing, and the pulsing dots are gone. Also fixes the failed dev run: unit symbols and the leg position are listed as NOT_PLURAL, the aircraft label uses logical sides, the flight store is in the test reset registry, the sync loop stops once no flight lies ahead (no endless timers under fake timers), and timeCell and widgetFlight drop below the max-params and complexity limits. Guards the GL bridge's resize frame against a layer removed before it runs, and keeps the booking code pill as tall as its neighbours.
44 lines
1.9 KiB
TypeScript
44 lines
1.9 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const flightLive: TranslationStrings = {
|
|
'flightLive.durDaysHours': '{d} d {h} h',
|
|
'flightLive.durHoursMinutes': '{h} h {m} min',
|
|
'flightLive.durMinutes': '{m} min',
|
|
'flightLive.late': '+{m} min',
|
|
'flightLive.early': '{m} min tidigt',
|
|
'flightLive.onTime': 'I tid',
|
|
'flightLive.departsIn': 'Avgår om {time}',
|
|
'flightLive.scheduled': 'Planerad',
|
|
'flightLive.taxiing': 'Redo för avgång',
|
|
'flightLive.atAirport': 'På marken i {code}',
|
|
'flightLive.airborne': 'I luften',
|
|
'flightLive.landsIn': 'Landar om {time}',
|
|
'flightLive.landed': 'Landat',
|
|
'flightLive.landedAt': 'Landade {time} i {code}',
|
|
'flightLive.estimated': 'beräknad',
|
|
'flightLive.altitude': 'Höjd',
|
|
'flightLive.feet': '{n} ft',
|
|
'flightLive.meters': '{n} m',
|
|
'flightLive.speed': 'Hastighet',
|
|
'flightLive.mph': '{n} mph',
|
|
'flightLive.kmh': '{n} km/h',
|
|
'flightLive.remaining': 'Kvar',
|
|
'flightLive.mi': '{n} mi',
|
|
'flightLive.km': '{n} km',
|
|
'flightLive.aircraft': 'Flygplan',
|
|
'flightLive.noGateHint':
|
|
'Gate, terminal och bagageband ingår inte i öppna flygdata. Lägg till dem i bokningen själv om du behöver dem.',
|
|
'flightLive.legOf': 'Flyg {n} av {total}',
|
|
'flightLive.adminTitle': 'Flygstatus live',
|
|
'flightLive.adminHint':
|
|
'Visar position, försening och beräknad ankomst för bokade flyg från öppna ADS-B-data (adsb.lol, adsb.fi). Endast flygets anropssignal lämnar den här servern.',
|
|
'flightLive.adminToggle': 'Följ bokade flyg live',
|
|
'flightLive.headlineDetail': '{headline}, {detail}',
|
|
'flightLive.adminHintManaged':
|
|
'Visar position, försening och beräknad ankomst för bokade flyg från öppna ADS-B-data (adsb.lol). Endast flygets anropssignal lämnar instansen.',
|
|
'flightLive.noFlight': 'Inget flyg planerat',
|
|
'flightLive.envLocked': 'Inställt med FLIGHT_LIVE_ENABLED på servern och kan inte ändras här.',
|
|
};
|
|
|
|
export default flightLive;
|