mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +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.
116 lines
5.2 KiB
TypeScript
116 lines
5.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const collab: TranslationStrings = {
|
|
'collab.chat.readOnly': 'Read-only access to this chat',
|
|
'collab.chat.messageOptions': 'Message options',
|
|
'collab.polls.confirmDeleteTitle': 'Delete poll?',
|
|
'collab.polls.confirmDeleteBody': 'This poll will be permanently deleted.',
|
|
'collab.polls.countdownDaysHours': '{d}d {h}h left',
|
|
'collab.polls.countdownHoursMinutes': '{h}h {m}m left',
|
|
'collab.polls.countdownMinutes': '{m}m left',
|
|
'collab.polls.clearDeadline': 'Clear deadline',
|
|
'collab.tabs.chat': 'Chat',
|
|
'collab.tabs.notes': 'Notes',
|
|
'collab.tabs.polls': 'Polls',
|
|
'collab.tabs.links': 'Links',
|
|
'collab.links.add': 'Add link',
|
|
'collab.chat.imageRejected': 'Only JPEG, PNG, GIF and WebP images up to 10 MB are allowed',
|
|
'collab.links.cancel': 'Cancel',
|
|
'collab.links.save': 'Save link',
|
|
'collab.links.titlePlaceholder': 'Link title',
|
|
'collab.links.urlPlaceholder': 'https://...',
|
|
'collab.links.empty': 'No shared links yet',
|
|
'collab.links.pin': 'Pin link',
|
|
'collab.links.unpin': 'Unpin link',
|
|
'collab.links.delete': 'Delete link',
|
|
'collab.links.edit': 'Edit link',
|
|
'collab.links.open': 'Open link',
|
|
'collab.links.confirmDeleteTitle': 'Delete link?',
|
|
'collab.links.confirmDeleteBody': 'This link will be permanently deleted.',
|
|
'collab.whatsNext.title': "What's Next",
|
|
'collab.whatsNext.today': 'Today',
|
|
'collab.whatsNext.tomorrow': 'Tomorrow',
|
|
'collab.whatsNext.empty': 'No upcoming activities',
|
|
'collab.whatsNext.until': 'to',
|
|
'collab.whatsNext.emptyHint': 'Activities with times will appear here',
|
|
'collab.chat.send': 'Send',
|
|
'collab.chat.placeholder': 'Type a message...',
|
|
'collab.chat.empty': 'Start the conversation',
|
|
'collab.chat.emptyHint': 'Messages are shared with all trip members',
|
|
'collab.chat.emptyDesc': 'Share ideas, plans, and updates with your travel group',
|
|
'collab.chat.today': 'Today',
|
|
'collab.chat.yesterday': 'Yesterday',
|
|
'collab.chat.deletedMessage': 'deleted a message',
|
|
'collab.chat.reply': 'Reply',
|
|
'collab.chat.loadMore': 'Load older messages',
|
|
'collab.chat.justNow': 'just now',
|
|
'collab.chat.minutesAgo': '{n}m ago',
|
|
'collab.chat.minutesAgo.one': '{n}m ago',
|
|
'collab.chat.hoursAgo': '{n}h ago',
|
|
'collab.chat.hoursAgo.one': '{n}h ago',
|
|
'collab.notes.title': 'Notes',
|
|
'collab.notes.new': 'New Note',
|
|
'collab.notes.empty': 'No notes yet',
|
|
'collab.notes.emptyHint': 'Start capturing ideas and plans',
|
|
'collab.notes.all': 'All',
|
|
'collab.notes.titlePlaceholder': 'Note title',
|
|
'collab.notes.content': 'Content',
|
|
'collab.notes.removeFile': 'Remove {name}',
|
|
'collab.notes.contentPlaceholder': 'Write something...',
|
|
'collab.notes.categoryPlaceholder': 'Category',
|
|
'collab.notes.newCategory': 'New category...',
|
|
'collab.notes.category': 'Category',
|
|
'collab.notes.noCategory': 'No category',
|
|
'collab.notes.color': 'Color',
|
|
'collab.notes.save': 'Save',
|
|
'collab.notes.cancel': 'Cancel',
|
|
'collab.notes.edit': 'Edit',
|
|
'collab.notes.delete': 'Delete',
|
|
'collab.notes.confirmDeleteTitle': 'Delete note?',
|
|
'collab.notes.confirmDeleteBody': 'This note will be permanently deleted.',
|
|
'collab.notes.pin': 'Pin',
|
|
'collab.notes.unpin': 'Unpin',
|
|
'collab.notes.daysAgo': '{n}d ago',
|
|
'collab.notes.daysAgo.one': '{n}d ago',
|
|
'collab.notes.categorySettings': 'Manage Categories',
|
|
'collab.notes.create': 'Create',
|
|
'collab.notes.website': 'Website',
|
|
'collab.notes.websitePlaceholder': 'https://...',
|
|
'collab.notes.attachFiles': 'Attach files',
|
|
'collab.notes.noCategoriesYet': 'No categories yet',
|
|
'collab.notes.emptyDesc': 'Create a note to get started',
|
|
'collab.polls.title': 'Polls',
|
|
'collab.polls.new': 'New Poll',
|
|
'collab.polls.empty': 'No polls yet',
|
|
'collab.polls.emptyHint': 'Ask the group and vote together',
|
|
'collab.polls.question': 'Question',
|
|
'collab.polls.questionPlaceholder': 'What should we do?',
|
|
'collab.polls.markdownHint': 'Markdown supported',
|
|
'collab.polls.addOption': '+ Add option',
|
|
'collab.polls.optionPlaceholder': 'Option {n}',
|
|
'collab.polls.create': 'Create Poll',
|
|
'collab.polls.close': 'Close',
|
|
'collab.polls.closed': 'Closed',
|
|
'collab.polls.votes': '{n} votes',
|
|
'collab.polls.votes.one': '{n} vote',
|
|
'collab.polls.multipleChoice': 'Multiple choice',
|
|
'collab.polls.multiChoice': 'Multiple choice',
|
|
'collab.polls.deadline': 'Deadline',
|
|
'collab.polls.option': 'Option',
|
|
'collab.polls.options': 'Options',
|
|
'collab.polls.delete': 'Delete',
|
|
'collab.polls.closedSection': 'Closed',
|
|
'collab.chat.imageLimit': 'You can attach up to {count} images per message',
|
|
'collab.chat.imageLimit.one': 'You can attach only {count} image per message',
|
|
'collab.chat.uploading': 'Uploading {percent}%',
|
|
'collab.chat.attachImages': 'Attach images',
|
|
'collab.chat.attachedImage': 'Attached image',
|
|
'collab.chat.closeImage': 'Close image',
|
|
'collab.notes.categoryInUse': 'Notes still use this category. Move or delete them first to remove it.',
|
|
'collab.notes.categoriesLocalHint':
|
|
'A category without notes is only saved in this browser. Other members see it once a note uses it.',
|
|
'collab.chat.fromAssistant': 'from the assistant',
|
|
'collab.chat.fromAssistantHint': '{name} shared this answer from the assistant',
|
|
};
|
|
export default collab;
|