{
  "app.title": "oMLX 管理后台",
  "app.tagline": "LLM 推理，为你的 Mac 优化",
  "login.title_login": "登录 - oMLX 管理后台",
  "login.title_setup": "初始化 - oMLX 管理后台",
  "login.setup.heading": "设置 API 密钥",
  "login.setup.description": "创建 API 密钥以保护你的服务器",
  "login.setup.label_api_key": "API 密钥",
  "login.setup.label_confirm": "确认 API 密钥",
  "login.setup.placeholder_new": "输入新的 API 密钥",
  "login.setup.placeholder_confirm": "再次输入 API 密钥",
  "login.setup.validation_hint": "至少 4 个字符，不能包含空格",
  "login.setup.button_set": "设置 API 密钥",
  "login.setup.button_setting_up": "设置中...",
  "login.setup.generate_tooltip": "生成随机密钥",
  "login.setup.copy_tooltip": "复制到剪贴板",
  "login.setup.copied": "已复制!",
  "login.login.label_api_key": "API 密钥",
  "login.login.placeholder": "输入你的 API 密钥",
  "login.login.remember": "保持登录 30 天",
  "login.login.button_sign_in": "登录",
  "login.login.button_signing_in": "登录中...",
  "login.error.invalid_api_key": "API 密钥无效",
  "login.error.connect_failed": "无法连接到服务器",
  "login.error.min_length": "API 密钥至少需要 4 个字符",
  "login.error.no_whitespace": "API 密钥不能包含空白字符",
  "login.error.mismatch": "两次输入的 API 密钥不一致",
  "login.error.setup_failed": "API 密钥设置失败",
  "dashboard.title": "控制台 - oMLX 管理后台",
  "navbar.brand": "oMLX",
  "navbar.admin": "管理",
  "navbar.tab.status": "仪表盘",
  "navbar.tab.models": "模型",
  "navbar.tab.settings": "设置",
  "navbar.tab.logs": "日志",
  "navbar.tab.bench": "基准",
  "navbar.tab.chat": "聊天",
  "navbar.dropdown.manager": "管理器",
  "navbar.dropdown.downloader": "下载器",
  "navbar.dropdown.quantizer": "oQ量化",
  "navbar.dropdown.uploader": "oQ Uploader",
  "navbar.dropdown.global_settings": "全局设置",
  "navbar.dropdown.model_settings": "模型设置",
  "navbar.theme.auto": "自动",
  "navbar.theme.dark_mode": "深色模式",
  "navbar.theme.light_mode": "浅色模式",
  "navbar.logout": "退出登录",
  "navbar.update_available": "有可用更新: v{version}",
  "navbar.go_to_github": "前往GitHub",
  "status.section_label": "仪表盘",
  "status.heading": "服务统计",
  "status.clear": "清除",
  "status.clear_tooltip": "清除会话指标",
  "status.clear_confirm": "确定要清除吗？",
  "status.clear_yes": "确定",
  "status.clear_cancel": "取消",
  "status.scope_session": "会话",
  "status.scope_alltime": "累计",
  "status.clear_alltime": "清除",
  "status.clear_alltime_tooltip": "清除累计指标",
  "status.clear_ssd_cache_tooltip": "删除所有SSD缓存",
  "status.clear_ssd_cache_confirm": "确定删除所有SSD缓存吗？",
  "status.filter_all_models": "所有模型",
  "status.stat.total_tokens": "预填充 Token 总数",
  "status.stat.cached_tokens": "缓存 Token 数",
  "status.stat.cache_efficiency": "缓存效率",
  "status.speed.section_label": "平均速度",
  "status.speed.prompt_processing": "提示词处理",
  "status.speed.prompt_processing_note": "（不含缓存）",
  "status.speed.token_generation": "Token 生成",
  "status.active_models.section_label": "活跃模型",
  "status.active_models.no_models": "未加载模型",
  "status.active_models.active": "活跃",
  "status.active_models.waiting": "等待",
  "status.active_models.req": "请求",
  "status.active_models.generating": "生成中...",
  "status.active_models.unload": "卸载模型",
  "status.api.section_label": "API 端点",
  "status.api.openai": "OpenAI API",
  "status.api.claude": "Claude API",
  "status.api.copy_tooltip": "复制",
  "status.claude_code.section_label": "Claude Code 与 oMLX",
  "status.claude_code.mode": "模式",
  "status.claude_code.mode_cloud": "云端",
  "status.claude_code.mode_local": "本地",
  "status.claude_code.no_models_warning": "未加载模型 — 请使用模型启动 oMLX 以启用本地模式",
  "status.claude_code.opus_tier": "Opus 层级",
  "status.claude_code.sonnet_tier": "Sonnet 层级",
  "status.claude_code.haiku_tier": "Haiku 层级",
  "status.claude_code.haiku_hint": "后台任务和快速操作 — 选择最小的可用模型",
  "status.claude_code.select_model": "— 选择模型 —",
  "status.claude_code.model_unavailable": "已保存的模型不再可用",
  "status.claude_code.command": "命令",
  "status.claude_code.copy_command_tooltip": "复制命令",
  "status.claude_code.context_scaling": "Claude Code 上下文缩放",
  "status.claude_code.target_context_size": "目标上下文大小",
  "status.claude_code.tokens_unit": "tokens",
  "status.claude_code.context_scaling_description": "缩放 Token 用量，使 Claude Code 的自动压缩在较小上下文模型上正确触发。",
  "status.integrations.section_label": "其他集成",
  "status.integrations.model": "模型",
  "status.integrations.select_model": "— 选择模型 —",
  "status.integrations.model_unavailable": "已保存的模型不再可用",
  "status.integrations.command": "命令",
  "status.integrations.copy_command_tooltip": "复制命令",
  "status.integrations.opencode_desc": "终端 AI 编程助手",
  "status.integrations.openclaw_desc": "消息集成 AI 助手",
  "status.integrations.openclaw_tools_profile": "工具",
  "status.engines.section_label": "引擎版本",
  "status.engines.unknown_version": "未知",
  "models.tab.manager": "管理器",
  "models.tab.downloader": "下载器",
  "models.tab.quantizer": "oQ Quantization",
  "models.tab.uploader": "oQ Uploader",
  "models.manager.section_label": "模型",
  "models.manager.heading": "模型管理器",
  "models.manager.description": "管理你的本地模型。",
  "models.manager.local_models": "本地模型",
  "models.manager.models_count": "{count} 个模型",
  "models.manager.refresh": "刷新",
  "models.manager.reload": "重新加载",
  "models.manager.reloading": "重新加载中...",
  "models.manager.no_models": "模型目录中未找到任何模型。",
  "models.manager.copy_model_name_tooltip": "复制模型名称",
  "models.manager.delete_tooltip": "删除模型",
  "models.manager.delete_confirm": "确认删除？",
  "models.manager.delete_yes": "是",
  "models.manager.delete_no": "否",
  "models.downloader.section_label": "模型",
  "models.downloader.heading": "模型下载器",
  "models.downloader.description": "从 HuggingFace 或魔搭社区下载模型并浏览可用模型。",
  "models.downloader.source.hf": "HuggingFace",
  "models.downloader.source.ms": "魔搭社区",
  "models.downloader.mirror_settings": "镜像设置",
  "models.downloader.mirror_cancel": "取消",
  "models.downloader.mirror_save": "保存",
  "models.downloader.mirror_saving": "保存中...",
  "models.downloader.download_section": "从 HuggingFace 下载",
  "models.downloader.repo_id": "仓库 ID",
  "models.downloader.repo_placeholder": "mlx-community/Llama-3-8B-4bit",
  "models.downloader.hf_token": "HF Token",
  "models.downloader.hf_token_optional": "（可选）",
  "models.downloader.hf_token_placeholder": "hf_...",
  "models.downloader.download_button": "下载",
  "models.downloader.ms_download_section": "从魔搭社区下载",
  "models.downloader.ms_repo_id": "模型 ID",
  "models.downloader.ms_repo_placeholder": "qwen/Qwen2.5-7B-Instruct-MLX",
  "models.downloader.ms_token": "MS Token",
  "models.downloader.ms_token_optional": "（可选）",
  "models.downloader.ms_token_placeholder": "your_token...",
  "models.downloader.ms_mirror_settings": "镜像设置",
  "models.downloader.ms_unavailable": "未安装 ModelScope SDK。请运行: pip install \"omlx[modelscope]\"",
  "models.search.section_label": "搜索 HuggingFace",
  "models.search.placeholder": "在 HuggingFace 上搜索模型...",
  "models.search.ms_section_label": "搜索魔搭社区",
  "models.search.ms_placeholder": "在魔搭社区搜索模型...",
  "models.search.recent_searches": "最近搜索",
  "models.search.sort.trending": "热门趋势",
  "models.search.sort.downloads": "下载最多",
  "models.search.sort.created": "最近创建",
  "models.search.sort.updated": "最近更新",
  "models.search.sort.most_params": "参数最多",
  "models.search.sort.least_params": "参数最少",
  "models.search.button": "搜索",
  "models.browse.section_label": "浏览模型",
  "models.browse.system_suffix": "适用于 {memory} 系统",
  "models.browse.tab.trending": "热门趋势",
  "models.browse.tab.popular": "最受欢迎",
  "models.browse.tab.search_results": "搜索结果",
  "models.browse.loading": "正在加载推荐...",
  "models.browse.load_prompt": "点击加载推荐模型。",
  "models.browse.load_button": "加载推荐",
  "models.browse.no_trending": "未找到适合你系统的热门模型。",
  "models.browse.no_popular": "未找到适合你系统的热门模型。",
  "models.browse.searching": "搜索中...",
  "models.browse.search_prompt": "输入搜索词以查找模型。",
  "models.browse.no_results": "未找到任何结果。",
  "models.browse.tight_fit": "内存偏紧",
  "models.browse.high_oom_risk": "OOM 风险高",
  "models.browse.params_suffix": "参数",
  "models.browse.mlx_only": "仅 MLX",
  "models.queue.section_label": "下载队列",
  "models.queue.downloading": "下载中...",
  "models.queue.cancel_tooltip": "取消下载",
  "models.queue.remove_tooltip": "从列表移除",
  "models.oq.section_label": "量化",
  "models.oq.heading": "oQ量化",
  "models.oq.description": "使用oQ混合精度策略量化模型，在低比特下实现更高质量。",
  "models.oq.form_section": "新建量化",
  "models.oq.select_model": "源模型",
  "models.oq.select_placeholder": "选择模型...",
  "models.oq.level": "oQ级别",
  "models.oq.start_button": "开始",
  "models.oq.queue_section": "量化队列",
  "models.oq.no_models": "模型目录中没有找到未量化的模型。",
  "models.oq.cancel_tooltip": "取消量化",
  "models.oq.remove_tooltip": "从列表中移除",
  "models.oq.advanced_settings": "高级设置",
  "models.uploader.section_label": "Hub Upload",
  "models.uploader.heading": "Upload oQ Models",
  "models.uploader.description": "Upload your locally quantized oQ models to HuggingFace Hub.",
  "models.uploader.hf_token_label": "HuggingFace Token",
  "models.uploader.hf_token_placeholder": "Enter HF write token (hf_...)",
  "models.uploader.namespace_label": "Namespace",
  "models.uploader.validate_button": "Validate",
  "models.uploader.validating": "Validating...",
  "models.uploader.validated": "Authenticated as {username}",
  "models.uploader.invalid_token": "Invalid token. Ensure it has write access.",
  "models.uploader.oq_models_label": "oQ Models",
  "models.uploader.no_oq_models": "No oQ models found in model directories.",
  "models.uploader.upload_button": "Upload",
  "models.uploader.queue_section": "Upload Queue",
  "models.uploader.cancel_tooltip": "Cancel upload",
  "models.uploader.remove_tooltip": "Remove from list",
  "models.uploader.modal_title": "Upload to HuggingFace",
  "models.uploader.modal_repo_label": "Repository Name",
  "models.uploader.modal_readme_label": "README Source",
  "models.uploader.modal_readme_none": "Auto-generate basic README",
  "models.uploader.modal_redownload_label": "Show re-download notice",
  "models.uploader.modal_redownload_hint": "Add a notice at the top of README asking previous users to re-download",
  "models.uploader.modal_private_label": "Private Repository",
  "models.uploader.modal_confirm": "Upload",
  "models.uploader.modal_cancel": "Cancel",
  "models.detail.loading": "正在加载模型信息...",
  "models.detail.tab.model_card": "模型卡片",
  "models.detail.tab.files": "文件",
  "models.detail.tab.tags": "标签",
  "models.detail.no_model_card": "暂无模型卡片。",
  "models.detail.no_files": "暂无文件信息。",
  "models.detail.no_tags": "暂无标签。",
  "models.detail.view_on_hf": "在 HuggingFace 上查看",
  "models.detail.view_on_ms": "在魔搭社区查看",
  "models.detail.close": "关闭",
  "models.detail.lora_warning": "LoRA adapter — not supported",
  "settings.tab.global": "全局设置",
  "settings.tab.models": "模型设置",
  "settings.global.section_label": "全局设置",
  "settings.global.heading": "服务器配置",
  "settings.global.restart_notice": "标有",
  "settings.global.restart_badge": "重启",
  "settings.global.restart_suffix": "的设置需要重启服务器。",
  "settings.auth.section_label": "认证与信息",
  "settings.auth.base_path": "基础路径",
  "settings.auth.base_path_hint": "只读",
  "settings.auth.api_key": "API 密钥",
  "settings.auth.api_key_hint": "至少 4 个字符，不含空白",
  "settings.auth.api_key_placeholder": "输入 API 密钥",
  "settings.auth.toggle_visibility_tooltip": "切换可见性",
  "settings.auth.skip_verification": "跳过 API 密钥验证",
  "settings.auth.skip_verification_hint": "API 端点将不需要身份验证（仅限 localhost）",
  "settings.auth.sub_keys_label": "附加API密钥",
  "settings.auth.sub_keys_hint": "仅用于 API 认证，不能用于管理员登录。",
  "settings.auth.sub_keys_add": "添加",
  "settings.auth.sub_keys_cancel": "取消",
  "settings.auth.sub_keys_create": "创建",
  "settings.auth.sub_keys_delete": "删除",
  "settings.auth.sub_keys_delete_confirm": "确定要删除此子密钥吗？",
  "settings.auth.sub_keys_name_placeholder": "名称（可选）",
  "settings.auth.sub_keys_key_placeholder": "API 密钥值",
  "settings.auth.sub_keys_unnamed": "未命名",
  "settings.auth.sub_keys_empty": "暂无子密钥",
  "settings.auth.sub_keys_generate_tooltip": "生成随机密钥",
  "settings.server.section_label": "服务器",
  "settings.server.host": "主机",
  "settings.server.host_localhost": "仅本地（127.0.0.1）",
  "settings.server.host_public": "对外开放（0.0.0.0）",
  "settings.server.host_custom": "自定义（谨慎）",
  "settings.server.host_placeholder": "例如 192.168.1.100",
  "settings.server.port": "端口",
  "settings.server.log_level": "日志级别",
  "settings.server.log_level_error": "error",
  "settings.server.log_level_warning": "warning",
  "settings.server.log_level_info": "info（默认）",
  "settings.server.log_level_debug": "debug",
  "settings.server.log_level_trace": "trace - 包含完整内容",
  "settings.model.section_label": "模型",
  "settings.model.model_fallback": "回退到默认模型",
  "settings.model.model_fallback_desc": "当请求的模型未找到时使用默认模型",
  "settings.model.model_directories": "模型目录",
  "settings.model.add": "添加",
  "settings.model.placeholder_primary": "主模型目录",
  "settings.model.placeholder_additional": "附加模型目录",
  "settings.resource.section_label": "资源管理",
  "settings.resource.live_badge": "实时",
  "settings.resource.memory_limit_total": "内存限制（总量）",
  "settings.resource.memory_limit_total_description": "oMLX 进程的总内存限制（模型 + KV Cache + 开销）。",
  "settings.resource.memory_limit_total_eviction": "超过此限制将立即触发 LRU 模型驱逐。",
  "settings.resource.memory_limit_total_auto": "自动",
  "settings.resource.memory_limit_total_auto_desc": "：系统内存 - 8GB。",
  "settings.resource.auto": "自动",
  "settings.resource.off": "关闭",
  "settings.resource.memory_limit_total_disabled": "设为0则禁用。",
  "settings.resource.memory_limit_models": "内存限制（仅模型）",
  "settings.resource.memory_limit_models_description": "已加载模型的最大内存限制。设为0则禁用。",
  "settings.resource.hot_cache_limit": "热缓存限制（内存缓存）",
  "settings.resource.hot_cache_description": "用于频繁访问的 KV Cache 块的内存缓存。",
  "settings.resource.hot_cache_zero_note": "减少重复提示词的 SSD I/O 延迟。",
  "settings.resource.hot_cache_disabled": "0",
  "settings.resource.hot_cache_disabled_label": "= 已禁用。",
  "settings.resource.cold_cache_limit": "冷缓存限制（SSD 缓存）",
  "settings.resource.cold_cache_description": "被驱逐的 KV Cache 块的持久 SSD 存储。",
  "settings.resource.prefill_memory_guard": "内存守卫",
  "settings.resource.prefill_memory_guard_description": "在预填充前估算内存，内存压力时延迟调度以防止Metal分配失败。",
  "settings.resource.max_concurrent_requests": "最大并发请求",
  "settings.resource.max_concurrent_requests_hint": "同时处理的最大请求数。值越大吞吐量越高，但内存使用也越多。",
  "settings.resource.restart_badge": "需要重启",
  "settings.cache.section_label": "缓存",
  "settings.cache.enabled": "启用缓存",
  "settings.cache.ssd_directory": "SSD 缓存目录",
  "settings.generation.section_label": "生成默认值",
  "settings.generation.max_context_window": "最大上下文窗口",
  "settings.generation.max_context_window_hint": "拒绝超过此 Token 限制的提示词",
  "settings.generation.max_tokens": "最大 Token 数",
  "settings.generation.temperature": "温度",
  "settings.generation.temperature_hint": "0.0 = 确定性，2.0 = 最大随机性",
  "settings.generation.top_p": "Top P",
  "settings.generation.top_p_hint": "核采样阈值",
  "settings.generation.top_k": "Top K",
  "settings.generation.top_k_hint": "0 = 禁用",
  "settings.generation.repetition_penalty": "重复惩罚",
  "settings.generation.repetition_penalty_hint": "1.0 = 禁用",
  "settings.mcp.section_label": "MCP",
  "settings.mcp.restart_badge": "需要重启",
  "settings.mcp.config_path": "配置路径",
  "settings.mcp.config_placeholder": "MCP 配置文件路径",
  "settings.huggingface.endpoint": "镜像端点",
  "settings.huggingface.endpoint_hint": "HuggingFace API 自定义端点 URL（例如 https://hf-mirror.com）",
  "settings.huggingface.endpoint_clear_hint": "要使用默认端点，请清空输入框并保存。",
  "settings.advanced.section_label": "高级",
  "settings.advanced.restart_badge": "需要重启",
  "settings.advanced.cache": "缓存",
  "settings.advanced.initial_cache_blocks": "初始缓存块数",
  "settings.advanced.initial_cache_blocks_hint": "启动时预分配的块数。值越大，动态分配开销越小。",
  "settings.language.section_label": "语言",
  "settings.language.label": "界面语言",
  "settings.language.en": "English",
  "settings.language.zh": "中文（简体）",
  "settings.language.zh-TW": "中文（繁體）",
  "settings.language.ko": "한국어",
  "settings.language.ja": "日本語",
  "settings.save.button": "保存设置",
  "settings.save.saving": "保存中...",
  "settings.models.section_label": "模型设置",
  "settings.models.heading": "可用模型",
  "settings.models.description": "配置每个模型的设置，包括采样参数。",
  "settings.models.loading": "正在加载模型...",
  "settings.models.no_models_heading": "未找到任何模型",
  "settings.models.no_models_description": "请将模型添加到模型目录以开始使用。",
  "settings.models.table.model": "模型",
  "settings.models.table.type": "类型",
  "settings.models.table.size": "大小",
  "settings.models.table.status": "状态",
  "settings.models.table.pin": "固定",
  "settings.models.table.default": "默认",
  "settings.models.table.status_loading": "加载中",
  "settings.models.table.status_loaded": "已加载",
  "settings.models.table.status_unload": "卸载",
  "settings.models.table.status_load": "加载",
  "settings.models.table.status_ready": "就绪",
  "settings.models.table.copy_model_name_tooltip": "复制模型名称",
  "settings.models.table.sampling_settings_tooltip": "采样设置",
  "settings.models.badge.ctx_window": "ctx_window:",
  "settings.models.badge.max_tokens": "max_tokens:",
  "settings.models.badge.temp": "temp:",
  "settings.models.badge.top_p": "top_p:",
  "settings.models.badge.top_k": "top_k:",
  "settings.models.badge.min_p": "min_p:",
  "settings.models.badge.rep_penalty": "rep_penalty:",
  "settings.models.badge.presence_penalty": "presence_penalty:",
  "settings.models.badge.tool_result_tokens": "tool_result_tokens:",
  "settings.models.badge.force_sampling": "force_sampling",
  "modal.model_settings.section_label": "模型设置",
  "modal.model_settings.model_alias": "模型别名",
  "modal.model_settings.model_type": "模型类型",
  "modal.model_settings.model_type_auto": "自动检测",
  "modal.model_settings.max_context_window": "Ctx Window",
  "modal.model_settings.max_tokens": "最大 Token 数",
  "modal.model_settings.temperature": "温度",
  "modal.model_settings.repetition_penalty": "重复惩罚",
  "modal.model_settings.repetition_penalty_short": "Rep. Penalty",
  "modal.model_settings.min_p": "Min P",
  "modal.model_settings.presence_penalty": "Presence Penalty",
  "modal.model_settings.top_p": "Top P",
  "modal.model_settings.top_k": "Top K",
  "modal.model_settings.ttl_seconds": "TTL（秒）",
  "modal.model_settings.ttl_pinned": "已固定",
  "modal.model_settings.ttl_no_ttl": "无 TTL",
  "modal.model_settings.load_defaults": "加载默认值",
  "modal.model_settings.loading_defaults": "加载中...",
  "modal.model_settings.placeholder_default": "默认",
  "modal.model_settings.thinking_budget": "思考 Token 限制",
  "modal.model_settings.thinking_budget_hint": "限制推理模型的思考 Token 数量，超出时强制结束思考",
  "modal.model_settings.thinking_budget_placeholder": "例如 4096",
  "modal.model_settings.limit_tool_result": "限制工具结果 Token",
  "modal.model_settings.limit_tool_result_hint": "截断过长的工具结果（如文件读取）到 Token 限制",
  "modal.model_settings.limit_tool_placeholder": "例如 2000",
  "modal.model_settings.turboquant_kv": "TurboQuant KV Cache",
  "modal.model_settings.turboquant_kv_hint": "Compress KV cache using vector quantization. Reduces memory ~60-75% with near-lossless quality for long context.",
  "modal.model_settings.turboquant_kv_bits_label": "Bits per channel",
  "modal.model_settings.index_cache": "索引缓存",
  "modal.model_settings.index_cache_hint": "跳过DSA层中的冗余索引器计算（DeepSeek V3/GLM-5）。",
  "modal.model_settings.index_cache_freq": "频率（每N层保留索引器）",
  "modal.model_settings.force_sampling": "强制采样",
  "modal.model_settings.force_sampling_hint": "用配置值覆盖请求中的采样参数",
  "modal.model_settings.chat_template_kwargs": "聊天模板参数",
  "modal.model_settings.chat_template_kwargs_hint": "传递给聊天模板的参数",
  "modal.model_settings.add_kwarg": "+ 添加",
  "modal.model_settings.kwarg_enable_thinking": "enable_thinking",
  "modal.model_settings.kwarg_reasoning_effort": "reasoning_effort",
  "modal.model_settings.kwarg_custom": "自定义",
  "modal.model_settings.kwarg_custom_key_placeholder": "键",
  "modal.model_settings.kwarg_custom_value_placeholder": "值",
  "modal.model_settings.kwarg_force": "强制",
  "modal.model_settings.kwarg_force_tooltip": "强制：API 请求无法覆盖此值",
  "modal.model_settings.kwarg_effort_low": "low",
  "modal.model_settings.kwarg_effort_medium": "medium",
  "modal.model_settings.kwarg_effort_high": "high",
  "modal.model_settings.no_kwargs": "暂无配置的参数",
  "modal.model_settings.empty_hint": "留空则使用全局默认值",
  "modal.model_settings.basic_label": "基本设置",
  "modal.model_settings.advanced_label": "高级设置",
  "modal.model_settings.experimental_label": "实验性功能",
  "modal.model_settings.cancel": "取消",
  "modal.model_settings.save": "保存",
  "modal.model_settings.saving": "保存中...",
  "logs.section_label": "日志",
  "logs.heading": "服务器日志",
  "logs.description": "查看实时服务器日志，支持自动刷新。",
  "logs.viewer_label": "日志查看器",
  "logs.auto_refresh": "自动刷新",
  "logs.lines_label": "行数：",
  "logs.refresh_label": "刷新间隔：",
  "logs.refresh_unit": "秒（0=关闭）",
  "logs.file_label": "文件：",
  "logs.refresh_button": "刷新",
  "logs.loading": "加载中...",
  "logs.auto_scroll": "自动滚动",
  "logs.showing_lines": "显示 {lines} / {total} 行",
  "logs.placeholder": "暂无日志。启动服务器后将产生日志。",
  "logs.last_updated": "最后更新：{time}",
  "bench.section_label": "基准测试",
  "bench.heading": "性能基准测试",
  "bench.description": "测量单请求和连续批处理的推理速度。基准测试前将卸载所有其他模型。",
  "bench.config.section_label": "配置",
  "bench.config.model": "模型",
  "bench.config.model_placeholder": "选择模型...",
  "bench.config.single_request": "单请求测试",
  "bench.config.generation_hint": "生成长度：128 tokens（固定）",
  "bench.config.batch_tests": "连续批处理测试",
  "bench.config.batch_hint": "批处理测试使用 pp1024 / tg128",
  "bench.config.run_button": "运行基准测试",
  "bench.progress.preparing": "准备中...",
  "bench.progress.cancel": "取消",
  "bench.progress.starting": "正在启动基准测试...",
  "bench.results.single.section_label": "单请求结果",
  "bench.results.single.test": "测试",
  "bench.results.single.ttft": "TTFT (ms)",
  "bench.results.single.tpot": "TPOT (ms/tok)",
  "bench.results.single.pp_tps": "pp TPS",
  "bench.results.single.tg_tps": "tg TPS",
  "bench.results.single.e2e_latency": "端到端延迟",
  "bench.results.single.throughput": "吞吐量",
  "bench.results.single.peak_mem": "峰值内存",
  "bench.results.batch.section_label": "Continuous Batching",
  "bench.results.batch.subtitle": "pp1024 / tg128",
  "bench.results.batch.batch_size": "批大小",
  "bench.results.batch.tg_tps": "tg TPS",
  "bench.results.batch.speedup": "加速比",
  "bench.results.batch.pp_tps": "pp TPS",
  "bench.results.batch.pp_tps_req": "pp TPS/请求",
  "bench.results.batch.avg_ttft": "平均 TTFT (ms)",
  "bench.results.batch.e2e_latency": "端到端延迟",
  "bench.results.batch.baseline": "1x（基准线）",
  "bench.results.text_export.section_label": "基准结果（文本 — 复制粘贴）",
  "bench.results.text_export.copy": "复制",
  "bench.results.text_export.copied": "已复制！",
  "bench.metrics.section_label": "指标参考",
  "bench.metrics.ttft.name": "TTFT",
  "bench.metrics.ttft.full_name": "（首 Token 时间）",
  "bench.metrics.test.tooltip": "测试用例标签，格式为 ppN/tgM。'pp' = 提示词处理（输入 token 数），'tg' = token 生成（输出 token 数）。例如 pp1024/tg256 表示 1024 个输入 token 和 256 个输出 token。",
  "bench.metrics.ttft.tooltip": "Time to First Token — 用户看到第一个输出前的等待时间。模型必须在生成第一个 token 之前读取并处理整个提示词（预填充阶段）。提示词越长，TTFT 越高。以毫秒为单位。越低越好。",
  "bench.metrics.tpot.tooltip": "Time Per Output Token — 生成（解码）阶段连续输出 token 之间的平均间隔。直接影响文本在屏幕上显示的速度。例如 20ms/tok 意味着每秒约 50 个 token。越低越好。",
  "bench.metrics.tg_tps.tooltip": "Token Generation TPS — 解码阶段每秒生成的输出 token 数。是 TPOT 的倒数（例如 TPOT 20ms = 50 tg TPS）。衡量模型生成回复速度的核心指标。越高越好。",
  "bench.metrics.pp_tps.tooltip": "Prompt Processing TPS — 预填充阶段模型每秒处理的输入 token 数。数值越高意味着模型读取提示词越快，直接降低 TTFT。对长上下文任务尤为重要。越高越好。",
  "bench.metrics.e2e.tooltip": "End-to-End Latency — 从发送请求到收到完整回复的总耗时。等于 TTFT +（TPOT × 输出 token 数）。这是用户等待完整答案的总时间。",
  "bench.metrics.throughput.tooltip": "Total Throughput — 每秒处理的输入和输出 token 总和。展示包括预填充和生成在内的整体系统利用率。适合比较不同提示词长度下的总计算效率。",
  "bench.metrics.peak_mem.tooltip": "Peak GPU Memory — 该测试中推理时使用的最大 GPU（统一）内存。包括模型权重、KV 缓存和中间激活。有助于估算你的硬件能运行多大的模型。",
  "bench.metrics.batch_size.tooltip": "Batch Size — 同时处理的请求数。批处理让 GPU 同时处理多个请求，提高总吞吐量但增加单个请求的延迟。由于内存带宽限制，2x 批量并不等于 2 倍速度。",
  "bench.metrics.speedup.tooltip": "Speedup — 相对于单请求（1x 基准）的 token 生成速度提升倍数。例如 1.8x 表示批处理整体产生 token 的速度是单请求的 1.8 倍。超过 1x 说明批处理提升了 GPU 利用效率。",
  "bench.metrics.pp_tps_req.tooltip": "Per-Request Prompt Processing TPS — pp TPS 除以批量大小。展示与其他请求共享 GPU 时，每个请求的提示词处理速度。由于计算资源共享，预期低于单请求的 pp TPS。",
  "bench.metrics.avg_ttft.tooltip": "批次内所有请求的平均 Time to First Token。由于 GPU 需要处理多个提示词，因此高于单请求 TTFT。展示批处理负载下每个用户的典型等待时间。",
  "bench.metrics.ttft.description": "模型开始响应前的延迟。衡量提示词处理（预填充）速度。越低越好。",
  "bench.metrics.tpot.name": "TPOT",
  "bench.metrics.tpot.full_name": "（每输出 Token 时间）",
  "bench.metrics.tpot.description": "每个生成 Token 之间的平均时间。衡量解码速度。越低越好。",
  "bench.metrics.tg_tps.name": "tg TPS",
  "bench.metrics.tg_tps.full_name": "（Token 生成 TPS）",
  "bench.metrics.tg_tps.description": "每秒生成的输出 Token 数。TPOT 的倒数。越高越好。",
  "bench.metrics.pp_tps.name": "pp TPS",
  "bench.metrics.pp_tps.full_name": "（提示词处理 TPS）",
  "bench.metrics.pp_tps.description": "预填充阶段每秒处理的输入/提示词 Token 数。越高越好。",
  "bench.metrics.e2e.name": "端到端延迟",
  "bench.metrics.e2e.full_name": "（End-to-End）",
  "bench.metrics.e2e.description": "从提交请求到完整响应的总时间。包含预填充 + 生成。",
  "bench.metrics.throughput.name": "总吞吐量",
  "bench.metrics.throughput.description": "每秒处理的总 Token 数（输入 + 输出）。衡量系统整体利用率。",
  "bench.metrics.batch_size.name": "批量大小",
  "bench.metrics.batch_size.description": "同时处理的并发请求数。批量越大总吞吐量越高，但每个请求的延迟会增加。",
  "bench.metrics.speedup.name": "加速比",
  "bench.metrics.speedup.description": "相对于单请求基准（1x）的 Token 生成吞吐量倍数。越高越好。",
  "bench.metrics.pp_tps_req.name": "pp TPS/req",
  "bench.metrics.pp_tps_req.full_name": "（每请求提示词处理 TPS）",
  "bench.metrics.pp_tps_req.description": "提示词处理吞吐量除以批量大小。显示批量负载下每个请求的预填充速度。",
  "navbar.dropdown.performance": "Performance",
  "navbar.dropdown.accuracy": "Intelligence",
  "acc_bench.section_label": "Intelligence",
  "acc_bench.heading": "智能基准测试",
  "acc_bench.description": "通过知识、推理、数学和编程基准评估模型智能。基准测试前将卸载所有其他模型。",
  "acc_bench.config.section_label": "配置",
  "acc_bench.config.model": "模型",
  "acc_bench.config.model_placeholder": "选择模型...",
  "acc_bench.config.benchmarks": "基准测试",
  "acc_bench.config.benchmarks_hint": "固定种子采样确保不同模型使用相同问题进行公平比较。选择Full使用完整数据集。",
  "acc_bench.config.livecodebench_warning": "LiveCodeBench 会在你的机器上执行模型生成的代码（带超时和内存限制的沙箱环境）。",
  "acc_bench.config.code_exec": "代码执行",
  "acc_bench.config.batch_size": "批量大小",
  "acc_bench.config.batch_size_hint": "同时处理多个问题。批量越大速度越快，但占用更多内存。",
  "acc_bench.config.thinking": "Thinking Mode",
  "acc_bench.config.thinking_on": "On",
  "acc_bench.config.thinking_off": "Off",
  "acc_bench.config.thinking_hint": "Enable for reasoning models (e.g., DeepSeek-R1, QwQ). Auto-detects if the model thinks even when disabled.",
  "acc_bench.results.thinking_badge": "Thinking",
  "acc_bench.config.add_run": "添加并运行",
  "acc_bench.config.cancel_button": "取消",
  "acc_bench.config.queue_label": "队列",
  "acc_bench.results.section_label": "结果",
  "acc_bench.results.clear": "清除结果",
  "acc_bench.results.download": "Download",
  "acc_bench.results.show_categories": "显示分类详情",
  "acc_bench.results.hide_categories": "隐藏分类详情",
  "acc_bench.results.category": "分类",
  "acc_bench.results.score": "得分",
  "acc_bench.results.show_text": "显示文本导出",
  "acc_bench.results.hide_text": "隐藏文本导出",
  "chat.title": "聊天 - oMLX 管理后台",
  "chat.brand": "oMLX 对话",
  "chat.api_key_prompt": "输入你的 oMLX API 密钥以开始聊天",
  "chat.api_key_placeholder": "输入 API 密钥...",
  "chat.api_key_continue": "继续",
  "chat.new_chat": "新对话",
  "chat.new_chat_title": "新对话",
  "chat.admin_settings": "管理后台",
  "chat.clear_all_history": "清除所有历史",
  "chat.change_api_key": "更换 API 密钥",
  "chat.select_model": "选择模型",
  "chat.no_models": "暂无可用模型",
  "chat.welcome_heading": "与 oMLX 聊天",
  "chat.welcome_description": "开始与你的本地 MLX 模型对话。请在上方选择一个模型。",
  "chat.welcome_privacy": "所有对话均在本地设备上运行。",
  "chat.input_placeholder": "输入消息...（Shift+Enter 换行）",
  "chat.input_placeholder_mobile": "输入消息...",
  "chat.edit_cancel": "取消",
  "chat.edit_save": "保存并重发",
  "chat.copy_tooltip": "复制",
  "chat.regenerate_tooltip": "重新生成",
  "chat.stop_tooltip": "停止",
  "chat.edit_tooltip": "编辑消息",
  "chat.delete_tooltip": "删除对话",
  "chat.assistant_label": "助手",
  "chat.confirm_change_api_key": "确定要更换 API 密钥吗？",
  "chat.confirm_delete_chat": "确定要删除此对话吗？",
  "chat.confirm_clear_all": "确定要删除所有对话历史吗？此操作无法撤销。",
  "chat.error.incorrect_api_key": "API 密钥不正确，请重新输入。",
  "chat.upload_image": "上传图像",
  "chat.remove_image": "移除图像",
  "chat.image_not_available": "图片",
  "chat.image_preview": "图片预览",
  "chat.system_prompt.title": "系统提示词",
  "chat.system_prompt.description": "设置模型的指令。将应用于此聊天中的所有消息。",
  "chat.system_prompt.placeholder": "例如：你是一个有用的助手。请简洁回答。",
  "chat.system_prompt.save": "保存",
  "chat.system_prompt.cancel": "取消",
  "chat.system_prompt.clear": "清除",
  "chat.error.invalid_image_type": "请选择图像文件",
  "chat.error.image_too_large": "图像大小不能超过 10MB",
  "chat.error.image_load_failed": "无法加载图片，请重试。",
  "js.error.required_fields": "以下必填字段不能为空：{fields}",
  "js.error.api_key_min_length": "API 密钥至少需要 4 个字符",
  "js.error.api_key_no_whitespace": "API 密钥不能包含空白字符",
  "js.error.save_settings_failed": "保存设置失败",
  "js.error.update_model_setting_failed": "更新模型设置失败",
  "js.error.load_model_failed": "加载模型失败",
  "js.error.reload_failed": "重新加载模型失败",
  "js.error.unload_model_failed": "卸载模型失败",
  "js.error.save_model_settings_failed": "保存模型设置失败",
  "js.info.model_type_reload_required": "模型类型已更改。请卸载并重新加载模型以使更改生效。",
  "js.error.no_config_defaults": "未找到该模型的配置默认值",
  "js.error.load_generation_config_failed": "加载生成配置失败",
  "js.error.select_prompt_length": "请至少选择一个提示词长度",
  "js.error.start_benchmark_failed": "启动基准测试失败",
  "js.error.start_benchmark_error": "启动基准测试失败：{message}",
  "js.error.benchmark_connection_lost": "基准测试连接丢失",
  "js.error.load_logs_failed": "加载日志失败",
  "js.error.start_download_failed": "启动下载失败",
  "js.error.start_download_connection": "启动下载失败，请检查服务器连接。",
  "js.error.delete_model_failed": "删除模型失败",
  "js.error.delete_model_connection": "删除模型失败，请检查服务器连接。",
  "js.success.download_started": "已开始下载：{repo_id}",
  "js.success.settings_saved": "设置已成功保存"
}
