lobehub/locales/zh-CN/topic.json
Arvin Xu c0db58e622
Some checks are pending
E2E CI / Check Duplicate Run (push) Waiting to run
E2E CI / Test Web App (push) Blocked by required conditions
Release Desktop Canary / Calculate Canary Version (push) Waiting to run
Release Desktop Canary / Code quality check (push) Blocked by required conditions
Release Desktop Canary / Build Desktop App (push) Blocked by required conditions
Release Desktop Canary / Merge macOS Release Files (push) Blocked by required conditions
Release Desktop Canary / Publish Canary Release (push) Blocked by required conditions
Release Desktop Canary / Publish to S3 (push) Blocked by required conditions
Release Desktop Canary / Cleanup Old Canary Releases (push) Blocked by required conditions
Release ModelBank / Build ModelBank (push) Waiting to run
Release ModelBank / Publish ModelBank (push) Blocked by required conditions
Test CI / Check Duplicate Run (push) Waiting to run
Test CI / Test Packages (push) Blocked by required conditions
Test CI / Test App (shard 1/3) (push) Blocked by required conditions
Test CI / Test App (shard 2/3) (push) Blocked by required conditions
Test CI / Test App (shard 3/3) (push) Blocked by required conditions
Test CI / Merge and Upload App Coverage (push) Blocked by required conditions
Test CI / Test Desktop App (push) Blocked by required conditions
Test CI / Test Database (push) Blocked by required conditions
feat(topic): add completed status with dropdown action and filter (#14005)
*  feat(topic): add completed status with dropdown action and filter

- Surface ChatTopicStatus (active/completed/archived) on topic list items and pass to dropdown menu
- Add markTopicCompleted / unmarkTopicCompleted store actions wired into the topic item dropdown
- Show CheckCircle2 icon on completed topics in the sidebar list
- Add topicIncludeCompleted user preference (default false) and an "Include Completed" toggle in the topic filter menu (agent + group routes)
- Wire excludeStatuses and triggers filters through TopicModel, TRPC router, service, and store SWR keys so completed topics are excluded by default

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🌐 i18n(topic): add zh-CN/en-US for completed status keys

Translate actions.markCompleted / actions.unmarkCompleted and filter.filter / filter.showCompleted for dev preview. CI's pnpm i18n will fill in remaining locales.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ♻️ refactor(topic): scope completed exclusion to routes with the toggle

Move the topicIncludeCompleted preference read out of the chat-store useFetchTopics action and into the (main) agent/group sidebars where the "Include Completed" filter actually lives. Popup and mobile topic views call useFetchTopics without excludeStatuses, so completed topics remain reachable on surfaces that don't expose the toggle (e.g. the popup window for a deep-linked completed topic, the mobile TopicModal).

Also switch ChatTopicStatus imports in the topic item / dropdown files to @lobechat/types to match the rest of the topic-feature imports.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  test(topic-model): cover excludeStatuses + triggers filters

Add cases to the TopicModel.query suite for the new params introduced alongside the topic.status column:
- triggers (positive trigger filter) on the container branch
- excludeStatuses on the container, agent, and groupId branches (verifies null status rows are still returned)
- status / completedAt are populated on returned items

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(topic): move "Mark Completed" to top of agent topic dropdown

Promote the completed-status toggle to the first menu item, with a divider before favorite, so the most-used status action sits at the top of the dropdown.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 17:37:09 +08:00

61 lines
2.8 KiB
JSON

{
"actions.addNewTopic": "开启新话题",
"actions.addNewTopicInProject": "在 {{directory}} 中开启新话题",
"actions.autoRename": "智能重命名",
"actions.confirmRemoveAll": "您即将删除所有话题,此操作无法撤销。",
"actions.confirmRemoveTopic": "您即将删除此话题,此操作无法撤销。",
"actions.confirmRemoveUnstarred": "您即将删除未加星标的话题,此操作无法撤销。",
"actions.copyLink": "复制链接",
"actions.copyLinkSuccess": "链接已复制",
"actions.copySessionId": "复制会话 ID",
"actions.copySessionIdSuccess": "会话 ID 已复制",
"actions.copyWorkingDirectory": "复制工作目录",
"actions.copyWorkingDirectorySuccess": "工作目录已复制",
"actions.duplicate": "复制",
"actions.export": "导出话题",
"actions.favorite": "收藏",
"actions.import": "导入对话",
"actions.markCompleted": "标为已完成",
"actions.openInNewTab": "在新标签页中打开",
"actions.openInNewWindow": "打开独立窗口",
"actions.removeAll": "删除全部话题",
"actions.removeUnstarred": "删除未收藏话题",
"actions.unfavorite": "取消收藏",
"actions.unmarkCompleted": "标为进行中",
"defaultTitle": "默认话题",
"displayItems": "显示条目",
"duplicateLoading": "话题复制中…",
"duplicateSuccess": "话题复制成功",
"favorite": "收藏",
"filter.filter": "筛选",
"filter.groupMode.byProject": "按项目",
"filter.groupMode.byTime": "按时间阶段",
"filter.groupMode.flat": "平铺",
"filter.organize": "整理",
"filter.showCompleted": "显示已完成",
"filter.sort": "排序",
"filter.sortBy.createdAt": "按创建时间",
"filter.sortBy.updatedAt": "按更新时间",
"groupTitle.byProject.noProject": "无目录",
"groupTitle.byTime.month": "本月",
"groupTitle.byTime.today": "今天",
"groupTitle.byTime.week": "本周",
"groupTitle.byTime.yesterday": "昨天",
"guide.desc": "点击发送左侧按钮可将当前会话保存为历史话题,并开启新一轮会话",
"guide.title": "话题列表",
"importError": "导入遇到了问题",
"importInvalidFormat": "文件格式不正确。请确认这是有效的 JSON 文件",
"importLoading": "正在导入对话…",
"importSuccess": "已导入 {{count}} 条消息",
"inPopup.description": "此话题已在独立窗口中打开,请前往该窗口继续对话以保持消息一致。",
"inPopup.focus": "聚焦独立窗口",
"inPopup.title": "已在独立窗口中打开",
"loadMore": "更多",
"newTopic": "新话题",
"renameModal.description": "保持简短且易于识别。",
"renameModal.title": "重命名话题",
"searchPlaceholder": "搜索话题…",
"searchResultEmpty": "暂无搜索结果",
"temp": "临时",
"title": "话题"
}