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.

5.2 KB
Raw Blame
// File previews, save / open with / share, links, run changes and task details.
export const filesZh = {
  fileMissing: "电脑上找不到这个文件了,可能已被移动或删除。",
  fileChanged: "文件在电脑上变了,请重新打开。",
  fileUnsupported: "这种文件不能在手机上预览。",
  fileTooLarge: "文件太大,请在电脑上查看。",
  fileOffline: "电脑离线,这个文件还没有缓存到手机上。",
  fileSavedPhotos: "已存到相册",
  fileSavedFolder: "已保存到所选文件夹",
  filePhotosDenied: "没有存到相册的权限,请在系统设置里允许 Pi Bot 添加照片。",
  fileShareUnavailable: "这台手机不能分享文件。",
  fileImage: "图片:{name}",
  fileReadOnly: "只读预览",
  fileSave: "保存",
  fileOpenWith: "用其他应用打开",
  fileShare: "分享",
  fileNoPhoneView: "手机上不能直接显示这种文件",
  fileNoPhoneViewHint: "可以用其他应用打开或保存到手机,也可以在电脑上查看。",
  fileLoading: "正在从电脑取文件…",
  fileLoadingPercent: "正在从电脑取文件… {percent}%",
  fileCachedCopy: "电脑离线,显示的是手机上缓存的内容。",
  fileTruncated: "内容太长,只显示了前面一部分。完整内容在电脑上查看。",
  fileEmpty: "这个文件是空的。",
  fileSlide: "第 {n} 页",
  fileMore: "加载更多",
  fileDesktopFull: "这是内容视图,排版和图片以电脑上为准。",
  linkTitle: "链接地址",
  linkHint: "手机不会打开网页。需要的话可以复制地址。",
  linkCopy: "复制地址",
  linkCopied: "已复制地址",
  diffCommand: "这个文件是命令改的,没有记录逐行差异。",
  diffSnapshotMissing: "这一轮的文件快照已经不在了,看不到差异。",
  diffBinary: "二进制文件,没有逐行差异。",
  diffTooLarge: "改动太大,只显示行数。逐行差异请在电脑上查看。",
  diffEmpty: "内容没有变化。",
  diffOpenFile: "预览文件",
  diffExpand: "展开 {count} 行未改动的内容",
  changeKind_add: "新建",
  changeKind_modify: "修改",
  changeKind_delete: "删除",
  changeKind_command: "命令",
  changesTruncated: "文件太多,只列出了一部分。",
  taskDetail: "任务详情",
  taskGone: "找不到这个任务",
  taskGoneHint: "任务列表已经更新,回到任务页重新打开。",
  taskSummary: "摘要",
  taskRequest: "要求",
  taskSteps: "步骤",
  taskResult: "结果",
  taskStarted: "开始",
  taskDuration: "用时",
  taskReadOnly: "任务详情只读。停止、继续和重试在任务页操作。",
} as const;
export const filesEn: Record<keyof typeof filesZh, string> = {
  fileMissing: "The file is no longer on the computer. It may have been moved or deleted.",
  fileChanged: "The file changed on the computer. Open it again.",
  fileUnsupported: "This kind of file cannot be previewed on the phone.",
  fileTooLarge: "The file is too large. View it on the computer.",
  fileOffline: "The computer is offline and this file is not cached on the phone yet.",
  fileSavedPhotos: "Saved to Photos",
  fileSavedFolder: "Saved to the chosen folder",
  filePhotosDenied: "No permission to save to Photos. Allow Pi Bot to add photos in Settings.",
  fileShareUnavailable: "This phone cannot share files.",
  fileImage: "Image: {name}",
  fileReadOnly: "Read-only preview",
  fileSave: "Save",
  fileOpenWith: "Open in another app",
  fileShare: "Share",
  fileNoPhoneView: "This kind of file cannot be shown on the phone",
  fileNoPhoneViewHint:
    "Open it in another app or save it to the phone, or view it on the computer.",
  fileLoading: "Getting the file from the computer…",
  fileLoadingPercent: "Getting the file from the computer… {percent}%",
  fileCachedCopy: "The computer is offline. Showing what is cached on the phone.",
  fileTruncated: "This is long, so only the beginning is shown. See the rest on the computer.",
  fileEmpty: "This file is empty.",
  fileSlide: "Slide {n}",
  fileMore: "Load more",
  fileDesktopFull: "This is a content view; layout and images are as on the computer.",
  linkTitle: "Link address",
  linkHint: "The phone does not open web pages. Copy the address if you need it.",
  linkCopy: "Copy address",
  linkCopied: "Address copied",
  diffCommand: "A command changed this file, so there is no line-by-line diff.",
  diffSnapshotMissing: "This run's file snapshots are gone, so the diff is unavailable.",
  diffBinary: "Binary file, no line-by-line diff.",
  diffTooLarge:
    "The change is too large; only line counts are shown. See the diff on the computer.",
  diffEmpty: "The content did not change.",
  diffOpenFile: "Preview file",
  diffExpand: "Show {count} unchanged lines",
  changeKind_add: "Added",
  changeKind_modify: "Modified",
  changeKind_delete: "Deleted",
  changeKind_command: "Command",
  changesTruncated: "Too many files; only some are listed.",
  taskDetail: "Task details",
  taskGone: "Task not found",
  taskGoneHint: "The task list has changed. Go back to Tasks and open it again.",
  taskSummary: "Summary",
  taskRequest: "Request",
  taskSteps: "Steps",
  taskResult: "Result",
  taskStarted: "Started",
  taskDuration: "Duration",
  taskReadOnly: "Task details are read-only. Stop, continue and retry from the Tasks tab.",
};