mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
bee500880e
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.
229 lines
19 KiB
TypeScript
229 lines
19 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const collection: TranslationStrings = {
|
|
'collections.saveNToList': 'บันทึก {count} ลงในรายการ',
|
|
'collections.addedNToList': 'บันทึก {count} ไปที่ {name} แล้ว',
|
|
'collections.noOwnLists': 'คุณยังไม่มีรายการ',
|
|
'collections.saveToListHint': 'รายการที่ซ้ำกันจะถูกข้ามโดยอัตโนมัติ',
|
|
'collections.role.label': 'บทบาท',
|
|
'collections.role.viewer': 'ผู้ดู',
|
|
'collections.role.editor': 'บรรณาธิการ',
|
|
'collections.role.admin': 'ผู้ดูแลระบบ',
|
|
'collections.picker.allLists': 'รายการทั้งหมด',
|
|
'collections.select': 'เลือก',
|
|
'collections.selectAll': 'เลือกทั้งหมด',
|
|
'collections.deselectAll': 'ยกเลิกการเลือกทั้งหมด',
|
|
'collections.moveToList': 'ย้ายไปที่รายการ',
|
|
'collections.duplicateToList': 'ทำซ้ำในรายการ',
|
|
'collections.moveToListTitle': 'ย้าย {count} ไปยังรายการอื่น',
|
|
'collections.duplicateToListTitle': 'ทำซ้ำ {count} ไปยังรายการอื่น',
|
|
'collections.noOtherLists': 'ยังไม่มีรายการอื่นเลย',
|
|
'collections.movedCount': 'ย้ายสถานที่ {count} แห่งแล้ว',
|
|
'collections.duplicatedCount': 'ทำซ้ำสถานที่ {count} แห่งแล้ว',
|
|
'collections.placeCount': 'สถานที่ {count} แห่ง',
|
|
'collections.category': 'หมวดหมู่',
|
|
'collections.noCategory': 'ไม่มีหมวดหมู่',
|
|
'collections.editListTitle': 'แก้ไขรายการ',
|
|
'collections.coverImage': 'ภาพปก',
|
|
'collections.addCover': 'เพิ่มปก',
|
|
'collections.changeCover': 'เปลี่ยนปก',
|
|
'collections.description': 'คำอธิบาย',
|
|
'collections.descriptionPlaceholder': 'เพิ่มคำอธิบาย...',
|
|
'collections.links': 'ลิงก์',
|
|
'collections.linkLabel': 'ป้ายกำกับ',
|
|
'collections.addLink': 'เพิ่มลิงก์',
|
|
'collections.addDetails': 'เพิ่มรายละเอียด',
|
|
'collections.addPlace': 'เพิ่มสถานที่',
|
|
'collections.addPlaceSearch': 'ค้นหาสถานที่...',
|
|
'collections.addPlaceHint': 'ค้นหาเพื่อเพิ่มสถานที่ลงในรายการนี้',
|
|
'collections.importFromTrip': 'นำเข้าจากทริป',
|
|
'collections.importTitle': 'นำเข้าจากทริป',
|
|
'collections.importDoneTitle': 'นำเข้าเสร็จแล้ว',
|
|
'collections.importPickTripHint': 'เลือกทริปเพื่อนำสถานที่ในทริปไปยัง {name}',
|
|
'collections.importNoTrips': 'ยังไม่มีการเดินทาง',
|
|
'collections.importPlacesCount': 'สถานที่ {count} แห่ง',
|
|
'collections.importSearchPlaces': 'ค้นหาสถานที่...',
|
|
'collections.importOnlyNew': 'ใหม่เท่านั้น',
|
|
'collections.importSelectAll': 'เลือกทั้งหมด',
|
|
'collections.importClearSelection': 'ล้างการเลือก',
|
|
'collections.importAlreadySaved': 'บันทึกแล้ว',
|
|
'collections.importUnscheduled': 'ไม่ได้กำหนดไว้',
|
|
'collections.importOnDay': 'วันที่ {count}',
|
|
'collections.importSelectedCount': 'เลือกแล้ว {count} รายการ',
|
|
'collections.importAction': 'นำเข้า {count}',
|
|
'collections.importEmptyTrip': 'ทริปนี้ยังไม่มีสถานที่',
|
|
'collections.importNothingNew': 'ทุกอย่างจากทริปนี้อยู่ในรายการนี้แล้ว',
|
|
'collections.importDone': 'เพิ่มสถานที่ {count} แห่งแล้ว',
|
|
'collections.importDoneSkipped': 'มี {count} แห่งอยู่ในรายการแล้วและคงไว้ตามเดิม',
|
|
'collections.importDoneClean': 'ตอนนี้สถานที่ทั้งหมดอยู่ใน {name} แล้ว',
|
|
'collections.sort.default': 'ค่าเริ่มต้น',
|
|
'collections.sort.nameAsc': 'ชื่อ (ก-ฮ)',
|
|
'collections.coordinates': 'พิกัด',
|
|
'collections.showList': 'แสดงรายการ',
|
|
'collections.expandMap': 'ขยายแผนที่',
|
|
'collections.hero.mine': 'คอลเลกชันของฉัน',
|
|
'collections.hero.shared': 'แบ่งปันกับคุณ',
|
|
'collections.hero.all': 'ห้องสมุดของคุณ',
|
|
'collections.title': 'คอลเลกชัน',
|
|
'collections.subtitle': 'สถานที่ที่บันทึกไว้ของคุณจัดเป็นรายการ',
|
|
|
|
'collections.newList': 'รายการใหม่',
|
|
'collections.create': 'สร้าง',
|
|
'collections.editList': 'เปลี่ยนชื่อ',
|
|
'collections.listMenu': 'ตัวเลือกรายการ',
|
|
'collections.deleteList': 'ลบรายการ',
|
|
'collections.deleteListConfirm':
|
|
'การดำเนินการนี้จะลบรายการและสถานที่ที่บันทึกไว้ทั้งหมดอย่างถาวร สิ่งนี้ไม่สามารถยกเลิกได้',
|
|
'collections.listName': 'ชื่อรายการ',
|
|
'collections.listNamePlaceholder': 'เช่น โตเกียว 2025',
|
|
'collections.listColor': 'สี',
|
|
'collections.allSaved': 'บันทึกทั้งหมดแล้ว',
|
|
'collections.shared': 'แบ่งปันแล้ว',
|
|
|
|
'collections.empty.title': 'ยังไม่มีสถานที่',
|
|
'collections.empty.text': 'บันทึกสถานที่จากการเดินทางเพื่อสร้างรายการนี้',
|
|
'collections.empty.noMatchTitle': 'ไม่พบรายการที่ตรงกัน',
|
|
'collections.empty.noMatchText': 'ไม่มีสถานที่ที่บันทึกไว้ซึ่งตรงกับตัวกรองหรือการค้นหาของคุณ',
|
|
'collections.empty.firstTitle': 'เริ่มคอลเลกชันแรกของคุณ',
|
|
'collections.empty.firstText': 'สร้างรายการเพื่อบันทึกสถานที่ที่คุณต้องการจดจำตลอดการเดินทาง',
|
|
|
|
'collections.view.grid': 'กริด',
|
|
'collections.view.list': 'รายการ',
|
|
'collections.view.map': 'แผนที่',
|
|
|
|
'collections.status.idea': 'ไอเดีย',
|
|
'collections.status.want': 'อยากไป',
|
|
'collections.status.visited': 'เยี่ยมชมแล้ว',
|
|
'collections.status.filterAll': 'ทั้งหมด',
|
|
'collections.status.cycleHint': 'แตะเพื่อเปลี่ยน',
|
|
|
|
'collections.markVisited': 'ทำเครื่องหมายว่าเคยไปแล้ว',
|
|
'collections.markVisitedAll': 'ไปมาแล้วทุกสถานที่',
|
|
'collections.markVisitedSelection': 'ทำเครื่องหมายว่าเคยไปแล้วในรายการของคุณ',
|
|
'collections.markVisitedNone': 'ไม่มีสถานที่เหล่านี้บันทึกไว้ในรายการ',
|
|
'collections.markedVisited': 'ทำเครื่องหมายว่าเยี่ยมชมแล้ว',
|
|
'collections.markedVisitedTrip': 'ทำเครื่องหมายสถานที่ {count} แห่งว่าเคยไปแล้ว',
|
|
|
|
'collections.copyToTrip': 'คัดลอกไปที่การเดินทาง',
|
|
'collections.copyToTripTitle': 'คัดลอกไปที่การเดินทาง',
|
|
'collections.copyN': 'คัดลอก {count} ไปยังการเดินทาง',
|
|
'collections.copyToTripSearch': 'ค้นหาการเดินทาง',
|
|
'collections.searchLists': 'ค้นหารายการ',
|
|
'collections.copyToTripConfirm': 'คัดลอก',
|
|
'collections.noTrips': 'ยังไม่มีการเดินทาง',
|
|
'collections.alreadyInTrip': 'อยู่แล้วในทริปนี้',
|
|
'collections.copied': 'คัดลอกไปที่การเดินทาง',
|
|
'collections.copiedCount': 'คัดลอกสถานที่ {count} แห่งแล้ว',
|
|
'collections.skippedDuplicates': 'ข้าม {count} รายการที่ซ้ำกัน',
|
|
'collections.copyNothing': 'ไม่มีอะไรจะคัดลอก',
|
|
'collections.removeFromList': 'ลบออกจากรายการ',
|
|
'collections.removeFromListConfirm': 'ลบสถานที่นี้ออกจากรายการใช่ไหม',
|
|
'collections.removeFromCollection': 'ลบออกจากคอลเลกชัน',
|
|
|
|
'collections.saved': 'บันทึกไปที่ {name}',
|
|
'collections.savedUndo': 'เลิกทำ',
|
|
'collections.viewInCollection': 'ดู',
|
|
'collections.duplicateWarning': 'สถานที่นี้อยู่ในรายการแล้ว',
|
|
|
|
'collections.search': 'ค้นหาสถานที่',
|
|
'collections.selectMode': 'เลือก',
|
|
'collections.selectedCount': 'เลือกแล้ว {count} รายการ',
|
|
|
|
'collections.pickList': 'บันทึกลงในรายการ',
|
|
'collections.pickListPlaceholder': 'เลือกรายการ',
|
|
'collections.addedToList': 'เพิ่มไปที่ {name} แล้ว',
|
|
'collections.removedFromList': 'ลบออกจาก {name}',
|
|
'collections.inLists': 'ในรายการของคุณ',
|
|
'collections.otherLists': 'เพิ่มลงในรายการ',
|
|
'collections.noListsYet': 'สร้างรายการก่อนเพื่อบันทึกสถานที่',
|
|
'collections.removedFromAll': 'ลบออกจากคอลเลกชันแล้ว',
|
|
'collections.picker.title': 'สถานที่ที่บันทึกไว้',
|
|
'collections.picker.showMore': 'แสดง {count} เพิ่มเติม',
|
|
'collections.picker.search': 'ค้นหาสถานที่ที่บันทึกไว้',
|
|
'collections.picker.empty': 'ไม่มีสถานที่ที่บันทึกไว้ที่จะเพิ่ม',
|
|
'collections.picker.hint': 'เลือกสถานที่จากคอลเล็กชันของคุณ',
|
|
'collections.picker.use': 'ใช้',
|
|
|
|
'collections.share.title': 'แชร์รายการ',
|
|
'collections.share.titleNamed': 'แบ่งปัน “{name}”',
|
|
'collections.share.button': 'แบ่งปัน',
|
|
'collections.share.members': 'สมาชิก',
|
|
'collections.share.owner': 'เจ้าของ',
|
|
'collections.share.you': 'คุณ',
|
|
'collections.share.pending': 'รอคำเชิญ',
|
|
'collections.share.accepted': 'ได้รับการยอมรับ',
|
|
'collections.share.invite': 'เชิญใครสักคน',
|
|
'collections.share.inviteUser': 'เลือกผู้ใช้',
|
|
'collections.share.sendInvite': 'ส่งคำเชิญ',
|
|
'collections.share.inviteHint': 'ผู้ที่ได้รับเชิญสามารถดูและแก้ไขรายการนี้ได้',
|
|
'collections.share.noUsers': 'ไม่มีผู้ใช้ที่สามารถเชิญได้',
|
|
'collections.share.memberHint': 'มีเพียงเจ้าของรายการเท่านั้นที่สามารถเชิญหรือลบบุคคลได้',
|
|
'collections.share.cancel': 'ยกเลิก',
|
|
'collections.share.leave': 'ออกจากรายการ',
|
|
'collections.share.leaveConfirm': 'ออกจากรายการที่แชร์นี้ใช่ไหม คุณจะสูญเสียการเข้าถึงจนกว่าคุณจะได้รับเชิญอีกครั้ง',
|
|
'collections.share.left': 'คุณออกจากรายการแล้ว',
|
|
'collections.share.remove': 'ลบ',
|
|
|
|
'collections.invites.title': 'คำเชิญ',
|
|
'collections.invites.from': 'จาก',
|
|
'collections.invites.accept': 'ยอมรับ',
|
|
'collections.invites.decline': 'ปฏิเสธ',
|
|
'collections.invites.received': 'คุณมีคำเชิญรายการใหม่',
|
|
'collections.invite.sent': 'ส่งคำเชิญแล้ว',
|
|
'collections.invite.error': 'ไม่สามารถส่งคำเชิญได้',
|
|
'collections.invite.accepted': 'ตอบรับคำเชิญแล้ว',
|
|
'collections.invite.declined': 'คำเชิญถูกปฏิเสธ',
|
|
|
|
'collections.widget.title': 'คอลเลกชัน',
|
|
'collections.widget.empty': 'ยังไม่มีสถานที่ที่บันทึกไว้',
|
|
'collections.widget.savedCount': 'บันทึกไว้ {count} แห่ง',
|
|
|
|
'collections.labels.title': 'ป้ายกำกับ',
|
|
'collections.labels.manage': 'จัดการป้ายกำกับ',
|
|
'collections.labels.add': 'เพิ่มป้ายกำกับ',
|
|
'collections.labels.name': 'ชื่อป้ายกำกับ',
|
|
'collections.labels.namePlaceholder': 'เช่น เบอร์ลิน',
|
|
'collections.labels.assign': 'กำหนดป้ายกำกับ',
|
|
'collections.labels.assignN': 'เพิ่มป้ายกำกับให้กับสถานที่ {count} แห่ง',
|
|
'collections.labels.assignedCount': 'ติดป้ายกำกับให้สถานที่ {count} แห่งแล้ว',
|
|
'collections.labels.empty': 'ยังไม่มีป้ายกำกับ',
|
|
'collections.labels.emptyHint': 'สร้างป้ายกำกับก่อนเพื่อจัดกลุ่มสถานที่ในรายการนี้',
|
|
'collections.file.export': 'ส่งออก',
|
|
'collections.file.exportTitle': 'ดาวน์โหลดรายการนี้เป็นไฟล์',
|
|
'collections.file.importButton': 'นำเข้ารายการจากไฟล์',
|
|
'collections.file.importTitle': 'นำเข้ารายการ',
|
|
'collections.file.choose': 'เลือกไฟล์รายการ',
|
|
'collections.file.confirm': 'นำเข้า',
|
|
'collections.file.targetNew': 'รายการใหม่',
|
|
'collections.file.targetNewHint': 'ใช้ไฟล์เป็นรายการแยกต่างหาก',
|
|
'collections.file.targetExisting': 'เพิ่มลงในรายการ',
|
|
'collections.file.targetExistingHint': 'ลงในรายการที่คุณมีอยู่แล้ว',
|
|
'collections.file.searchLists': 'ค้นหารายการ',
|
|
'collections.file.intoHint': 'สถานที่ที่มีอยู่ในรายการจะคงเดิม รวมถึงชื่อและสีของรายการ ป้ายกำกับที่มากับไฟล์จะถูกเพิ่มเข้าไป',
|
|
'collections.file.confirmInto': 'เพิ่มลงในรายการ',
|
|
'collections.file.doneInto': 'เพิ่มสถานที่ {count} แห่งลงใน {name} แล้ว',
|
|
'collections.file.doneIntoDuplicates': 'เพิ่ม {count} แห่งลงใน {name} แล้ว มี {duplicates} แห่งอยู่แล้ว',
|
|
'collections.file.doneIntoNothing': 'ทุกสถานที่ในไฟล์มีอยู่ใน {name} แล้ว',
|
|
'collections.file.change': 'เปลี่ยน',
|
|
'collections.file.labelCount': 'ป้ายกำกับ {count} รายการ',
|
|
'collections.file.hint': 'สถานที่จะเข้ามาเป็นรายการใหม่ของคุณเอง คะแนน สมาชิก และรูปภาพที่อัปโหลดจะไม่ถูกนำมาด้วย',
|
|
'collections.file.done': 'นำเข้าสถานที่ {count} แห่งแล้ว',
|
|
'collections.file.doneSkipped': 'นำเข้าสถานที่ {count} แห่งแล้ว ข้าม {skipped} แห่ง',
|
|
'collections.file.errorTooLarge': 'ไฟล์นั้นใหญ่เกินกว่าจะเป็นรายการได้',
|
|
'collections.file.errorUnreadable': 'ไม่สามารถอ่านไฟล์นั้นได้',
|
|
'collections.file.errorNotACollection': 'ไฟล์นั้นไม่ใช่ไฟล์รายการของ TREK',
|
|
'collections.file.formatTrek': 'รายการ TREK',
|
|
'collections.file.formatTrekHint': 'สำหรับ TREK อื่น พร้อมป้ายกำกับและสถานะ',
|
|
'collections.file.formatGpxHint': 'จุดอ้างอิงสำหรับ OsmAnd, Organic Maps, Garmin และแอปแผนที่อื่นๆ',
|
|
'collections.file.gpxOmitted': 'สถานที่ {count} แห่งไม่มีพิกัด จึงไม่ได้รวมไว้ในไฟล์ GPX',
|
|
'collections.file.gpxNothing': 'ไม่มีสถานที่ใดในนี้ที่มีพิกัด จึงไม่มีอะไรจะใส่ในไฟล์ GPX',
|
|
'collections.file.reading': 'กำลังอ่านไฟล์…',
|
|
'collections.file.gpxSkipped': 'จุดอ้างอิง {count} จุดที่ไม่มีพิกัดที่ใช้ได้จะถูกข้ามไป',
|
|
'collections.file.gpxTrack': 'ไฟล์นี้ยังมีจุดแทร็ก {count} จุด ระบบจะนำเข้าเฉพาะจุดอ้างอิง ไม่นำเข้าแทร็ก',
|
|
'collections.file.gpxEmpty': 'ไฟล์ GPX นี้ไม่มีจุดอ้างอิง จึงไม่มีอะไรให้นำเข้า',
|
|
'collections.file.errorNotGpx': 'นี่ไม่ใช่ไฟล์ GPX',
|
|
'collections.file.errorTooManyPlaces': 'ไฟล์นี้มีสถานที่มากกว่า {count} แห่ง โปรดแยกไฟล์แล้วนำเข้าทีละส่วน',
|
|
};
|
|
|
|
export default collection;
|