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.

12.2 KB
Raw Blame
// Saved website accounts (settings「密码」, save-after-takeover prompt, first-login
// card, routine preauthorization). Not in the design canvas yet; same visual language as settings
// and approval cards. {site} is a host like example.com, {label} an account display name.
export const credentialsZh = {
  "credentials.error.required": "请填写:{fields}。",
  "credentials.error.totp": "不是有效的验证器密钥。",
  "credentials.totp": "两步验证(可选)",
  "credentials.totpEnabled": "两步验证",
  "credentials.totpKeep": "已设置;留空保留",
  "credentials.totpPlaceholder": "粘贴 otpauth:// 链接或验证器密钥",
  "credentials.totpHint": "保存后不能查看。登录时只填写当前验证码,Bot 不会看到密钥。",
  "credentials.totpRemove": "移除",
  "credentials.totpUndoRemove": "取消移除",
  "credentials.totpRemoving": "保存时移除两步验证密钥。",
  "credentials.takeoverFill": "填写保存的账号",
  "credentials.takeoverChoose": "选择账号",
  "credentials.takeoverEmpty": "这个网站没有分配给此 Bot 的账号",
  "credentials.takeover.filled": "已填写保存的账号;请检查页面后继续。",
  "credentials.takeover.failed": "无法填写,页面可能已变化。请重新检查。",
  "credentials.takeover.empty": "当前网站没有可用的保存账号。",

  "credentials.title": "保存的账号密码",
  "credentials.accounts": "账号",
  "credentials.summary": "Bot 的浏览器用它们自动登录网站;Bot 和模型看不到密码",
  "credentials.intro":
    "Bot 的浏览器可以用这里的账号自动登录网站。密码加密存在这台电脑上,Bot 和模型都看不到,只知道登录成没成功。",
  "credentials.storageUnavailable":
    "系统钥匙串现在不可用,不能保存密码。请检查钥匙串(macOS)、凭据管理器(Windows)或密钥环(Linux)后再试。",
  "credentials.revealUnsupported": "这台电脑上没法做系统身份验证,已存的密码只能修改,不能查看。",
  "credentials.add": "添加账号",
  "credentials.loadMore": "加载更多",
  "credentials.loadError": "账号列表没读出来。",
  "credentials.site": "网站",
  "credentials.sitePlaceholder": "example.com",
  "credentials.siteHint": "也适用于它的子域名,例如 example.com 包含 www.example.com。",
  "credentials.username": "账号",
  "credentials.password": "密码",
  "credentials.keepHint": "不修改就留空",
  "credentials.label": "显示名称",
  "credentials.labelHint": "列表和审批卡里显示这个名字;留空就用打码后的账号。",
  "credentials.note": "备注",
  "credentials.noteHint": "备注和账号密码一起加密保存,只在这里显示。",
  "credentials.bots": "可以使用的 Bot",
  "credentials.botsHint": "没勾选的 Bot 看不到这条记录,也不能用它。",
  "credentials.noBots": "没有 Bot 可以用",
  "credentials.usedBy": "{names} 可以用",
  "credentials.lastUsed": "上次使用 {time}",
  "credentials.neverUsed": "还没用过",
  "credentials.save": "保存",
  "credentials.cancel": "取消",
  "credentials.edit": "编辑",
  "credentials.editTitle": "编辑 {site} 的账号",
  "credentials.addTitle": "添加账号",
  "credentials.delete": "删除",
  "credentials.deleteConfirm": "删除 {site} 的「{label}」?Bot 以后不能再用它自动登录。",
  "credentials.saved": "已保存。",
  "credentials.deleted": "已删除。",
  "credentials.reveal": "查看",
  "credentials.hide": "隐藏",
  "credentials.showTyped": "显示",
  "credentials.revealing": "正在验证身份…",
  "credentials.revealFailed": "没有通过身份验证,密码没有显示。",
  "credentials.revealNote": "查看时会用 Touch ID 或登录密码确认是你本人。",
  "credentials.error.site": "请填写网站地址,例如 example.com。",
  "credentials.error.secret": "新账号需要填写账号和密码。",
  "credentials.error.storage": "系统钥匙串不可用,没有保存。",
  "credentials.error.generic": "没有保存成功,请稍后再试。",
  "credentials.capture.title": "要保存这个账号吗?",
  "credentials.capture.body":
    "你刚才在 {site} 登录了{account}。保存后 Bot 可以用它自动登录;密码加密存在这台电脑上,Bot 看不到。",
  "credentials.capture.account": "「{username}」",
  "credentials.capture.for": "可以使用:",
  "credentials.capture.save": "保存",
  "credentials.capture.dismiss": "不保存",
  "credentials.capture.saved": "已保存,可以在设置 · 密码里管理。",
  "credentials.capture.failed": "没有保存成功。",
  "credentials.card.label": "自动登录",
  "credentials.card.site": "网站",
  "credentials.card.account": "账号",
  "credentials.card.choose": "选择要用的账号",
  "credentials.card.secretNote": "Pi Bot 直接把账号和密码填进网页,Bot 看不到密码。",
  "credentials.card.multiNote": "这个网站存了多个账号,每次都由你来选。",
  "credentials.card.alwaysHint":
    "一直允许:这个 Bot 以后在 {site} 用已存账号登录不再询问,可以在它的资料面板「权限与连接」里撤销。",
  "credentials.card.routineAlwaysHint": "一直允许:这个例行任务以后在 {site} 自动登录不再询问。",
  "credentials.card.deniedHint": "拒绝后 Bot 会请你接管浏览器自己登录。",
  "credentials.grantLabel": "自动登录 · {site}",
  "credentials.preauth.title": "用已存账号自动登录",
  "credentials.preauth.note": "勾选的网站,这个任务运行时用已存账号自动登录不再询问。",
  "credentials.preauth.none": "这个 Bot 还没有可以用的已存账号(在设置 · 密码里添加)。",
  "credentials.audit.saved": "保存了 {site} 的账号「{label}」",
  "credentials.audit.updated": "修改了 {site} 的账号「{label}」",
  "credentials.audit.deleted": "删除了 {site} 的账号「{label}」",
  "credentials.audit.revealed": "查看了 {site} 的账号「{label}」的密码",
  "credentials.audit.filled": "用账号「{label}」自动填写 {site} 的登录",
  "credentials.audit.result": "已记录",
} as const;

export const credentialsEn: Record<keyof typeof credentialsZh, string> = {
  "credentials.error.required": "Please fill in: {fields}.",
  "credentials.error.totp": "This is not a valid authenticator secret.",
  "credentials.totp": "Two-step verification (optional)",
  "credentials.totpEnabled": "Two-step verification",
  "credentials.totpKeep": "Set; leave blank to keep",
  "credentials.totpPlaceholder": "Paste an otpauth:// URL or authenticator secret",
  "credentials.totpHint":
    "Cannot be viewed after saving. Login fills only the current code; the bot never sees the secret.",
  "credentials.totpRemove": "Remove",
  "credentials.totpUndoRemove": "Undo removal",
  "credentials.totpRemoving": "The authenticator secret will be removed on save.",
  "credentials.takeoverFill": "Fill saved account",
  "credentials.takeoverChoose": "Choose an account",
  "credentials.takeoverEmpty": "No account for this site is assigned to this bot",
  "credentials.takeover.filled": "Saved account filled. Check the page before continuing.",
  "credentials.takeover.failed": "Could not fill. The page may have changed; check it again.",
  "credentials.takeover.empty": "No saved account is available for this site.",

  "credentials.title": "Saved accounts",
  "credentials.accounts": "Accounts",
  "credentials.summary":
    "Bot browsers sign in with these; neither Bots nor models see the passwords",
  "credentials.intro":
    "Your Bots' browsers can use these accounts to log in to websites. Passwords are encrypted on this computer; neither the Bot nor the model ever sees them, only whether the login worked.",
  "credentials.storageUnavailable":
    "The system keychain is unavailable, so passwords cannot be saved. Check Keychain (macOS), Credential Manager (Windows) or the keyring (Linux) and try again.",
  "credentials.revealUnsupported":
    "This computer cannot verify you with the system, so saved passwords can be changed but not shown.",
  "credentials.add": "Add account",
  "credentials.loadMore": "Load more",
  "credentials.loadError": "The account list could not be read.",
  "credentials.site": "Website",
  "credentials.sitePlaceholder": "example.com",
  "credentials.siteHint": "Also covers its subdomains: example.com includes www.example.com.",
  "credentials.username": "Username",
  "credentials.password": "Password",
  "credentials.keepHint": "Leave empty to keep it",
  "credentials.label": "Display name",
  "credentials.labelHint":
    "Shown in this list and on approval cards; empty uses a masked username.",
  "credentials.note": "Note",
  "credentials.noteHint": "Encrypted together with the account and password; shown only here.",
  "credentials.bots": "Bots that may use it",
  "credentials.botsHint": "Unchecked Bots neither see this account nor can use it.",
  "credentials.noBots": "No Bot can use it",
  "credentials.usedBy": "Used by {names}",
  "credentials.lastUsed": "Last used {time}",
  "credentials.neverUsed": "Not used yet",
  "credentials.save": "Save",
  "credentials.cancel": "Cancel",
  "credentials.edit": "Edit",
  "credentials.editTitle": "Edit account for {site}",
  "credentials.addTitle": "Add account",
  "credentials.delete": "Delete",
  "credentials.deleteConfirm":
    "Delete “{label}” for {site}? Bots will no longer be able to log in with it.",
  "credentials.saved": "Saved.",
  "credentials.deleted": "Deleted.",
  "credentials.reveal": "Show",
  "credentials.hide": "Hide",
  "credentials.showTyped": "Show",
  "credentials.revealing": "Verifying it's you…",
  "credentials.revealFailed": "Verification did not succeed; the password stays hidden.",
  "credentials.revealNote": "Showing a password asks for Touch ID or your login password first.",
  "credentials.error.site": "Enter a website address, such as example.com.",
  "credentials.error.secret": "A new account needs a username and a password.",
  "credentials.error.storage": "The system keychain is unavailable; nothing was saved.",
  "credentials.error.generic": "Could not save. Try again later.",
  "credentials.capture.title": "Save this account?",
  "credentials.capture.body":
    "You just logged in to {site}{account}. Saved, it lets Bots log in for you; the password is encrypted on this computer and Bots never see it.",
  "credentials.capture.account": " as “{username}”",
  "credentials.capture.for": "May be used by:",
  "credentials.capture.save": "Save",
  "credentials.capture.dismiss": "Don't save",
  "credentials.capture.saved": "Saved. Manage it in Settings · Passwords.",
  "credentials.capture.failed": "Could not save.",
  "credentials.card.label": "Automatic login",
  "credentials.card.site": "Website",
  "credentials.card.account": "Account",
  "credentials.card.choose": "Choose the account to use",
  "credentials.card.secretNote":
    "Pi Bot types the username and password into the page itself; the Bot never sees the password.",
  "credentials.card.multiNote":
    "Several accounts are saved for this site, so you choose each time.",
  "credentials.card.alwaysHint":
    "Always allow: this Bot logs in to {site} with saved accounts without asking again. Revoke it in its profile under Permissions & connections.",
  "credentials.card.routineAlwaysHint":
    "Always allow: this routine logs in to {site} without asking again.",
  "credentials.card.deniedHint":
    "If you deny, the Bot will ask you to take over and log in yourself.",
  "credentials.grantLabel": "Automatic login · {site}",
  "credentials.preauth.title": "Log in with saved accounts",
  "credentials.preauth.note":
    "Checked websites are logged in to with saved accounts without asking while this routine runs.",
  "credentials.preauth.none":
    "This Bot has no saved accounts it may use yet (add them in Settings · Passwords).",
  "credentials.audit.saved": "Saved account “{label}” for {site}",
  "credentials.audit.updated": "Changed account “{label}” for {site}",
  "credentials.audit.deleted": "Deleted account “{label}” for {site}",
  "credentials.audit.revealed": "Viewed the password of “{label}” for {site}",
  "credentials.audit.filled": "Filled the login for {site} with “{label}”",
  "credentials.audit.result": "Recorded",
};