mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +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
2.2 KiB
TypeScript
44 lines
2.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const flightLive: TranslationStrings = {
|
|
'flightLive.durDaysHours': '{d} ng {h} g',
|
|
'flightLive.durHoursMinutes': '{h} g {m} ph',
|
|
'flightLive.durMinutes': '{m} ph',
|
|
'flightLive.late': '+{m} ph',
|
|
'flightLive.early': 'sớm {m} ph',
|
|
'flightLive.onTime': 'Đúng giờ',
|
|
'flightLive.departsIn': 'Khởi hành sau {time}',
|
|
'flightLive.scheduled': 'Theo lịch',
|
|
'flightLive.taxiing': 'Sẵn sàng khởi hành',
|
|
'flightLive.atAirport': 'Trên mặt đất tại {code}',
|
|
'flightLive.airborne': 'Đang bay',
|
|
'flightLive.landsIn': 'Hạ cánh sau {time}',
|
|
'flightLive.landed': 'Đã hạ cánh',
|
|
'flightLive.landedAt': 'Hạ cánh lúc {time} tại {code}',
|
|
'flightLive.estimated': 'dự kiến',
|
|
'flightLive.altitude': 'Độ cao',
|
|
'flightLive.feet': '{n} ft',
|
|
'flightLive.meters': '{n} m',
|
|
'flightLive.speed': 'Tốc độ',
|
|
'flightLive.mph': '{n} mph',
|
|
'flightLive.kmh': '{n} km/h',
|
|
'flightLive.remaining': 'Còn lại',
|
|
'flightLive.mi': '{n} mi',
|
|
'flightLive.km': '{n} km',
|
|
'flightLive.aircraft': 'Máy bay',
|
|
'flightLive.noGateHint':
|
|
'Cửa, nhà ga và băng chuyền hành lý không có trong dữ liệu chuyến bay mở. Hãy tự thêm vào đặt chỗ nếu cần.',
|
|
'flightLive.legOf': 'Chuyến {n}/{total}',
|
|
'flightLive.adminTitle': 'Trạng thái chuyến bay trực tiếp',
|
|
'flightLive.adminHint':
|
|
'Hiển thị vị trí, độ trễ và giờ đến dự kiến của các chuyến bay đã đặt từ dữ liệu ADS-B mở (adsb.lol, adsb.fi). Chỉ có hô hiệu chuyến bay rời khỏi máy chủ này.',
|
|
'flightLive.adminToggle': 'Theo dõi trực tiếp các chuyến bay đã đặt',
|
|
'flightLive.headlineDetail': '{headline}, {detail}',
|
|
'flightLive.adminHintManaged':
|
|
'Hiển thị vị trí, độ trễ và giờ đến dự kiến của các chuyến bay đã đặt từ dữ liệu ADS-B mở (adsb.lol). Chỉ có hô hiệu chuyến bay rời khỏi phiên bản.',
|
|
'flightLive.noFlight': 'Không có chuyến bay sắp tới',
|
|
'flightLive.envLocked': 'Được đặt bởi FLIGHT_LIVE_ENABLED trên máy chủ và không thể thay đổi ở đây.',
|
|
};
|
|
|
|
export default flightLive;
|