mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 17:03:15 +00:00
44f669cd0e
A plan without the import switches it off from outside the server, and an admin can switch it off too; the plan promises a "mail import paused" note. An hourly job sends mail_ingest_paused to each holder of a live address with their own import on, notes the pause first, and forgets it once it is back.
75 lines
4.3 KiB
TypeScript
75 lines
4.3 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': '從{from}飛往{to}的{flight}已在空中',
|
|
'notif.flight_delayed.title': '航班延誤',
|
|
'notif.flight_delayed.text': '從{from}飛往{to}的{flight}晚點約{delay}分鐘',
|
|
'notif.flight_landed.title': '航班已降落',
|
|
'notif.flight_landed.text': '從{from}出發的{flight}已降落在{to}',
|
|
'notif.trip_reminder.title': '旅行提醒',
|
|
'notif.trip_reminder.text': '你的旅行 {trip} 即將開始!',
|
|
'notif.todo_due.title': '待辦事項即將到期',
|
|
'notif.todo_due.text': '{trip} 中的 {todo} 將於 {due} 到期',
|
|
'notif.vacay_invite.title': 'Vacay Fusion 邀請',
|
|
'notif.vacay_invite.text': '{actor} 邀請你合併假期計畫',
|
|
'notif.vacay_share.title': 'Vacay 日曆已共享',
|
|
'notif.vacay_share.text': '{actor} 與你共享了假期日曆',
|
|
'notif.collection_invite.title': '收藏邀請',
|
|
'notif.collection_invite.text': '{actor} 邀請您加入收藏',
|
|
'notif.photos_shared.title': '照片已分享',
|
|
'notif.photos_shared.text': '{actor} 在 {trip} 中分享了 {count} 張照片',
|
|
'notif.collab_message.title': '新訊息',
|
|
'notif.collab_message.text': '{actor} 在 {trip} 中傳送了一則訊息',
|
|
'notif.packing_tagged.title': '打包指派',
|
|
'notif.packing_tagged.text': '{actor} 在 {trip} 中將 {category} 指派給你',
|
|
'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': '查看 Vacay',
|
|
'notif.action.view_collection': '查看收藏',
|
|
'notif.action.view_admin': '前往管理',
|
|
'notif.wanderer_source_hint.title': 'wanderer 路線',
|
|
'notif.wanderer_source_hint.possible_change': '{trip} 中的「{tour}」可能已在 wanderer 中變更',
|
|
'notif.wanderer_source_hint.changed': '{trip} 中的「{tour}」已在 wanderer 中變更',
|
|
'notif.wanderer_source_hint.unverifiable': '{trip} 中的「{tour}」已無法在 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;
|