# =============================================================================
# TAKT UI Labels — English
# =============================================================================
# User-facing display strings (not AI prompts).
# Template variables use {variableName} syntax.
# =============================================================================

# ===== Interactive Mode UI =====
interactive:
  conversationLabel: "Conversation:"
  noTranscript: "(No local transcript. Summarize the current session context.)"
  ui:
    intro: "Interactive mode - describe your task. Commands: /go (execute), /play (run now), /cancel (exit)"
    resume: "Resuming previous session"
    noConversation: "No conversation yet. Please describe your task first."
    summarizeFailed: "Failed to summarize conversation. Please try again."
    continuePrompt: "Okay, continue describing your task."
    proposed: "Proposed task instruction:"
    actionPrompt: "What would you like to do?"
    actions:
      execute: "Execute now"
      createIssue: "Create GitHub Issue"
      saveTask: "Save as Task"
      continue: "Continue editing"
    cancelled: "Cancelled"
    playNoTask: "Please specify task content: /play <task>"
    personaFallback: "No persona available for the first movement. Falling back to assistant mode."
  modeSelection:
    prompt: "Select interactive mode:"
    assistant: "Assistant"
    assistantDescription: "Ask clarifying questions before generating instructions"
    persona: "Persona"
    personaDescription: "Converse as the first agent's persona"
    quiet: "Quiet"
    quietDescription: "Generate instructions without asking questions"
    passthrough: "Passthrough"
    passthroughDescription: "Pass your input directly as task text"
  sessionSelector:
    confirm: "Choose a previous session?"
    prompt: "Resume from a recent session?"
    newSession: "New session"
    newSessionDescription: "Start a fresh conversation"
    noSessions: "No resumable sessions were found. Starting a new session."
    lastResponse: "Last: {response}"
    messages: "{count} messages"
  previousTask:
    success: "✅ Previous task completed successfully"
    error: "❌ Previous task failed: {error}"
    userStopped: "⚠️ Previous task was interrupted by user"
    piece: "Piece: {pieceName}"
    timestamp: "Executed: {timestamp}"

# ===== Piece Execution UI =====
piece:
  iterationLimit:
    maxReached: "Reached max iterations ({currentIteration}/{maxMovements})"
    currentMovement: "Current movement: {currentMovement}"
    continueQuestion: "Continue?"
    continueLabel: "Continue (enter additional iterations)"
    continueDescription: "Increase the limit by the entered count"
    stopLabel: "Stop"
    inputPrompt: "Enter additional iterations (>= 1)"
    invalidInput: "Please enter an integer of 1 or greater."
    userInputPrompt: "Enter additional instructions (empty to cancel)"
  notifyComplete: "Piece complete ({iteration} iterations)"
  notifyAbort: "Aborted: {reason}"
  sigintGraceful: "Ctrl+C: Aborting piece..."
  sigintTimeout: "Graceful shutdown timed out after {timeoutMs}ms"
  sigintForce: "Ctrl+C: Force exit"

run:
  notifyComplete: "Run complete ({total} tasks)"
  notifyAbort: "Run finished with errors ({failed})"
