mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
157 lines
6.9 KiB
JSON
157 lines
6.9 KiB
JSON
{
|
|
"header": {
|
|
"home": "Home",
|
|
"channel": "Channel",
|
|
"token": "Token",
|
|
"redemption": "Redemption",
|
|
"topup": "Top Up",
|
|
"user": "User",
|
|
"dashboard": "Dashboard",
|
|
"log": "Log",
|
|
"setting": "Settings",
|
|
"about": "About",
|
|
"chat": "Chat",
|
|
"login": "Login",
|
|
"logout": "Logout",
|
|
"register": "Register"
|
|
},
|
|
"topup": {
|
|
"title": "Top Up Center",
|
|
"get_code": {
|
|
"title": "Get Redemption Code",
|
|
"current_quota": "Current Available Quota",
|
|
"button": "Get Code Now"
|
|
},
|
|
"redeem_code": {
|
|
"title": "Redeem Code",
|
|
"placeholder": "Please enter redemption code",
|
|
"paste": "Paste",
|
|
"paste_error": "Cannot access clipboard, please paste manually",
|
|
"submit": "Redeem Now",
|
|
"submitting": "Redeeming...",
|
|
"empty_code": "Please enter the redemption code!",
|
|
"success": "Top up successful!",
|
|
"request_failed": "Request failed",
|
|
"no_link": "Admin has not set up the top-up link!"
|
|
}
|
|
},
|
|
"channel": {
|
|
"title": "Channel Management",
|
|
"search": "Search channels by ID, name and key...",
|
|
"balance_notice": "OpenAI channels no longer support getting balance via key, so balance shows as 0. For supported channel types, click balance to refresh.",
|
|
"test_notice": "Channel testing only supports chat models, preferring gpt-3.5-turbo. If unavailable, uses the first model in your configured list.",
|
|
"detail_notice": "Click the detail button below to show balance and set additional test models.",
|
|
"table": {
|
|
"id": "ID",
|
|
"name": "Name",
|
|
"group": "Group",
|
|
"type": "Type",
|
|
"status": "Status",
|
|
"response_time": "Response Time",
|
|
"balance": "Balance",
|
|
"priority": "Priority",
|
|
"test_model": "Test Model",
|
|
"actions": "Actions",
|
|
"no_name": "None",
|
|
"status_enabled": "Enabled",
|
|
"status_disabled": "Disabled",
|
|
"status_auto_disabled": "Disabled",
|
|
"status_disabled_tip": "This channel is manually disabled",
|
|
"status_auto_disabled_tip": "This channel is automatically disabled",
|
|
"status_unknown": "Unknown Status",
|
|
"not_tested": "Not Tested",
|
|
"priority_tip": "Channel selection priority, higher is preferred",
|
|
"select_test_model": "Please select test model",
|
|
"click_to_update": "Click to update"
|
|
},
|
|
"buttons": {
|
|
"test": "Test",
|
|
"delete": "Delete",
|
|
"confirm_delete": "Delete Channel",
|
|
"enable": "Enable",
|
|
"disable": "Disable",
|
|
"edit": "Edit",
|
|
"add": "Add New Channel",
|
|
"test_all": "Test All Channels",
|
|
"test_disabled": "Test Disabled Channels",
|
|
"delete_disabled": "Delete Disabled Channels",
|
|
"confirm_delete_disabled": "Confirm Delete",
|
|
"refresh": "Refresh",
|
|
"show_detail": "Details",
|
|
"hide_detail": "Hide Details"
|
|
},
|
|
"messages": {
|
|
"test_success": "Channel ${name} test successful, model ${model}, time ${time}s, output: ${message}",
|
|
"test_all_started": "Channel testing started successfully, please refresh page to see results.",
|
|
"delete_disabled_success": "Deleted all disabled channels, total: ${count}",
|
|
"balance_update_success": "Channel ${name} balance updated successfully!",
|
|
"all_balance_updated": "All enabled channel balances have been updated!"
|
|
},
|
|
"edit": {
|
|
"title_edit": "Update Channel Information",
|
|
"title_create": "Create New Channel",
|
|
"type": "Type",
|
|
"name": "Name",
|
|
"name_placeholder": "Please enter name",
|
|
"group": "Group",
|
|
"group_placeholder": "Please select groups that can use this channel",
|
|
"group_addition": "Please edit group multipliers in system settings to add new group:",
|
|
"models": "Models",
|
|
"models_placeholder": "Please select models supported by this channel",
|
|
"model_mapping": "Model Mapping",
|
|
"model_mapping_placeholder": "Optional, used to modify model names in request body. A JSON string where keys are request model names and values are target model names",
|
|
"system_prompt": "System Prompt",
|
|
"system_prompt_placeholder": "Optional, used to force set system prompt. Use with custom model & model mapping. First create a unique custom model name above, then map it to a natively supported model",
|
|
"base_url": "Proxy",
|
|
"base_url_placeholder": "Optional, used for API calls through proxy. Enter proxy address in format: https://domain.com",
|
|
"key": "Key",
|
|
"key_placeholder": "Please enter key",
|
|
"batch": "Batch Create",
|
|
"batch_placeholder": "Please enter keys, one per line",
|
|
"buttons": {
|
|
"cancel": "Cancel",
|
|
"submit": "Submit",
|
|
"fill_models": "Fill Related Models",
|
|
"fill_all": "Fill All Models",
|
|
"clear": "Clear All Models",
|
|
"add_custom": "Add",
|
|
"custom_placeholder": "Enter custom model name"
|
|
},
|
|
"messages": {
|
|
"name_required": "Please enter channel name and key!",
|
|
"models_required": "Please select at least one model!",
|
|
"model_mapping_invalid": "Model mapping must be valid JSON format!",
|
|
"update_success": "Channel updated successfully!",
|
|
"create_success": "Channel created successfully!"
|
|
},
|
|
"spark_version": "Model Version",
|
|
"spark_version_placeholder": "Please enter Spark model version from API URL, e.g.: v2.1",
|
|
"knowledge_id": "Knowledge Base ID",
|
|
"knowledge_id_placeholder": "Please enter knowledge base ID, e.g.: 123456",
|
|
"plugin_param": "Plugin Parameter",
|
|
"plugin_param_placeholder": "Please enter plugin parameter (X-DashScope-Plugin header value)",
|
|
"coze_notice": "For Coze, model name is the Bot ID. You can add prefix `bot-`, e.g.: `bot-123456`.",
|
|
"douban_notice": "For Douban, you need to go to",
|
|
"douban_notice_link": "Model Inference Page",
|
|
"douban_notice_2": "to create an inference endpoint, and use the endpoint name as model name, e.g.: `ep-20240608051426-tkxvl`.",
|
|
"aws_region_placeholder": "region, e.g.: us-west-2",
|
|
"aws_ak_placeholder": "AWS IAM Access Key",
|
|
"aws_sk_placeholder": "AWS IAM Secret Key",
|
|
"vertex_region_placeholder": "Vertex AI Region, e.g.: 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": "User ID who generated this key",
|
|
"key_prompts": {
|
|
"default": "Please enter the authentication key for this channel",
|
|
"zhipu": "Enter in format: APIKey|SecretKey",
|
|
"spark": "Enter in format: APPID|APISecret|APIKey",
|
|
"fastgpt": "Enter in format: APIKey-AppId, e.g.: fastgpt-0sp2gtvfdgyi4k30jwlgwf1i-64f335d84283f05518e9e041",
|
|
"tencent": "Enter in format: AppId|SecretId|SecretKey"
|
|
}
|
|
}
|
|
}
|
|
}
|