79 lines
3.1 KiB
TypeScript
79 lines
3.1 KiB
TypeScript
/** Copy dictionaries for the Models settings section. */
|
|
|
|
/** English strings (the key-set source of truth for this pair). */
|
|
export const en = {
|
|
nav: 'Models',
|
|
title: 'Models',
|
|
intro: 'Enter your API keys to use models from the following providers.',
|
|
edit: 'Edit',
|
|
remove: 'Delete',
|
|
deleteTitle: 'Delete model provider?',
|
|
deleteDescription: 'Deleting this model provider removes its configuration. You will not be able to use its models until you add the provider again.',
|
|
deleteConfirm: 'Delete provider',
|
|
deleting: 'Deleting provider…',
|
|
add: 'Add provider',
|
|
provider: 'Provider',
|
|
close: 'Close',
|
|
cancel: 'Cancel',
|
|
apply: 'Apply',
|
|
applying: 'Applying…',
|
|
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',
|
|
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',
|
|
effort: 'Reasoning effort',
|
|
effortInherit: 'Default',
|
|
advancedHint: 'Other fields live in settings.yaml; edit that section directly.',
|
|
onboardingTitle: 'Add an API key to get started',
|
|
onboardingDescription: 'Configure the official DeepSeek provider to start building.',
|
|
onboardingGoToSettings: 'Go to settings',
|
|
onboardingLater: 'Configure later',
|
|
}
|
|
|
|
/** The settings.models namespace key union. */
|
|
export type ModelsKey = keyof typeof en
|
|
|
|
/** Chinese strings (same keys as {@link en}). */
|
|
export const zh: typeof en = {
|
|
nav: '模型',
|
|
title: '模型',
|
|
intro: '填入各提供方的 API 密钥即可使用其模型。',
|
|
edit: '编辑',
|
|
remove: '删除',
|
|
deleteTitle: '删除模型提供方?',
|
|
deleteDescription: '删除此模型提供方会移除其配置。在重新添加前,你将无法继续使用其模型。',
|
|
deleteConfirm: '删除提供方',
|
|
deleting: '正在删除提供方…',
|
|
add: '添加提供方',
|
|
provider: '提供方',
|
|
close: '关闭',
|
|
cancel: '取消',
|
|
apply: '保存',
|
|
applying: '保存中…',
|
|
readOnly: '当前部署的设置文档为只读。',
|
|
loadFailed: '加载提供方目录失败',
|
|
conflict: '这张卡片打开期间,这些设置已被其他地方改动。请关闭后重新打开,在当前值上编辑。',
|
|
retry: '重试',
|
|
keyInput: 'API 密钥',
|
|
keyPlaceholder: '输入 API 密钥',
|
|
keyStored: '已配置——输入新值可替换',
|
|
keyEnvLocked: '由启动环境提供(只读)',
|
|
customized: '自定义设置',
|
|
baseUrl: 'API 地址',
|
|
baseUrlDefault: '提供方默认',
|
|
effort: '推理强度',
|
|
effortInherit: '默认',
|
|
advancedHint: '其余字段在 settings.yaml 中,请直接编辑对应段。',
|
|
onboardingTitle: '添加一个 API Key 开始使用',
|
|
onboardingDescription: '配置 DeepSeek 官方模型,即可开始使用。',
|
|
onboardingGoToSettings: '前往配置',
|
|
onboardingLater: '稍后配置',
|
|
}
|