#!/bin/bash
# =============================================================================
# Recette - English Messages
# Automated Acceptance Testing System
# =============================================================================

# Header
MSG_RECETTE_HEADER="Recette - Automated Acceptance Testing"
MSG_RECETTE_VERSION="Version"
MSG_RECETTE_GOLDEN_RULE="Golden Rule: A fixed bug should NEVER reappear"

# Chrome MCP
MSG_CHROME_CHECKING="Checking Chrome MCP..."
MSG_CHROME_OK="Chrome MCP: OK"
MSG_CHROME_NOT_FOUND="MCP 'claude-in-chrome' not detected"
MSG_CHROME_NOT_CONNECTED="Chrome extension not connected"
MSG_CHROME_VERSION_OLD="Chrome extension version too old"
MSG_CHROME_PERMISSION_REQUIRED="Chrome permission required for"
MSG_CHROME_SOLUTIONS="Solutions:"
MSG_CHROME_SOLUTION_1="Launch Claude Code with: claude --chrome"
MSG_CHROME_SOLUTION_2="Or run /chrome in this session"
MSG_CHROME_SOLUTION_3="Verify the Chrome extension (v1.0.36+)"

# Session
MSG_SESSION_CREATED="Session created"
MSG_SESSION_RESUMED="Session resumed"
MSG_SESSION_ID="Session ID"
MSG_SESSION_NOT_FOUND="Session not found"
MSG_SESSION_STATUS="Status"
MSG_SESSION_PAUSED="paused"
MSG_SESSION_RUNNING="running"
MSG_SESSION_COMPLETED="completed"
MSG_SESSION_FAILED="failed"

# Test Plan
MSG_PLAN_GENERATING="Generating test plan..."
MSG_PLAN_GENERATED="Test plan generated"
MSG_PLAN_LOADING="Loading test plan..."
MSG_PLAN_LOADED="Test plan loaded"
MSG_PLAN_CATEGORIES="Test categories"
MSG_PLAN_TESTS_COUNT="tests"
MSG_PLAN_VALIDATION_PASSED="Plan validation passed"
MSG_PLAN_VALIDATION_FAILED="Plan validation failed"

# Test Execution
MSG_EXEC_STARTING="Starting test execution..."
MSG_EXEC_TEST="Executing test"
MSG_EXEC_STEP="Step"
MSG_EXEC_OF="of"
MSG_EXEC_ACTION="Action"
MSG_EXEC_PASSED="PASSED"
MSG_EXEC_FAILED="FAILED"
MSG_EXEC_SKIPPED="SKIPPED"
MSG_EXEC_ASSERTION="Assertion"
MSG_EXEC_SCREENSHOT="Taking screenshot..."
MSG_EXEC_COMPLETE="Execution complete"

# Progress
MSG_PROGRESS_TITLE="Progress"
MSG_PROGRESS_TOTAL="Total"
MSG_PROGRESS_PASSED="Passed"
MSG_PROGRESS_FAILED="Failed"
MSG_PROGRESS_PENDING="Pending"
MSG_PROGRESS_SKIPPED="Skipped"
MSG_PROGRESS_RATE="Pass rate"

# Errors
MSG_ERROR="Error"
MSG_ERROR_DETECTED="Error detected"
MSG_ERROR_TYPE="Error type"
MSG_ERROR_CLASSIFYING="Classifying error..."
MSG_ERROR_CLASSIFICATION="Error classification"
MSG_ERROR_GENERATING_TESTS="Generating regression tests..."
MSG_ERROR_TESTS_GENERATED="Regression tests generated"

# Error Types
MSG_ERROR_TYPE_VISUAL="visual"
MSG_ERROR_TYPE_INTERACTION="interaction"
MSG_ERROR_TYPE_VALIDATION="validation"
MSG_ERROR_TYPE_LOGIC="logic"
MSG_ERROR_TYPE_SECURITY="security"
MSG_ERROR_TYPE_API="API"

# Regression
MSG_REGRESSION_TITLE="Regression Suite"
MSG_REGRESSION_REGISTRY="Regression registry"
MSG_REGRESSION_ADDING="Adding to regression registry..."
MSG_REGRESSION_ADDED="Added to regression registry"
MSG_REGRESSION_DETECTING="Detecting regressions..."
MSG_REGRESSION_DETECTED="Regressions detected"
MSG_REGRESSION_NONE="No regressions"
MSG_REGRESSION_NEW_FAILURES="New failures"
MSG_REGRESSION_FIXED="Fixed"
MSG_REGRESSION_ALERT="REGRESSION ALERT"

# Checkpoints
MSG_CHECKPOINT_CREATING="Creating checkpoint..."
MSG_CHECKPOINT_CREATED="Checkpoint created"
MSG_CHECKPOINT_RESTORING="Restoring from checkpoint..."
MSG_CHECKPOINT_RESTORED="Checkpoint restored"

# Reports
MSG_REPORT_GENERATING="Generating report..."
MSG_REPORT_GENERATED="Report generated"
MSG_REPORT_FORMAT="Format"
MSG_REPORT_PATH="Report path"

# Summary
MSG_SUMMARY_TITLE="Recette Summary"
MSG_SUMMARY_SESSION="Session"
MSG_SUMMARY_SCOPE="Scope"
MSG_SUMMARY_TARGET="Target"
MSG_SUMMARY_DURATION="Duration"
MSG_SUMMARY_TESTS="Tests"
MSG_SUMMARY_ERRORS="Errors"
MSG_SUMMARY_REGRESSIONS="Regressions"

# Actions
MSG_ACTION_NAVIGATE="navigate"
MSG_ACTION_CLICK="click"
MSG_ACTION_TYPE="type"
MSG_ACTION_FILL_FORM="fill_form"
MSG_ACTION_SCROLL="scroll"
MSG_ACTION_WAIT="wait"
MSG_ACTION_SCREENSHOT="screenshot"
MSG_ACTION_HOVER="hover"
MSG_ACTION_SELECT="select"
MSG_ACTION_CHECK="check"
MSG_ACTION_UPLOAD="upload"

# Assertions
MSG_ASSERT_URL_MATCHES="URL matches"
MSG_ASSERT_ELEMENT_VISIBLE="Element visible"
MSG_ASSERT_ELEMENT_TEXT="Element text"
MSG_ASSERT_NO_CONSOLE_ERRORS="No console errors"
MSG_ASSERT_RESPONSE_CODE="Response code"

# Dry Run
MSG_DRY_RUN_MODE="Dry run mode"
MSG_DRY_RUN_PLAN_ONLY="Plan generated (no execution)"

# Resume
MSG_RESUME_FROM="Resuming from"
MSG_RESUME_TEST="test"
MSG_RESUME_STEP="step"

# Misc
MSG_LOADING="Loading..."
MSG_SAVING="Saving..."
MSG_DONE="Done"
MSG_CANCELLED="Cancelled"
MSG_WARNING="Warning"
MSG_INFO="Info"
MSG_SUCCESS="Success"
MSG_YES="yes"
MSG_NO="no"
