mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +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.
43 lines
3.2 KiB
TypeScript
43 lines
3.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const flightLive: TranslationStrings = {
|
|
'flightLive.durDaysHours': '{d} วัน {h} ชม.',
|
|
'flightLive.durHoursMinutes': '{h} ชม. {m} นาที',
|
|
'flightLive.durMinutes': '{m} นาที',
|
|
'flightLive.late': '+{m} นาที',
|
|
'flightLive.early': 'เร็วกว่า {m} นาที',
|
|
'flightLive.onTime': 'ตรงเวลา',
|
|
'flightLive.departsIn': 'ออกเดินทางในอีก {time}',
|
|
'flightLive.scheduled': 'ตามกำหนด',
|
|
'flightLive.taxiing': 'พร้อมออกเดินทาง',
|
|
'flightLive.atAirport': 'อยู่บนพื้นที่ {code}',
|
|
'flightLive.airborne': 'อยู่บนฟ้า',
|
|
'flightLive.landsIn': 'ลงจอดในอีก {time}',
|
|
'flightLive.landed': 'ลงจอดแล้ว',
|
|
'flightLive.landedAt': 'ลงจอดเวลา {time} ที่ {code}',
|
|
'flightLive.estimated': 'โดยประมาณ',
|
|
'flightLive.altitude': 'ความสูง',
|
|
'flightLive.feet': '{n} ft',
|
|
'flightLive.meters': '{n} ม.',
|
|
'flightLive.speed': 'ความเร็ว',
|
|
'flightLive.mph': '{n} mph',
|
|
'flightLive.kmh': '{n} กม./ชม.',
|
|
'flightLive.remaining': 'เหลือ',
|
|
'flightLive.mi': '{n} mi',
|
|
'flightLive.km': '{n} กม.',
|
|
'flightLive.aircraft': 'เครื่องบิน',
|
|
'flightLive.noGateHint': 'ประตู อาคาร และสายพานกระเป๋าไม่อยู่ในข้อมูลการบินแบบเปิด เพิ่มเองในการจองหากต้องการ',
|
|
'flightLive.legOf': 'เที่ยวบิน {n} จาก {total}',
|
|
'flightLive.adminTitle': 'สถานะเที่ยวบินสด',
|
|
'flightLive.adminHint':
|
|
'แสดงตำแหน่ง ความล่าช้า และเวลาถึงโดยประมาณของเที่ยวบินที่จองจากข้อมูล ADS-B แบบเปิด (adsb.lol, adsb.fi) มีเพียงสัญญาณเรียกขานของเที่ยวบินเท่านั้นที่ออกจากเซิร์ฟเวอร์นี้',
|
|
'flightLive.adminToggle': 'ติดตามเที่ยวบินที่จองแบบสด',
|
|
'flightLive.headlineDetail': '{headline} {detail}',
|
|
'flightLive.adminHintManaged':
|
|
'แสดงตำแหน่ง ความล่าช้า และเวลาถึงโดยประมาณของเที่ยวบินที่จองจากข้อมูล ADS-B แบบเปิด (adsb.lol) มีเพียงสัญญาณเรียกขานของเที่ยวบินเท่านั้นที่ออกจากอินสแตนซ์',
|
|
'flightLive.noFlight': 'ไม่มีเที่ยวบินที่กำลังจะมาถึง',
|
|
'flightLive.envLocked': 'ตั้งค่าโดย FLIGHT_LIVE_ENABLED บนเซิร์ฟเวอร์และเปลี่ยนที่นี่ไม่ได้',
|
|
};
|
|
|
|
export default flightLive;
|