Files
TREK/shared/src/i18n/zh/assistant.ts
T
Maurice 123e27643d feat(assistant): one AI tile for assistant, parsing and MCP, a planner-aware chat
The three AI addons share one tile in the integration column; a dialog holds
the connection, the assistant's limits and AI parsing, which now reads with
the assistant's connection unless an install keeps its own. Existing parsing
configs stay where they are and keep winning.

The chat sees the map on screen, offers next questions under an answer,
shows its live step in the window head, previews waiting changes inside the
day list, checks whether a day still works, folds a multi-day plan into a
week grid, keeps per-trip notes and can estimate costs. An empty or cut-off
answer gets one push instead of ending silently, and the assistant's own
step and size limits are raised.
2026-10-22 21:30:26 +00:00

367 lines
22 KiB
TypeScript

import type { TranslationStrings } from '../types';
const assistant: TranslationStrings = {
'assistant.launcher.tooltip': '助手',
'assistant.launcher.ctrlKey': 'Ctrl',
'assistant.picker.title': '哪个旅行?',
'assistant.picker.empty': '先创建一个旅行,然后助手就能帮你规划。',
'assistant.picker.now': '进行中',
'assistant.picker.next': '即将开始',
'assistant.window.title': '助手',
'assistant.window.log': '与助手的对话',
'assistant.window.menu': '更多选项',
'assistant.window.settings': 'AI 设置',
'assistant.window.deleteThread': '删除对话',
'assistant.window.deleteConfirm': '要删除此对话吗?此操作无法撤销。',
'assistant.setup.question': '你想用什么聊天?',
'assistant.setup.beta': '测试版',
'assistant.setup.chatgptNote': 'API 密钥是官方方式。使用 ChatGPT 登录仍处于测试阶段。',
'assistant.setup.keySubtitle': 'Anthropic、OpenAI、Gemini 或 OpenRouter',
'assistant.setup.adminOnly': '由你的管理员进行设置。',
'assistant.setup.forEveryone': '为所有人设置',
'assistant.connect.title': 'AI 助手',
'assistant.connect.description': '与了解你旅行的助手聊天,它会提出修改建议,由你确认。',
'assistant.connect.chatgpt': '使用 ChatGPT 登录',
'assistant.connect.chatgptHint': '使用你的 ChatGPT 套餐,无需密钥。',
'assistant.connect.chatgptStep1': '在新标签页中登录 ChatGPT。',
'assistant.connect.chatgptOpen': '打开 ChatGPT 登录',
'assistant.connect.chatgptStep2': '随后浏览器会显示一个错误页面,这是正常的。复制顶部的地址,然后回到这里。',
'assistant.connect.chatgptPaste': '粘贴地址',
'assistant.connect.chatgptWrong': '这不是正确的地址。正确的地址以 127.0.0.1 开头。',
'assistant.connect.chatgptExpired': '耗时太久了,请重新登录。',
'assistant.connect.chatgptOtherAccount': '这是另一个 ChatGPT 账号。请先移除连接。',
'assistant.connect.key': '粘贴 API 密钥',
'assistant.connect.keyPlaceholder': '在此粘贴你的密钥',
'assistant.connect.detected': '已识别:{provider}',
'assistant.connect.whichProvider': '这个密钥来自哪个服务商?',
'assistant.connect.testing': '正在检查连接',
'assistant.connect.ok': '已连接,开始吧。',
'assistant.connect.openAssistant': '打开助手',
'assistant.connect.badKey': '此密钥无效。',
'assistant.connect.unknownModel': '此处不提供该模型。',
'assistant.connect.getKey': '获取密钥',
'assistant.connect.hintAnthropic': 'Claude Max 和 Team 包含 API 额度。',
'assistant.connect.hintOpenai': '在你的 OpenAI 控制台中创建密钥。',
'assistant.connect.hintGemini':
'AI Studio 提供每分钟和每天有限额的免费层级,在该层级下 Google 可能会使用你发送的内容来改进其产品。开启结算后限额更高,且不适用此条。',
'assistant.connect.hintOpenrouter': '使用 OpenRouter 登录,无需复制密钥。',
'assistant.connect.openrouter': '连接 OpenRouter',
'assistant.connect.save': '连接',
'assistant.connect.model': '模型',
'assistant.connect.modelHint': '仅列出能够使用工具的模型。',
'assistant.connect.free': '提供免费层级',
'assistant.connect.paid': '按用量付费',
'assistant.model.recommended': '推荐',
'assistant.model.free': '免费',
'assistant.connect.connected': '已连接到 {provider}',
'assistant.connect.providedByAdmin': '由你的管理员提供',
'assistant.connect.disconnect': '断开连接',
'assistant.connect.disconnectConfirm': '要断开 {provider} 吗?你的对话会保留。',
'assistant.connect.signOut': '退出登录',
'assistant.connect.statusOk': '已连接',
'assistant.connect.statusNeedsReauth': '登录已过期',
'assistant.connect.statusSignedOut': '已退出登录',
'assistant.connect.statusError': '无法访问',
'assistant.connect.quota': '今天已使用 {used}/{count} 条消息',
'assistant.connect.claudeLink': '在用 Claude?在 Claude 中连接',
'assistant.privacy.what': '会共享哪些内容?',
'assistant.privacy.banner': '你的消息以及助手读取的旅行数据会发送给 {provider}。',
'assistant.privacy.ok': '知道了',
'assistant.privacy.shared': '你的消息以及助手读取的旅行信息,例如地点、日程和预订。',
'assistant.privacy.notShared': '不包括你的密码、文件和其他旅行。',
'assistant.privacy.provider': '{provider} 会按照其自身的隐私条款处理这些数据。',
'assistant.empty.title': '我们要规划什么?',
'assistant.empty.readOnly': '你只能查看这次旅行,所以我可以回答问题,但不能做任何更改。',
'assistant.suggest.planFirstDays': '帮我规划前几天',
'assistant.suggest.mustSee': '这里有什么不能错过的?',
'assistant.suggest.packingList': '为这次旅行列一份行李清单',
'assistant.suggest.emptyDays': '哪几天还空着?',
'assistant.suggest.rainPlan': '下雨的话可以做什么?',
'assistant.suggest.today': '今天有什么安排?',
'assistant.suggest.eatNearby': '找找附近吃饭的地方',
'assistant.suggest.weather': '天气怎么样?',
'assistant.suggest.openTodos': '待办清单上还有什么没完成?',
'assistant.suggest.settleUp': '谁欠谁钱?',
'assistant.suggest.recap': '总结一下我们的旅行',
'assistant.suggest.nearPlace': '{place} 附近还有什么?',
'assistant.suggest.placeTips': '游览 {place} 的建议',
'assistant.suggest.planDay': '帮我规划 {day}',
'assistant.suggest.dayTooFull': '{day} 是不是安排得太满了?',
'assistant.thread.scrollDown': '跳到最新消息',
'assistant.attach.button': '附加预订',
'assistant.attach.drop': '拖放到这里,我来读取预订',
'assistant.attach.unsupported': '无法读取此类文件。请尝试 PDF、邮件、图片或钱包卡券。',
'assistant.attach.tooLarge': '此文件超过 10 MB。',
'assistant.composer.placeholder': '关于 {trip},随便问',
'assistant.composer.send': '发送',
'assistant.composer.stop': '停止',
'assistant.composer.decideFirst': '请先应用或放弃上面的修改。',
'assistant.context.ask': '提问',
'assistant.context.remove': '移除上下文',
'assistant.step.reading': '正在读取你的计划',
'assistant.step.searching': '正在搜索地点',
'assistant.step.details': '正在查询详情',
'assistant.step.nearby': '正在搜索附近',
'assistant.step.categories': '正在检查分类',
'assistant.step.weather': '正在查看天气',
'assistant.step.todos': '正在读取待办清单',
'assistant.step.costs': '正在检查费用',
'assistant.step.help': '正在帮助中查找',
'assistant.step.readingBooking': '正在读取预订',
'assistant.step.working': '正在处理',
'assistant.step.collapsed': '{count} 个步骤',
'assistant.change.title': '建议的更改',
'assistant.change.doneTitle': '完成',
'assistant.change.apply': '应用',
'assistant.change.applyN': '应用 {count} 项',
'assistant.change.discard': '放弃',
'assistant.change.include': '包含此修改',
'assistant.change.applied': '已应用',
'assistant.change.discarded': '已放弃',
'assistant.change.failed': '无法应用此修改。',
'assistant.change.applying': '正在应用',
'assistant.change.expired': '已不可用',
'assistant.change.undo': '撤销',
'assistant.change.undone': '已撤销',
'assistant.change.undoStale': '期间已有改动,请手动调整。',
'assistant.change.undoFailed': '无法撤销。',
'assistant.change.showOnMap': '在地图上显示',
'assistant.change.empty': '空',
'assistant.change.pending': '有 {count} 项修改等你处理',
'assistant.change.verb.addPlace': '添加地点',
'assistant.change.verb.addPlaceToDay': '将地点添加到某天',
'assistant.change.verb.updatePlace': '修改地点',
'assistant.change.verb.assignPlace': '将地点安排到某天',
'assistant.change.verb.moveAssignment': '移到另一天',
'assistant.change.verb.removeFromDay': '从这天移除',
'assistant.change.verb.addDayNote': '添加备注',
'assistant.change.verb.updateDayNote': '修改备注',
'assistant.change.verb.addPackingItem': '添加到行李清单',
'assistant.change.verb.updatePackingItem': '修改行李物品',
'assistant.change.verb.addTodo': '添加待办',
'assistant.change.verb.addBudgetItem': '添加支出',
'assistant.change.verb.addReservation': '添加预订',
'assistant.change.verb.importBooking': '从文件添加预订',
'assistant.change.label.name': '名称',
'assistant.change.label.description': '描述',
'assistant.change.label.address': '地址',
'assistant.change.label.coordinates': '地图位置',
'assistant.change.label.category': '分类',
'assistant.change.label.day': '日期',
'assistant.change.label.time': '时间',
'assistant.change.label.endTime': '结束',
'assistant.change.label.notes': '备注',
'assistant.change.label.website': '网站',
'assistant.change.label.phone': '电话',
'assistant.change.label.email': '邮箱',
'assistant.change.label.openingHours': '营业时间',
'assistant.change.label.price': '价格',
'assistant.change.label.currency': '货币',
'assistant.change.label.stopType': '停靠类型',
'assistant.change.label.text': '文本',
'assistant.change.label.icon': '图标',
'assistant.change.label.color': '颜色',
'assistant.change.label.position': '位置',
'assistant.change.label.quantity': '数量',
'assistant.change.label.weight': '重量',
'assistant.change.label.bag': '包',
'assistant.change.label.packed': '已打包',
'assistant.change.label.dueDate': '截止',
'assistant.change.label.priority': '优先级',
'assistant.change.label.assignee': '负责人',
'assistant.change.label.type': '类型',
'assistant.change.label.location': '地点',
'assistant.change.label.link': '链接',
'assistant.change.label.confirmation': '确认号',
'assistant.change.label.checkIn': '入住',
'assistant.change.label.checkOut': '退房',
'assistant.change.label.stay': '住宿',
'assistant.change.label.members': '分摊给',
'assistant.change.label.route': '路线',
'assistant.history.open': '最近的对话',
'assistant.history.new': '新对话',
'assistant.history.empty': '还没有对话。',
'assistant.history.retention': '对话会在 {count} 天后删除。',
'assistant.history.forever': '对话会一直保留,直到你删除。',
'assistant.error.notConnected': '助手尚未连接。',
'assistant.error.busy': '已在另一个窗口中运行。',
'assistant.error.dailyLimit': '今天就到这里,明天见。',
'assistant.error.rateLimited': '稍微慢一点,一分钟后再试。',
'assistant.error.needsReauth': '你的 {provider} 登录已过期。',
'assistant.error.usageLimit': '你的 ChatGPT 用量已用完。',
'assistant.error.notEligible': '此 ChatGPT 账号无法在这里使用。',
'assistant.error.invalidKey': '你的 {provider} 密钥已失效。',
'assistant.error.providerDown': '{provider} 目前没有响应。',
'assistant.error.maxSteps': '一次处理的内容太多了。要我继续吗?',
'assistant.error.offline': '已离线。助手需要联网。',
'assistant.error.noBookingsFound': '此文件中未找到预订。',
'assistant.error.importUnavailable': '此处无法读取预订文件。',
'assistant.error.generic': '出了点问题。',
'assistant.errorAction.retry': '重试',
'assistant.errorAction.continueHere': '在这里继续',
'assistant.errorAction.continue': '继续',
'assistant.errorAction.signIn': '重新登录',
'assistant.errorAction.viewUsage': '查看用量',
'assistant.errorAction.otherProvider': '选择其他服务商',
'assistant.errorAction.replaceKey': '更换密钥',
'assistant.errorAction.connectOwn': '连接你自己的服务商',
'assistant.admin.policy': '由谁付费',
'assistant.admin.policy.instance': '我为所有人付费',
'assistant.admin.policy.instanceOrUser': '我付费,也允许自带',
'assistant.admin.policy.user': '每个人使用自己的账号',
'assistant.admin.policy.instanceHint': '所有人都使用下面的连接,不能添加自己的连接。',
'assistant.admin.policy.instanceOrUserHint': '所有人都使用下面的连接,除非他们连接了自己的。',
'assistant.admin.policy.userHint': '每个人连接自己的服务商,不会向你收取任何费用。',
'assistant.admin.connection': '所有人共用的连接',
'assistant.admin.connectionNone': '还没有连接。',
'assistant.admin.connectionRemove': '移除连接',
'assistant.admin.custom': '自有服务器',
'assistant.admin.customHint': '任何兼容 OpenAI 的服务器,例如 Ollama。',
'assistant.admin.baseUrl': '服务器地址',
'assistant.admin.apiKeyOptional': 'API 密钥(可选)',
'assistant.admin.prefilled': '沿用自 AI 解析。',
'assistant.admin.dailyLimit': '每人每天的消息数',
'assistant.admin.dailyLimitHint': '仅在由你付费时计数。',
'assistant.admin.retention': '保留对话',
'assistant.admin.retentionDays': '{count} 天',
'assistant.admin.retentionForever': '永久',
'assistant.claude.title': '与 Claude 连接',
'assistant.claude.description': '直接在 Claude 中使用 TREK:添加为连接器,登录,完成。',
'assistant.claude.open': '在 Claude 中打开',
'assistant.claude.scan': '或用手机扫描',
'assistant.claude.copyUrl': '复制地址',
'assistant.claude.qrAlt': '在 Claude 中添加 TREK 的二维码',
'assistant.claude.notPublic': '只有当 TREK 能通过 https 在互联网上访问时,Claude 才能连接到它。',
'assistant.mobile.tile': '问问 TREK',
'assistant.mobile.tileHint': '和助手一起规划',
'assistant.mobile.backToChat': '返回对话',
'assistant.step.nearbyAt': '正在{place}附近搜索',
'assistant.step.searchingFor': '正在搜索{query}',
'assistant.step.weatherAt': '正在查看{place}的天气',
'assistant.change.timeline.show': '显示日程',
'assistant.change.timeline.hide': '隐藏日程',
'assistant.change.timeline.new': '新增',
'assistant.change.timeline.travel': '路程约 {count} 分钟',
'assistant.change.timeline.gap': '空闲 {count} 分钟',
'assistant.change.timeline.overlap': '与{place}时间重叠',
'assistant.change.timeline.moreDays': '另有 {count} 天',
'assistant.change.viewOnMap': '在地图上查看',
'assistant.change.before': '修改前',
'assistant.change.after': '修改后',
'assistant.change.compare': '在地图上对比',
'assistant.change.undoAll': '全部撤销',
'assistant.change.undoneAll': '已撤销 {count} 项修改',
'assistant.change.undoAllPartial': '已撤销 {done} 项,{stale} 项在此期间已被修改',
'assistant.change.undoAllFailed': '有 {count} 项修改无法撤销',
'assistant.place.strip': '找到的地点',
'assistant.place.addTo': '添加到{day}',
'assistant.place.addToShort': '+ 第 {n} 天',
'assistant.place.pickDay': '选择日期',
'assistant.place.suggested': '已建议',
'assistant.place.inTrip': '已在行程中',
'assistant.place.showOnMap': '在地图上',
'assistant.place.openNow': '营业中',
'assistant.place.closed': '已打烊',
'assistant.place.fromPrev': '距上一站 {distance}',
'assistant.place.more': '另有 {count} 个',
'assistant.mention.days': '日期',
'assistant.mention.places': '地点',
'assistant.mention.bookings': '预订',
'assistant.mention.none': '没有找到',
'assistant.mention.hint': '输入 @ 即可提及日期、地点和预订。',
'assistant.attach.dropPlace': '把地点拖到这里',
'assistant.weather.strip': '{count} 天的天气',
'assistant.weather.rain': '降雨 {pct}%',
'assistant.settings.followMap': '地图跟随助手',
'assistant.settings.followMapHint': '助手搜索和推荐地点时,地图会移动到相应位置。',
'assistant.error.decideFirst': '请先处理待定的建议。',
'assistant.error.providerLimit': '已达到 {provider} 的限额,请稍后再试。',
'assistant.hint.title': '值得一看',
'assistant.hint.dismiss': '隐藏此提示',
'assistant.hint.more': '另有 {count} 条',
'assistant.hint.overlap': '{day}的{a}和{b}时间重叠',
'assistant.hint.overlap.prompt': '{day}的{a}和{b}时间重叠,怎么调整比较好?',
'assistant.hint.closed': '{place}在{day}不开放',
'assistant.hint.closed.prompt': '{place}在{day}不开放,我们改做什么?',
'assistant.hint.opensLate': '{place}在{day}要到{time}才开门',
'assistant.hint.closesEarly': '{place}在{day}{time}就关门',
'assistant.hint.outsideHours.prompt': '我们{day}去{place}的时间和营业时间对不上,怎么挪比较好?',
'assistant.hint.gap': '{day}:从{from}起空闲 {count} 小时',
'assistant.hint.gap.prompt': '{day}从{from}到{to}没有安排,适合加点什么?',
'assistant.hint.longLeg': '{from}和{to}直线距离 {distance}',
'assistant.hint.longLeg.prompt': '{day}从{from}到{to}是不是太远了?怎么去最好?',
'assistant.hint.tightLeg': '{from}和{to}之间只有 {count} 分钟',
'assistant.hint.tightLeg.prompt': '{day}从{from}到{to}时间够吗?该怎么调整?',
'assistant.hint.noStay': '从{day}起还有 {count} 晚没有住宿',
'assistant.hint.noStay.prompt': '我们从{day}起还缺住宿,你有什么推荐?',
'assistant.hint.unplacedBooking': '{title}还没有安排到任何一天',
'assistant.hint.unplacedBookingDay': '{title}大概属于{day}',
'assistant.hint.unplacedBookings': '{count} 个预订还没有安排到任何一天',
'assistant.hint.unplacedBooking.prompt': '哪些预订还没有安排到任何一天?应该放到哪里?',
'assistant.hint.menuOn': '显示提示',
'assistant.hint.menuOff': '不再显示提示',
'assistant.launcher.withHints': '助手,{count} 条提示',
'assistant.mobile.tileHints': '计划中有 {count} 处需要留意',
'assistant.share.button': '分享到行程聊天',
'assistant.share.title': '分享到行程聊天',
'assistant.share.who': '行程中的所有人都会看到这条消息,并标注为来自助手。',
'assistant.share.includeChanges': '附上已应用的修改',
'assistant.share.changesHeading': '已应用:',
'assistant.share.truncated': '已缩短为 {count} 个字符',
'assistant.share.send': '分享',
'assistant.share.done': '已分享到行程聊天',
'assistant.share.shared': '已分享',
'assistant.share.failed': '分享失败,请稍后再试。',
'assistant.share.chatOff': '行程聊天已关闭。',
'assistant.connect.descriptionWithParsing': '你的 AI 连接:助手通过它运行,它也读取你导入的预订。',
'assistant.connect.descriptionParsingOnly': '你的 AI 连接:它读取你导入的预订。',
'assistant.error.emptyAnswer': '助手没有给出回答。要再试一次吗?',
'assistant.followUp.title': '继续问',
'assistant.followUp.cheaper': '只要更便宜的',
'assistant.followUp.closer': '离住处更近',
'assistant.followUp.openNow': '现在哪些在营业?',
'assistant.followUp.nextDay': '按同样方式规划下一天',
'assistant.followUp.relaxed': '让行程更轻松',
'assistant.followUp.dinners': '为晚上添加餐厅',
'assistant.followUp.rain': '下雨怎么办?',
'assistant.followUp.sun': '天气好时户外有什么值得做?',
'assistant.followUp.more': '再多说一些',
'assistant.followUp.next': '接下来你建议什么?',
'assistant.menu.alternative': '找替代',
'assistant.menu.alternativeAsk': '在附近为 {place} 找一个好的替代,并说明为什么更合适。',
'assistant.menu.foodNearby': '附近餐厅',
'assistant.menu.foodNearbyAsk': '推荐几家 {place} 附近不错的用餐地点。',
'assistant.menu.planDay': '规划这一天',
'assistant.menu.planDayAsk': '帮我规划这一天:地点、时间和吃饭的地方。',
'assistant.menu.rainPlan': '雨天方案',
'assistant.menu.rainPlanAsk': '这一天如果下雨可以做什么?推荐附近的室内选择。',
'assistant.preview.title': '助手的建议',
'assistant.preview.suggested': '建议',
'assistant.preview.movedHere': '移到这里',
'assistant.preview.removed': '移除',
'assistant.preview.movedAway': '移走',
'assistant.check.ok': '时间来得及',
'assistant.week.title': '此计划的日期',
'assistant.week.day': '天',
'assistant.memory.title': '行程备忘',
'assistant.memory.edit': '编辑行程备忘',
'assistant.memory.sub': '助手会在此行程的每个建议中考虑这些。',
'assistant.memory.quick': '常见需求',
'assistant.memory.notes': '你的备忘',
'assistant.memory.placeholder': '例如:带着幼儿出行,喜欢街头小吃,不早起。',
'assistant.memory.saved': '行程备忘已保存',
'assistant.memory.quick.vegetarian': '我们吃素',
'assistant.memory.quick.kids': '我们带孩子出行',
'assistant.memory.quick.budget': '预算有限',
'assistant.memory.quick.slow': '节奏轻松,不赶路',
'assistant.memory.quick.accessible': '请选择无台阶通道',
'assistant.memory.quick.noMuseums': '少去博物馆',
'assistant.settings.costEstimates': '估算费用',
'assistant.settings.costEstimatesHint': '遇到餐厅或门票时,会以待确认卡片的形式为预算建议一笔估算支出。',
'assistant.change.timeline.tight': '时间差 {count} 分钟',
'assistant.check.issues': '{count} 处需要注意',
'assistant.week.changes': '{count} 项更改',
'assistant.week.showAll': '显示全部 {count} 项更改',
};
export default assistant;