Files
TREK/shared/src/i18n/zh/collab.ts
T
Maurice 49b3af8b0d feat: optimize routes around accommodation, confirm note deletions (#1123)
Optimize day routes around the accommodation

When a day has an accommodation set, the route optimizer now treats it as
the day's home base: it optimizes a loop that leaves the hotel and returns
to it, so the stop nearest the hotel comes first. On a transfer day -
checking out of one hotel and into another - the route runs from the first
hotel to the second instead.

The optimizer also gained a 2-opt pass on top of the nearest-neighbor
ordering, which removes the crossings the greedy pass used to leave behind.
A new display setting ("optimize route from accommodation", on by default)
lets you turn the anchoring off.

Confirm before deleting notes

Deleting a plan note or a collab note now asks for confirmation first. On
phones and tablets the edit and delete icons sit close together and were
easy to mis-tap, which deleted notes with no way back.
2026-06-07 12:52:06 +02:00

76 lines
3.1 KiB
TypeScript

import type { TranslationStrings } from '../types';
const collab: TranslationStrings = {
'collab.tabs.chat': '聊天',
'collab.tabs.notes': '笔记',
'collab.tabs.polls': '投票',
'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.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.addOption': '+ 添加选项',
'collab.polls.optionPlaceholder': '选项 {n}',
'collab.polls.create': '创建投票',
'collab.polls.close': '关闭',
'collab.polls.closed': '已关闭',
'collab.polls.votes': '{n} 票',
'collab.polls.vote': '{n} 票',
'collab.polls.multipleChoice': '多选',
'collab.polls.multiChoice': '多选',
'collab.polls.deadline': '截止时间',
'collab.polls.option': '选项',
'collab.polls.options': '选项',
'collab.polls.delete': '删除',
'collab.polls.closedSection': '已关闭',
};
export default collab;