export const en = {
  common: {
    loading: "Loading project...",
    noGraphLoaded: "No graph loaded",
    selectNode: "Select a node to see details",
    back: "Back",
    focus: "Focus",
    unfocus: "Unfocus",
    openCode: "Open code",
    file: "File",
    tags: "Tags",
    connections: "Connections",
    filter: "Filter",
    resetAll: "Reset All",
    analyzed: "Analyzed",
    startGuidedTour: "Start Guided Tour",
    truncated: "(truncated)",
    preview: "Preview",
    doubleClickToOpen: "double-click to open",
    appName: "Understand Anything",
    pressKeyboard: "Press ? for keyboard shortcuts",
    path: "Path",
    theme: "Theme",
  },
  projectOverview: {
    nodes: "Nodes",
    edges: "Edges",
    layers: "Layers",
    types: "Types",
    fileTypes: "File Types",
    code: "Code",
    config: "Config",
    docs: "Docs",
    infra: "Infra",
    data: "Data",
    domain: "Domain",
    knowledge: "Knowledge",
    languages: "Languages",
    frameworks: "Frameworks",
    nodeTypeDistribution: "Node Type Distribution",
    complexityDistribution: "Complexity Distribution",
    simple: "Simple",
    moderate: "Moderate",
    complex: "Complex",
    mostConnectedNodes: "Most Connected Nodes",
    avgConnectionsPerNode: "Avg Connections per Node",
  },
  nodeInfo: {
    definedInThisFile: "Defined in this file",
    languageConcepts: "Language Concepts",
    category: "Category",
    wikilinks: "Wikilinks",
    backlinks: "Backlinks",
    entities: "Entities",
    businessRules: "Business Rules",
    crossDomain: "Cross-Domain",
    flows: "Flows",
    entryPoint: "Entry Point",
    steps: "Steps",
    implementation: "Implementation",
  },
  fileExplorer: {
    analyzedFiles: "Analyzed Files",
    filesFromGraph: "files from the current knowledge graph",
    noFilePathsFound: "No file paths found.",
  },
  filterPanel: {
    nodeTypes: "Node Types",
    complexity: "Complexity",
    layers: "Layers",
    edgeCategories: "Edge Categories",
  },
  personaSelector: {
    overview: "Overview",
    overviewDesc: "High-level architecture view",
    learn: "Learn",
    learnDesc: "Full dashboard with guided learning",
    deepDive: "Deep Dive",
    deepDiveDesc: "Code-focused with chat",
  },
  sidebar: {
    info: "Info",
    files: "Files",
  },
  mobile: {
    graph: "Graph",
    info: "Info",
    files: "Files",
  },
  drawer: {
    controls: "Controls",
    dashboard: "Dashboard",
    role: "Role",
    view: "View",
    diffOverlay: "Diff overlay",
    nodeTypes: "Node types",
    layers: "Layers",
    tools: "Tools",
    path: "Path",
    help: "Help",
    structural: "Structural",
    domain: "Domain",
  },
  domainView: {
    backToDomains: "Back to domains",
  },
  detailLevel: {
    filesTitle: "Files only — architecture-level dependencies (fast)",
    classesTitle: "Files + Classes — code structure with inheritance",
    files: "Files",
    classes: "+Classes",
    fnTitle: "Toggle function nodes (may slow down rendering)",
    fn: "fn",
  },
  nodeTypeLabels: {
    all: "All",
    code: "Code",
    config: "Config",
    docs: "Docs",
    infra: "Infra",
    data: "Data",
    domain: "Domain",
    knowledge: "Knowledge",
  },
  tokenGate: {
    validating: "Validating...",
    continue: "Continue",
  },
  diffToggle: {
    hideOverlay: "Hide diff overlay",
    showOverlay: "Show diff overlay",
    noData: "No diff data loaded",
    changed: "Changed",
    affected: "Affected",
  },
  learnPanel: {
    finish: "Finish",
    next: "Next",
    prev: "Prev",
    noTour: "No tour available",
    noTourHint: "Generate a tour from your knowledge graph to get a guided walkthrough",
    projectTour: "Project Tour",
    steps: "steps",
    stepsTitle: "Steps",
    guidedWalkthrough: "Guided walkthrough of the codebase",
    startTour: "Start Tour",
    tour: "Tour",
    exitTour: "Exit Tour",
  },
  layer: {
    defaultName: "Layer",
    label: "layers",
  },
  breadcrumb: {
    projectOverview: "Project Overview",
    project: "Project",
    escBack: "Esc to go back",
  },
  warningBanner: {
    dropped: "Dropped",
    fatal: "Fatal",
  },
  themePicker: {
    changeTheme: "Change theme",
    theme: "Theme",
    accentColor: "Accent Color",
    headingFont: "Heading Font",
    serif: "Serif",
    sans: "Sans",
    mono: "Mono",
  },
  codeViewer: {
    fullFile: "Full file",
    lines: "Lines",
    linesLabel: "lines",
    noFile: "No file selected",
    loading: "Loading source...",
    openLarger: "Open larger code viewer",
    closeExpanded: "Close expanded code viewer",
    closeViewer: "Close code viewer",
    sourceUnavailable: "Source unavailable",
  },
  customNode: {
    tested: "Tested",
    hasTests: "Has tests",
  },
  ariaLabels: {
    openMenu: "Open menu",
    closeMenu: "Close menu",
    settings: "Settings",
    hideSearch: "Hide search",
    showSearch: "Show search",
  },
  nodeTypeFilter: {
    hide: "Hide",
    show: "Show",
    nodesLabel: "nodes",
  },
  keyboardShortcuts: {
    showHelp: "Show keyboard shortcuts",
    general: "General",
    navigation: "Navigation",
    tour: "Tour",
    view: "View",
    focusSearch: "Focus search bar",
    nextStep: "Next tour step",
    prevStep: "Previous tour step",
    toggleDiff: "Toggle diff mode",
    toggleFilter: "Toggle filter panel",
    toggleExport: "Toggle export menu",
    openPathFinder: "Open path finder",
    title: "Keyboard Shortcuts",
    toggleHint: "Press ? anytime to toggle this help",
    closeHint: "Press ESC to close",
    escapeDesc: "Close panels and modals / go back to overview",
  },
  search: {
    placeholder: "Search nodes by name, summary, or tags...",
    fuzzy: "Fuzzy",
    semantic: "Semantic",
    result: "result",
  },
  export: {
    label: "Export",
    title: "Export graph (E)",
    asPNG: "Export as PNG",
    asSVG: "Export as SVG",
    asJSON: "Export as JSON",
  },
  edgeLabels: {
    imports: { forward: "imports", backward: "imported by" },
    exports: { forward: "exports to", backward: "exported by" },
    contains: { forward: "contains", backward: "contained in" },
    inherits: { forward: "inherits from", backward: "inherited by" },
    implements: { forward: "implements", backward: "implemented by" },
    calls: { forward: "calls", backward: "called by" },
    subscribes: { forward: "subscribes to", backward: "subscribed by" },
    publishes: { forward: "publishes to", backward: "consumed by" },
    middleware: { forward: "middleware for", backward: "uses middleware" },
    reads_from: { forward: "reads from", backward: "read by" },
    writes_to: { forward: "writes to", backward: "written by" },
    transforms: { forward: "transforms", backward: "transformed by" },
    validates: { forward: "validates", backward: "validated by" },
    depends_on: { forward: "depends on", backward: "depended on by" },
    tested_by: { forward: "tested by", backward: "tests" },
    configures: { forward: "configures", backward: "configured by" },
    related: { forward: "related to", backward: "related to" },
    similar_to: { forward: "similar to", backward: "similar to" },
    deploys: { forward: "deploys", backward: "deployed by" },
    serves: { forward: "serves", backward: "served by" },
    migrates: { forward: "migrates", backward: "migrated by" },
    documents: { forward: "documents", backward: "documented by" },
    provisions: { forward: "provisions", backward: "provisioned by" },
    routes: { forward: "routes to", backward: "routed from" },
    defines_schema: { forward: "defines schema for", backward: "schema defined by" },
    triggers: { forward: "triggers", backward: "triggered by" },
    contains_flow: { forward: "contains flow", backward: "flow in" },
    flow_step: { forward: "flow step", backward: "step of" },
    cross_domain: { forward: "cross-domain to", backward: "cross-domain from" },
    cites: { forward: "cites", backward: "cited by" },
    contradicts: { forward: "contradicts", backward: "contradicted by" },
    builds_on: { forward: "builds on", backward: "built upon by" },
    exemplifies: { forward: "exemplifies", backward: "exemplified by" },
    categorized_under: { forward: "categorized under", backward: "categorizes" },
    authored_by: { forward: "authored by", backward: "authored" },
  },
  pathFinder: {
    title: "Find path between nodes (P)",
  },
  onboarding: {
    header: "UNDERSTAND-ANYTHING · GET STARTED",
    skipForever: "Don't show again",
    prev: "Previous",
    next: "Next",
    finish: "Start exploring",
    steps: [
      {
        title: "Welcome to the knowledge graph",
        body: "The dots and lines you see are entities and relations Understand-Anything extracted from this project. A node can be a file, class, or function from the code — or a concept, entity, or claim from a knowledge wiki.",
        hint: "Five steps to cover the core operations",
      },
      {
        title: "Three views at the top",
        body: "Overview shows the big picture (force-directed). Learn follows a preset learning path. Deep Dive shows type and complexity stats. Each view answers a different question.",
        hint: "Decide what you're asking before you switch",
      },
      {
        title: "Search + click a node",
        body: "The top search box fuzzy-matches node name / summary / tags. Click any node and the right panel opens with summary, neighbors, and Open Article.",
        hint: "Search centers and highlights; clicking a node highlights its edges",
      },
      {
        title: "Layer switch + Project Tour",
        body: "The layer tabs next to All filter the graph to one category, sourced from index.md. Project Tour on the right walks you through the editor's preset sequence.",
        hint: "Use Layer when nodes are too dense; start Tour when you have no entry point",
      },
      {
        title: "More hidden features",
        body: "The top bar also has Filter (by type / complexity), Export (export the graph), Path (find a path between two nodes), and Theme. Press Shift + ? for the full keyboard shortcuts.",
        hint: "Expand them when you need them — no need to memorize all at once",
      },
    ],
  },
};

export default en;