Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

15.9 KB
Raw Blame
export const en = {
  nav: 'Models',
  deepSeekAccount: 'DeepSeek Account',
  title: 'Models',
  intro: 'Enter your API keys to use models from the following providers.',
  edit: 'Edit',
  editProvider: 'Edit {provider}',
  remove: 'Delete',
  removeProvider: 'Delete {provider}',
  deleteTitle: 'Delete {provider}?',
  deleteDescription: 'Deleting {provider} removes its configuration. Any credential it uses is managed elsewhere and will be kept.',
  deleteDescriptionWithCredential: 'Deleting {provider} removes its configuration and stored API key.',
  deleteConfirm: 'Delete {provider}',
  deleting: 'Deleting {provider}…',
  add: 'Add model provider',
  addMode: 'How to add',
  addCatalog: 'Third-party model provider',
  addCustom: 'Custom model API',
  addCatalogHint: 'Pick OpenAI, Anthropic, Kimi, or another provider from the built-in catalog and enter its API key.',
  addCustomHint: 'Connect a relay, a self-hosted server, or any other OpenAI- or Anthropic-compatible endpoint by its base URL, protocol, and models.',
  addCatalogExhausted: 'Every catalog provider is already configured.',
  addCustomUnavailable: 'No API protocol is available to declare.',
  provider: 'Provider',
  close: 'Close',
  cancel: 'Cancel',
  apply: 'Apply',
  applying: 'Applying…',
  savedProvider: 'Saved {provider}.',
  credentialConfigured: 'API key configured',
  credentialMissing: 'API key missing',
  readOnly: 'The settings document is read-only in this deployment.',
  loadFailed: 'Loading the provider directory failed',
  conflict: 'Someone else changed these settings while this card was open. Close it and reopen to edit the current values.',
  retry: 'Retry',
  keyInput: 'API key',
  keyPlaceholder: 'Enter your API key',
  keyPlaceholderNative: 'Enter an API key, or leave blank to use environment authentication',
  keyStored: 'Configured — enter a new value to replace',
  keyEnvLocked: 'Provided by the launch environment (read-only)',
  customized: 'Customized settings',
  baseUrl: 'Base URL',
  baseUrlDefault: 'Provider default',
  deepSeekBaseUrl: 'https://api.deepseek.com/anthropic',
  deepSeekEndpointHint: 'Use an API endpoint compatible with Anthropic Messages.',
  models: 'Models',
  modelsInherited: 'Using the adapter defaults',
  modelsCustomized: 'Customized model catalog',
  resetModels: 'Restore defaults',
  model: 'Model',
  modelId: 'Model ID',
  modelName: 'Display name',
  modelNamePlaceholder: 'Uses the model ID when empty',
  contextWindow: 'Context window',
  contextWindowPlaceholder: 'Uses the provider default',
  maxTokens: 'Max output tokens',
  maxTokensPlaceholder: 'Uses the provider default',
  modelAdvanced: 'Model options',
  modelInputTypes: 'Input types',
  modelInputText: 'Text',
  modelInputImage: 'Image',
  addModel: 'Add model',
  removeModel: 'Delete model',
  modelsEmpty: 'No models will be shown in the selector. Unlisted IDs can still be sent directly.',
  keyBlank: 'Enter the API key, or leave the field empty to keep the stored one.',
  keyBlankNew: 'Enter the API key, or leave the field empty if this provider authenticates another way.',
  keyIllegalCharacters: 'This API key is not in a valid format. Please check it.',
  modelIdRequired: 'Model ID is required.',
  modelIdDuplicate: 'Model ID must be unique.',
  modelNameInvalid: 'Display name cannot be empty.',
  modelContextInvalid: 'Context window must be a positive count, like 131072, 256K, or 1M.',
  modelMaxTokensInvalid: 'Max output tokens must be a positive count, like 8192, 64K, or 1M.',
  advancedHint: 'Other fields live in cordis.patch.yml; edit that section directly.',
  modelCapacityInvalid: 'A capacity must be a number, optionally suffixed K or M.',
  modelDuplicate: 'Each model ID may appear once.',
  requestHeaders: 'Custom request headers',
  requestHeadersHint: 'One header per line, in Name: Value form. Lines starting with # are ignored. The harness still owns the attribution header.',
  requestHeadersPlaceholder: 'X-Organization: team-a',
  requestHeadersProbeHint: 'Save the provider before fetching models: the harness only replays saved headers.',
  headerNameInvalid: 'A header name must be an HTTP token, like X-Organization.',
  headerValueInvalid: 'A header value must stay on one line and use printable ASCII.',
  headerNameDuplicate: 'Each header name may appear once.',
  fetchModels: 'Fetch available models',
  fetching: 'Asking the provider\u2026',
  fetchNeedsBaseUrl: 'Enter the base URL first, then fetch.',
  fetchEmpty: 'The provider listed no models. Add them by hand.',
  fetchTitle: 'Choose models to add',
  fetchDescription: 'These are the models this provider has available. Choose the ones to add.',
  fetchSearch: 'Search models',
  fetchNoMatches: 'No matching models.',
  fetchSelectAll: 'Select all',
  fetchDeselectAll: 'Deselect all',
  fetchAdopt: 'Add selected',
  customTag: 'Custom',
  customRoute: 'Provider ID',
  customRouteHint: 'Lowercase identifier, starting with a letter, that uniquely names this provider in requests and as its credential name.',
  customRouteInvalid: 'Start with a lowercase letter; then lowercase letters, digits, and dashes.',
  customRouteTaken: 'A provider already uses this ID.',
  customDisplayName: 'Display name',
  customApi: 'API protocol',
  customApiUnset: 'Not selected',
  protocolOpenAiCompletions: 'OpenAI Chat Completions',
  protocolOpenAiResponses: 'OpenAI Responses',
  protocolAnthropicMessages: 'Anthropic Messages',
  customNeedsBaseUrl: 'A custom provider needs a base URL.',
  customBaseUrlInvalid: 'Enter a valid HTTP or HTTPS URL.',
  customNeedsModels: 'A custom provider needs at least one model.',
  customBaseUrlPlaceholder: 'https://gateway.example/v1',
  customAnthropicBaseUrlPlaceholder: 'https://gateway.example',
  settingsPathUnresolvable: 'unresolvable settings path',
  create: 'Create provider',
  creating: 'Creating\u2026',
  welcomeTitle: 'Internal Testing Notice',
  welcomeBody: 'DeepSeek Harness 0.1 remains in testing for Harness developers. Many areas need further improvement, and we welcome feedback from the developer community. DeepSeek Harness\'s core plugins and foundational APIs will continue to evolve rapidly over the coming months.\n\nWe look forward to exploring the limits of intelligence with developers around the world, building on open-source, open, reusable, and composable infrastructure. We welcome Harness developers everywhere to join the DSH plugin ecosystem.',
  welcomeContinue: 'Continue',
  welcomeError: 'The acknowledgement could not be saved. Please try again.',
  onboardingTitle: 'Add an API key to get started',
  onboardingDescription: 'Configure the official DeepSeek provider to start building.',
  onboardingLater: 'Configure later',
  onboardingSave: 'Save and continue',
  onboardingSaving: 'Saving…',
  keyRequired: 'Enter an API key to continue.',
  openConfigFile: 'Open config file',
  defaultApplication: 'System default app',
  autoConfigureModels: 'Configure all models',
  autoConfigureModelsHint: 'Fill in limits from the endpoint and image/thinking capabilities from the model capability table for every listed model',
  fetchModelConfig: 'Fetch config',
  fetchModelConfigHint: 'Fill in this model\'s limits from the endpoint and its image/thinking capabilities from the model capability table',
  fetchingConfig: 'Fetching…',
  configUnreachable: 'Could not read the model list: {detail}',
  configNoneApplied: 'Neither the endpoint nor the capability table had anything to write for these models.',
  configApplied: 'Configured {n} model(s).',
  configUndisclosed: '{n} model(s) were not disclosed by the endpoint.',
  thinkingMode: 'Thinking mode',
  thinkingLevels: 'Thinking depth',
  thinkingModeHint: 'Declare whether this model thinks, then tick the levels it offers',
  developerRole: 'Disable developer role',
  developerRoleHint: 'Turn this on for an endpoint that rejects the developer role: system prompts stay system, and the effort travels through chat_template_kwargs; writes compat supportsDeveloperRole=false, thinkingFormat=chat-template and chatTemplateKwargs.reasoning_effort={$var: thinking.effort}',
}

export type ModelsKey = keyof typeof en

export const zh: { [Key in keyof typeof en]: string } = {
  nav: '模型',
  deepSeekAccount: 'DeepSeek 账号',
  title: '模型',
  intro: '填入各提供商的 API 密钥即可使用其模型。',
  edit: '编辑',
  editProvider: '编辑 {provider}',
  remove: '删除',
  removeProvider: '删除 {provider}',
  deleteTitle: '删除 {provider}?',
  deleteDescription: '删除 {provider} 会移除其配置;其使用的凭证(如有)由其他位置管理,将会保留。',
  deleteDescriptionWithCredential: '删除 {provider} 会移除其配置和存储的 API 密钥。',
  deleteConfirm: '删除 {provider}',
  deleting: '正在删除 {provider}…',
  add: '添加模型提供商',
  addMode: '添加方式',
  addCatalog: '第三方模型提供商',
  addCustom: '自定义模型 API',
  addCatalogHint: '从内置目录中选择 OpenAI、Anthropic、Kimi 等提供商,填入其 API 密钥即可使用。',
  addCustomHint: '连接中转站、自部署服务或其他兼容 OpenAI / Anthropic 协议的接口,需填写 API 地址、协议和模型。',
  addCatalogExhausted: '目录中的提供商都已添加。',
  addCustomUnavailable: '没有可用的 API 协议。',
  provider: '提供商',
  close: '关闭',
  cancel: '取消',
  apply: '保存',
  applying: '保存中…',
  savedProvider: '已保存 {provider}。',
  credentialConfigured: 'API 密钥已配置',
  credentialMissing: 'API 密钥缺失',
  readOnly: '当前部署的设置文档为只读。',
  loadFailed: '加载提供商目录失败',
  conflict: '这张卡片打开期间,这些设置已被其他地方改动。请关闭后重新打开,在当前值上编辑。',
  retry: '重试',
  keyInput: 'API 密钥',
  keyPlaceholder: '输入 API 密钥',
  keyPlaceholderNative: '输入 API 密钥,或留空使用环境认证',
  keyStored: '已配置——输入新值可替换',
  keyEnvLocked: '由启动环境提供(只读)',
  customized: '自定义设置',
  baseUrl: 'API 地址',
  baseUrlDefault: '提供商默认',
  deepSeekBaseUrl: 'https://api.deepseek.com/anthropic',
  deepSeekEndpointHint: '请填写兼容 Anthropic Messages 协议的 API 地址。',
  models: '模型目录',
  modelsInherited: '正在使用适配器默认模型',
  modelsCustomized: '已自定义模型目录',
  resetModels: '恢复默认模型',
  model: '模型',
  modelId: '模型 ID',
  modelName: '显示名称',
  modelNamePlaceholder: '留空时使用模型 ID',
  contextWindow: '上下文窗口',
  contextWindowPlaceholder: '使用提供商默认值',
  maxTokens: '最大输出 token 数',
  maxTokensPlaceholder: '使用提供商默认值',
  modelAdvanced: '模型选项',
  modelInputTypes: '输入类型',
  modelInputText: '文本',
  modelInputImage: '图片',
  addModel: '添加模型',
  removeModel: '删除模型',
  modelsEmpty: '模型选择器中将不显示任何模型;目录外 ID 仍可直接发送。',
  keyBlank: '请输入 API 密钥;留空则保持已存储的密钥。',
  keyBlankNew: '请输入 API 密钥;若该提供商以其他方式鉴权,可以留空。',
  keyIllegalCharacters: '该 API 密钥格式错误,请检查。',
  modelIdRequired: '模型 ID 不能为空。',
  modelIdDuplicate: '模型 ID 不能重复。',
  modelNameInvalid: '显示名称不能为空。',
  modelContextInvalid: '上下文窗口必须是正数,例如 131072、256K 或 1M。',
  modelMaxTokensInvalid: '最大输出 token 数必须是正数,例如 8192、64K 或 1M。',
  advancedHint: '其余字段在 cordis.patch.yml 中,请直接编辑对应段。',
  modelCapacityInvalid: '容量需为数字,可加 K 或 M 后缀。',
  modelDuplicate: '每个模型 ID 只能出现一次。',
  requestHeaders: '自定义请求头',
  requestHeadersHint: '每行一个请求头,格式为「名称: 值」;以 # 开头的行会被忽略。归属标识请求头仍由内核接管。',
  requestHeadersPlaceholder: 'X-Organization: team-a',
  requestHeadersProbeHint: '请先保存提供商再获取模型:内核只会带上已保存的请求头。',
  headerNameInvalid: '请求头名称必须是合法 HTTP 记号,例如 X-Organization。',
  headerValueInvalid: '请求头值必须为单行可打印 ASCII 字符。',
  headerNameDuplicate: '同一个请求头名称只能出现一次。',
  fetchModels: '获取可用模型',
  fetching: '正在询问提供商\u2026',
  fetchNeedsBaseUrl: '请先填写 API 地址,再获取。',
  fetchEmpty: '该提供商没有列出任何模型,请手动添加。',
  fetchTitle: '选择要添加的模型',
  fetchDescription: '以下是模型提供商的可用模型,勾选要添加的模型。',
  fetchSearch: '搜索模型',
  fetchNoMatches: '没有匹配的模型。',
  fetchSelectAll: '全选',
  fetchDeselectAll: '取消全选',
  fetchAdopt: '添加所选',
  customTag: '自定义',
  customRoute: 'Provider ID',
  customRouteHint: '以小写字母开头的标识,在请求中唯一标识该提供商,并用于派生凭据名。',
  customRouteInvalid: '需以小写字母开头,之后可用小写字母、数字和短横线。',
  customRouteTaken: '已有提供商使用了这个 ID。',
  customDisplayName: '显示名称',
  customApi: 'API 协议',
  customApiUnset: '未选择',
  protocolOpenAiCompletions: 'OpenAI Chat Completions',
  protocolOpenAiResponses: 'OpenAI Responses',
  protocolAnthropicMessages: 'Anthropic Messages',
  customNeedsBaseUrl: '自定义模型 API 需要填写 API 地址。',
  customBaseUrlInvalid: '请输入有效的 HTTP 或 HTTPS 地址。',
  customNeedsModels: '自定义模型 API 至少需要一个模型。',
  customBaseUrlPlaceholder: 'https://gateway.example/v1',
  customAnthropicBaseUrlPlaceholder: 'https://gateway.example',
  settingsPathUnresolvable: '无法解析设置路径',
  create: '创建提供商',
  creating: '创建中\u2026',
  welcomeTitle: '内测声明',
  welcomeBody: 'DeepSeek Harness 目前的 0.1 版本仍处在面向 Harness 开发者进行测试的阶段,还有许多地方需要持续改进和打磨,希望听取广大开发者的反馈建议。预计 DeepSeek Harness 的核心插件以及基础 API 都会在接下来的一段时间内快速迭代、持续演化。\n\n我们期待与全球开发者一起,在开源、开放、可复用、可组合的基础设施之上,共同探索智能上限。欢迎全球 Harness 开发者加入 DSH 插件生态。',
  welcomeContinue: '继续',
  welcomeError: '暂时无法保存确认状态,请重试。',
  onboardingTitle: '添加一个 API Key 开始使用',
  onboardingDescription: '配置 DeepSeek 官方模型,即可开始使用。',
  onboardingLater: '稍后配置',
  onboardingSave: '保存并继续',
  onboardingSaving: '保存中…',
  keyRequired: '请输入 API 密钥后继续。',
  openConfigFile: '打开配置文件',
  defaultApplication: '系统默认应用',
  autoConfigureModels: '自动配置所有模型',
  autoConfigureModelsHint: '为列表中每个模型从端点读取上限,并按模型能力表补齐图片与思考档位',
  fetchModelConfig: '获取配置',
  fetchModelConfigHint: '从提供方端点读取该模型的上下文与输出上限,并按模型能力表补齐图片与思考档位',
  fetchingConfig: '获取中…',
  configUnreachable: '无法读取模型列表:{detail}',
  configNoneApplied: '端点与模型能力表都没有为这些模型提供可写入的配置。',
  configApplied: '已配置 {n} 个模型。',
  configUndisclosed: '{n} 个模型未被端点披露。',
  thinkingMode: '思考模式',
  thinkingLevels: '思考深度',
  thinkingModeHint: '声明该模型是否支持思考,并勾选它提供的档位',
  developerRole: '关闭 Developer 角色',
  developerRoleHint: '端点是本地部署这类不认 developer 角色时打开:系统提示保持 system,思考档位改从 chat_template_kwargs 下发;开启后写入 compat:supportsDeveloperRole=false、thinkingFormat=chat-template、chatTemplateKwargs.reasoning_effort={$var: thinking.effort}',
}