local L = select(2, ...).L('enUS')
-- Slot names
L["slot_head"] = "Head"
L["slot_neck"] = "Neck"
L["slot_shoulder"] = "Shoulders"
L["slot_chest"] = "Chest"
L["slot_waist"] = "Waist"
L["slot_legs"] = "Legs"
L["slot_feet"] = "Feet"
L["slot_hands"] = "Hands"
L["slot_wrist"] = "Wrists"
L["slot_finger"] = "Rings"
L["slot_trinket"] = "Trinkets"
L["slot_back"] = "Back"
L["slot_mainhand"] = "Main Hand"
L["slot_offhand"] = "Off Hand"

-- Badge / overlay
L["bis_on"] = "BiS |cff4cff4cON|r"
L["bis_off"] = "BiS |cffff4c4cOFF|r"
L["label_ok"] = "OK"
L["label_bis"] = "BiS"

-- Toggle tooltip
L["toggle_title"] = "BisManager - BiS Display"
L["toggle_desc"] = "Click to show/hide BiS badges"
L["toggle_right_click"] = "Right-click: open configuration"
L["enchant_toggle_title"] = "BisManager - Checks"
L["enchant_toggle_desc"] = "Left-click: show/hide enchant and gem warnings"
L["enchant_toggle_right_click"] = "Right-click: open configuration"
L["enchant_title"] = "Enchant"
L["enchant_present"] = "Enchant present"
L["enchant_missing"] = "Missing enchant"
L["gems_missing"] = "Missing gems"
L["gems_ok"] = "Gems OK"
L["enchant_not_applicable"] = "No enchant expected on this slot."

-- Tooltip
L["equipped_bis"] = "|cff4cff4cEquipped|r"
L["equipped_not_bis"] = "|cffff4c4cEquipped|r"
L["no_item_slot"] = "No item equipped on this slot."
L["bis_configured"] = "BiS configured:"
L["commands_hint"] = "Commands: /bis list "
L["required_fmt"] = "(%d required)"
L["badge_source_fmt"] = "   |cff999999Source: %s|r"
L["badge_source_url"] = "|cff5cc8ffProfile source: %s|r"
L["badge_click_config"] = "|cff4cff4cLeft-click|r: open config for this slot"
L["badge_click_wowhead"] = "|cff4cff4cRight-click|r: open Wowhead link"

-- Config UI
L["config_title"] = "|cff5cc8ffBisManager|r - Configuration"
L["tab_slots"] = "Slots"
L["tab_stats"] = "Stats"
L["tab_settings"] = "Settings"
L["tab_import_export"] = "Import / Export"
L["select_slot"] = "Select a slot"
L["display_header"] = "Badge Display"
L["check_enabled"] = "Show BiS badges on character panel"
L["check_show_ilvl"] = "Show item level on equipment slots and bags"
L["slider_scale"] = "Badge size:"
L["slider_alpha"] = "Badge opacity:"
L["actions_header"] = "Actions"
L["profile_header"] = "Profiles"
L["profile_current"] = "Active profile: |cffffffff%s|r"
L["profile_target"] = "Target profile:"
L["profile_help"] = "Activate an existing profile or create a new one. Copy duplicates the active profile into the entered name."
L["btn_profile_activate"] = "Activate"
L["btn_profile_delete"] = "Delete"
L["btn_profile_copy"] = "Copy"
L["btn_snapshot"] = "Snapshot: capture all current equipment"
L["btn_open_char"] = "Open character panel"
L["btn_clear_all"] = "|cffff6666Clear all BiS configuration|r"
L["help_header"] = "Help - Slash Commands"
L["add_bis_hint"] = "Add a BiS (ID, item:ID, name or Shift+Click):"
L["btn_add"] = "Add"
L["btn_capture"] = "Capture equipped"
L["btn_clear_slot"] = "Clear slot"
L["no_bis_slot"] = "No BiS configured for this slot."
L["source_label"] = "Source:"
L["source_hint"] = "Where to get this item (e.g. Boss name, Dungeon...)"
L["source_loading"] = "Searching..."
L["source_set"] = "Set"
L["source_crafting"] = "Crafting"
L["btn_set_source"] = "Set"
L["search_by_name"] = "Search by item name:"
L["btn_search"] = "Search"
L["search_no_result"] = "No item found with this name."
L["search_result_fmt"] = "Found: %s (ID: %d)"
L["profile_select"] = "Profile:"
L["stats_header"] = "BiS Secondary Stats"
L["stats_no_data"] = "No BiS items configured. Configure items in the Slots tab first."
L["stats_finger_1"] = "Ring 1"
L["stats_finger_2"] = "Ring 2"
L["stats_trinket_1"] = "Trinket 1"
L["stats_trinket_2"] = "Trinket 2"
L["stats_total_ilvl"] = "Average BiS ilvl:"
L["stats_slot_header"] = "Slot"
L["stats_item_header"] = "Item"
L["stats_ilvl_header"] = "ilvl"
L["stats_source_header"] = "Source"
L["stats_loading"] = "Loading item data..."
L["stats_crit"] = "Crit"
L["stats_haste"] = "Haste"
L["stats_mastery"] = "Mastery"
L["stats_versatility"] = "Versa"
L["stats_total"] = "TOTAL"
L["stats_pct_fmt"] = "%.0f%%"
L["profile_list_header"] = "Profiles"
L["profile_list_empty"] = "No profiles."
L["profile_active_marker"] = " |cff4cff4c(active)|r"

-- Wowhead BiS
L["wowhead_header"] = "Wowhead BiS Presets"
L["wowhead_no_data"] = "No data. Run the scraper first (tools/)."
L["wowhead_select_class"] = "Class:"
L["wowhead_select_spec"] = "Spec:"
L["wowhead_type_raid"] = "Raid BiS"
L["wowhead_type_mythicplus"] = "M+ BiS"
L["wowhead_btn_load"] = "Load BiS"
L["wowhead_loaded"] = "|cff4cff4cLoaded %d items into profile %s!|r"
L["wowhead_not_found"] = "|cffff6666Preset not found for this class/spec.|r"
L["wowhead_auto_detect"] = "Auto-detect"
L["prefix_bis"] = "|cff4cff4c[BiS]|r "
L["prefix_not_bis"] = "|cffff6666[Non-BiS]|r "
L["equipped_label"] = "Equipped: "
L["no_equipped_msg"] = "|cff999999No item equipped on this slot.|r"
L["popup_clear"] = "Clear all BiS configuration?\nThis action is irreversible."
L["popup_yes"] = "Yes"
L["popup_no"] = "No"

-- Import / Export
L["import_header"] = "Import / Export BiS List"
L["btn_import"] = "Import"
L["btn_export"] = "Export"
L["import_empty"] = "|cffff6666Paste text to import.|r"
L["import_success"] = "|cff4cff4cImport successful: %d items imported!|r"
L["import_fail"] = "|cffff6666No items recognized. Check the format.|r"
L["export_success"] = "|cff4cff4cConfiguration exported! Copy the text.|r"
L["export_empty"] = "|cffff6666No BiS configured to export.|r"
L["import_instructions"] = "|cff5cc8ffExpected format|r (one slot per line):\n" .. "  SLOT=itemID   or   SLOT=itemID,itemID\n\n" .. "|cff5cc8ffExample:|r\n" .. "  HEAD=212345\n" .. "  NECK=212678,215432\n" .. "  FINGER=219876,220111\n" .. "  TRINKET=219876,220111,220222\n\n" .. "|cff5cc8ffFrom Wowhead|r: Go to your class/spec BiS page,\n" .. "  note item IDs (visible in URL: wowhead.com/item=XXXXX).\n" .. "|cff5cc8ffFrom Murlok.io|r: Check your spec BiS,\n" .. "  copy IDs displayed on each piece of equipment.\n" .. "Lines starting with # are ignored."

-- Chat messages
L["chat_display_on"] = "BiS display enabled."
L["chat_display_off"] = "BiS display hidden."
L["chat_ilvl_on"] = "Item level display enabled."
L["chat_ilvl_off"] = "Item level display disabled."
L["chat_no_bis"] = "No BiS configured for this character."
L["chat_no_item"] = "No item provided."
L["chat_bad_item"] = "Use an item link, item:ID or numeric ID."
L["chat_snapshot_ok"] = "Snapshot completed on %d slots in profile %s."
L["chat_snapshot_none"] = "No equipped items to capture."
L["chat_import_hint"] = "Use /bis import <text> or open config (Import tab)."
L["chat_import_ok"] = "Import successful: %d items imported into profile %s."
L["chat_import_profile_hint"] = "Use /bis importprofile <profile> <text>."
L["chat_import_profile_ok"] = "Import successful: %d items imported into profile %s."
L["chat_import_none"] = "No items recognized in import."
L["chat_export_title"] = "BiS Export (%s):"
L["chat_export_none"] = "No BiS configured to export."
L["chat_bad_value"] = "Invalid value. Example: /bis %s %s"
L["chat_scale_set"] = "Badge size: %.2f"
L["chat_alpha_set"] = "Badge opacity: %.2f"
L["chat_slot_unknown"] = "Unknown slot: %s"
L["chat_slot_cleared"] = "Configuration cleared for %s."
L["chat_all_cleared"] = "All BiS configuration has been cleared for profile %s."
L["chat_profile_none"] = "No profiles available."
L["chat_profile_list"] = "Profiles: %s"
L["chat_profile_active"] = "Active profile: %s"
L["chat_profile_switched"] = "Active profile changed: %s"
L["chat_use_clear"] = "Use /bis clear <slot|all>."
L["chat_use_capture"] = "Use /bis capture <slot>."
L["chat_capture_ok"] = "BiS updated for %s with equipped item."
L["chat_no_equip"] = "No item equipped on %s."
L["chat_bis_set"] = "BiS set for %s: %s"
L["chat_bis_added"] = "BiS added for %s: %s"
L["chat_bis_exists"] = "This item is already configured on %s."
L["chat_removed"] = "Option removed for %s."
L["chat_remove_fail"] = "Cannot remove this entry from %s."
L["chat_cmd_incomplete"] = "Incomplete command. Use /bis %s <slot> <itemLink|itemID>."
L["chat_unknown_cmd"] = "Unknown command: %s"
-- Help lines
L["help_main"] = "Main commands:"
L["help_open"] = "/bis -> open configuration window"
L["help_panel"] = "/bis panel -> open character panel with badges"
L["help_set"] = "/bis set <slot> <item> -> replace slot BiS"
L["help_add"] = "/bis add <slot> <item> -> add BiS option"
L["help_remove"] = "/bis remove <slot> <idx|item> -> remove option"
L["help_clear"] = "/bis clear <slot|all> -> clear config"
L["help_capture"] = "/bis capture <slot> -> set BiS from equipped"
L["help_snapshot"] = "/bis snapshot -> capture all gear as BiS"
L["help_import"] = "/bis import -> import a BiS list into the active profile"
L["help_export"] = "/bis export -> export the active BiS profile"
L["help_ilvl"] = "/bis ilvl -> toggle ilvl display"
L["help_misc"] = "/bis profile <name>, /bis importprofile, /bis exportprofile, /bis list [slot], /bis show, /bis hide, /bis toggle"

L["inspect_import_button"] = "Copy Equipment"
L["inspect_import_success"] = "Profile %s imported from %s."
L["inspect_import_fail"] = "Could not import the inspected profile."

L["help_config_text"] = "|cff5cc8ff/bis|r or |cff5cc8ff/BisManager|r : open this window\n" .. "|cff5cc8ff/bis panel|r : open character panel\n" .. "|cff5cc8ff/bis set <slot> <item>|r : replace slot BiS\n" .. "|cff5cc8ff/bis add <slot> <item>|r : add a BiS\n" .. "|cff5cc8ff/bis remove <slot> <idx|item>|r : remove a BiS\n" .. "|cff5cc8ff/bis clear <slot|all>|r : clear config\n" .. "|cff5cc8ff/bis snapshot|r : capture full equipment\n" .. "|cff5cc8ff/bis import|r : import BiS list\n" .. "|cff5cc8ff/bis export|r : export BiS config\n" .. "|cff5cc8ff/bis ilvl|r : toggle ilvl display\n" .. "|cff5cc8ff/bis help|r : show help in chat"

L["minimap_tooltip_title"] = "BisManager"
L["minimap_tooltip_desc"] = "Left-click: open the item level window."
L["minimap_tooltip_right_click"] = "Right-click: open configuration."
L["group_report_title"] = "Group item level report"
L["group_report_refresh"] = "Refresh"
L["group_report_empty"] = "No group players found."
L["group_report_loading"] = "Scanning..."
L["group_report_unavailable"] = "Unavailable"
L["group_report_out_of_range"] = "Out of range"

L["btn_reset_profiles"] = "Reset all profiles"
L["popup_reset_profiles"] = "Delete ALL profiles and reload defaults from BiS data?"
L["profile_section_generated"] = "Generated Profiles (BiS Presets)"
L["profile_section_user"] = "User Profiles"
L["btn_new_profile"] = "New Profile"
L["btn_reset_generated"] = "Reset generated profiles"
L["popup_reset_generated"] = "Regenerate all BiS preset profiles from data?\nThis will overwrite existing generated profiles."
L["profile_no_generated"] = "No BiS presets found for your class/spec."
L["profile_no_user"] = "No user profiles. Create one below."

