DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
import { defineLocale } from 'dsh-tauri/client'
import { PLUGIN_ID } from '../constants'
const zh = {
section: '已归档会话',
archiveTitle: '已归档的聊天',
deleteAll: '全部删除',
searchPlaceholder: '搜索已归档的聊天',
sortLabel: '排序方式',
sortUpdatedAt: '更新时间',
sortCreatedAt: '创建时间',
sortTitle: '按字母排序',
allProjects: '所有项目',
ungrouped: '未分组',
unarchive: '取消归档',
empty: '没有已归档的聊天',
noResults: '没有匹配的聊天',
chats: '个聊天',
groupMenuAria: '项目操作',
deleteProjectChats: '删除项目中的全部会话',
deleteProjectTitle: '删除该项目中的所有聊天?',
deleteProjectBody: '这将永久删除「{workspace}」中的 {count} 条本地已归档聊天',
archiveWorkspaceMenu: '归档工作区',
archiveWorkspaceTitle: '归档 {count} 个会话?',
archiveWorkspaceDescription: '这会将 {workspace} 中的会话归档。之后你可以在已归档的会话中找到它们',
archiveWorkspaceConfirm: '全部归档',
cancel: '取消',
close: '关闭',
deleteConfirm: '删除',
deleteRowAria: '删除此会话',
deleteSingleTitle: '删除已归档聊天?',
deleteSingleBody: '这将永久删除已归档聊天',
deleteAllTitle: '删除所有已归档本地聊天?',
deleteAllBody: '这将永久删除所有本地已归档聊天记录',
loading: '处理中…',
untitled: '未命名会话',
openDirectory: '打开目录',
openFailed: '打开目录失败: {reason}',
} as const
const en: Record<keyof typeof zh, string> = {
section: 'Archive',
archiveTitle: 'Archived chats',
deleteAll: 'Delete all',
searchPlaceholder: 'Search archived chats',
sortLabel: 'Sort by',
sortUpdatedAt: 'Updated time',
sortCreatedAt: 'Created time',
sortTitle: 'Alphabetical',
allProjects: 'All projects',
ungrouped: 'Ungrouped',
unarchive: 'Unarchive',
empty: 'No archived chats',
noResults: 'No matching chats',
chats: 'chats',
groupMenuAria: 'Project actions',
deleteProjectChats: 'Delete all chats in project',
deleteProjectTitle: 'Delete all chats in this project?',
deleteProjectBody: 'This will permanently delete {count} locally archived chats in "{workspace}".',
archiveWorkspaceMenu: 'Archive workspace',
archiveWorkspaceTitle: 'Archive {count} sessions?',
archiveWorkspaceDescription: 'This will archive the sessions in {workspace}. You can find them in Archived sessions afterwards.',
archiveWorkspaceConfirm: 'Archive all',
cancel: 'Cancel',
close: 'Close',
deleteConfirm: 'Delete',
deleteRowAria: 'Delete this session',
deleteSingleTitle: 'Delete archived chat?',
deleteSingleBody: 'This will permanently delete the archived chat.',
deleteAllTitle: 'Delete all archived chats?',
deleteAllBody: 'This will permanently delete all locally archived chat records.',
loading: 'Working…',
untitled: 'Untitled session',
openDirectory: 'Open directory',
openFailed: 'Failed to open directory: {reason}',
}
export const locale = defineLocale(PLUGIN_ID, { zh, en })