Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

10.0 KB
Raw Blame
// Bot and group settings, contacts and new group.
export const settingsZh = {
  botSettings: "Bot 设置",
  groupSettings: "群设置",
  contacts: "通讯录",
  contactsBots: "Bot",
  contactsGroups: "群",
  noContacts: "还没有 Bot 或群",
  newGroup: "新建群",
  settingsCached: "电脑离线,显示的是上次读到的设置,暂时不能修改",
  settingsRetry: "重试",
  settingsOptionsFailed: "部分选项读取失败,可重试;已读取的资料仍可查看。",
  settingsConnecting: "正在连接电脑…",
  settingsUpdating: "正在更新…",
  settingsEmptyOffline: "电脑离线,连上后再查看设置",
  settingsConflict: "电脑上刚改过,已刷新",
  settingsSaved: "已保存",
  settingsLeaveTitle: "放弃没保存的修改?",
  settingsLeaveText: "离开后,这一页还没保存的修改不会保留。",
  sectionUnavailable: "读取不到,电脑上的 Pi Bot 可能需要更新",
  nameTaken: "已有同名的 Bot",
  botName: "名字",
  botDescription: "简介",
  descriptionPlaceholder: "这个 Bot 做什么",
  save: "保存",
  avatar: "头像",
  avatarShape: "形状",
  avatarColor: "颜色",
  avatarEyes: "眼睛",
  avatarImageNote: "上传图片头像在电脑上操作",
  persona: "人设与工作规范",
  personaHint: "它是谁、怎么说话;工作时遵守的规范",
  personaLabel: "人设",
  normsLabel: "工作规范",
  personaPlaceholder: "描述这个 Bot 的身份和说话方式",
  normsPlaceholder: "工作时要遵守的规范(可留空)",
  model: "模型",
  modelNone: "未选模型",
  modelNote: "只能选电脑上已配好的模型;离线时只能选已同步提供方的模型",
  computerModelUpdated: "电脑上已换了模型,以电脑上的为准",
  thinking: "思考强度",
  noModels: "电脑上还没有配好的模型",
  memory: "记忆",
  memoryMode: "记忆方式",
  memoryAuto: "自动记住",
  memoryAutoHint: "Bot 觉得有用时直接记下",
  memoryAsk: "先问我",
  memoryAskHint: "要记什么先在对话里问你",
  memoryCount: "{count} 条",
  noMemories: "还没有记忆",
  remove: "删除",
  confirmRemove: "确认删除",
  skills: "技能",
  skillsCount: "已启用 {enabled} / {total}",
  noSkills: "还没有技能。导入和编辑技能在电脑上",
  skillsNote: "这里只能启用或停用;导入、编辑技能在电脑上",
  routines: "例行任务",
  routinesCount: "{count} 个",
  noRoutines: "还没有例行任务",
  routinesNote: "新建例行任务、改时间表在电脑上",
  runNow: "立即运行",
  ranNow: "已开始运行",
  routinePaused: "已暂停",
  permissions: "权限与授权",
  permissionsHint: "收紧直接生效;放宽要先验证",
  permissionsOperations: "操作",
  permissionsNetwork: "网络",
  permissionsSending: "连接与发送",
  networkAllowAll: "允许访问所有网站",
  networkDomains: "允许的网站:{domains}",
  networkNone: "没有单独允许的网站",
  followGlobal: "跟随全局设置",
  overridden: "单独设置",
  grants: "已记住的授权",
  noGrants: "没有已记住的授权",
  revoke: "撤销",
  revoked: "已撤销",
  unlockWiden: "验证后放宽这个 Bot 的权限",
  unlockMemory: "验证后删除这条记忆",
  unlockGroupMemory: "验证后删除这条群记忆",
  unlockMember: "验证后把这个 Bot 移出群",
  widenNote: "放宽权限前要先验证面容 ID / 指纹 / 密码",
  connectors: "插件",
  connectorsHint: "查看和撤销;添加插件、填密钥在电脑上",
  noConnectors: "这个 Bot 没有可用的插件",
  revokeConnector: "不让这个 Bot 使用",
  connectorsNote: "添加插件、填密钥、改给哪些 Bot 用在电脑上",
  settingsDesktopOnly: "复制、归档、删除 Bot,密钥和模型厂商在电脑上操作",
  groupName: "群名",
  groupAnnouncement: "群简介",
  announcementPlaceholder: "群的目标、分工和约定",
  coordinator: "协调者",
  roundLimit: "自动轮数上限",
  rounds: "{count} 轮",
  groupMode: "执行方式",
  limitsSummary: "预算:最长 {minutes} 分钟、{requests} 次请求(在电脑上调整)",
  members: "成员",
  membersCount: "{count} 个 Bot",
  addMember: "加入群",
  removeMember: "移出",
  membersNote: "群里要有 2 到 6 个 Bot",
  groupMemory: "群记忆",
  resources: "群资源",
  noFolders: "没有关联文件夹",
  primaryFolder: "主文件夹",
  readonlyFolder: "只读",
  resourcesNote: "文件夹在电脑上添加或移除",
  groupDesktopOnly: "解散群、文件夹和预算在电脑上操作",
  newGroupName: "群名",
  newGroupNamePlaceholder: "给群起个名字",
  newGroupMembers: "选择成员(2 到 6 个)",
  createGroup: "创建",
  groupCreated: "已创建群",
  // Section titles and profile actions.
  sectionProfile: "资料",
  sectionSkillsRoutines: "技能与例行任务",
  sectionPermsConnectors: "权限与连接",
  sendMessage: "发消息",
  changeAvatar: "改头像",
  groupProfile: "群资料",
  groupExecution: "群执行",
} as const;
export const settingsEn: Record<keyof typeof settingsZh, string> = {
  botSettings: "Bot settings",
  groupSettings: "Group settings",
  contacts: "Contacts",
  contactsBots: "Bots",
  contactsGroups: "Groups",
  noContacts: "No Bots or groups yet",
  newGroup: "New group",
  settingsCached: "Computer offline. Showing the last settings read; changes are paused",
  settingsRetry: "Retry",
  settingsOptionsFailed:
    "Some options could not be read. Retry; the loaded profile remains available.",
  settingsConnecting: "Connecting to computer…",
  settingsUpdating: "Updating…",
  settingsEmptyOffline: "Computer offline. Settings show once it is back",
  settingsConflict: "Just changed on the computer. Refreshed",
  settingsSaved: "Saved",
  settingsLeaveTitle: "Discard unsaved changes?",
  settingsLeaveText: "If you leave, the changes on this page that are not saved are lost.",
  sectionUnavailable: "Unavailable. Pi Bot on the computer may need an update",
  nameTaken: "Another Bot already has this name",
  botName: "Name",
  botDescription: "Description",
  descriptionPlaceholder: "What this Bot does",
  save: "Save",
  avatar: "Avatar",
  avatarShape: "Shape",
  avatarColor: "Color",
  avatarEyes: "Eyes",
  avatarImageNote: "Upload an image avatar on the computer",
  persona: "Persona and working norms",
  personaHint: "Who it is and how it talks; the norms it follows at work",
  personaLabel: "Persona",
  normsLabel: "Working norms",
  personaPlaceholder: "Describe this Bot's identity and voice",
  normsPlaceholder: "Norms to follow at work (optional)",
  model: "Model",
  modelNone: "No model selected",
  modelNote: "Only models already set up on the computer; offline uses synced provider models",
  computerModelUpdated: "The model was changed on the computer; using that one",
  thinking: "Thinking",
  noModels: "No models are set up on the computer yet",
  memory: "Memory",
  memoryMode: "How it remembers",
  memoryAuto: "Remember automatically",
  memoryAutoHint: "Saves what seems useful",
  memoryAsk: "Ask me first",
  memoryAskHint: "Asks in the chat before saving",
  memoryCount: "{count}",
  noMemories: "No memories yet",
  remove: "Delete",
  confirmRemove: "Confirm delete",
  skills: "Skills",
  skillsCount: "{enabled} of {total} on",
  noSkills: "No skills yet. Import and edit skills on the computer",
  skillsNote: "Turn skills on or off here; import and edit them on the computer",
  routines: "Routines",
  routinesCount: "{count}",
  noRoutines: "No routines yet",
  routinesNote: "Create routines and change schedules on the computer",
  runNow: "Run now",
  ranNow: "Started",
  routinePaused: "Paused",
  permissions: "Permissions and grants",
  permissionsHint: "Tightening applies at once; loosening needs an unlock",
  permissionsOperations: "Operations",
  permissionsNetwork: "Network",
  permissionsSending: "Connections and sending",
  networkAllowAll: "Allow all websites",
  networkDomains: "Allowed sites: {domains}",
  networkNone: "No individually allowed sites",
  followGlobal: "Follow global settings",
  overridden: "Set for this Bot",
  grants: "Remembered grants",
  noGrants: "No remembered grants",
  revoke: "Revoke",
  revoked: "Revoked",
  unlockWiden: "Unlock to loosen this Bot's permissions",
  unlockMemory: "Unlock to delete this memory",
  unlockGroupMemory: "Unlock to delete this group memory",
  unlockMember: "Unlock to remove this Bot from the group",
  widenNote: "Loosening a permission asks for Face ID, fingerprint or passcode first",
  connectors: "Plugins",
  connectorsHint: "View and revoke; add plugins and enter keys on the computer",
  noConnectors: "This Bot has no available plugins",
  revokeConnector: "Stop this Bot using it",
  connectorsNote: "Add plugins, enter keys and choose which Bots use them on the computer",
  settingsDesktopOnly:
    "Duplicate, archive and delete Bots, keys and model providers on the computer",
  groupName: "Group name",
  groupAnnouncement: "Description",
  announcementPlaceholder: "The group's goal, roles and agreements",
  coordinator: "Coordinator",
  roundLimit: "Automatic round limit",
  rounds: "{count} rounds",
  groupMode: "Execution",
  limitsSummary: "Budget: up to {minutes} min, {requests} requests (change on the computer)",
  members: "Members",
  membersCount: "{count} Bots",
  addMember: "Add",
  removeMember: "Remove",
  membersNote: "A group has 2 to 6 Bots",
  groupMemory: "Group memory",
  resources: "Group resources",
  noFolders: "No linked folders",
  primaryFolder: "Primary",
  readonlyFolder: "Read-only",
  resourcesNote: "Add or remove folders on the computer",
  groupDesktopOnly: "Dissolve the group, folders and budgets on the computer",
  newGroupName: "Name",
  newGroupNamePlaceholder: "Name the group",
  newGroupMembers: "Choose members (2 to 6)",
  createGroup: "Create",
  groupCreated: "Group created",
  sectionProfile: "Profile",
  sectionSkillsRoutines: "Skills and routines",
  sectionPermsConnectors: "Permissions and apps",
  sendMessage: "Message",
  changeAvatar: "Change avatar",
  groupProfile: "Group profile",
  groupExecution: "How the group runs",
};