mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +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.
76 lines
4.4 KiB
TypeScript
76 lines
4.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const notif: TranslationStrings = {
|
|
'notif.test.title': '[Test] Notification',
|
|
'notif.test.simple.text': 'This is a simple test notification.',
|
|
'notif.test.boolean.text': 'Do you accept this test notification?',
|
|
'notif.test.navigate.text': 'Click below to navigate to the dashboard.',
|
|
'notif.trip_invite.title': 'Trip Invitation',
|
|
'notif.trip_invite.text': '{actor} invited you to {trip}',
|
|
'notif.booking_change.title': 'Booking Updated',
|
|
'notif.booking_change.text': '{actor} updated a booking in {trip}',
|
|
'notif.flight_departed.title': 'Flight departed',
|
|
'notif.flight_departed.text': '{flight} from {from} to {to} is in the air',
|
|
'notif.flight_delayed.title': 'Flight running late',
|
|
'notif.flight_delayed.text': '{flight} from {from} to {to} is about {delay} min behind schedule',
|
|
'notif.flight_landed.title': 'Flight landed',
|
|
'notif.flight_landed.text': '{flight} from {from} has landed in {to}',
|
|
'notif.trip_reminder.title': 'Trip Reminder',
|
|
'notif.trip_reminder.text': 'Your trip {trip} is coming up soon!',
|
|
'notif.todo_due.title': 'To-do due',
|
|
'notif.todo_due.text': '{todo} in {trip} is due on {due}',
|
|
'notif.vacay_invite.title': 'Vacay Fusion Invite',
|
|
'notif.vacay_invite.text': '{actor} invited you to fuse vacation plans',
|
|
'notif.vacay_share.title': 'Vacay Calendar Shared',
|
|
'notif.vacay_share.text': '{actor} shared their vacation calendar with you',
|
|
'notif.collection_invite.title': 'Collection invite',
|
|
'notif.collection_invite.text': '{actor} invited you to share a collection',
|
|
'notif.photos_shared.title': 'Photos Shared',
|
|
'notif.photos_shared.text': '{actor} shared {count} photos in {trip}',
|
|
'notif.photos_shared.text.one': '{actor} shared {count} photo in {trip}',
|
|
'notif.collab_message.title': 'New Message',
|
|
'notif.collab_message.text': '{actor} sent a message in {trip}',
|
|
'notif.packing_tagged.title': 'Packing Assignment',
|
|
'notif.packing_tagged.text': '{actor} assigned you to {category} in {trip}',
|
|
'notif.version_available.title': 'New Version Available',
|
|
'notif.version_available.text': 'TREK {version} is now available',
|
|
'notif.replica_failure.title': 'Storage replica failure',
|
|
'notif.replica_failure.text': "Replica write failed on '{backend}': {op} of {key} — {error}",
|
|
'notif.replica_failure.textSuppressed':
|
|
"Replica write failed on '{backend}': {op} of {key} — {error}. {suppressed} more failures were suppressed since the last notification.",
|
|
'notif.paddle_region_requested.title': 'Paddle region requested',
|
|
'notif.paddle_region_requested.text': '{actor} is planning a paddle tour in {region}',
|
|
'notif.action.view_trip': 'View Trip',
|
|
'notif.action.view_collab': 'View Messages',
|
|
'notif.action.view_packing': 'View Packing',
|
|
'notif.action.view_photos': 'View Photos',
|
|
'notif.action.view_vacay': 'View Vacay',
|
|
'notif.action.view_collection': 'View Collection',
|
|
'notif.action.view_admin': 'Go to Admin',
|
|
'notif.wanderer_source_hint.title': 'wanderer trail',
|
|
'notif.wanderer_source_hint.possible_change': '“{tour}” in {trip} may have changed in wanderer',
|
|
'notif.wanderer_source_hint.changed': '“{tour}” in {trip} was changed in wanderer',
|
|
'notif.wanderer_source_hint.unverifiable': '“{tour}” in {trip} can no longer be checked in wanderer',
|
|
'notif.action.view_tour': 'View Tour',
|
|
'notif.action.view': 'View',
|
|
'notif.action.accept': 'Accept',
|
|
'notif.action.decline': 'Decline',
|
|
'notif.mail_booking_added.title': 'Booking added from a mail',
|
|
'notif.mail_booking_added.text': '{booking} was added to {trip}',
|
|
'notif.mail_booking_added.shared': '{actor} added {booking} to {trip} from a forwarded mail',
|
|
'notif.mail_booking_pending.title': 'Forwarded bookings to review',
|
|
'notif.mail_booking_pending.text': 'Forwarded bookings waiting for you: {count}',
|
|
'notif.mail_ingest_paused.title': 'Mail import paused',
|
|
'notif.mail_ingest_paused.text': 'Forwarded booking mails are not taken in for now. Your addresses stay and work again once the import is back.',
|
|
'notif.action.undo': 'Undo',
|
|
'notif.action.keep': 'Keep',
|
|
'notif.action.review': 'Review',
|
|
'notif.plugin.title': '{title}',
|
|
'notif.plugin.text': '{body}',
|
|
'notif.generic.title': 'Notification',
|
|
'notif.generic.text': 'You have a new notification',
|
|
'notif.dev.unknown_event.title': '[DEV] Unknown Event',
|
|
'notif.dev.unknown_event.text': 'Event type "{event}" is not registered in EVENT_NOTIFICATION_CONFIG',
|
|
};
|
|
export default notif;
|