mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
245 lines
10 KiB
JSON
245 lines
10 KiB
JSON
{
|
||
"header": {
|
||
"home": "首页",
|
||
"channel": "渠道",
|
||
"token": "令牌",
|
||
"redemption": "兑换",
|
||
"topup": "充值",
|
||
"user": "用户",
|
||
"dashboard": "总览",
|
||
"log": "日志",
|
||
"setting": "设置",
|
||
"about": "关于",
|
||
"chat": "聊天",
|
||
"login": "登录",
|
||
"logout": "注销",
|
||
"register": "注册"
|
||
},
|
||
"topup": {
|
||
"title": "充值中心",
|
||
"get_code": {
|
||
"title": "获取兑换码",
|
||
"current_quota": "当前可用额度",
|
||
"button": "立即获取兑换码"
|
||
},
|
||
"redeem_code": {
|
||
"title": "兑换码充值",
|
||
"placeholder": "请输入兑换码",
|
||
"paste": "粘贴",
|
||
"paste_error": "无法访问剪贴板,请手动粘贴",
|
||
"submit": "立即兑换",
|
||
"submitting": "兑换中...",
|
||
"empty_code": "请输入兑换码!",
|
||
"success": "充值成功!",
|
||
"request_failed": "请求失败",
|
||
"no_link": "超级管理员未设置充值链接!"
|
||
}
|
||
},
|
||
"channel": {
|
||
"title": "管理渠道",
|
||
"search": "搜索渠道的 ID,名称和密钥 ...",
|
||
"balance_notice": "OpenAI 渠道已经不再支持通过 key 获取余额,因此余额显示为 0。对于支持的渠道类型,请点击余额进行刷新。",
|
||
"test_notice": "渠道测试仅支持 chat 模型,优先使用 gpt-3.5-turbo,如果该模型不可用则使用你所配置的模型列表中的第一个模型。",
|
||
"detail_notice": "点击下方详情按钮可以显示余额以及设置额外的测试模型。",
|
||
"table": {
|
||
"id": "ID",
|
||
"name": "名称",
|
||
"group": "分组",
|
||
"type": "类型",
|
||
"status": "状态",
|
||
"response_time": "响应时间",
|
||
"balance": "余额",
|
||
"priority": "优先级",
|
||
"test_model": "测试模型",
|
||
"actions": "操作",
|
||
"no_name": "无",
|
||
"status_enabled": "已启用",
|
||
"status_disabled": "已禁用",
|
||
"status_auto_disabled": "已禁用",
|
||
"status_disabled_tip": "本渠道被手动禁用",
|
||
"status_auto_disabled_tip": "本渠道被程序自动禁用",
|
||
"status_unknown": "未知状态",
|
||
"not_tested": "未测试",
|
||
"priority_tip": "渠道选择优先级,越高越优先",
|
||
"select_test_model": "请选择测试模型",
|
||
"click_to_update": "点击更新"
|
||
},
|
||
"buttons": {
|
||
"test": "测试",
|
||
"delete": "删除",
|
||
"confirm_delete": "删除渠道",
|
||
"enable": "启用",
|
||
"disable": "禁用",
|
||
"edit": "编辑",
|
||
"add": "添加新的渠道",
|
||
"test_all": "测试所有渠道",
|
||
"test_disabled": "测试禁用渠道",
|
||
"delete_disabled": "删除禁用渠道",
|
||
"confirm_delete_disabled": "确认删除",
|
||
"refresh": "刷新",
|
||
"show_detail": "详情",
|
||
"hide_detail": "隐藏详情"
|
||
},
|
||
"messages": {
|
||
"test_success": "渠道 ${name} 测试成功,模型 ${model},耗时 ${time} 秒,模型输出:${message}",
|
||
"test_all_started": "已成功开始测试渠道,请刷新页面查看结果。",
|
||
"delete_disabled_success": "已删除所有禁用渠道,共计 ${count} 个",
|
||
"balance_update_success": "渠道 ${name} 余额更新成功!",
|
||
"all_balance_updated": "已更新完毕所有已启用渠道余额!"
|
||
},
|
||
"edit": {
|
||
"title_edit": "更新渠道信息",
|
||
"title_create": "创建新的渠道",
|
||
"type": "类型",
|
||
"name": "名称",
|
||
"name_placeholder": "请输入名称",
|
||
"group": "分组",
|
||
"group_placeholder": "请选择可以使用该渠道的分组",
|
||
"group_addition": "请在系统设置页面编辑分组倍率以添加新的分组:",
|
||
"models": "模型",
|
||
"models_placeholder": "请选择该渠道所支持的模型",
|
||
"model_mapping": "模型重定向",
|
||
"model_mapping_placeholder": "此项可选,用于修改请求体中的模型名称,为一个 JSON 字符串,键为请求中模型名称,值为要替换的模型名称",
|
||
"system_prompt": "系统提示词",
|
||
"system_prompt_placeholder": "此项可选,用于强制设置给定的系统提示词,请配合自定义模型 & 模型重定向使用,首先创建一个唯一的自定义模型名称并在上面填入,之后将该自定义模型重定向映射到该渠道一个原生支持的模型",
|
||
"base_url": "代理",
|
||
"base_url_placeholder": "此项可选,用于通过代理站来进行 API 调用,请输入代理站地址,格式为:https://domain.com",
|
||
"key": "密钥",
|
||
"key_placeholder": "请输入密钥",
|
||
"batch": "批量创建",
|
||
"batch_placeholder": "请输入密钥,一行一个",
|
||
"buttons": {
|
||
"cancel": "取消",
|
||
"submit": "提交",
|
||
"fill_models": "填入相关模型",
|
||
"fill_all": "填入所有模型",
|
||
"clear": "清除所有模型",
|
||
"add_custom": "填入",
|
||
"custom_placeholder": "输入自定义模型名称"
|
||
},
|
||
"messages": {
|
||
"name_required": "请填写渠道名称和渠道密钥!",
|
||
"models_required": "请至少选择一个模型!",
|
||
"model_mapping_invalid": "模型映射必须是合法的 JSON 格式!",
|
||
"update_success": "渠道更新成功!",
|
||
"create_success": "渠道创建成功!"
|
||
},
|
||
"spark_version": "模型版本",
|
||
"spark_version_placeholder": "请输入星火大模型版本,注意是接口地址中的版本号,例如:v2.1",
|
||
"knowledge_id": "知识库 ID",
|
||
"knowledge_id_placeholder": "请输入知识库 ID,例如:123456",
|
||
"plugin_param": "插件参数",
|
||
"plugin_param_placeholder": "请输入插件参数,即 X-DashScope-Plugin 请求头的取值",
|
||
"coze_notice": "对于 Coze 而言,模型名称即 Bot ID,你可以添加一个前缀 `bot-`,例如:`bot-123456`。",
|
||
"douban_notice": "对于豆包而言,需要手动去",
|
||
"douban_notice_link": "模型推理页面",
|
||
"douban_notice_2": "创建推理接入点,以接入点名称作为模型名称,例如:`ep-20240608051426-tkxvl`。",
|
||
"aws_region_placeholder": "region,例如:us-west-2",
|
||
"aws_ak_placeholder": "AWS IAM Access Key",
|
||
"aws_sk_placeholder": "AWS IAM Secret Key",
|
||
"vertex_region_placeholder": "Vertex AI Region,例如:us-east5",
|
||
"vertex_project_id": "Vertex AI Project ID",
|
||
"vertex_project_id_placeholder": "Vertex AI Project ID",
|
||
"vertex_credentials": "Google Cloud Application Default Credentials JSON",
|
||
"vertex_credentials_placeholder": "Google Cloud Application Default Credentials JSON",
|
||
"user_id": "User ID",
|
||
"user_id_placeholder": "生成该密钥的用户 ID",
|
||
"key_prompts": {
|
||
"default": "请输入渠道对应的鉴权密钥",
|
||
"zhipu": "按照如下格式输入:APIKey|SecretKey",
|
||
"spark": "按照如下格式输入:APPID|APISecret|APIKey",
|
||
"fastgpt": "按照如下格式输入:APIKey-AppId,例如:fastgpt-0sp2gtvfdgyi4k30jwlgwf1i-64f335d84283f05518e9e041",
|
||
"tencent": "按照如下格式输入:AppId|SecretId|SecretKey"
|
||
}
|
||
}
|
||
},
|
||
"token": {
|
||
"title": "令牌管理",
|
||
"search": "搜索令牌的名称 ...",
|
||
"table": {
|
||
"name": "名称",
|
||
"status": "状态",
|
||
"used_quota": "已用额度",
|
||
"remain_quota": "剩余额度",
|
||
"created_time": "创建时间",
|
||
"expired_time": "过期时间",
|
||
"actions": "操作",
|
||
"no_name": "无",
|
||
"never_expire": "永不过期",
|
||
"unlimited": "无限制",
|
||
"status_enabled": "已启用",
|
||
"status_disabled": "已禁用",
|
||
"status_expired": "已过期",
|
||
"status_depleted": "已耗尽",
|
||
"status_unknown": "未知状态"
|
||
},
|
||
"buttons": {
|
||
"copy": "复制",
|
||
"chat": "聊天",
|
||
"delete": "删除",
|
||
"confirm_delete": "删除令牌",
|
||
"enable": "启用",
|
||
"disable": "禁用",
|
||
"edit": "编辑",
|
||
"add": "添加新的令牌",
|
||
"refresh": "刷新"
|
||
},
|
||
"edit": {
|
||
"title_edit": "更新令牌信息",
|
||
"title_create": "创建新的令牌",
|
||
"name": "名称",
|
||
"name_placeholder": "请输入名称",
|
||
"models": "模型范围",
|
||
"models_placeholder": "请选择允许使用的模型,留空则不进行限制",
|
||
"ip_limit": "IP 限制",
|
||
"ip_limit_placeholder": "请输入允许访问的网段,例如:192.168.0.0/24,请使用英文逗号分隔多个网段",
|
||
"expire_time": "过期时间",
|
||
"expire_time_placeholder": "请输入过期时间,格式为 yyyy-MM-dd HH:mm:ss,-1 表示无限制",
|
||
"quota_notice": "注意,令牌的额度仅用于限制令牌本身的最大额度使用量,实际的使用受到账户的剩余额度限制。",
|
||
"quota": "额度",
|
||
"quota_placeholder": "请输入额度",
|
||
"buttons": {
|
||
"never_expire": "永不过期",
|
||
"expire_1_month": "一个月后过期",
|
||
"expire_1_day": "一天后过期",
|
||
"expire_1_hour": "一小时后过期",
|
||
"expire_1_minute": "一分钟后过期",
|
||
"unlimited_quota": "设为无限额度",
|
||
"cancel_unlimited": "取消无限额度",
|
||
"submit": "提交",
|
||
"cancel": "取消"
|
||
},
|
||
"messages": {
|
||
"update_success": "令牌更新成功!",
|
||
"create_success": "令牌创建成功,请在列表页面点击复制获取令牌!",
|
||
"expire_time_invalid": "过期时间格式错误!"
|
||
}
|
||
},
|
||
"copy_options": {
|
||
"raw": "复制原始令牌",
|
||
"ama": "复制 AMA 链接",
|
||
"opencat": "复制 OpenCat 链接",
|
||
"next": "复制 NextChat 链接",
|
||
"lobe": "复制 LobeChat 链接"
|
||
},
|
||
"messages": {
|
||
"copy_success": "已复制到剪贴板!",
|
||
"copy_failed": "无法复制到剪贴板,请手动复制,已将令牌填入搜索框。",
|
||
"operation_success": "操作成功完成!"
|
||
},
|
||
"sort": {
|
||
"placeholder": "排序方式",
|
||
"default": "默认排序",
|
||
"by_remain": "按剩余额度排序",
|
||
"by_used": "按已用额度排序"
|
||
}
|
||
},
|
||
"common": {
|
||
"quota": {
|
||
"display": "等价金额:${{amount}}",
|
||
"display_short": "${{amount}}",
|
||
"unit": "$"
|
||
}
|
||
}
|
||
}
|