{
    "_language_name": "English",
    "ui": {
        "title": "Switch Downgrader",
        "ready": "Switch Downgrader v1.0 ready.",
        "ready_hint": "Select your keys, firmware folder, and start a downgrade.\n",
        "config_title": "Configuration",
        "keys_label": "🔑  Keys File:",
        "firmware_label": "📁  Firmware Folder:",
        "rawnand_label": "💾  RAWNAND.bin:",
        "offline_mode": "  Offline Mode (use RAWNAND.bin file)",
        "quick_btn": "⚡  Start Downgrade",
        "quick_info": "Preserves all user data (saves, games, etc.)",
        "copy_boot_btn": "📋  Copy BOOT Files to SD Card",
        "log_title": "  Log Output  ",
        "clear_btn": "Clear",
        "save_log_btn": "Save Log",
        "settings_btn": "⚙ Settings",
        "browse": "Browse"
    },
    "settings": {
        "title": "Settings",
        "tool_paths": "Tool Paths",
        "label_7z": "7-Zip (7z.exe):",
        "label_osfmount": "OSFMount:",
        "label_nxnandmanager": "NxNandManager:",
        "label_emmchaccgen": "EmmcHaccGen:",
        "label_partitions": "NAND Partitions:",
        "label_temp": "Temp Directory:",
        "label_language": "Language:",
        "auto_detect": "⟳  Auto-Detect Paths"
    },
    "validation": {
        "missing_paths_title": "Missing Paths",
        "missing_paths_msg": "Please configure these paths before starting:",
        "missing_keys": "Keys File (prod.keys)",
        "missing_firmware": "Firmware Folder",
        "missing_rawnand": "RAWNAND.bin File",
        "missing_tools_title": "Missing Tools",
        "missing_tools_msg": "Required tools not found:",
        "missing_tools_hint": "\n\nGo to Settings (⚙) to configure tool paths,\nor make sure the 'lib' folder is next to the app.",
        "no_boot_files": "No BOOT files available.\nRun a downgrade first."
    },
    "confirm": {
        "full_warning_title": "⚠️ Warning",
        "full_warning_msg": "Full Downgrade will ERASE ALL user data!\n\n• All saves will be lost\n• All installed games will be removed\n• Settings will be reset\n\nAre you sure you want to continue?"
    },
    "detection": {
        "scanning_emmc": "--- Scanning for Switch eMMC using Hekate hardware IDs...",
        "found_drive": "   Found: {type} — {size}GB — {model}",
        "no_emmc": "   No Switch eMMC drives found.",
        "scanning_sd": "--- Detecting Switch SD card via Hekate...",
        "found_sd": "   Found Hekate SD Card at {mount}",
        "no_sd": "   No Hekate SD card found.",
        "console_model": "   Console model: {name}",
        "scanning_backups": "--- Scanning SD card for Hekate backup folders...",
        "found_backup": "   Found backup ID: {id}",
        "no_backup_folder": "   No 'backup' folder found on SD card."
    },
    "emmc_dialog": {
        "not_found_title": "eMMC Not Found",
        "not_found_msg": "No Switch eMMC detected.\n\nHOW TO FIX:\n1. On your Switch, open Hekate\n2. Go to: Tools → USB Tools → eMMC RAW GPP\n3. Make sure 'Read-Only' is turned OFF\n4. Connect the USB cable to your PC\n5. Wait a few seconds, then try again",
        "multiple_title": "Multiple Drives",
        "multiple_msg": "Found multiple drives that could be a Switch eMMC.\n\nPlease disconnect other USB drives and external storage,\nthen try again.",
        "confirm_title": "Confirm Target",
        "confirm_msg": "Found target {type}:\n\nPath: {path}\nSize: {size}\nModel: {model}\n\nIs this correct?"
    },
    "sd_dialog": {
        "not_found_title": "SD Card Not Found",
        "not_found_msg": "Could not auto-detect the Switch SD card.\n\nHOW TO FIX:\n1. In Hekate → Tools → USB Tools → SD Card\n2. Connect USB cable to your PC\n3. Wait for the drive to appear\n\nWould you like to select it manually?",
        "select_title": "Select SD Card Root",
        "no_backup_title": "No Backup Found",
        "no_backup_fallback_msg": "No Hekate backup folder found on the SD card.\n\nYou need to create a NAND backup in Hekate first:\nHekate → Tools → Backup eMMC → eMMC BOOT0 & BOOT1\n\nWould you like to open the temp folder instead to manually copy the files?",
        "not_found_fallback_msg": "Could not auto-detect the Switch SD card.\n\nHOW TO FIX:\n1. In Hekate → Tools → USB Tools → SD Card\n2. Connect USB cable to your PC\n3. Wait for the drive to appear\n\nWould you like to open the temp folder instead to manually copy the files?",
        "choose_title": "Choose Destination",
        "choose_msg": "Backup folder found: {id}\n\nWhere should the BOOT files be copied?\n\n• YES = eMMC (normal console)\n  → backup/{id}/restore/\n\n• NO = emuMMC\n  → backup/{id}/restore/emummc/"
    },
    "process": {
        "temp_dir": "Temp directory: {path}",
        "disk_ok": "Disk space OK: {free}GB free.",
        "disk_error": "ERROR: Not enough disk space. Need {required}GB, have {free}GB free.",
        "step_nand": "[STEP {n}/{total}] Connecting to NAND source...",
        "step_prodinfo": "[STEP {n}/{total}] Reading console identity...",
        "step_model": "   Model: {model}",
        "step_generate": "[STEP {n}/{total}] Generating firmware files...",
        "step_dump_system": "[STEP {n}/{total}] Dumping SYSTEM partition...",
        "step_prepare_donor": "[STEP {n}/{total}] Preparing donor SYSTEM partition...",
        "step_flash_data": "[STEP {n}/{total}] Flashing data partitions...",
        "step_flash_boot": "[STEP {n}/{total}] Flashing boot partitions...",
        "step_modified": "[STEP {n}/{total}] Flashing modified partitions...",
        "step_save_boot": "[STEP {n}/{total}] Saving BOOT files...",
        "connecting_nand": "Using RAWNAND.bin: {path}",
        "detecting_emmc": "\n--- Detecting target eMMC...",
        "detecting_emmc_hint": "    Make sure your Switch is connected via USB in Hekate.\n    In Hekate: Tools → USB Tools → eMMC RAW GPP\n    IMPORTANT: Read-Only must be OFF.\n"
    },
    "quick": {
        "title": "\n==================================================\n  QUICK DOWNGRADE — {mode} MODE\n==================================================",
        "desc_online": "\nThis process will modify your Switch's eMMC directly.\nUser data (saves, games) will be preserved.\n",
        "desc_offline": "\nThis process will modify your RAWNAND.bin file.\nUser data (saves, games) will be preserved.\n",
        "complete": "\n==================================================\n  QUICK DOWNGRADE COMPLETE!\n==================================================",
        "offline_done_msg": "Your RAWNAND.bin has been downgraded!\n\nBOOT0 and BOOT1 saved next to your RAWNAND.bin.\nFlash these files using Hekate to complete the process.",
        "online_done_msg": "eMMC has been downgraded!\n\nNEXT STEPS:\n1. Disconnect USB from Switch\n2. In Hekate → Tools → USB Tools → SD Card\n3. Connect USB again\n4. Click 'Copy BOOT to SD' button",
        "online_next_steps": "\nNEXT STEPS:\n1. On your Switch, disconnect the USB cable\n2. In Hekate, go back to the main menu\n3. Go to: Tools → USB Tools → SD Card\n4. Connect the USB cable again\n5. Click 'Copy BOOT to SD' in this app"
    },
    "full": {
        "title": "\n==================================================\n  FULL DOWNGRADE — {mode} MODE\n==================================================",
        "warning": "\n⚠️  WARNING: This will ERASE ALL user data!\n    Saves, games, and settings will be lost.\n",
        "complete": "\n==================================================\n  FULL DOWNGRADE COMPLETE!\n==================================================",
        "offline_done_msg": "Your RAWNAND.bin has been fully rebuilt!\n\nBOOT0 and BOOT1 saved next to your RAWNAND.bin.\nFlash all files using Hekate.",
        "online_done_msg": "eMMC has been fully rebuilt!\n\nNEXT STEPS:\n1. Disconnect USB from Switch\n2. In Hekate → Tools → USB Tools → SD Card\n3. Connect USB again\n4. Click 'Copy BOOT to SD' button",
        "online_next_steps": "\nNEXT STEPS:\n1. On your Switch, disconnect the USB cable\n2. In Hekate, go back to the main menu\n3. Go to: Tools → USB Tools → SD Card\n4. Connect the USB cable again\n5. Click 'Copy BOOT to SD' in this app"
    },
    "boot_copy": {
        "copying_hint": "\n--- Copying BOOT files to SD card...\n    Make sure your SD card is accessible:\n    In Hekate: Tools → USB Tools → SD Card\n",
        "copying_for": "--- Copying BOOT files for {target} to: {path}",
        "done": "\n--- BOOT files copied to SD card!",
        "next_steps": "\nNEXT STEPS:\n1. Safely eject the SD card from your PC\n2. In Hekate, go back to the main menu\n3. Go to: Tools → Restore eMMC → Restore eMMC BOOT\n4. Select BOOT0 and BOOT1 to flash them\n5. Reboot your Switch!\n",
        "done_title": "BOOT Files Copied!",
        "done_msg": "BOOT0 and BOOT1 copied for {target}.\n\nNEXT STEPS IN HEKATE:\n1. Safely eject SD in your PC\n2. In Hekate → Tools → Restore eMMC\n3. Flash BOOT0 and BOOT1\n4. Reboot your Switch!",
        "manual_folder_opened": "--- Opened folder: {path}",
        "cleanup": "Temp files cleaned up."
    },
    "deps": {
        "title": "Installing Dependencies",
        "starting": "Preparing...",
        "downloading_dotnet": "Downloading .NET 8 (≈55MB)...",
        "installing_dotnet": "Installing .NET 8...",
        "downloading_osfmount": "Downloading OSFMount (≈35MB)...",
        "installing_osfmount": "Installing OSFMount (please accept UAC)...",
        "success": "Installation complete!",
        "error": "Error: {error}",
        "prompt_title": "Missing Dependencies",
        "prompt_msg": "The program requires additional tools to work properly.\nWould you like to download and install them automatically now?",
        "manual_fallback_title": "Manual Installation Required",
        "manual_fallback_msg": "Automatic installation failed.\n\nWould you like to open the browser to download and install these dependencies manually?",
        "log_success": "SUCCESS: Dependencies installed successfully."
    },
    "errors": {
        "wmi_failed": "ERROR: WMI initialization failed: {error}",
        "prodinfo_title": "PRODINFO Error",
        "prodinfo_dump_fail": "Failed to read PRODINFO from {source}.\n\nPOSSIBLE CAUSES:\n• The NAND may be heavily corrupted\n• The keys file may be incorrect\n• The eMMC connection may be unstable\n\nTry using Full Downgrade instead,\nor provide a PRODINFO backup file.",
        "prodinfo_invalid": "The PRODINFO data is not valid (no CAL0 header).\n\nThis usually means the keys file doesn't match\nthe console, or the PRODINFO is corrupted.",
        "generation_title": "Generation Error",
        "generation_fail": "Failed to generate boot files.\n\nPOSSIBLE CAUSES:\n• Firmware folder may be incomplete or wrong version\n• Keys file may not match the firmware\n• .NET Runtime may not be installed\n\nMake sure you have the correct firmware folder\nand that .NET 8.0 Runtime is installed.",
        "mount_title": "Mount Error",
        "mount_fail": "Failed to mount the SYSTEM partition.\n\nMake sure OSFMount is installed correctly.\nYou may need to restart your PC if drives are stuck.",
        "mount_donor_fail": "Failed to mount the donor SYSTEM partition.\n\nMake sure OSFMount is installed correctly.",
        "critical": "\nCRITICAL ERROR: {error}"
    }
}
