Files
openchamber-android-native/lib/l10n/en_sessions.dart
T
blumia 7b5bccf28f feat: English and Chinese, and selectable chat text
- settings → general → language picks system, Chinese or English; the
  choice is stored on the device and read before the first frame
- our Chinese strings are translated through tr()/trArgs() and AppText,
  with the English in lib/l10n/en_*.dart; a missing entry falls back to
  Chinese and a test checks that every literal in lib has one
- AppText rebuilds on a language change (it depends on the resolved
  locale), so const text and whole pages switch at once; the built-in
  date/time pickers and selection menu follow the same language
- server and user data (titles, messages, prompts, paths) is never
  translated
- the chat list sits in a SelectionArea: long-press selects message text
  and shows the copy/select-all menu
- bump to 0.5.2
2026-11-26 09:04:25 +08:00

168 lines
6.4 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// English strings for one part of the app; merged into L10n's table. Keys are
// the Chinese text the code writes, including {0}, {1} placeholders for text
// that is built from parts.
const Map<String, String> enSessions = {
'选择一个会话': 'Choose a session',
'打开会话列表': 'Open the session list',
// ------------------------------------------------------------ knowledge
'这个会话没有关联目录': 'This session has no directory',
'搜索笔记、待办与计划': 'Search notes, todos, and plans',
'搜索笔记、待办、计划与记忆': 'Search notes, todos, plans, and memory',
'刷新': 'Refresh',
'笔记': 'Notes',
'待办': 'Todos',
'计划': 'Plans',
'记忆': 'Memory',
'重试': 'Retry',
'{0} 条笔记': '{0} notes',
'新建笔记': 'New note',
'还没有笔记': 'No notes yet',
'没有匹配的笔记': 'No matching notes',
'编辑': 'Edit',
'取消置顶': 'Unpin',
'置顶': 'Pin',
'删除': 'Delete',
'{0}/{1} 已完成': '{0}/{1} done',
'新建待办': 'New todo',
'还没有待办': 'No todos yet',
'没有匹配的待办': 'No matching todos',
'{0} 份计划': '{0} plans',
'新建计划': 'New plan',
'还没有计划': 'No plans yet',
'没有匹配的计划': 'No matching plans',
'团队共享': 'Shared',
'个人': 'Personal',
'记忆功能未启用': 'Memory is not enabled',
'还没有记忆': 'No memories yet',
'没有匹配的记忆': 'No matching memories',
'全局记忆': 'Global memory',
'项目记忆': 'Project memory',
'{0}({1})': '{0} ({1})',
'记忆由 agent 在会话中记录;你可以在这里修改或删除它。':
'Memory is recorded by the agent during sessions; you can edit or delete it here.',
'读取失败,请刷新': 'Could not load, refresh to retry',
'暂无': 'None',
'编辑笔记': 'Edit note',
'记点什么,供之后的会话参考': 'Write something for later sessions to read',
'保存': 'Save',
'要做什么': 'What needs doing',
'保存中…': 'Saving…',
'标题': 'Title',
'计划正文(Markdown)': 'Plan body (Markdown)',
'创建': 'Create',
'编辑记忆': 'Edit memory',
'事实': 'Fact',
'偏好': 'Preference',
'参考': 'Reference',
'内容': 'Content',
'取消': 'Cancel',
// ------------------------------------------------------------- sessions
'会话': 'Sessions',
'搜索': 'Search',
'新会话': 'New session',
'搜索会话': 'Search sessions',
'全部功能': 'All features',
'设置': 'Settings',
'暂无会话': 'No sessions',
'没有匹配的会话': 'No matching sessions',
'聊天': 'Chat',
'未命名项目': 'Untitled project',
'新建聊天': 'New chat',
'在此项目新会话': 'New session in this project',
'今天': 'Today',
'昨天': 'Yesterday',
'本周早些时候': 'Earlier this week',
'更早': 'Earlier',
'已置顶': 'Pinned',
'草稿': 'Draft',
'草稿 · {0}': 'Draft · {0}',
'丢弃草稿': 'Discard draft',
'归档': 'Archive',
'取消归档': 'Unarchive',
'收起子代理': 'Collapse subagents',
'展开子代理': 'Expand subagents',
'(无标题会话)': '(Untitled session)',
'子代理 · {0}': 'Subagent · {0}',
'已复制会话 ID': 'Session ID copied',
'重命名': 'Rename',
'复制会话 ID': 'Copy session ID',
'载入更多': 'Load more',
'隐藏已归档': 'Hide archived',
'显示已归档': 'Show archived',
'显示已归档 ({0})': 'Show archived ({0})',
'没有已归档的会话': 'No archived sessions',
'{0} 个子代理': '{0} subagents',
'“{0}”及其子会话将被删除,且无法恢复。':
'“{0}” and its subagent sessions will be deleted permanently.',
'服务器': 'Servers',
'经由 Relay · {0}': 'via Relay · {0}',
'{0}\n经由 {1}': '{0}\nvia {1}',
'已连接': 'Connected',
'添加服务器': 'Add server',
'配对链接': 'Pairing link',
'直连地址或 OpenChamber Relay': 'Direct address or OpenChamber Relay',
'断开当前连接': 'Disconnect',
'删除会话?': 'Delete session?',
// ---------------------------------------------------------------- files
'文件': 'Files',
'文件较大({0}),请下载后查看': 'File is large ({0}), download it to view',
'已保存': 'Saved',
'保存失败:{0}': 'Could not save: {0}',
'新建文件夹': 'New folder',
'新建文件': 'New file',
'名称': 'Name',
'例如 docs': 'e.g. docs',
'例如 notes.md': 'e.g. notes.md',
'名称里不能有斜杠': 'Names cannot contain slashes',
'项目知识': 'Project knowledge',
'终端': 'Terminal',
'关闭侧栏': 'Close sidebar',
'搜索当前目录…': 'Search this directory…',
'搜索子目录': 'Search subdirectories',
'正在搜索子目录…({0})': 'Searching subdirectories… ({0})',
'返回': 'Back',
'上一级': 'Up one level',
'预览': 'Preview',
'下载': 'Download',
'新建': 'New',
'更多': 'More',
'显示被 git 忽略的文件': 'Show git-ignored files',
'目录为空': 'Directory is empty',
'没有匹配的文件': 'No matching files',
'子目录结果': 'Subdirectory results',
'子目录里没有匹配的文件': 'No matching files in subdirectories',
'这个文件无法预览': 'This file cannot be previewed',
'正在下载': 'Downloading',
'{0} / {1}({2}%)': '{0} / {1} ({2}%)',
'已下载 {0}': 'Downloaded {0}',
'正在取消…': 'Canceling…',
'关闭': 'Close',
// ------------------------------------------------------------- terminal
'未启动': 'Not started',
'正在创建…': 'Creating…',
'正在连接…': 'Connecting…',
'连接中断,正在重连…': 'Connection lost, reconnecting…',
'运行中': 'Running',
'已退出': 'Exited',
'连接失败': 'Connection failed',
'切换终端': 'Switch terminal',
'新建终端': 'New terminal',
'键盘': 'Keyboard',
'重新启动': 'Restart',
'清屏': 'Clear screen',
'关闭此终端': 'Close this terminal',
// ---------------------------------------------------------- new session
'选择失败:{0}': 'Could not attach: {0}',
'我们今天要做什么?': 'What are we building today?',
'选择项目': 'Choose project',
'规划、构建或提问': 'Plan, build, or ask',
'添加附件': 'Add attachment',
'不关联项目,保存在 OpenChamber 的聊天目录':
'Not tied to a project, saved in OpenChamber\'s chat directory',
'没有可用的项目': 'No projects available',
};