Files
TREK/shared/src/i18n/zh/collab.ts
T
Maurice b64da26651 feat(assistant): trip assistant chat with your own AI connection
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.
2026-10-22 21:30:12 +00:00

110 lines
4.9 KiB
TypeScript

import type { TranslationStrings } from '../types';
const collab: TranslationStrings = {
'collab.chat.readOnly': '仅可查看此聊天',
'collab.chat.messageOptions': '消息选项',
'collab.polls.confirmDeleteTitle': '删除投票?',
'collab.polls.confirmDeleteBody': '此投票将被永久删除。',
'collab.polls.countdownDaysHours': '还剩 {d} 天 {h} 小时',
'collab.polls.countdownHoursMinutes': '还剩 {h} 小时 {m} 分钟',
'collab.polls.countdownMinutes': '还剩 {m} 分钟',
'collab.polls.clearDeadline': '清除截止时间',
'collab.tabs.chat': '聊天',
'collab.tabs.notes': '笔记',
'collab.tabs.polls': '投票',
'collab.tabs.links': '链接',
'collab.links.add': '添加链接',
'collab.chat.imageRejected': '仅支持 10 MB 以内的 JPEG、PNG、GIF 和 WebP 图片',
'collab.links.cancel': '取消',
'collab.links.save': '保存链接',
'collab.links.titlePlaceholder': '链接标题',
'collab.links.urlPlaceholder': 'https://...',
'collab.links.empty': '还没有共享链接',
'collab.links.pin': '固定链接',
'collab.links.unpin': '取消固定链接',
'collab.links.delete': '删除链接',
'collab.links.edit': '编辑链接',
'collab.links.open': '打开链接',
'collab.links.confirmDeleteTitle': '删除链接?',
'collab.links.confirmDeleteBody': '此链接将被永久删除。',
'collab.whatsNext.title': '接下来',
'collab.whatsNext.today': '今天',
'collab.whatsNext.tomorrow': '明天',
'collab.whatsNext.empty': '暂无活动',
'collab.whatsNext.until': '至',
'collab.whatsNext.emptyHint': '有时间安排的活动将显示在此',
'collab.chat.send': '发送',
'collab.chat.placeholder': '输入消息...',
'collab.chat.empty': '开始对话',
'collab.chat.emptyHint': '消息对所有旅行成员可见',
'collab.chat.emptyDesc': '与旅伴分享想法、计划和动态',
'collab.chat.today': '今天',
'collab.chat.yesterday': '昨天',
'collab.chat.deletedMessage': '删除了一条消息',
'collab.chat.reply': '回复',
'collab.chat.loadMore': '加载更早的消息',
'collab.chat.justNow': '刚刚',
'collab.chat.minutesAgo': '{n} 分钟前',
'collab.chat.hoursAgo': '{n} 小时前',
'collab.notes.title': '笔记',
'collab.notes.new': '新建笔记',
'collab.notes.empty': '暂无笔记',
'collab.notes.emptyHint': '开始记录想法和计划',
'collab.notes.all': '全部',
'collab.notes.titlePlaceholder': '笔记标题',
'collab.notes.content': '内容',
'collab.notes.removeFile': '移除 {name}',
'collab.notes.contentPlaceholder': '写点什么...',
'collab.notes.categoryPlaceholder': '分类',
'collab.notes.newCategory': '新建分类...',
'collab.notes.category': '分类',
'collab.notes.noCategory': '无分类',
'collab.notes.color': '颜色',
'collab.notes.save': '保存',
'collab.notes.cancel': '取消',
'collab.notes.edit': '编辑',
'collab.notes.delete': '删除',
'collab.notes.confirmDeleteTitle': '删除备注?',
'collab.notes.confirmDeleteBody': '此备注将被永久删除。',
'collab.notes.pin': '置顶',
'collab.notes.unpin': '取消置顶',
'collab.notes.daysAgo': '{n} 天前',
'collab.notes.categorySettings': '管理分类',
'collab.notes.create': '创建',
'collab.notes.website': '网站',
'collab.notes.websitePlaceholder': 'https://...',
'collab.notes.attachFiles': '附加文件',
'collab.notes.noCategoriesYet': '暂无分类',
'collab.notes.emptyDesc': '创建一个笔记开始吧',
'collab.polls.title': '投票',
'collab.polls.new': '新建投票',
'collab.polls.empty': '暂无投票',
'collab.polls.emptyHint': '向团队提问并一起投票',
'collab.polls.question': '问题',
'collab.polls.questionPlaceholder': '我们应该做什么?',
'collab.polls.markdownHint': '支持 Markdown',
'collab.polls.addOption': '+ 添加选项',
'collab.polls.optionPlaceholder': '选项 {n}',
'collab.polls.create': '创建投票',
'collab.polls.close': '关闭',
'collab.polls.closed': '已关闭',
'collab.polls.votes': '{n} 票',
'collab.polls.multipleChoice': '多选',
'collab.polls.multiChoice': '多选',
'collab.polls.deadline': '截止时间',
'collab.polls.option': '选项',
'collab.polls.options': '选项',
'collab.polls.delete': '删除',
'collab.polls.closedSection': '已关闭',
'collab.chat.imageLimit': '每条消息最多可附加 {count} 张图片',
'collab.chat.uploading': '上传中 {percent}%',
'collab.chat.attachImages': '附加图片',
'collab.chat.attachedImage': '附加的图片',
'collab.chat.closeImage': '关闭图片',
'collab.notes.categoryInUse': '仍有笔记在使用该分类。请先移动或删除这些笔记,再删除分类。',
'collab.notes.categoriesLocalHint': '没有笔记的分类只保存在此浏览器中。有笔记使用后,其他成员才能看到。',
'collab.chat.fromAssistant': '来自助手',
'collab.chat.fromAssistantHint': '{name} 分享了助手的这条回答',
};
export default collab;