mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
a7adef5353
- Admin settings (desktop and phone, self-hosted only): the instance switch,
how mail arrives (IMAP or a signed webhook) with its fields, the address
template, the AI allowance per person and day, a connection test and the
status in counts. Changed fields only are saved; secrets stay masked.
- The review mark of an imported booking takes its mark off: the pill in the
desktop dialog and a row in the phone's transport sheet ('Looks right'),
through the ordinary booking update. Its hint no longer speaks of airports.
- The inbox follows mailInbox:changed and mailInbox:settings, and
?inbox=mail (the 'bookings waiting' notification) opens it.
- mailIngestRepo: the online-only path the views take, answers parsed
against the shared contracts.
- Dropped 'read with AI' and the unused mail-review contract: the server
reads a passing AI failure again on its own.
- mailInbox, mailAdmin and the new reservation, settings and notification
strings in all 28 locales; the pending notice is a plural group.
- The live flight line on the booking cards is one of the card's fields,
full width on the phone; the phone's live card keeps its map to the middle.
- Admin flight and mail cards sit in the left column.
76 lines
7.1 KiB
TypeScript
76 lines
7.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const notif: TranslationStrings = {
|
|
'notif.test.title': '[ทดสอบ] การแจ้งเตือน',
|
|
'notif.test.simple.text': 'นี่เป็นการแจ้งเตือนการทดสอบง่ายๆ',
|
|
'notif.test.boolean.text': 'คุณยอมรับการแจ้งเตือนการทดสอบนี้หรือไม่',
|
|
'notif.test.navigate.text': 'คลิกด้านล่างเพื่อไปยังแดชบอร์ด',
|
|
'notif.trip_invite.title': 'คำเชิญการเดินทาง',
|
|
'notif.trip_invite.text': '{actor} เชิญคุณเข้าร่วม {trip}',
|
|
'notif.booking_change.title': 'อัปเดตการจองแล้ว',
|
|
'notif.booking_change.text': '{actor} อัปเดตการจองใน {trip}',
|
|
'notif.flight_departed.title': 'เที่ยวบินออกเดินทางแล้ว',
|
|
'notif.flight_departed.text': 'เที่ยวบิน {flight} จาก {from} ไป {to} อยู่บนอากาศแล้ว',
|
|
'notif.flight_delayed.title': 'เที่ยวบินล่าช้า',
|
|
'notif.flight_delayed.text': 'เที่ยวบิน {flight} จาก {from} ไป {to} ล่าช้าประมาณ {delay} นาที',
|
|
'notif.flight_landed.title': 'เที่ยวบินลงจอดแล้ว',
|
|
'notif.flight_landed.text': 'เที่ยวบิน {flight} จาก {from} ลงจอดที่ {to} แล้ว',
|
|
'notif.trip_reminder.title': 'การแจ้งเตือนการเดินทาง',
|
|
'notif.trip_reminder.text': 'การเดินทาง {trip} ของคุณกำลังจะมาถึงเร็วๆ นี้!',
|
|
'notif.todo_due.title': 'งานที่ถึงกำหนด',
|
|
'notif.todo_due.text': '{todo} ใน {trip} ครบกำหนดในวันที่ {due}',
|
|
'notif.vacay_invite.title': 'คำเชิญรวมปฏิทินวันลา',
|
|
'notif.vacay_invite.text': '{actor} เชิญคุณมารวมแผนวันหยุด',
|
|
'notif.vacay_share.title': 'ปฏิทินวันหยุดที่ใช้ร่วมกัน',
|
|
'notif.vacay_share.text': '{actor} แบ่งปันปฏิทินวันหยุดกับคุณ',
|
|
'notif.collection_invite.title': 'คำเชิญให้แชร์คอลเลกชัน',
|
|
'notif.collection_invite.text': '{actor} เชิญคุณให้แบ่งปันคอลเล็กชัน',
|
|
'notif.photos_shared.title': 'แชร์รูปภาพแล้ว',
|
|
'notif.photos_shared.text': '{actor} แบ่งปันรูปภาพ {count} รูปใน {trip}',
|
|
'notif.collab_message.title': 'ข้อความใหม่',
|
|
'notif.collab_message.text': '{actor} ส่งข้อความใน {trip}',
|
|
'notif.packing_tagged.title': 'มอบหมายรายการจัดกระเป๋า',
|
|
'notif.packing_tagged.text': '{actor} มอบหมายให้คุณเป็น {category} ใน {trip}',
|
|
'notif.version_available.title': 'มีเวอร์ชันใหม่แล้ว',
|
|
'notif.version_available.text': 'TREK {version} มีจำหน่ายแล้ว',
|
|
'notif.replica_failure.title': 'การจำลองการจัดเก็บข้อมูลล้มเหลว',
|
|
'notif.replica_failure.text': "การเขียนแบบจำลองล้มเหลวใน '{backend}': {op} จาก {key} — {error}",
|
|
'notif.replica_failure.textSuppressed':
|
|
"การเขียนแบบจำลองล้มเหลวใน '{backend}': {op} จาก {key} — {error} {suppressed} ความล้มเหลวเพิ่มขึ้นถูกระงับนับตั้งแต่การแจ้งเตือนครั้งล่าสุด",
|
|
'notif.paddle_region_requested.title': 'มีคำขอภูมิภาคพายเรือ',
|
|
'notif.paddle_region_requested.text': '{actor} กำลังวางแผนทริปพายเรือใน {region}',
|
|
'notif.action.view_trip': 'ดูการเดินทาง',
|
|
'notif.action.view_collab': 'ดูข้อความ',
|
|
'notif.action.view_packing': 'ดูการบรรจุ',
|
|
'notif.action.view_photos': 'ดูรูปถ่าย',
|
|
'notif.action.view_vacay': 'ดูวันหยุดพักผ่อน',
|
|
'notif.action.view_collection': 'ดูคอลเลกชัน',
|
|
'notif.action.view_admin': 'ไปที่ผู้ดูแลระบบ',
|
|
'notif.wanderer_source_hint.title': 'เส้นทาง wanderer',
|
|
'notif.wanderer_source_hint.possible_change': '"{tour}" ใน {trip} อาจเปลี่ยนแปลงใน wanderer',
|
|
'notif.wanderer_source_hint.changed': '"{tour}" ใน {trip} ถูกเปลี่ยนใน wanderer',
|
|
'notif.wanderer_source_hint.unverifiable': '"{tour}" ใน {trip} ตรวจใน wanderer ไม่ได้อีกต่อไป',
|
|
'notif.action.view_tour': 'ดูทัวร์',
|
|
'notif.action.view': 'ดู',
|
|
'notif.action.accept': 'ยอมรับ',
|
|
'notif.action.decline': 'ปฏิเสธ',
|
|
'notif.mail_booking_added.title': 'เพิ่มการจองจากอีเมลแล้ว',
|
|
'notif.mail_booking_added.text': 'เพิ่ม {booking} ลงใน {trip} แล้ว',
|
|
'notif.mail_booking_added.shared': '{actor} เพิ่ม {booking} ลงใน {trip} จากอีเมลที่ส่งต่อ',
|
|
'notif.mail_booking_pending.title': 'การจองที่ส่งต่อซึ่งรอตรวจสอบ',
|
|
'notif.mail_booking_pending.text': 'มี {count} การจองที่ส่งต่อมารอให้คุณตรวจสอบ',
|
|
'notif.mail_ingest_paused.title': 'หยุดการนำเข้าอีเมลชั่วคราว',
|
|
'notif.mail_ingest_paused.text':
|
|
'ขณะนี้ยังไม่รับอีเมลการจองที่ส่งต่อมา ที่อยู่ของคุณยังคงอยู่และจะใช้งานได้อีกครั้งเมื่อการนำเข้ากลับมา',
|
|
'notif.action.undo': 'เลิกทำ',
|
|
'notif.action.keep': 'เก็บไว้',
|
|
'notif.action.review': 'ตรวจสอบ',
|
|
'notif.plugin.title': '{title}',
|
|
'notif.plugin.text': '{body}',
|
|
'notif.generic.title': 'การแจ้งเตือน',
|
|
'notif.generic.text': 'คุณมีการแจ้งเตือนใหม่',
|
|
'notif.dev.unknown_event.title': '[DEV] เหตุการณ์ที่ไม่รู้จัก',
|
|
'notif.dev.unknown_event.text': 'ประเภทเหตุการณ์ "{event}" ไม่ได้ลงทะเบียนใน EVENT_NOTIFICATION_CONFIG',
|
|
};
|
|
export default notif;
|