export const settingsMessages = {
  "instanceServiceStatus.sections.lsp": "LSP 服务器",
  "instanceServiceStatus.sections.mcp": "MCP 服务器",
  "instanceServiceStatus.sections.plugins": "插件",
  "instanceServiceStatus.lsp.loading": "正在加载 LSP 服务器...",
  "instanceServiceStatus.lsp.empty": "未检测到 LSP 服务器。",
  "instanceServiceStatus.lsp.status.connected": "已连接",
  "instanceServiceStatus.lsp.status.error": "错误",
  "instanceServiceStatus.mcp.loading": "正在加载 MCP 服务器...",
  "instanceServiceStatus.mcp.empty": "未检测到 MCP 服务器。",
  "instanceServiceStatus.mcp.toggleAriaLabel": "切换 {name} MCP 服务器",
  "instanceServiceStatus.plugins.loading": "正在加载插件...",
  "instanceServiceStatus.plugins.empty": "未配置插件。",

  "permissionBanner.pendingRequests.one": "{count} 个待处理请求",
  "permissionBanner.pendingRequests.other": "{count} 个待处理请求",
  "permissionBanner.detail.permission.one": "{count} 项权限",
  "permissionBanner.detail.permission.other": "{count} 项权限",
  "permissionBanner.detail.question.one": "{count} 个问题",
  "permissionBanner.detail.question.other": "{count} 个问题",
  "permissionBanner.detail.wrapper": " （{detail}）",

  "agentSelector.placeholder": "选择智能体...",
  "agentSelector.badge.subagent": "子智能体",
  "agentSelector.none": "无",
  "agentSelector.trigger.primary": "智能体：{agent}",

  "modelSelector.placeholder.search": "搜索模型...",
  "modelSelector.none": "无",
  "modelSelector.trigger.primary": "模型：{model}",
  "modelSelector.favoritesOnly.toggle.ariaLabel": "仅显示收藏",
  "modelSelector.favoritesOnly.showAll": "显示所有模型",
  "modelSelector.favorite.add": "添加到收藏",
  "modelSelector.favorite.remove": "从收藏移除",

  "thinkingSelector.variant.default": "默认",
  "thinkingSelector.label": "思考：{variant}",

  "envEditor.title": "环境变量",
  "envEditor.count.one": "（{count} 个变量）",
  "envEditor.count.other": "（{count} 个变量）",
  "envEditor.fields.name.placeholder": "变量名",
  "envEditor.fields.name.readOnlyTitle": "变量名（只读）",
  "envEditor.fields.value.placeholder": "变量值",
  "envEditor.actions.remove.title": "移除变量",
  "envEditor.actions.add.title": "添加变量",
  "envEditor.empty": "未配置环境变量。在上方添加变量以自定义 OpenCode 环境。",
  "envEditor.help": "启动实例时，这些变量将在 OpenCode 环境中可用。",

  "contextUsagePanel.headings.tokens": "Tokens",
  "contextUsagePanel.headings.context": "上下文",
  "contextUsagePanel.labels.input": "输入",
  "contextUsagePanel.labels.output": "输出",
  "contextUsagePanel.labels.cost": "费用",
  "contextUsagePanel.labels.used": "已用",
  "contextUsagePanel.labels.available": "可用",
  "contextUsagePanel.unavailable": "--",

  "settings.title": "Settings",
  "settings.navigationAriaLabel": "Settings sections",
  "settings.close": "Close settings",
  "settings.content.eyebrow": "Workspace preferences",
  "settings.open.title": "Open settings",
  "settings.open.ariaLabel": "Open settings",
  "settings.nav.appearance": "Appearance",
  "settings.nav.notifications": "Notifications",
  "settings.nav.remote": "Remote Access",
  "settings.nav.opencode": "OpenCode",
  "settings.scope.device": "This device",
  "settings.scope.server": "Server setting",
  "settings.common.enabled": "Enabled",
  "settings.common.disabled": "已禁用",
  "settings.section.appearance.title": "Appearance",
  "settings.section.appearance.subtitle": "Adjust how the app looks on this device.",
  "settings.appearance.theme.title": "Theme",
  "settings.appearance.theme.subtitle": "Choose the color mode used throughout the app.",
  "settings.appearance.theme.option.system": "Match your operating system setting",
  "settings.appearance.theme.option.light": "Use the light appearance",
  "settings.appearance.theme.option.dark": "Use the dark appearance",
  "settings.section.notifications.title": "Notifications",
  "settings.section.notifications.subtitle": "Control OS-level notifications for session activity.",
  "settings.notifications.permission.granted": "Granted",
  "settings.notifications.permission.denied": "Denied",
  "settings.notifications.permission.default": "Not granted",
  "settings.notifications.permission.unsupported": "Unsupported",
  "settings.notifications.messages.unsupportedEnvironment": "OS notifications are not supported in this environment.",
  "settings.notifications.messages.permissionDenied": "Notification permission denied. Enable notifications in your system or browser settings.",
  "settings.notifications.messages.permissionNotGranted": "Notification permission not granted.",
  "settings.notifications.messages.unsupportedGeneral": "Notifications are not supported in this environment.",
  "settings.notifications.messages.permissionGranted": "Permission granted. You can now enable notifications.",
  "settings.notifications.messages.permissionRequestDenied": "Permission denied. You may need to enable notifications in your system or browser settings.",
  "settings.notifications.sessionStatus.title": "Session status notifications",
  "settings.notifications.sessionStatus.subtitle": "Receive alerts when sessions need your attention.",
  "settings.notifications.enable.title": "Enable notifications",
  "settings.notifications.enable.permission": "Permission: {permission}",
  "settings.notifications.requestPermission.title": "Request permission",
  "settings.notifications.requestPermission.subtitle": "Allow the app to send notifications on this device.",
  "settings.notifications.requestPermission.action": "Request",
  "settings.notifications.allowVisible.title": "Notify when the app is focused",
  "settings.notifications.allowVisible.subtitle": "Keep alerts enabled even while this window is visible.",
  "settings.notifications.unsupportedNote": "Notifications are not supported in this environment. The notifications control stays disabled.",
  "settings.notifications.events.title": "Notify me when",
  "settings.notifications.events.subtitle": "Choose which session events should send alerts.",
  "settings.notifications.events.needsInput": "Session needs input",
  "settings.notifications.events.idle": "Session becomes idle",
  "settings.notifications.status.enabled": "Notifications enabled",
  "settings.notifications.status.disabled": "Notifications disabled",
  "settings.notifications.status.unsupported": "Notifications unsupported",
  "settings.section.remote.title": "Remote Access",
  "settings.section.remote.subtitle": "Review how this server is exposed on your network and secure access credentials.",
  "settings.section.opencode.title": "OpenCode",
  "settings.section.opencode.subtitle": "Choose the OpenCode binary and environment used for new instances.",
  "settings.opencode.runtime.title": "Runtime",
  "settings.opencode.runtime.subtitle": "Configure which OpenCode binary new instances launch with.",

  "settings.appearance.behavior.title": "交互",
  "settings.appearance.behavior.subtitle": "消息、差异与输入的默认值。",
  "settings.behavior.keyboardHints.title": "键盘快捷键提示",
  "settings.behavior.keyboardHints.subtitle": "在整个界面中显示键盘快捷键提示。",
  "settings.behavior.thinking.title": "思考区块",
  "settings.behavior.thinking.subtitle": "在消息中显示或隐藏AI的思考区块。",
  "settings.behavior.thinkingDefault.title": "思考默认状态",
  "settings.behavior.thinkingDefault.subtitle": "选择思考区块默认是展开还是折叠。",
  "settings.behavior.timelineTools.title": "时间线工具调用",
  "settings.behavior.timelineTools.subtitle": "在消息时间线中显示或隐藏工具调用条目。",
  "settings.behavior.diffView.title": "差异视图",
  "settings.behavior.diffView.subtitle": "选择工具调用差异的显示方式。",
  "settings.behavior.diffView.option.split": "分栏",
  "settings.behavior.diffView.option.unified": "统一",
  "settings.behavior.toolOutputsDefault.title": "工具输出默认状态",
  "settings.behavior.toolOutputsDefault.subtitle": "选择工具输出默认是展开还是折叠。",
  "settings.behavior.diagnosticsDefault.title": "诊断默认状态",
  "settings.behavior.diagnosticsDefault.subtitle": "选择诊断输出默认是展开还是折叠。",
  "settings.behavior.toolInputsVisibility.title": "工具输入可见性",
  "settings.behavior.toolInputsVisibility.subtitle": "设置工具调用输入参数的默认可见性。",
  "settings.behavior.usageMetrics.title": "令牌用量指标",
  "settings.behavior.usageMetrics.subtitle": "显示或隐藏助手消息的令牌与成本统计。",
  "settings.behavior.autoCleanup.title": "自动清理空会话",
  "settings.behavior.autoCleanup.subtitle": "创建新会话时自动清理空会话。",
  "settings.behavior.promptSubmit.title": "回车发送",
  "settings.behavior.promptSubmit.subtitle": "使用回车发送；Cmd/Ctrl+回车插入新行。",
} as const
