{
  "knxUltimateAI": {
    "title": "KNX AI (Traffic Analyzer)",
    "sections": {
      "capture": "Capture",
      "analysis": "Analysis",
      "anomalies": "Anomalies",
      "llm": "LLM Assistant"
    },
    "properties": {
      "server": "Gateway",
      "name": "Name",
      "topic": "Topic",
      "notifywrite": "Capture GroupValue_Write",
      "notifyresponse": "Capture GroupValue_Response",
      "notifyreadrequest": "Capture GroupValue_Read",
      "analysisWindowSec": "Analysis window (seconds)",
      "historyWindowSec": "History window (seconds)",
      "maxEvents": "Max stored events",
      "emitIntervalSec": "Auto emit summary (seconds, 0=off)",
      "topN": "Top list size",
      "enablePattern": "Detect simple patterns (A -> B)",
      "patternMaxLagMs": "Pattern max lag (ms)",
      "patternMinCount": "Pattern min occurrences",
      "rateWindowSec": "Rate window (seconds)",
      "maxTelegramPerSecOverall": "Max overall telegrams/sec (0=off)",
      "maxTelegramPerSecPerGA": "Max telegrams/sec per GA (0=off)",
      "flapWindowSec": "Flap window (seconds)",
      "flapMaxChanges": "Max changes per GA in window (0=off)",
      "llmEnabled": "Enable LLM assistant",
      "llmProvider": "Provider",
      "llmBaseUrl": "Endpoint URL",
      "llmApiKey": "API key",
      "llmModel": "Model",
      "llmSystemPrompt": "System prompt",
      "llmTemperature": "Temperature",
      "llmMaxTokens": "Max tokens",
      "llmTimeoutMs": "Timeout (ms)",
      "llmMaxEventsInPrompt": "Recent events included",
      "llmIncludeRaw": "Include raw payload hex",
      "llmIncludeFlowContext": "Include Node-RED KNX node inventory",
      "llmMaxFlowNodesInPrompt": "Max flow nodes included",
      "llmIncludeDocsSnippets": "Include documentation snippets (help/README/examples)",
      "llmDocsLanguage": "Docs language",
      "llmDocsMaxSnippets": "Max docs snippets",
      "llmDocsMaxChars": "Max docs chars"
    },
    "outputs": {
      "summary": "摘要/统计",
      "anomalies": "异常",
      "assistant": "AI 助手"
    },
    "selectlists": {
      "llmProvider": {
        "openai_compat": "OpenAI-compatible (chat/completions)",
        "ollama": "Ollama (local, beta)"
      }
    },
    "messages": {
      "ollamaNotSupported": "Ollama local mode: API key not required. Default endpoint is http://localhost:11434/api/chat.",
      "ollamaNoModels": "No local Ollama model found. Install one or pick one from the library.",
      "installingOllamaModel": "Starting Ollama and installing model…",
      "installedOllamaModel": "Ollama model installed",
      "installOllamaModelFailed": "Failed to install Ollama model",
      "ollamaInstallSteps": "1) Open the model library and copy the model name (for example llama3.1). 2) Put the name in the Model field and click Install it.",
      "ollamaStartedAuto": "Ollama server started automatically."
    },
    "placeholder": {
      "llmBaseUrl": "https://api.openai.com/v1/chat/completions (or your compatible endpoint)",
      "llmApiKey": "Paste API key (starts with sk-)",
      "llmModel": "e.g. gpt-4o-mini",
      "llmSystemPrompt": "Optional. Leave empty for default."
    },
    "sidebar": {
      "ui": {
        "refreshNodeList": "刷新节点列表",
        "refreshSummary": "刷新摘要",
        "auto": "自动",
        "sections": {
          "summary": "摘要",
          "anomalies": "异常",
          "ask": "提问"
        },
        "empty": {
          "noNodes": "未找到 KNX AI 节点。",
          "noAnomalies": "无异常。"
        },
        "chat": {
          "placeholder": "询问有关 KNX 流量的问题…",
          "send": "发送",
          "pending": "思考中…",
          "llmDisabled": "节点配置中已禁用 LLM",
          "emptyAnswer": "（空回复）"
        },
        "status": {
          "ready": "就绪",
          "loadingNodes": "正在加载节点…",
          "loading": "正在加载…",
          "asking": "正在提问…"
        },
        "errors": {
          "loadNodes": "加载节点失败",
          "loadState": "加载状态失败",
          "askFailed": "提问失败"
        }
      },
      "summary": {
        "noData": "暂无数据。",
        "header": {
          "gateway": "网关：{{gatewayName}}",
          "updated": "更新于：{{at}}"
        },
        "analysisWindowLine": "分析窗口：{{seconds}} 秒",
        "statsLine": "电报：{{telegrams}} · 速率：{{rate}}/秒 · 回显：{{echoed}} · 未知 DPT：{{unknownDpt}}",
        "topGAsTitle": "最常见组地址：",
        "eventsTitle": "事件：",
        "patternsTitle": "模式（重复序列）：",
        "patternItem": "{{from}} → {{to}}（{{count}} 次，{{withinMs}}ms 内）"
      }
    },
    "buttons": {
      "installOllamaModel": "2) Install it",
      "ollamaLibrary": "Model library",
      "downloadOllamaModel": "1) Download model"
    }
  }
}
