Fast, accurate OCR with correctness assessment.
import type { TranslationShape } from '../types';
const zhCN = {
title: '模型列表',
searchPlaceholder: '搜索模型名称',
noModels: '暂无可用模型',
noModelsDescription: '当前没有向你的账号开放的模型。',
model: '模型',
capabilities: '能力支持',
inputModalities: '输入模态',
contextWindow: '上下文窗口',
parameterCount: '参数量',
inputPrice: '输入价格(积分/1M)',
outputPrice: '输出价格(积分/1M)',
limitedFree: '限时免费',
unlimited: '不限制',
integrate: '接入',
quickIntegration: '快捷 API 接入',
close: '关闭',
getApiKey: '获取 API Key',
apiKeyDescription: 'API Key 是访问平台模型服务的凭证,请妥善保管。',
noAvailableKey: '当前还没有可用的 API Key',
noAvailableKeyDescription: '前往 API Keys 页创建后再回来接入',
goCreateKey: '去创建 API Key',
createKey: '创建 API Key',
selected: '已选择',
select: '选择使用',
quickTest: '快速接入测试',
selectedKey: '已选用 Key {{name}},示例代码已填充模型 ID{{realKeySuffix}},可一键复制调用。',
selectedRealtimeKey: '已选用 Key {{name}},实时示例通过环境变量读取密钥,不会把明文写入代码。',
realKeySuffix: ' 与真实 Key',
exampleContainsSecret: '示例已填入该 Key 的完整明文,请妥善保管,避免泄露到公开渠道。',
examplePlaceholder:
'示例中的 YOUR_API_KEY 为占位符。该 Key 创建较早,无法回显明文;请替换为创建时保存的完整 Key 或重新生成。',
examplePlaceholderPrefix: '示例中的',
realtimeKeySafetyNote:
'实时接入示例不会回显 API Key。请将密钥保存为 MODELBEST_API_KEY,再运行示例;生产浏览器场景请使用服务端代理。',
createAndSelectKey: '请先在第 1 步创建并选择一个 API Key。',
noProtocols: '该模型未定义接入协议,请联系管理员配置后再使用快捷接入。',
copy: '复制',
exampleLanguage: '代码语言',
browserDebug: '浏览器(调试)',
copied: '已复制到剪贴板',
copyFailed: '复制失败,请手动选择文本',
deepThinking: '深度思考',
vision: '视觉理解',
streaming: '流式输出',
functionCall: 'Function Calling',
contextCache: '上下文缓存',
speechSynthesis: '语音合成',
realtimeDialog: '实时对话',
documentParse: '文档解析',
text: '文本',
image: '图像',
video: '视频',
audio: '音频',
file: '文件',
} as const;
const enUS = {
title: 'Models',
searchPlaceholder: 'Search models',
noModels: 'No Models available',
noModelsDescription: 'No Models are currently available to your account.',
model: 'Model',
capabilities: 'Capabilities',
inputModalities: 'Input modalities',
contextWindow: 'Context window',
parameterCount: 'Parameters',
inputPrice: 'Input price (credits / 1M)',
outputPrice: 'Output price (credits / 1M)',
limitedFree: 'Limited-time free access',
unlimited: 'Unlimited',
integrate: 'Integrate',
quickIntegration: 'Quick API integration',
close: 'Close',
getApiKey: 'Get an API Key',
apiKeyDescription: 'An API Key authenticates access to platform model services. Keep it secure.',
noAvailableKey: 'No active API Key is available',
noAvailableKeyDescription:
'Create an API Key from the API Keys page, then return here to integrate.',
goCreateKey: 'Create an API Key',
createKey: 'Create API Key',
selected: 'Selected',
select: 'Use this key',
quickTest: 'Quick integration test',
selectedKey:
'Using API Key {{name}}. The code sample includes the model ID{{realKeySuffix}} and is ready to copy.',
selectedRealtimeKey:
'Using API Key {{name}}. Realtime examples read the secret from an environment variable and never embed it in source code.',
realKeySuffix: ' and the full API Key',
exampleContainsSecret:
'The sample includes this API Key in plaintext. Keep it secure and never expose it in a public channel.',
examplePlaceholder:
'YOUR_API_KEY is a placeholder. This older API Key cannot be displayed in plaintext; replace it with the saved key or rotate it.',
examplePlaceholderPrefix: 'The sample uses',
realtimeKeySafetyNote:
'Realtime examples do not reveal the API Key. Save it as MODELBEST_API_KEY before running; use a server-side proxy for production browser apps.',
createAndSelectKey: 'Create and select an API Key in Step 1 first.',
noProtocols:
'This model has no integration protocol configured. Ask an administrator to configure it.',
copy: 'Copy',
exampleLanguage: 'Code language',
browserDebug: 'Browser (debug)',
copied: 'Copied to clipboard',
copyFailed: 'Could not copy. Select the text manually.',
deepThinking: 'Deep reasoning',
vision: 'Vision',
streaming: 'Streaming',
functionCall: 'Function Calling',
contextCache: 'Context caching',
speechSynthesis: 'Speech synthesis',
realtimeDialog: 'Realtime conversation',
documentParse: 'Document parsing',
text: 'Text',
image: 'Image',
video: 'Video',
audio: 'Audio',
file: 'File',
} satisfies TranslationShape<typeof zhCN>;
/** 门户模型目录与接入引导的双语资源。 */
export const modelsMessages = {
'zh-CN': zhCN,
'en-US': enUS,
} as const;