mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 17:03:15 +00:00
b64da26651
Adds an in-app assistant that reads and plans the open trip. Users connect their own provider (Sign in with ChatGPT, or an Anthropic, OpenAI, Gemini or OpenRouter key) or use the one the admin set up, including a custom OpenAI-compatible server. It is an addon and only shows while a connection is usable. The chat runs on the existing MCP tools, pinned to the trip. Every change is held as a change card the user applies or discards, and applied changes can be undone. On the desktop it is a floating window that can be moved and resized; on the phone it is fullscreen. Search results show as place cards that can go onto a day, weather lookups as a strip, proposed places as ghost markers on the map with a before/after switch, and an answer can be shared into the trip chat. Booking files can be dropped in and are read into change cards.
122 lines
8.4 KiB
TypeScript
122 lines
8.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const oauth: TranslationStrings = {
|
|
'oauth.scope.group.trips': 'Viaggi',
|
|
'oauth.scope.group.places': 'Luoghi',
|
|
'oauth.scope.group.collections': 'Raccolte',
|
|
'oauth.scope.group.atlas': 'Atlas',
|
|
'oauth.scope.group.packing': 'Bagagli',
|
|
'oauth.scope.group.todos': 'Attività',
|
|
'oauth.scope.group.budget': 'Budget',
|
|
'oauth.scope.group.reservations': 'Prenotazioni',
|
|
'oauth.scope.group.collab': 'Collaborazione',
|
|
'oauth.scope.group.notifications': 'Notifiche',
|
|
'oauth.scope.group.vacay': 'Ferie',
|
|
'oauth.scope.group.geo': 'Geo',
|
|
'oauth.scope.group.weather': 'Meteo',
|
|
'oauth.scope.group.journey': 'Diario di viaggio',
|
|
'oauth.scope.trips:read.label': 'Visualizza viaggi e itinerari',
|
|
'oauth.scope.trips:read.description': 'Leggi viaggi, giorni, note giornaliere e membri',
|
|
'oauth.scope.trips:write.label': 'Modifica viaggi e itinerari',
|
|
'oauth.scope.trips:write.description': 'Crea e aggiorna viaggi, giorni, note e gestisci membri',
|
|
'oauth.scope.trips:delete.label': 'Elimina viaggi',
|
|
'oauth.scope.trips:delete.description': 'Elimina definitivamente interi viaggi — questa azione è irreversibile',
|
|
'oauth.scope.trips:share.label': 'Gestisci link di condivisione',
|
|
'oauth.scope.trips:share.description': 'Crea, aggiorna e revoca link di condivisione pubblici per i viaggi',
|
|
'oauth.scope.places:read.label': 'Visualizza luoghi e dati mappa',
|
|
'oauth.scope.places:read.description': 'Leggi luoghi, assegnazioni giornaliere, tag e categorie',
|
|
'oauth.scope.places:write.label': 'Gestisci luoghi',
|
|
'oauth.scope.places:write.description': 'Crea, aggiorna ed elimina luoghi, assegnazioni e tag',
|
|
'oauth.scope.collections:read.label': 'Visualizza raccolte',
|
|
'oauth.scope.collections:read.description':
|
|
'Leggi le raccolte di luoghi salvati, i relativi luoghi, valutazioni, etichette e membri',
|
|
'oauth.scope.collections:write.label': 'Gestisci raccolte',
|
|
'oauth.scope.collections:write.description':
|
|
'Crea/modifica raccolte, salva, valuta, etichetta e copia luoghi e condividi elenchi',
|
|
'oauth.scope.atlas:read.label': 'Visualizza Atlas',
|
|
'oauth.scope.atlas:read.description': 'Leggi paesi visitati, regioni e lista dei desideri',
|
|
'oauth.scope.atlas:write.label': 'Gestisci Atlas',
|
|
'oauth.scope.atlas:write.description': 'Segna paesi e regioni come visitati, gestisci la lista dei desideri',
|
|
'oauth.scope.packing:read.label': 'Visualizza liste bagagli',
|
|
'oauth.scope.packing:read.description': 'Leggi articoli, borse e assegnatari di categoria',
|
|
'oauth.scope.packing:write.label': 'Gestisci liste bagagli',
|
|
'oauth.scope.packing:write.description': 'Aggiungi, aggiorna, elimina, spunta e riordina articoli e borse',
|
|
'oauth.scope.todos:read.label': 'Visualizza liste attività',
|
|
'oauth.scope.todos:read.description': 'Leggi attività del viaggio e assegnatari di categoria',
|
|
'oauth.scope.todos:write.label': 'Gestisci liste attività',
|
|
'oauth.scope.todos:write.description': 'Crea, aggiorna, spunta, elimina e riordina attività',
|
|
'oauth.scope.budget:read.label': 'Visualizza budget',
|
|
'oauth.scope.budget:read.description': 'Leggi voci di budget e ripartizione delle spese',
|
|
'oauth.scope.budget:write.label': 'Gestisci budget',
|
|
'oauth.scope.budget:write.description': 'Crea, aggiorna ed elimina voci di budget',
|
|
'oauth.scope.reservations:read.label': 'Visualizza prenotazioni',
|
|
'oauth.scope.reservations:read.description': 'Leggi prenotazioni e dettagli alloggio',
|
|
'oauth.scope.reservations:write.label': 'Gestisci prenotazioni',
|
|
'oauth.scope.reservations:write.description': 'Crea, aggiorna, elimina e riordina prenotazioni',
|
|
'oauth.scope.collab:read.label': 'Visualizza collaborazione',
|
|
'oauth.scope.collab:read.description': 'Leggi note collaborative, sondaggi e messaggi',
|
|
'oauth.scope.collab:write.label': 'Gestisci collaborazione',
|
|
'oauth.scope.collab:write.description': 'Crea, aggiorna ed elimina note collaborative, sondaggi e messaggi',
|
|
'oauth.scope.notifications:read.label': 'Visualizza notifiche',
|
|
'oauth.scope.notifications:read.description': 'Leggi notifiche in-app e conteggi non letti',
|
|
'oauth.scope.notifications:write.label': 'Gestisci notifiche',
|
|
'oauth.scope.notifications:write.description': 'Segna notifiche come lette e rispondi',
|
|
'oauth.scope.vacay:read.label': 'Visualizza piani ferie',
|
|
'oauth.scope.vacay:read.description': 'Leggi dati di pianificazione ferie, voci e statistiche',
|
|
'oauth.scope.vacay:write.label': 'Gestisci piani ferie',
|
|
'oauth.scope.vacay:write.description': 'Crea e gestisci voci ferie, festività e piani del team',
|
|
'oauth.scope.geo:read.label': 'Mappe e geocodifica',
|
|
'oauth.scope.geo:read.description': 'Cerca luoghi, risolvi URL mappa e geocodifica inversa coordinate',
|
|
'oauth.scope.weather:read.label': 'Previsioni meteo',
|
|
'oauth.scope.weather:read.description': 'Ottieni previsioni meteo per luoghi e date del viaggio',
|
|
'oauth.scope.journey:read.label': 'Visualizza diari di viaggio',
|
|
'oauth.scope.journey:read.description': 'Leggi diari di viaggio, voci e lista dei collaboratori',
|
|
'oauth.scope.journey:write.label': 'Gestisci diari di viaggio',
|
|
'oauth.scope.journey:write.description': 'Crea, aggiorna ed elimina diari di viaggio e le loro voci',
|
|
'oauth.scope.journey:share.label': 'Gestisci link diari di viaggio',
|
|
'oauth.scope.journey:share.description':
|
|
'Crea, aggiorna e revoca link di condivisione pubblici per i diari di viaggio',
|
|
'oauth.authorize.authorizing': 'Authorizing…', // en-fallback
|
|
'oauth.authorize.loading': 'Loading…', // en-fallback
|
|
'oauth.authorize.errorTitle': 'Authorization Error', // en-fallback
|
|
'oauth.authorize.loginTitle': 'Sign in to continue', // en-fallback
|
|
'oauth.authorize.loginDescription': '{client} wants access to your TREK account. Please sign in first.', // en-fallback
|
|
'oauth.authorize.loginButton': 'Sign in to TREK', // en-fallback
|
|
'oauth.authorize.requestLabel': 'Authorization Request', // en-fallback
|
|
'oauth.authorize.requestDescription': 'This application is requesting access to your TREK account.', // en-fallback
|
|
'oauth.authorize.verifiedHost': 'Dominio verificato: {host}',
|
|
'oauth.authorize.trustNote': 'Only grant access to applications you trust. Your data stays on your server.', // en-fallback
|
|
'oauth.authorize.selectScope': 'Select at least one scope', // en-fallback
|
|
'oauth.authorize.approveScopes': 'Approva ({count} ambiti)',
|
|
'oauth.authorize.approveScopes.one': 'Approva ({count} ambito)',
|
|
'oauth.authorize.approveAccess': 'Approve Access', // en-fallback
|
|
'oauth.authorize.deny': 'Deny', // en-fallback
|
|
'oauth.authorize.choosePermissions': 'Choose which permissions to grant', // en-fallback
|
|
'oauth.authorize.permissionsRequested': 'Permissions requested', // en-fallback
|
|
'oauth.authorize.alwaysIncluded': 'Always included', // en-fallback
|
|
'oauth.authorize.alwaysTool.listTrips': 'List your trips so the AI can discover trip IDs', // en-fallback
|
|
'oauth.authorize.alwaysTool.getTripSummary': 'Read a trip overview needed to use any other tool', // en-fallback
|
|
'oauth.scope.group.files': 'File',
|
|
'oauth.scope.group.settings': 'Impostazioni',
|
|
'oauth.scope.files:read.label': 'Vedere i file del viaggio',
|
|
'oauth.scope.files:read.description':
|
|
'Elencare i documenti di un viaggio: nomi, dimensioni, chi li ha caricati e a cosa sono collegati',
|
|
'oauth.scope.files:write.label': 'Gestire i file del viaggio',
|
|
'oauth.scope.files:write.description':
|
|
'Rinominare e descrivere i file, collegarli a prenotazioni e luoghi, contrassegnarli e cestinarli',
|
|
'oauth.scope.files:content.label': 'Leggere il contenuto dei file',
|
|
'oauth.scope.files:content.description':
|
|
'Leggere il contenuto di un documento caricato, come un PDF di prenotazione o un biglietto',
|
|
'oauth.scope.settings:read.label': 'Vedere le tue preferenze',
|
|
'oauth.scope.settings:read.description':
|
|
'Leggere unità, formato orario, lingua, valuta predefinita e pagina iniziale',
|
|
'oauth.scope.settings:write.label': 'Modificare le tue preferenze',
|
|
'oauth.scope.settings:write.description':
|
|
'Modificare unità, formato orario, lingua, valuta predefinita e pagina iniziale. Mai le chiavi API salvate',
|
|
'oauth.scope.group.plugins': 'Plugin',
|
|
'oauth.scope.plugins:use.label': 'Eseguire gli strumenti dei plugin',
|
|
'oauth.scope.plugins:use.description':
|
|
'Consente a questo client di chiamare gli strumenti pubblicati dai plugin installati e approvati da un amministratore. Ogni plugin agisce con i permessi che gli sono già stati concessi, non con gli ambiti di questo token',
|
|
};
|
|
export default oauth;
|