mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
154563f34d
A new flight-live domain polls the open feeds adsb.lol and adsb.fi (no key, no cost; adsb.fi only on self-hosted installs, its terms are non-commercial) for every booked flight leg in its watch window, derives phase, take-off, landing, delay and an arrival estimate, and pushes changes as flight:live. GET /api/trips/:tripId/flights/live, the MCP tool get_trip_flight_status, notifications for take-off, landing and delays, and the admin switch flight_live_enabled (FLIGHT_LIVE_ENABLED wins) come with it.
67 lines
3.9 KiB
TypeScript
67 lines
3.9 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const notif: TranslationStrings = {
|
|
'notif.test.title': '[Test] Oznámení',
|
|
'notif.test.simple.text': 'Toto je jednoduché testovací oznámení.',
|
|
'notif.test.boolean.text': 'Přijmete toto testovací oznámení?',
|
|
'notif.test.navigate.text': 'Klikněte níže pro přechod na přehled.',
|
|
'notif.trip_invite.title': 'Pozvánka na výlet',
|
|
'notif.trip_invite.text': '{actor} vás pozval na {trip}',
|
|
'notif.booking_change.title': 'Rezervace aktualizována',
|
|
'notif.booking_change.text': '{actor} aktualizoval rezervaci v {trip}',
|
|
'notif.flight_departed.title': 'Let odletěl',
|
|
'notif.flight_departed.text': '{flight} z {from} do {to} je ve vzduchu',
|
|
'notif.flight_delayed.title': 'Let má zpoždění',
|
|
'notif.flight_delayed.text': '{flight} z {from} do {to} má zhruba {delay} min zpoždění',
|
|
'notif.flight_landed.title': 'Let přistál',
|
|
'notif.flight_landed.text': '{flight} z {from} přistál v {to}',
|
|
'notif.trip_reminder.title': 'Připomínka výletu',
|
|
'notif.trip_reminder.text': 'Váš výlet {trip} se blíží!',
|
|
'notif.todo_due.title': 'Úkol se blíží',
|
|
'notif.todo_due.text': '{todo} ve výletě {trip} má termín {due}',
|
|
'notif.vacay_invite.title': 'Pozvánka Vacay Fusion',
|
|
'notif.vacay_invite.text': '{actor} vás pozval ke spojení dovolenkových plánů',
|
|
'notif.vacay_share.title': 'Kalendář Vacay sdílen',
|
|
'notif.vacay_share.text': '{actor} s vámi sdílel svůj kalendář dovolených',
|
|
'notif.collection_invite.title': 'Pozvánka do sbírky',
|
|
'notif.collection_invite.text': '{actor} vás pozval do sbírky',
|
|
'notif.photos_shared.title': 'Fotky sdíleny',
|
|
'notif.photos_shared.text': '{actor} sdílel {count} fotek v {trip}',
|
|
'notif.photos_shared.text.one': '{actor} sdílel {count} fotku v {trip}',
|
|
'notif.photos_shared.text.few': '{actor} sdílel {count} fotky v {trip}',
|
|
'notif.collab_message.title': 'Nová zpráva',
|
|
'notif.collab_message.text': '{actor} poslal zprávu v {trip}',
|
|
'notif.packing_tagged.title': 'Přiřazení balení',
|
|
'notif.packing_tagged.text': '{actor} vás přiřadil k {category} v {trip}',
|
|
'notif.version_available.title': 'Nová verze dostupná',
|
|
'notif.version_available.text': 'TREK {version} je nyní dostupný',
|
|
'notif.replica_failure.title': 'Selhání repliky úložiště',
|
|
'notif.replica_failure.text': "Zápis do repliky '{backend}' selhal: {op} u {key} — {error}",
|
|
'notif.replica_failure.textSuppressed':
|
|
"Zápis do repliky '{backend}' selhal: {op} u {key} — {error}. Od poslední notifikace bylo potlačeno {suppressed} dalších selhání.",
|
|
'notif.paddle_region_requested.title': 'Vyžádán vodácký region',
|
|
'notif.paddle_region_requested.text': '{actor} plánuje vodáckou trasu v regionu {region}',
|
|
'notif.action.view_trip': 'Zobrazit výlet',
|
|
'notif.action.view_collab': 'Zobrazit zprávy',
|
|
'notif.action.view_packing': 'Zobrazit balení',
|
|
'notif.action.view_photos': 'Zobrazit fotky',
|
|
'notif.action.view_vacay': 'Zobrazit Vacay',
|
|
'notif.action.view_collection': 'Zobrazit sbírku',
|
|
'notif.action.view_admin': 'Jít do adminu',
|
|
'notif.wanderer_source_hint.title': 'Trasa wanderer',
|
|
'notif.wanderer_source_hint.possible_change': '„{tour}“ v {trip} se ve wanderer možná změnila',
|
|
'notif.wanderer_source_hint.changed': '„{tour}“ v {trip} byla ve wanderer změněna',
|
|
'notif.wanderer_source_hint.unverifiable': '„{tour}“ v {trip} už nelze ve wanderer ověřit',
|
|
'notif.action.view_tour': 'Zobrazit túru',
|
|
'notif.action.view': 'Zobrazit',
|
|
'notif.action.accept': 'Přijmout',
|
|
'notif.action.decline': 'Odmítnout',
|
|
'notif.plugin.title': '{title}',
|
|
'notif.plugin.text': '{body}',
|
|
'notif.generic.title': 'Oznámení',
|
|
'notif.generic.text': 'Máte nové oznámení',
|
|
'notif.dev.unknown_event.title': '[DEV] Neznámá událost',
|
|
'notif.dev.unknown_event.text': 'Typ události "{event}" není registrován v EVENT_NOTIFICATION_CONFIG',
|
|
};
|
|
export default notif;
|