export default {
  common: {
    appName: 'Arboretum',
    loading: 'Loading…',
    cancel: 'Cancel',
    logout: 'Log out',
    language: 'Language',
  },
  login: {
    title: 'Sign in with your access token',
    tokenLabel: 'Access token',
    tokenPlaceholder: 'arb_…',
    submit: 'Sign in',
    submitting: 'Signing in…',
    invalidToken: 'Invalid token',
    rateLimited: 'Too many attempts — please wait before retrying',
    genericError: 'Sign-in failed ({status})',
  },
  sessions: {
    title: 'Sessions',
    refresh: 'Refresh',
    empty: 'No sessions yet — start one below.',
    newSession: 'New session',
    cwdLabel: 'Working directory',
    cwdPlaceholder: '/absolute/path/to/project',
    commandLabel: 'Command',
    creating: 'Creating…',
    open: 'Open',
    observe: 'Observe',
    view: 'View',
    resume: 'Resume',
    fork: 'Fork',
    kill: 'Kill',
    confirmKill: 'Confirm kill',
    live: 'live',
    resumable: 'resumable',
    sourceDiscovered: 'discovered',
    clients: 'no client | 1 client | {n} clients',
    exitCode: 'exit code {code}',
    statusLabel: {
      starting: 'starting',
      running: 'running',
      exited: 'exited',
    },
    registryStatus: {
      busy: 'busy',
      idle: 'idle',
      waiting: 'waiting',
    },
    dialog: {
      waiting: 'Waiting for your input',
      deny: 'Deny (Esc)',
      kind: {
        trust: 'Trust',
        permission: 'Permission',
        question: 'Question',
        plan: 'Plan',
      },
    },
  },
  dashboard: {
    title: 'Worktrees',
    allSessions: 'All sessions',
  },
  repos: {
    add: 'Add repo',
    adding: 'Adding…',
    remove: 'Remove',
    pathLabel: 'Repository path',
    pathPlaceholder: '/absolute/path/to/repo',
    empty: 'No repository registered yet — add one above.',
    invalid: 'unavailable',
  },
  worktrees: {
    new: 'New worktree',
    create: 'Create',
    creating: 'Creating…',
    branch: 'Branch',
    newBranch: 'create branch',
    start: 'Start',
    startNone: 'no session',
    delete: 'Delete',
    confirmDelete: 'Confirm delete',
    forceDelete: 'Force delete',
    prune: 'Prune',
    main: 'main',
    detached: 'detached',
    locked: 'locked',
    prunable: 'prunable',
    clean: 'clean',
    dirty: '{n} changed',
    noSession: 'no session',
  },
  terminal: {
    observer: 'observer (read-only)',
    sessionEnded: 'Session ended',
    back: 'Sessions',
    notAttachable: 'This session runs outside Arboretum — fork it to interact, or resume it once it has stopped.',
  },
  push: {
    enable: 'Enable notifications',
    disable: 'Notifications on',
    denied: 'Notification permission denied — enable it in your browser settings.',
    unsupported: 'Push needs HTTPS (e.g. Tailscale Serve); on iOS, install the app to your home screen first.',
  },
  fs: {
    browse: 'Browse…',
    up: 'Up',
    useFolder: 'Use this folder',
    showHidden: 'Show hidden',
    loading: 'Loading…',
    empty: 'No subfolders',
    repoBadge: 'repo',
  },
  ws: {
    reconnecting: 'Connection lost — reconnecting…',
  },
};
