Files
TREK/shared/src/i18n/th/reservations.ts
T
Maurice b06e3e6266 fix(bookings): keep the editor open until a booking's files are uploaded
Saving a booking or a transport closed the editor and reported success
before the travellers and picked files were written. A failed upload left
a booking without some of its PDFs, no list to retry from, and a create
form that would add a duplicate when saved again. On desktop a file picked
on an existing booking went up at once and vanished when that failed.

The planner's save now takes the editor's follow-up as a step it waits
for: it stores the booking, runs the traveller write and the uploads, and
only then says so and closes. Each file that lands leaves the list, so a
failure leaves exactly the files still to send, and the editor keeps the
stored booking so the retry updates it instead of creating another one,
without a second linked cost or stay. All four editors (desktop booking
and transport dialogs, both phone sheets) share this through
useBookingFollowUp, an import review only moves on once an item's files
are up, and desktop files picked on a saved booking wait for Update like
on the phone.

Closes #2883
2026-10-29 14:20:57 +01:00

273 lines
22 KiB
TypeScript

import type { TranslationStrings } from '../types';
const reservations: TranslationStrings = {
'reservations.title': 'การจอง',
'reservations.empty': 'ยังไม่มีการจอง',
'reservations.emptyHint': 'เพิ่มการจองเที่ยวบิน โรงแรม และอื่นๆ',
'reservations.add': 'เพิ่มการจอง',
'reservations.addManual': 'การจองด้วยตนเอง',
'reservations.placeHint': 'เคล็ดลับ: ควรสร้างการจองโดยตรงจากสถานที่เพื่อเชื่อมโยงกับแผนรายวันของคุณ',
'reservations.confirmed': 'ยืนยันแล้ว',
'reservations.pending': 'รอดำเนินการ',
'reservations.summary': '{confirmed} ยืนยันแล้ว {pending} รอดำเนินการ',
'reservations.showFiles': 'แสดงไฟล์',
'reservations.editTitle': 'แก้ไขการจอง',
'reservations.status': 'สถานะ',
'reservations.datetime': 'วันที่และเวลา',
'reservations.startTime': 'เวลาเริ่มต้น',
'reservations.endTime': 'เวลาสิ้นสุด',
'reservations.date': 'วันที่',
'reservations.time': 'เวลา',
'reservations.timeAlt': 'เวลา (ทางเลือก เช่น 19:30 น.)',
'reservations.notes': 'หมายเหตุ',
'reservations.notesPlaceholder': 'หมายเหตุเพิ่มเติม...',
'reservations.urlLabel': 'ลิงก์',
'reservations.urlPlaceholder': 'https://...',
'reservations.meta.airline': 'สายการบิน',
'reservations.meta.flightNumber': 'หมายเลขเที่ยวบิน',
'reservations.meta.from': 'จาก',
'reservations.meta.to': 'ถึง',
'reservations.layover.route': 'เส้นทาง',
'reservations.layover.stop': 'จุดแวะพัก',
'reservations.layover.addStop': 'เพิ่มจุดแวะ',
'reservations.cruise.embark': 'ขึ้นเรือ',
'reservations.cruise.disembark': 'ลงเรือ',
'reservations.cruise.port': 'ท่าเรือแวะพัก',
'reservations.cruise.addPort': 'เพิ่มท่าเรือ',
'reservations.layover.connection': 'การเชื่อมต่อ',
'reservations.layover.layover': 'แวะพัก',
'reservations.needsReview': 'ตรวจสอบ',
'reservations.needsReviewHint': 'ไม่สามารถจับคู่สนามบินได้โดยอัตโนมัติ — โปรดยืนยันตำแหน่ง',
'reservations.searchLocation': 'ค้นหาสถานี ท่าเรือ หรือที่อยู่…',
'reservations.meta.trainNumber': 'หมายเลขรถไฟ',
'reservations.meta.platform': 'แพลตฟอร์ม',
'reservations.meta.seat': 'ที่นั่ง',
'reservations.meta.checkIn': 'เช็คอิน',
'reservations.meta.checkInUntil': 'เช็คอินจนถึง',
'reservations.meta.checkOut': 'เช็คเอาท์',
'reservations.meta.linkAccommodation': 'ที่พัก',
'reservations.meta.pickAccommodation': 'ลิงก์ที่พัก',
'reservations.meta.noAccommodation': 'ไม่มี',
'reservations.meta.hotelPlace': 'ที่พัก',
'reservations.meta.linkPlace': 'สถานที่/กิจกรรม',
'reservations.meta.pickPlace': 'เลือกสถานที่/กิจกรรม',
'reservations.meta.pickHotel': 'เลือกที่พัก',
'reservations.meta.fromDay': 'จาก',
'reservations.meta.toDay': 'ถึง',
'reservations.meta.selectDay': 'เลือกวัน',
'reservations.type.flight': 'เที่ยวบิน',
'reservations.type.hotel': 'ที่พัก',
'reservations.type.restaurant': 'ร้านอาหาร',
'reservations.type.train': 'รถไฟ',
'reservations.type.car': 'รถ',
'reservations.type.cruise': 'ล่องเรือ',
'reservations.type.event': 'เหตุการณ์',
'reservations.type.tour': 'ทัวร์',
'reservations.type.parking': 'ที่จอดรถ',
'reservations.type.other': 'อื่นๆ',
'reservations.type.bus': 'รถบัส',
'reservations.type.ferry': 'เรือเฟอร์รี่',
'reservations.type.cable_car': 'กระเช้าลอยฟ้า',
'reservations.type.bicycle': 'จักรยาน',
'reservations.type.taxi': 'แท็กซี่',
'reservations.type.transit': 'การขนส่งสาธารณะ',
'reservations.typeShort.transit': 'ขนส่งสาธารณะ',
'reservations.type.transport_other': 'อื่นๆ',
'reservations.confirm.delete': 'คุณแน่ใจหรือไม่ว่าต้องการลบการจอง "{name}"',
'reservations.confirm.deleteTitle': 'ลบการจองใช่ไหม',
'reservations.confirm.deleteBody': '"{name}" จะถูกลบอย่างถาวร',
'reservations.confirm.deleteBodyWithExpense': '"{name}" และค่าใช้จ่ายที่เชื่อมโยงไว้จะถูกลบอย่างถาวร',
'reservations.toast.updated': 'อัพเดตการจองแล้ว',
'reservations.toast.removed': 'ลบการจองแล้ว',
'reservations.toast.filesNotUploaded':
'บันทึกการจองแล้ว แต่บางไฟล์อัปโหลดไม่สำเร็จ บันทึกอีกครั้งเพื่อส่งไฟล์เหล่านั้น',
'reservations.newTitle': 'การจองใหม่',
'reservations.bookingType': 'ประเภทการจอง',
'reservations.titleLabel': 'ชื่อเรื่อง',
'reservations.titlePlaceholder': 'เช่น Lufthansa LH123, โรงแรมแอดลอน, ...',
'reservations.locationAddress': 'ที่ตั้ง / ที่อยู่',
'reservations.locationPlaceholder': 'ที่อยู่ สนามบิน โรงแรม...',
'reservations.confirmationCode': 'รหัสการจอง',
'reservations.routeLabel': 'เส้นทาง',
'reservations.segmentCodes': 'รหัสแต่ละช่วง',
'reservations.confirmationPlaceholder': 'เช่น เอบีซี12345',
'reservations.day': 'วัน',
'reservations.noDay': 'ไม่มีวัน',
'reservations.place': 'สถานที่',
'reservations.noPlace': 'ไม่มีสถานที่',
'reservations.pendingSave': 'จะถูกบันทึกไว้...',
'reservations.uploading': 'กำลังอัปโหลด...',
'reservations.attachFile': 'แนบไฟล์',
'reservations.linkExisting': 'ลิงก์ไฟล์ที่มีอยู่',
'reservations.toast.saveError': 'บันทึกไม่สำเร็จ',
'reservations.toast.updateError': 'อัปเดตไม่สำเร็จ',
'reservations.toast.deleteError': 'ลบไม่สำเร็จ',
'reservations.confirm.remove': 'ลบการจองสำหรับ "{name}" หรือไม่',
'reservations.linkAssignment': 'เชื่อมโยงกับแผนประจำวัน',
'reservations.linkedTo': 'เชื่อมโยงกับ',
'reservations.pickAssignment': 'เลือกงานจากแผนของคุณ...',
'reservations.noAssignment': 'ไม่มีลิงก์ (สแตนด์อโลน)',
'reservations.price': 'ราคา',
'reservations.budgetCategory': 'หมวดงบประมาณ',
'reservations.budgetCategoryPlaceholder': 'เช่น การเดินทาง ที่พัก',
'reservations.budgetCategoryAuto': 'อัตโนมัติ (จากประเภทการจอง)',
'reservations.budgetHint': 'รายการงบประมาณจะถูกสร้างขึ้นโดยอัตโนมัติเมื่อบันทึก',
'reservations.departureDate': 'ออกเดินทาง',
'reservations.arrivalDate': 'มาถึง',
'reservations.departureTime': 'เวลาออกเดินทาง',
'reservations.arrivalTime': 'เวลาถึง',
'reservations.pickupDate': 'วันรับรถ',
'reservations.returnDate': 'กลับ',
'reservations.pickupTime': 'เวลารับ',
'reservations.returnTime': 'เวลากลับ',
'reservations.endDate': 'วันที่สิ้นสุด',
'reservations.meta.departureTimezone': 'เขตเวลาออกเดินทาง',
'reservations.meta.arrivalTimezone': 'เขตเวลาถึง',
'reservations.span.departure': 'ออกเดินทาง',
'reservations.span.arrival': 'มาถึง',
'reservations.span.inTransit': 'ระหว่างทาง',
// span.pickup does double duty: the day a rental car is picked up, and the day a
// multi-day parking ends and you collect your own car again. Both read the same way
// in every locale, so parking only needs the drop-off wording of its own.
'reservations.span.pickup': 'รับรถ',
'reservations.span.dropOff': 'นำรถไปจอด/คืนรถ',
'reservations.span.return': 'กลับ',
'reservations.span.active': 'ใช้งานอยู่',
'reservations.span.start': 'เริ่ม',
'reservations.span.end': 'สิ้นสุด',
'reservations.span.ongoing': 'กำลังดำเนินการอยู่',
'reservations.validation.endBeforeStart': 'วันที่/เวลาสิ้นสุดต้องอยู่หลังวันที่/เวลาเริ่มต้น',
'reservations.validation.endTimeBeforeStartTime':
'เวลาสิ้นสุดอยู่ก่อนเวลาเริ่มต้น หากสิ้นสุดในวันถัดไป ให้กำหนดวันที่สิ้นสุด',
'reservations.addBooking': 'เพิ่มการจอง',
'reservations.import.title': 'นำเข้าการยืนยันการจอง',
'reservations.import.cta': 'นำเข้าจากไฟล์',
'reservations.import.dropHere': 'วางไฟล์ยืนยันการจองที่นี่ หรือคลิกเพื่อเลือก',
'reservations.import.dropActive': 'วางไฟล์ที่จะนำเข้า',
'reservations.import.pinSearching': 'กำลังค้นหาบนแผนที่…',
'reservations.import.pinFound': 'อยู่บนแผนที่',
'reservations.import.pinMissingTitle': 'ยังไม่อยู่บนแผนที่',
'reservations.import.pinMissingBody':
'TREK ไม่พบที่พักนี้บนแผนที่ ตรวจสอบชื่อและที่อยู่ด้านบนแล้วค้นหาอีกครั้ง หรือบันทึกโดยไม่มีหมุด',
'reservations.import.pinRetry': 'ค้นหาอีกครั้ง',
'reservations.import.savedWithoutPin':
'บันทึกแล้วโดยไม่มีหมุดบนแผนที่ แก้ไขสถานที่และกำหนดตำแหน่งเพื่อให้แสดงบนแผนที่',
'reservations.import.acceptedFormats': 'ยอมรับ: EML, PDF, PKPass, HTML, TXT (สูงสุด 10 MB ต่อไฟล์ สูงสุด 5 ไฟล์)',
'reservations.import.acceptedPhotos': 'โมเดล AI จะอ่านรูปถ่าย (JPG, PNG, WEBP)',
'reservations.import.parsing': 'กำลังแยกวิเคราะห์ไฟล์...',
'reservations.import.previewHeading': 'พบการจอง {count} รายการ',
'reservations.import.previewEmpty': 'ไม่สามารถแยกการจองออกจากไฟล์ที่อัปโหลดได้',
'reservations.import.removeItem': 'ลบ',
'reservations.import.needsReview': 'ตรวจสอบ',
'reservations.import.tryAi': 'ลองแยกวิเคราะห์ AI',
'reservations.import.aiParsing': 'แยกวิเคราะห์ด้วย AI...',
'reservations.import.confirm': 'นำเข้าการจอง {count} รายการ',
'reservations.import.back': 'กลับ',
'reservations.import.success': 'นำเข้าการจองแล้ว {count} รายการ',
'reservations.import.partialFailure': 'นำเข้าสำเร็จ {created} รายการ ล้มเหลว {failed} รายการ',
'reservations.import.error': 'การแยกวิเคราะห์ล้มเหลว ตรวจสอบให้แน่ใจว่าไฟล์นั้นเป็นข้อมูลยืนยันการจองที่ถูกต้อง',
'reservations.import.unavailable': 'การนำเข้าการจองไม่พร้อมใช้งานบนเซิร์ฟเวอร์นี้',
'reservations.import.unsupportedFormat': 'รูปแบบไฟล์ที่ไม่รองรับ ใช้ EML, PDF, PKPass, HTML หรือ TXT',
'reservations.import.fileTooLarge': 'ไฟล์ "{name}" เกินขีดจำกัด 10 MB',
'reservations.airtrail.title': 'นำเข้าจาก AirTrail',
'reservations.airtrail.cta': 'แอร์เทรล',
'reservations.airtrail.synced': 'แอร์เทรล',
'reservations.airtrail.syncedHint': 'ซิงค์จาก AirTrail - การแก้ไขจะซิงค์กันทั้งสองทาง',
'reservations.airtrail.notSynced': 'ไม่ได้ซิงค์',
'reservations.airtrail.notSyncedHint': 'เที่ยวบินนี้ถูกลบใน AirTrail และไม่มีการซิงค์อีกต่อไป',
'reservations.airtrail.layoverHint':
'นำเข้าจากแอร์เทรล เที่ยวบินหลายขาที่มีการต่อเครื่องจะไม่มีเที่ยวบิน AirTrail เดียวที่จะซิงค์กลับไป ดังนั้นจึงถือเป็นการนำเข้าครั้งเดียว',
'reservations.airtrail.loadError': 'ไม่สามารถโหลดเที่ยวบิน AirTrail ของคุณได้',
'reservations.airtrail.imported': 'นำเข้าเที่ยวบินแล้ว {count} เที่ยวบิน',
'reservations.airtrail.skippedDuplicate': 'ข้าม {count} เที่ยวบินที่มีอยู่ในทริปนี้แล้ว',
'reservations.airtrail.nothingImported': 'ไม่มีอะไรจะนำเข้า',
'reservations.airtrail.importError': 'การนำเข้าล้มเหลว โปรดลองอีกครั้ง',
'reservations.airtrail.undo': 'นำเข้าจาก AirTrail',
'reservations.airtrail.alreadyImported': 'นำเข้า',
'reservations.airtrail.duringTrip': 'ในระหว่างการเดินทางครั้งนี้',
'reservations.airtrail.otherFlights': 'เที่ยวบินอื่นๆ',
'reservations.airtrail.empty': 'ไม่พบเที่ยวบินในบัญชี AirTrail ของคุณ',
'reservations.airtrail.importCta': 'นำเข้า {count}',
'reservations.airtrail.joinConnection': 'นำเข้าเป็นเที่ยวบินเดียวโดยมีการแวะพักใน {stops}',
'reservations.costsLabel': 'ค่าใช้จ่าย',
'reservations.createExpense': 'สร้างรายจ่าย',
'reservations.createExpenseHint': 'บันทึกการจอง จากนั้นเปิดตัวแก้ไขต้นทุน',
'reservations.linkedExpense': 'ค่าใช้จ่ายที่เชื่อมโยง',
'reservations.removeExpense': 'ลบค่าใช้จ่าย',
'reservations.linkedExpenses': 'รายการค่าใช้จ่ายที่เชื่อมโยง',
'reservations.linkExpense': 'เชื่อมโยงค่าใช้จ่ายที่มีอยู่',
'reservations.unlinkExpense': 'ยกเลิกการเชื่อมโยง แต่เก็บค่าใช้จ่ายไว้',
'reservations.noUnlinkedExpenses': 'ไม่มีค่าใช้จ่ายที่ยังไม่ได้เชื่อมโยง',
'reservations.travelers.label': 'นักเดินทาง',
'reservations.travelers.assign': 'มอบหมายให้นักเดินทาง',
'reservations.travelers.none': 'ยังไม่มีสมาชิกทริป',
'reservations.status.switchTo': 'เปลี่ยนเป็น {status}',
'reservations.view.label': 'มุมมอง',
'reservations.view.cards': 'การ์ด',
'reservations.view.list': 'รายการ',
'reservations.view.timeline': 'ไทม์ไลน์',
'reservations.filter': 'กรอง',
'reservations.searchPlaceholder': 'ค้นหา',
'reservations.results': '{shown} จาก {total}',
'reservations.resetFilters': 'รีเซ็ตตัวกรอง',
'reservations.noMatches': 'ไม่มีรายการที่ตรงกับตัวกรองเหล่านี้',
'reservations.viewOptions': 'ตัวเลือกมุมมอง',
'reservations.exportCsv': 'ส่งออกเป็นสเปรดชีต (CSV)',
'reservations.export.type': 'ประเภท',
'reservations.export.title': 'ชื่อ',
'reservations.export.start': 'เริ่ม',
'reservations.export.end': 'สิ้นสุด',
'reservations.export.from': 'จาก',
'reservations.export.to': 'ถึง',
'reservations.export.location': 'สถานที่',
'reservations.export.confirmation': 'หมายเลขยืนยัน',
'reservations.export.notes': 'บันทึก',
'reservations.resetView': 'รีเซ็ตมุมมอง',
'reservations.group.label': 'จัดกลุ่มตาม',
'reservations.group.status': 'สถานะ',
'reservations.group.day': 'วัน',
'reservations.group.type': 'ประเภท',
'reservations.group.none': 'ไม่จัดกลุ่ม',
'reservations.transitApart': 'แยกขนส่งสาธารณะเป็นส่วนของตัวเอง',
'reservations.group.before': 'ก่อนทริป',
'reservations.group.after': 'หลังทริป',
'reservations.group.undated': 'ไม่มีวันที่',
'reservations.sort.label': 'เรียงตาม',
'reservations.sort.date': 'วันที่',
'reservations.sort.title': 'ชื่อ',
'reservations.sort.type': 'ประเภท',
'reservations.sort.status': 'สถานะ',
'reservations.sort.earlyFirst': 'เร็วที่สุดก่อน',
'reservations.sort.lateFirst': 'ล่าสุดก่อน',
'reservations.sort.aToZ': 'ก ถึง ฮ',
'reservations.sort.zToA': 'ฮ ถึง ก',
'reservations.timeline.dayCount': '{count} วัน',
'reservations.timeline.zoom': 'ซูม',
'reservations.timeline.trip': 'ทริป',
'reservations.timeline.day': 'วัน',
'reservations.timeline.prevDay': 'วันก่อนหน้า',
'reservations.timeline.nextDay': 'วันถัดไป',
'reservations.timeline.openDay': 'เปิด {day} แบบรายชั่วโมง',
'reservations.timeline.nothingThisDay': 'ไม่มีอะไรในวันนี้',
'reservations.timeline.today': 'วันนี้',
'reservations.timeline.now': 'ตอนนี้',
'reservations.timeline.byType': 'แยกแถวตามประเภท',
'reservations.timeline.context': 'แสดงอีกแท็บด้วย',
'reservations.timeline.contextBookings': 'การจอง',
'reservations.timeline.contextTransports': 'การขนส่ง',
'reservations.timeline.noneDated': 'ยังไม่มีรายการใดที่มีวันที่',
'reservations.undated': 'ไม่มีวันที่',
'reservations.nights': 'คืน',
'reservations.start': 'เริ่ม',
'reservations.end': 'สิ้นสุด',
'reservations.rename': 'เปลี่ยนชื่อ',
'reservations.copyCode': 'คัดลอกรหัสการจอง',
'reservations.copyFailed': 'คัดลอกไม่สำเร็จ',
'reservations.showInFiles': 'แสดงในไฟล์',
'reservations.filesNeedConnection':
'การอัปโหลดไฟล์ต้องใช้การเชื่อมต่อ ลบไฟล์ใหม่ออกเพื่อบันทึกการจองแบบออฟไลน์ หรือบันทึกเมื่อกลับมาออนไลน์',
'reservations.needsConnection': 'การทำงานนี้ต้องใช้การเชื่อมต่อ ลองอีกครั้งเมื่อ TREK กลับมาออนไลน์',
'reservations.exportCsvFiltered': 'ส่งออก {shown} จาก {total} แถวที่แสดง (CSV)',
};
export default reservations;