mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +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.
80 lines
4.9 KiB
TypeScript
80 lines
4.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.mail_booking_added.title': 'Rezervace přidána z e-mailu',
|
|
'notif.mail_booking_added.text': '{booking} byla přidána do {trip}',
|
|
'notif.mail_booking_added.shared': '{actor} přidal(a) {booking} do {trip} z přeposlaného e-mailu',
|
|
'notif.mail_booking_pending.title': 'Přeposlané rezervace ke kontrole',
|
|
'notif.mail_booking_pending.text': '{count} přeposlaných rezervací čeká na vás',
|
|
'notif.mail_booking_pending.text.one': '{count} přeposlaná rezervace čeká na vás',
|
|
'notif.mail_booking_pending.text.few': '{count} přeposlané rezervace čekají na vás',
|
|
'notif.mail_ingest_paused.title': 'Import e-mailů pozastaven',
|
|
'notif.mail_ingest_paused.text':
|
|
'Přeposlané e-maily s rezervacemi se zatím nepřijímají. Vaše adresy zůstávají a znovu budou fungovat, až se import vrátí.',
|
|
'notif.action.undo': 'Vrátit zpět',
|
|
'notif.action.keep': 'Ponechat',
|
|
'notif.action.review': 'Zkontrolovat',
|
|
'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;
|