{
  "common": {
    "success": "Success",
    "error": "Error",
    "warning": "Warning",
    "info": "Info",
    "loading": "Loading...",
    "done": "Done",
    "cancel": "Cancel",
    "confirm": "Confirm",
    "yes": "Yes",
    "no": "No",
    "help": "Help",
    "version": "Version",
    "unknown": "Unknown",
    "notFound": "Not found",
    "retry": "Retry",
    "back": "Back",
    "exit": "Exit",
    "save": "Save",
    "delete": "Delete",
    "enable": "Enable",
    "disable": "Disable",
    "install": "Install",
    "uninstall": "Uninstall",
    "update": "Update",
    "search": "Search",
    "create": "Create",
    "name": "Name",
    "status": "Status",
    "description": "Description",
    "path": "Path",
    "enabled": "enabled",
    "disabled": "disabled"
  },
  "menu": {
    "selectAction": "Select an action:",
    "systemManagement": "System Management",
    "appManagement": "App Management",
    "aiGateway": "AI Gateway / Relay",
    "dataService": "Data Service",
    "strategyBacktest": "Strategy & Backtest",
    "securityTools": "Security Tools",
    "extensionManager": "Extension Manager",
    "settings": "Settings",
    "enterCode": "Enter stock/futures code:",
    "enterPrompt": "Enter prompt:",
    "farewell": "Goodbye!"
  },
  "auth": {
    "loginRequired": "Please login first",
    "loginSuccess": "Login successful",
    "loginFailed": "Login failed: {reason}",
    "logoutSuccess": "Logged out",
    "tokenExpired": "Session expired, please login again",
    "unauthorized": "Unauthorized access"
  },
  "ext": {
    "installed": "Extension \"{name}\" installed successfully",
    "uninstalled": "Extension \"{name}\" uninstalled",
    "enabled": "Extension \"{name}\" enabled",
    "disabled": "Extension \"{name}\" disabled",
    "notFound": "Extension \"{name}\" not found",
    "alreadyInstalled": "Extension \"{name}\" is already installed",
    "installFailed": "Install failed: {reason}",
    "uninstallFailed": "Uninstall failed: {reason}",
    "noExtensions": "No extensions installed. Use \"ext search <query>\" to find extensions.",
    "searching": "Searching registry for \"{query}\"...",
    "noResults": "No extensions found.",
    "resultsCount": "{count} result(s). Install with: ext install <name>",
    "installedCount": "{count} extension(s) installed",
    "updating": "Updating \"{name}\"...",
    "updated": "Updated \"{name}\" from {old} to {new}",
    "allUpToDate": "All extensions are up to date",
    "updatesAvailable": "{count} update(s) available:",
    "checkingUpdates": "Checking for updates...",
    "installing": "Installing \"{name}\"...",
    "linked": "Linked \"{name}\" from {path}",
    "unlinked": "Unlinked \"{name}\"",
    "scaffolded": "Extension \"{name}\" created at {path}",
    "filesCreated": "Files created:",
    "nextSteps": "Next steps:"
  },
  "gateway": {
    "starting": "Starting AI gateway...",
    "started": "AI gateway started on port {port}",
    "stopped": "AI gateway stopped",
    "adapterLoaded": "Adapter loaded: {name}",
    "adapterFailed": "Adapter \"{name}\" failed: {reason}",
    "noAdapters": "No adapters configured",
    "requestForwarded": "Request forwarded to {target}",
    "rateLimited": "Rate limited — retry after {seconds}s"
  },
  "data": {
    "fetching": "Fetching data for {symbol}...",
    "fetchSuccess": "Data loaded: {count} records",
    "fetchFailed": "Failed to fetch data: {reason}",
    "cacheHit": "Using cached data for {symbol}",
    "noData": "No data available for {symbol}",
    "syncStarted": "Data sync started",
    "syncComplete": "Sync complete: {count} instruments updated"
  },
  "strategy": {
    "backtestStarted": "Backtest started: {name}",
    "backtestComplete": "Backtest complete — Return: {return}%, Max drawdown: {drawdown}%",
    "backtestFailed": "Backtest failed: {reason}",
    "noStrategies": "No strategies found",
    "strategyCreated": "Strategy \"{name}\" created",
    "strategyDeleted": "Strategy \"{name}\" deleted"
  },
  "security": {
    "scanComplete": "Scan complete — no threats found",
    "threatsFound": "Found {count} threat(s)!",
    "scanFailed": "Security scan failed: {reason}",
    "auditLogged": "Security event logged to ~/.khyquant/security.log"
  },
  "ai": {
    "thinking": "Thinking...",
    "generating": "Generating response...",
    "modelLoaded": "Model loaded: {model}",
    "modelNotFound": "Model \"{model}\" not found",
    "connectionFailed": "AI service connection failed: {reason}",
    "contextTruncated": "Context truncated to fit model window",
    "tokenUsage": "Tokens used: {input} input, {output} output"
  },
  "arena": {
    "starting": "Starting arena comparison with {count} models...",
    "modelComplete": "Model \"{model}\" completed in {time}ms",
    "modelFailed": "Model \"{model}\" failed: {reason}",
    "allComplete": "All models complete. Generating summary...",
    "recommendation": "Recommended: {model} (score: {score})"
  },
  "session": {
    "newSession": "New Conversation",
    "sessionRecap": "Session Recap ({turns} turns)",
    "topics": "Topics:",
    "decisions": "Key Decisions:",
    "filesChanged": "Files Changed:",
    "commandsRun": "Commands Run:",
    "openQuestions": "Open Questions:",
    "keyInsights": "Key Insights:"
  },
  "config": {
    "migrated": "Config migrated v{from}→v{to}: {count} migration(s)",
    "alreadyLatest": "Config already at latest version",
    "migrationFailed": "Config migration failed: {reason}",
    "backupCreated": "Backup created: {path}"
  },
  "lsp": {
    "starting": "Starting {server} for {language}...",
    "started": "LSP initialized: {server}",
    "notFound": "Language server \"{server}\" not found. Install: {install}",
    "noServer": "No language server detected for this project",
    "definitionFound": "Definition found in {file}:{line}",
    "referencesFound": "{count} reference(s) found",
    "noDefinition": "No definition found",
    "noReferences": "No references found"
  }
}
