mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
5d334d7ec8
A third scope, home, next to trip and journey: threads that name neither a trip nor a journey (the CHECK now only forbids both), reached under /api/assistant by their owner only. A home turn reads the user's trips through list_trips into a short card (under way, next, later, behind, undated), offers every read (a trip's on the id the model names, checked by the tool with the user's rights) and only the writes that take no trip or journey (atlas, vacation planner, collections, tour library, settings), all held as change cards. open_trip_chat answers with a card that goes on in that trip's own chat with the question waiting in its composer. On the desktop the window opens on the home chat outside a trip; its head lists the trips to switch into and a switched trip chat has the way back. On the phone the home chat opens full screen from the dashboard head and the dock's More list, and the card opens the trip with its chat. Both run on useAssistantHome.
28 lines
1.3 KiB
TypeScript
28 lines
1.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const assistantHome: TranslationStrings = {
|
|
'assistant.home.title': 'Sinu reisid',
|
|
'assistant.home.welcome': 'Millega saan aidata?',
|
|
'assistant.home.placeholder': 'Küsi oma reiside kohta mida iganes',
|
|
'assistant.home.switch': 'Vestle ühe reisi üle',
|
|
'assistant.home.back': 'Tagasi kõigi reiside juurde',
|
|
'assistant.suggest.homeNext': 'Milline reis on järgmine ja mis on veel tegemata?',
|
|
'assistant.suggest.homeCompare': 'Võrdle mu eelseisvaid reise',
|
|
'assistant.suggest.homeAtlas': 'Mitu riiki olen külastanud?',
|
|
'assistant.suggest.homeVacay': 'Mitu puhkusepäeva mul tänavu veel on?',
|
|
'assistant.card.tripChat.label': 'Jätka reisi vestluses',
|
|
'assistant.card.tripChat.eyebrow': 'Reisi vestlus',
|
|
'assistant.card.tripChat.dates': '{start} kuni {end}',
|
|
'assistant.card.tripChat.noDates': 'Kuupäevi veel pole',
|
|
'assistant.card.tripChat.question': 'Küsimus sinna',
|
|
'assistant.card.tripChat.open': 'Jätka selle reisi vestluses',
|
|
'assistant.card.tripChat.phase.now': 'Käimas',
|
|
'assistant.card.tripChat.phase.next': 'Järgmine',
|
|
'assistant.card.tripChat.phase.upcoming': 'Varsti',
|
|
'assistant.card.tripChat.phase.past': 'Möödas',
|
|
'assistant.step.readingTrips': 'Vaatan su reise',
|
|
'assistant.step.openTripChat': 'Otsin reisi üles',
|
|
};
|
|
|
|
export default assistantHome;
|