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.

16.9 KB
Raw Blame
import type { providersZh } from "./zh.ts";

export const providersEn: { [K in keyof typeof providersZh]: string } = {
  "models.health.unavailable": "This model is unavailable now: {reason}",
  "models.health.change": "Choose another",
  "models.health.notFound": "This model is missing from the current catalog.",
  "models.health.signIn": "Sign in to this provider, or sign in again and retry.",
  "models.health.configure": "No usable credentials are configured for this provider yet.",
  "models.regionKeyRequired":
    "After changing the pay-as-you-go API region, enter the key for that region again.",
  "models.defaultUnavailable":
    "The selected default model is absent from this catalog. Return to the provider list to choose another default.",
  "models.moreModels": "Show more models",
  "models.auth.local": "Local service",
  "models.region": "Region",
  "models.region.global": "Global",
  "models.region.china": "China",
  "models.region.europe": "Europe (Amsterdam)",
  "models.region.singapore": "Singapore",
  "models.region.individual": "Individual plan",
  "models.region.custom": "Custom URL",
  "models.regionNote":
    "Each region keeps its own keys and models. Save or clear your inputs before switching regions.",
  "models.payAsYouGo": "Pay as you go",
  "models.planKey": "This endpoint only accepts a key for the {plan} plan.",
  "models.endpoint": "Base URL: {url}",
  "models.includedModels": "View model list",
  "models.includedNote":
    "Models bundled with the app. OpenRouter can refresh its online catalog; use a custom endpoint to discover other providers’ live models.",
  "models.currentDefault": "Current default model: {model}",
  "models.notDefault": "Uses another provider",
  "models.suggestedModel": "Default test model: {model}",
  "models.noModels":
    "No models available. Configure the provider and discover models, or add a custom model.",
  "models.planMismatch.zai":
    "This endpoint only accepts Z.ai GLM Coding Plan keys. For a pay-as-you-go key, use “Z.ai API · Pay as you go”.",
  "models.planMismatch.qwen":
    "This endpoint only accepts Qwen Coding Plan keys. For a pay-as-you-go key, use “Qwen API · Pay as you go”.",
  "models.planMismatch.xiaomi":
    "This endpoint only accepts Xiaomi Token Plan keys. Check your plan and selected region.",
  "models.planMismatch.kimi":
    "This endpoint only accepts Kimi For Coding keys. For a regular API key, use Moonshot AI.",
  "models.groupShort.other": "Other",
  "models.ollamaUnavailable":
    "No Ollama service is reachable at 127.0.0.1:11434. Start Ollama and retry.",
  "audit.kind.oauth.changed": "Subscription authentication",
  "audit.summary.oauth.changed": "Subscription authentication state changed",
  "models.claudePlan.title": "Have a Claude plan?",
  "models.claudePlan.body":
    "Anthropic does not allow Claude subscriptions to sign in to third-party apps, so Claude uses an API key here. Plans such as Max and Team include monthly API credit: link a Claude Console organization in your claude.ai billing settings, then create an API key in the Console and paste it below. Anthropic's page has the current amounts.",
  "models.claudePlan.link": "Read Anthropic's guide",
  "chatgpt.title": "ChatGPT plan",
  "chatgpt.intro":
    "Run OpenAI models on your ChatGPT plan (Go, Plus, Pro, Business), no API key needed. An OpenAI API key, if you have one, stays usable alongside it.",
  "chatgpt.continue": "Continue with ChatGPT",
  "chatgpt.codex.title": "ChatGPT (Codex sign-in)",
  "chatgpt.codex.intro":
    'Also runs on your ChatGPT plan, but signs in as the Codex command-line tool. Works with any account that can use ChatGPT on the web. Try "ChatGPT plan" above first; use this one if it says your account isn\'t eligible.',
  "chatgpt.codex.firstUse":
    "You sign in on OpenAI's page, but Pi Bot signs in as the Codex command-line tool. This isn't OpenAI's route for third-party apps, and OpenAI may restrict it later. Afterwards, conversations of Bots that use it go straight to OpenAI and count toward your ChatGPT plan's usage; no other server is involved. Sign-in tokens are stored encrypted on this computer only, and you can disconnect at any time.",
  "chatgpt.openSource": "Available in the open-source release",
  "chatgpt.openSourceNote":
    "This build cannot sign in with a ChatGPT plan yet; it comes with Pi Bot's open-source release. You can use an OpenAI API key now.",
  "chatgpt.firstUse.title": "You're using your ChatGPT plan",
  "chatgpt.firstUse.body":
    "You sign in on OpenAI's page. Afterwards, conversations of Bots that use this plan go straight to OpenAI and count toward your ChatGPT plan's usage; no other server is involved. Sign-in tokens are stored encrypted on this computer only. You can set a usage limit for Pi Bot in ChatGPT settings or disconnect at any time.",
  "chatgpt.firstUse.confirm": "Got it, continue",
  "chatgpt.browser": "Finish signing in in your browser.",
  "chatgpt.manual": "Browser says \"can't be reached\", or didn't return to Pi Bot?",
  "chatgpt.manualHint":
    "After you sign in, the browser opens an address starting with http://127.0.0.1. If that page doesn't load (for example Pi Bot runs in a virtual machine or a remote desktop and the link opened in another computer's browser), copy the full address from the browser's address bar and paste it here.",
  "chatgpt.manualField": "Full address from the browser's address bar",
  "chatgpt.manualSubmit": "Finish sign-in",
  "chatgpt.signedIn": "Signed in as {account}",
  "chatgpt.signedInNoAccount": "Signed in to ChatGPT",
  "chatgpt.manageUsage": "Manage usage",
  "chatgpt.disconnect": "Disconnect",
  "chatgpt.reauth": "Your ChatGPT sign-in has expired. Sign in again.",
  "chatgpt.limit.title": "Usage limit reached",
  "chatgpt.limit.body":
    "Your ChatGPT plan's usage is used up for now. Manage usage in ChatGPT, or give the Bot an OpenAI (API key) model in its settings to continue.",
  "chatgpt.error.account_mismatch":
    "This ChatGPT account is not the one registered on this computer. Sign in with that account, or disconnect first to switch accounts.",
  "chatgpt.error.verification_failed":
    "OpenAI's sign-in response could not be verified, so this sign-in was refused.",
  "chatgpt.error.cancelled": "Sign-in was cancelled.",
  "chatgpt.error.timeout": "Sign-in timed out. Try again.",
  "chatgpt.error.network": "Couldn't reach OpenAI. Check your network and try again.",
  "chatgpt.error.auth_failed": "OpenAI did not complete the authorization. Try again.",
  "chatgpt.error.internal": "Sign-in failed. Try again.",
  "auth.method": "Authentication",
  "auth.active": "Currently selected",
  "auth.use": "Use this authentication",
  "auth.mode.keys": "Access keys",
  "auth.mode.profile": "Static AWS profile",
  "auth.mode.serviceAccount": "Service account JSON",
  "auth.mode.adc": "Local ADC",
  "auth.region": "Region",
  "auth.profile": "Profile name",
  "auth.accessKeyId": "Access Key ID",
  "auth.secretAccessKey": "Secret Access Key",
  "auth.sessionToken": "Session Token (optional)",
  "auth.project": "Project ID",
  "auth.location": "Location",
  "auth.json": "Service account JSON",
  "auth.jsonFile": "Choose JSON file",
  "auth.endpoint": "Endpoint",
  "auth.apiVersion": "API version",
  "auth.deployments": "Deployment mapping (JSON: model → deployment)",
  "auth.accountId": "Account ID",
  "auth.gatewayId": "Gateway ID",
  "auth.apiToken": "API Token",
  "auth.identityNote":
    "Only an explicit selection and save reads a static AWS profile or service_account / authorized_user ADC. An encrypted snapshot is then used. SSO, roles, metadata, and credential_process are unsupported.",
  "auth.cloudNote":
    "Secrets are encrypted and never shown again. Enter all credentials when replacing them. Vertex JSON is validated and compacted without plaintext temporary files.",
  "auth.state.disconnected": "Disconnected",
  "auth.state.connecting": "Signing in",
  "auth.state.connected": "Connected",
  "auth.state.reauthRequired": "Sign in again",
  "auth.state.error": "Sign-in failed; retry",
  "models.groupShort.common": "Popular",
  "models.groupShort.cn": "China",
  "models.groupShort.gateway": "Gateways",
  "models.groupShort.cloud": "Cloud",
  "models.groupShort.fast": "Fast",
  "models.groupShort.local": "Local",
  "models.groupShort.all": "All",
  "models.groupShort.subscription": "Subscriptions",
  "welcome.model.connect": "Other providers",
  "welcome.model.connectNote": "Connect with an API key, cloud credentials or a custom URL.",
  "setup.discardProvider":
    "Discard unsaved configuration and leave? Accepted saves cannot be withdrawn this way.",
  "setup.useLocal": "Configure this local model",
  "setup.onboardingProviderNote": "Configure a provider, then choose the text model Pi will use.",
  "setup.retryModelConfirmation": "Retry Pi model confirmation",
  "setup.installHint": "Open these installation instructions in your system browser:",
  "setup.custom.editNote": "Empty key and header inputs preserve saved credentials.",
  "setup.keyUnchanged": "Saved; leave empty to keep unchanged",
  "setup.savedHeaders": "Saved headers: {names} (values are hidden)",
  "setup.savedHeadersWithoutNames": "Headers saved (values are hidden)",
  "setup.replaceHeaders":
    "Entering headers replaces all saved headers. Provide the complete set of names and values.",
  "setup.saveBeforeDiscovery":
    "The URL, interface or some credentials have changed. Save first to fetch models with saved credentials, or provide the complete key and headers here.",
  "setup.headersNote":
    "Header values are never shown after saving. Empty inputs preserve existing headers; select clear to remove saved headers.",
  "setup.clearHeaders": "Clear saved headers",
  "setup.remove": "Remove configuration",
  "setup.confirmRemove": "Confirm removal",
  "setup.catalogNote": "{count} built-in providers, or connect local models and your own gateway.",
  "setup.noModels": "This provider has no available models. Check its configuration.",
  "setup.chooseProvider": "Choose a provider",
  "setup.chooseModel": "Choose a model",
  "setup.customLabel": "Custom (gateway / proxy)",
  "setup.nameRequired": "Enter complete connection details and select at least one model.",
  "setup.ollama": "Ollama",
  "setup.lmstudio": "LM Studio",
  "setup.vllm": "vLLM",
  "setup.api": "API Key",
  "setup.headerRemove": "Remove header",
  "setup.modelRemove": "Remove model",
  "setup.preview": "Hi, I’m Pi",
  "setup.modelSaved": "Default model updated",
  "models.configured": "Configured providers",
  "models.noConfigured":
    "No providers configured yet. Add an API key or connect a local model to start chatting.",
  "models.catalog": "Add a provider",
  "models.search": "Search providers",
  "models.noResults": "No matching providers",
  "models.providerSettings": "Provider settings",
  "models.provider": "Provider",
  "models.model": "Model",
  "models.refreshCatalog": "Refresh model list",
  "models.catalogRefreshed": "OpenRouter catalog updated: {count} models.",
  "models.catalogRefreshFailed":
    "Could not refresh models. The previous list is preserved. Check your connection and retry.",
  "models.catalogRefreshHelp":
    "Fetch the latest public OpenRouter catalog for all model selectors. Failures preserve the previous list; active runs keep their model.",
  "models.modelCount": "Models: {count}",
  "models.notSetUp": "Not set up yet",
  "models.group.all": "All",
  "models.group.common": "Popular",
  "models.group.cn": "Chinese providers",
  "models.group.gateway": "Aggregators & gateways",
  "models.group.cloud": "Cloud providers",
  "models.group.fast": "Fast inference",
  "models.group.local": "Local & custom",
  "models.group.other": "Other",
  "models.group.subscription": "Subscriptions",
  "models.auth.oauth": "Account sign-in",
  "models.auth.apiKey": "API key",
  "models.auth.cloud": "Cloud credentials",
  "models.auth.custom": "Custom endpoint",
  "models.apiKey": "API key",
  "models.pasteKey": "Paste your API key",
  "models.keyNote":
    "Your key is encrypted using this computer’s system secret store and is never shown again. Paste a new key to replace it.",
  "models.keyNoteShort": "Encrypted on this computer and never shown again.",
  "models.keySaved": "Saved · ends in {hint}",
  "models.notConfigured": "Not configured",
  "models.envDetected": "Environment variable detected: {name}",
  "models.import": "Import",
  "models.source.manual": "Entered manually",
  "models.source.env": "Imported from an environment variable",
  "models.saveAndTest": "Save & test",
  "models.test": "Test connection",
  "models.testing": "Testing connection…",
  "models.testSuccess": "Connected · models: {count}",
  "models.testFailed": "Connection failed: {reason}",
  "models.removeConfirm":
    "Delete the configuration for {provider}? Its models will be unavailable until you configure it again.",
  "models.keyInvalid":
    "The key must not be empty, contain line breaks or surrounding whitespace, or start with !.",
  "models.secretStoreTemporary":
    "The system key store is temporarily unavailable. Try again shortly.",
  "models.noSecretStore":
    "This computer has no system secret store. API keys cannot be saved securely.",
  "models.cloudSoon": "Cloud credentials will be supported in a future release.",
  "models.custom.add": "Add custom provider",
  "models.custom.name": "Name",
  "models.custom.namePlaceholder": "For example: Local Ollama",
  "models.custom.baseUrl": "Base URL",
  "models.custom.baseUrlHint":
    "Enter the service URL and choose an API. OpenAI adds /v1 unless the path already contains a version segment or ends in /openapi. Google adds /v1beta; an existing final version is kept. Anthropic adds /v1 and supports only that version; other versions cannot list models or chat.",
  "models.custom.api": "API format",
  "models.custom.api.openai-completions": "OpenAI Chat Completions",
  "models.custom.api.openai-responses": "OpenAI Responses",
  "models.custom.api.anthropic-messages": "Anthropic Messages",
  "models.custom.api.google-generative-ai": "Google Generative AI",
  "models.custom.key": "API key (optional for local models)",
  "models.custom.headers": "Custom headers",
  "models.custom.addHeader": "Add header",
  "models.custom.headerName": "Header name",
  "models.custom.headerValue": "Header value",
  "models.custom.fetchModels": "Fetch models",
  "models.custom.fetchingModels": "Fetching models…",
  "models.custom.noModels": "No models found. You can add one manually.",
  "models.custom.fetchError": "Couldn’t fetch models. Check the URL and connection.",
  "models.custom.addModel": "Add model manually",
  "models.custom.modelId": "Model ID",
  "models.custom.contextWindow": "Context window (tokens)",
  "models.custom.modelName": "Model display name",
  "models.custom.selectModels": "Select models",
  "models.custom.maxTokens": "Maximum output tokens",
  "models.custom.inferred": "Auto-detected from {source}",
  "models.custom.manual": "Manual settings",
  "models.custom.provider": "Saved from provider feedback",
  "models.custom.family": "Inferred from the {family} model family; you can edit it.",
  "models.custom.unrecognized": "Unrecognized; using defaults. You can edit them manually.",
  "models.custom.resetCapabilities": "Restore auto-detection",
  "models.custom.resolveError":
    "Model capability detection failed. Retry or set capabilities manually.",
  "models.custom.compat": "Compatibility options",
  "models.custom.systemRole": "Use the system role instead of developer",
  "models.custom.noThinking": "Don’t send the reasoning effort parameter",
  "models.custom.invalid": "Check the name, URL, headers, and model configuration.",
  "models.defaultModel": "Default model",
  "models.auxiliaryModel": "Auxiliary model",
  "models.auxiliaryFollow": "Follow main model",
  "models.auxiliaryNote":
    "Used for context compaction, handoffs, translation, personas, drafts and web page extraction. Defaults to the current Bot’s main model, which is also used if the selected model is unavailable; web page extraction only uses a selected auxiliary model, and without one pages go to the main model as full text. These operations send the relevant conversation content (for page extraction, the page text and the Bot's question) to the selected model's provider.",
  "models.auxiliaryUnavailable":
    "The selected auxiliary model is unavailable. Auxiliary operations will use their respective main models.",
  "models.auxiliarySaved": "Auxiliary model updated",
  "models.defaultNote":
    "New Bots and imported team Bots use this default; each Bot can be changed separately in its own profile.",
  "models.groups": "Provider groups",
  "models.backToProviders": "Back to providers",
  "models.selectModel": "Choose a configured model",
  "models.contextWindow": "Context window: {count} tokens",
  "models.images": "Supports images",
  "models.reasoning": "Supports reasoning",
  "models.unknownPrice": "Unknown",
  "models.thinking": "Reasoning effort",
  "models.thinking.off": "Off",
  "models.thinking.low": "Low",
  "models.thinking.medium": "Medium",
  "models.thinking.high": "High",
};