Files
TREK/shared/src/i18n/th/reservations.ts
T
Maurice bee500880e fix(i18n): every language says one file and five files its own way
Finishes the plural work the previous wip commit started. t() picks a
count string's form by the language's own Intl.PluralRules, and every
locale now spells out the forms its language reaches with whole
numbers, about 160 count strings in all: one, few and many in Russian,
Ukrainian and Polish, one and few in Czech and Slovak, five forms in
Arabic, one in the others, none in Japanese, Korean, Chinese, Thai,
Vietnamese and Indonesian. Each language was translated and then
reviewed on its own. English no longer reads "1 files", "1 updates
available" or "photo(s)".

Count labels shown next to a number now take that number too: the
atlas and admin statistics, the trip cards, journey and shared trip
pills, packing templates, receipts, storage usage, the Studio export
note. A heading that shared its key with a counted label keeps a key of
its own (the boarding pass heading, the Bookings tab), so languages that
put a noun after a number in the singular keep a plural heading. The
plugin hosts chip passed its count through .replace() after t() and
never got a form; three toasts sent the count as text. Mail and push
texts for shared photos and suppressed storage failures pick their form
in code through pluralForm.

A whole number sent as text counts too, which is how in-app
notification params arrive, and the plural rule follows the language of
the strings on screen while another one still loads.

The parity check knows which forms each language needs and refuses
missing and impossible ones. It also reads keys that contain a colon
now: it skipped them, which hid 58 missing plugin permission texts in
Catalan and 35 in Vietnamese, both translated. The client parity test
covers every language of the registry instead of a hand-kept list of 19,
and the placeholder spec lets a form spell its number out only where
its category is that one number. Brazilian Portuguese error screens
were in Breton, and an Arabic dashboard label held Hebrew text.
2026-10-08 00:01:59 +00:00

258 lines
20 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.toast.updated': 'อัพเดตการจองแล้ว',
'reservations.toast.removed': 'ลบการจองแล้ว',
'reservations.toast.fileUploaded': 'อัปโหลดไฟล์แล้ว',
'reservations.toast.uploadError': 'ล้มเหลวในการอัปโหลด',
'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.addBooking': 'เพิ่มการจอง',
'reservations.import.title': 'นำเข้าการยืนยันการจอง',
'reservations.import.cta': 'นำเข้าจากไฟล์',
'reservations.import.dropHere': 'วางไฟล์ยืนยันการจองที่นี่ หรือคลิกเพื่อเลือก',
'reservations.import.dropActive': 'วางไฟล์ที่จะนำเข้า',
'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': 'แสดงในไฟล์',
};
export default reservations;