local _, ns = ...

ns.RegisterLocale("enUS", {
    ["OWSL_MAIN_LIST"] = "Main List",
    ["OWSL_LIST_EXISTS"] = "List already exists",
    ["OWSL_LIST_NOT_FOUND"] = "List not found",
    ["OWSL_TARGET_EXISTS"] = "Target name already exists",
    ["OWSL_CANNOT_DELETE_MAIN"] = "Cannot delete Main List",
    ["OWSL_INVALID_ITEM"] = "Invalid item ID",

    ["OWSL_WINDOW_TITLE"] = "Shopping List",
    ["OWSL_SIDEBAR_TITLE"] = "Lists",
    ["OWSL_SELECT_RECIPE_TITLE"] = "Select Recipe: %s",
    ["OWSL_CRAFTABLES_TITLE"] = "Craftable Items in: %s",
    ["OWSL_EXPORT_TITLE"] = "Export: %s",
    ["OWSL_IMPORT_TITLE"] = "Import Shopping List",
    ["OWSL_SETTINGS_TITLE"] = "Settings",

    ["OWSL_BTN_NEW_LIST"] = "+ New List",
    ["OWSL_BTN_SCAN_ALL"] = "Scan All",
    ["OWSL_BTN_DRAG_ITEM"] = "Drag Item Here",
    ["OWSL_BTN_ADD_BY_ID"] = "Add by ID",
    ["OWSL_BTN_IMPORT"] = "Import",
    ["OWSL_BTN_ADD"] = "ADD",
    ["OWSL_BTN_CRAFT"] = "CRAFT",
    ["OWSL_BTN_CREATE"] = "Create",
    ["OWSL_BTN_CANCEL"] = "Cancel",
    ["OWSL_BTN_RENAME"] = "Rename",
    ["OWSL_BTN_DELETE"] = "Delete",
    ["OWSL_BTN_CLOSE"] = "Close",
    ["OWSL_BTN_MAKE_LIST"] = "Make List",
    ["OWSL_BTN_ADD_TO_ACTIVE"] = "Add to * List",
    ["OWSL_BTN_ADD_MORE"] = "Add More",
    ["OWSL_BTN_SETTINGS"] = "Settings",
    ["OWSL_BTN_BACK"] = "Back",
    ["OWSL_BTN_SAVE"] = "Save",

    ["OWSL_LABEL_SEARCH_ALTS"] = "Search Alts",
    ["OWSL_LABEL_SEARCH"] = "Search:",
    ["OWSL_LABEL_QTY"] = "Qty:",
    ["OWSL_LABEL_ID"] = "ID:",
    ["OWSL_LABEL_NEW_LIST_NAME"] = "New List Name:",
    ["OWSL_LABEL_IMPORTED_LIST"] = "Imported List %s",
    ["OWSL_LABEL_LANGUAGE"] = "Language:",

    ["OWSL_STATUS_TOTAL"] = "%d/%d (Total)",
    ["OWSL_STATUS_ALTS"] = "%d/%d (Alts)",
    ["OWSL_STATUS_NOT_FOUND"] = "Not found",

    ["OWSL_TOOLTIP_HEADER"] = "Shopping List",
    ["OWSL_TT_RENAME_LIST"] = "Click to rename list",
    ["OWSL_TT_SCAN_ALL_TITLE"] = "Scan All Unresolved Items",
    ["OWSL_TT_SCAN_ALL_DESC"] = "Searches your items and 20,000+ item database",
    ["OWSL_TT_SCAN_ALL_AUTO"] = "Auto-resolves exact name matches",
    ["OWSL_TT_SCAN_ALL_IMPORTANT"] = "IMPORTANT: Press 2-3 times for best results",
    ["OWSL_TT_SCAN_ALL_API"] = "API delays may require multiple scans",
    ["OWSL_TT_SCAN_NOTICE"] = "(Press 2-3 times due to API delay)",
    ["OWSL_TT_IMPORT_TITLE"] = "Import Items",
    ["OWSL_TT_IMPORT_DESC"] = "Paste crafting materials in these formats:",
    ["OWSL_TT_IMPORT_FORMAT1"] = "16x Dragonpine Lumber  OR  16x",
    ["OWSL_TT_IMPORT_FORMAT2"] = "10x Golden Carp             Dragonpine Lumber",
    ["OWSL_TT_SEARCH_ALTS_TITLE"] = "Search Alts",
    ["OWSL_TT_SEARCH_ALTS_DESC"] = "When enabled, searches all characters' backpacks, banks, warband bank, equipment, and other locations for items on this list",
    ["OWSL_TT_EXPAND_COLLAPSE"] = "Click to expand/collapse details",
    ["OWSL_TT_UNRESOLVED_TITLE"] = "Unresolved Item",
    ["OWSL_TT_UNRESOLVED_DESC"] = "Enter Item ID or click Scan to resolve",
    ["OWSL_TT_ITEM_TITLE"] = "Shopping List Item",
    ["OWSL_TT_RIGHT_CLICK_MOVE"] = "Right-Click: Move to another list",
    ["OWSL_TT_SHIFT_CLICK_AH"] = "Shift+Click: Add to Auction House search",
    ["OWSL_TT_ADD_QTY_TITLE"] = "Add to Quantity",
    ["OWSL_TT_ADD_QTY_DESC"] = "Enter a number to add to the current quantity",
    ["OWSL_TT_ADD_QTY_EXAMPLE"] = "Example: Current 50, Add 98 = 148",
    ["OWSL_TT_ENTER_ID_TITLE"] = "Enter Item ID",
    ["OWSL_TT_ENTER_ID_DESC"] = "Type the item ID and press Enter to enable tracking",
    ["OWSL_TT_ENTER_ID_FIND"] = "You can find item IDs on wowhead.com or in-game links",
    ["OWSL_TT_CRAFT_TITLE"] = "Craft This Item",
    ["OWSL_TT_CRAFT_DESC"] = "Add crafting ingredients to a shopping list",
    ["OWSL_TT_CRAFT_ONE_RECIPE"] = "1 recipe available: %s",
    ["OWSL_TT_CRAFT_RECIPES"] = "%d recipes available",
    ["OWSL_TT_REMOVE"] = "Remove from list",
    ["OWSL_TT_DELETE_CRAFT_ORDER"] = "Delete Craft Order",
    ["OWSL_TT_DELETE_LIST"] = "Delete List",
    ["OWSL_TT_DELETE_CRAFT_ORDERS"] = "This will also delete %d craft order(s)",
    ["OWSL_TT_MULTIPLE_ORDERS_TITLE"] = "Multiple Craft Orders",
    ["OWSL_TT_MULTIPLE_ORDERS_DESC"] = "This item is being crafted in multiple places:",
    ["OWSL_TT_TOTAL_NEEDED"] = "Total needed: %d",
    ["OWSL_TT_MAKE_LIST_TITLE"] = "Make New Shopping List",
    ["OWSL_TT_MAKE_LIST_DESC"] = "Creates a new shopping list with this recipe's reagents",
    ["OWSL_TT_ADD_TO_ACTIVE_TITLE"] = "Add to Active List",
    ["OWSL_TT_ADD_TO_ACTIVE_DESC"] = "Adds this recipe's reagents to your default shopping list",
    ["OWSL_TT_PROF_SHIFT_QTY"] = "Shift-click to add materials for multiple crafts at once",
    ["OWSL_TT_OPEN_LIST_TITLE"] = "Open Shopping List",
    ["OWSL_TT_OPEN_LIST_DESC"] = "Click to open the shopping list UI",
    ["OWSL_TT_DEFAULT_LIST"] = "Default List",
    ["OWSL_TT_DEFAULT_LIST_DESC"] = "This list receives new items by default. Click the skull on another top-level list to change the default. Starred lists sort just below the default list.",
    ["OWSL_TT_SET_DEFAULT"] = "Set as Default List",
    ["OWSL_TT_SET_DEFAULT_DESC"] = "Click to make this the default list for new items",
    ["OWSL_TT_FAVORITE_LIST"] = "Favorite list",
    ["OWSL_TT_FAVORITE_LIST_DESC"] = "Star this list to pin it near the top. The default list (skull icon) always stays first.",
    ["OWSL_TT_QTY_COVERED"] = "Quantity covered: %d/%d",
    ["OWSL_TT_QTY_ALREADY_COVERED"] = "Craft orders already cover this quantity",
    ["OWSL_TT_EXISTING_ORDERS"] = "Existing craft orders: %d/%d",
    ["OWSL_TT_CRAFT_EXISTS"] = "A craft order for this item already exists on this shopping list",

    ["OWSL_MENU_MOVE_TO"] = "Move to...",
    ["OWSL_MENU_CREATE_CRAFT_ORDER"] = "Create Craft Order",
    ["OWSL_MENU_RENAME_CRAFT_ORDER"] = "Rename Craft Order",
    ["OWSL_MENU_RENAME_LIST"] = "Rename List",
    ["OWSL_MENU_EXPORT_CRAFT_ORDER"] = "Export Craft Order",
    ["OWSL_MENU_EXPORT_LIST"] = "Export List",
    ["OWSL_MENU_DELETE_CRAFT_ORDER"] = "Delete Craft Order",
    ["OWSL_MENU_DELETE_LIST"] = "Delete List",

    ["OWSL_DIALOG_MANUAL_CRAFT"] = "Enter Item ID or name for craft order:",
    ["OWSL_DIALOG_NEW_LIST"] = "Enter new list name:",
    ["OWSL_DIALOG_RENAME"] = "Rename '%s' to:",
    ["OWSL_DIALOG_DELETE_CONFIRM"] = "Delete '%s'?",
    ["OWSL_DIALOG_DELETE_CONFIRM2"] = "This cannot be undone.",
    ["OWSL_CONFIRM_LIST_EXISTS"] = "A list named '%s' already exists.",
    ["OWSL_CONFIRM_LIST_EXISTS2"] = "Add these ingredients to the existing list?",
    ["OWSL_DIALOG_ADD_BY_ID"] = "Enter Item ID:",
    ["OWSL_DIALOG_ADD_QTY"] = "Add to current quantity (%d):",
    ["OWSL_DIALOG_SELECT_RECIPE"] = "Multiple recipes can craft this item. Select one:",
    ["OWSL_DIALOG_KNOWN_BY_MULTI"] = " (Known by: %s +%d more)",
    ["OWSL_DIALOG_KNOWN_BY"] = " (Known by: %s)",
    ["OWSL_DIALOG_UNKNOWN"] = " (Unknown by any character)",
    ["OWSL_DIALOG_FOUND_CRAFTABLES"] = "Found %d craftable item(s). Click CRAFT to break down into ingredients:",
    ["OWSL_DIALOG_QTY_NEEDED"] = "Quantity needed: %d",
    ["OWSL_DIALOG_ONE_RECIPE"] = "1 recipe: %s",
    ["OWSL_DIALOG_RECIPES"] = "%d recipes available",
    ["OWSL_DIALOG_EXPORT_INSTRUCTIONS"] = "Select and copy the text below (Ctrl+C):",
    ["OWSL_DIALOG_IMPORT_INSTRUCTIONS"] = "Paste your crafting materials list below:",
    ["OWSL_DIALOG_IMPORT_FORMAT"] = "Supported formats:\n  16x Dragonpine Lumber   OR   16x\n  10x Golden Carp                  Dragonpine Lumber",

    ["OWSL_MSG_NOT_INITIALIZED"] = "Shopping List not initialized",
    ["OWSL_MSG_ADDED_TO_AH"] = "Added '%s' to Auction House search",
    ["OWSL_MSG_OPEN_AH_FIRST"] = "Please open the Auction House first",
    ["OWSL_MSG_RESOLVED"] = "Resolved '%s' to %s (ID: %d)",
    ["OWSL_MSG_ENTER_VALID_ID"] = "Please enter a valid item ID",
    ["OWSL_MSG_MOVE_FAILED_NOT_FOUND"] = "Failed to move item: List not found",
    ["OWSL_MSG_ITEM_NOT_IN_SOURCE"] = "Item not found in source list",
    ["OWSL_MSG_MOVED_ITEM"] = "Moved %s from %s to %s",
    ["OWSL_MSG_MOVE_FAILED"] = "Failed to move item: %s",
    ["OWSL_MSG_INVALID_ITEM_ID"] = "Invalid item ID: %d",
    ["OWSL_MSG_CRAFT_ORDER_CREATED"] = "Created manual craft order for: %s",
    ["OWSL_MSG_CRAFT_ORDER_FAILED"] = "Failed to create craft order",
    ["OWSL_MSG_DRAG_DROP_ITEM"] = "Drag and drop an item onto the button",
    ["OWSL_MSG_INVALID_ID"] = "Invalid item ID",
    ["OWSL_MSG_ADDED_QTY"] = "Added %d to %s (New total: %d)",
    ["OWSL_MSG_UPDATE_QTY_FAILED"] = "Failed to update quantity",
    ["OWSL_MSG_ENTER_POSITIVE_NUM"] = "Please enter a valid positive number",
    ["OWSL_MSG_NO_RECIPES"] = "No recipes found for this item",
    ["OWSL_MSG_NO_INGREDIENTS"] = "No ingredients found for this recipe",
    ["OWSL_MSG_CRAFT_ORDER_FAILED_ERR"] = "Failed to create craft order: %s",
    ["OWSL_MSG_CRAFT_ORDER_UNDER"] = "Created craft order under '%s' with %d ingredient%s%s",
    ["OWSL_MSG_NO_INGREDIENTS_ADDED"] = "No ingredients were added",
    ["OWSL_MSG_PROF_DATA_NOT_READY"] = "Profession data not ready. Please scan your professions first",
    ["OWSL_MSG_NO_ITEMS_IN_LIST"] = "No items in current list",
    ["OWSL_MSG_NO_CRAFTABLES"] = "No craftable items found in this list",
    ["OWSL_MSG_SCANNED_NONE_CRAFTABLE"] = "Scanned %d items - none can be crafted",
    ["OWSL_MSG_ADDED_TO_LIST"] = "Added %s to %s",
    ["OWSL_MSG_REMOVED_COMPLETED"] = "Removed %d completed items",
    ["OWSL_MSG_EXPORT_FAILED"] = "Failed to export list",
    ["OWSL_MSG_ENTER_LIST_NAME"] = "Please enter a list name",
    ["OWSL_MSG_PASTE_TEXT"] = "Please paste text to import",
    ["OWSL_MSG_USING_EXISTING"] = "Using existing list '%s'",
    ["OWSL_MSG_NO_VALID_ITEMS"] = "No valid items found to import",
    ["OWSL_MSG_LOADING_ITEMS"] = "Loading %d items from server...",
    ["OWSL_MSG_IMPORTED_SUMMARY"] = "Imported %d items with IDs, %d by name only",
    ["OWSL_MSG_ADDED_BY_NAME_NOTE"] = "%d items added by name. You can manually look up item IDs and update them later.",
    ["OWSL_MSG_NO_UNRESOLVED"] = "No unresolved items to scan",
    ["OWSL_MSG_SCANNING_UNRESOLVED"] = "Scanning %d unresolved items...",
    ["OWSL_MSG_SCAN_COMPLETE"] = "Scan complete! Resolved: %d, Partial matches: %d, Not found: %d",
    ["OWSL_MSG_SCANNING_FOR"] = "Scanning for '%s'...",
    ["OWSL_MSG_EXACT_MATCH"] = "Exact match found! Auto-resolved to %s (ID: %d)",
    ["OWSL_MSG_FOUND_PARTIAL"] = "Found %d partial match(es):",
    ["OWSL_MSG_PARTIAL_MATCHES"] = " - Found partial matches:",
    ["OWSL_MSG_COPY_ID_TIP"] = "Copy an ID and paste it in the ID box, then press Enter",
    ["OWSL_MSG_NO_MATCHES"] = "No matches found in owned items or item database.",
    ["OWSL_MSG_ENTER_ID_TIP"] = "Manually enter the ID from wowhead.com",

    ["OWSL_ALERT_TITLE"] = "Shopping List Alert",
    ["OWSL_ALERT_OPEN"] = "Left-click: Open Shopping List",
    ["OWSL_ALERT_DISMISS"] = "Right-click: Dismiss",

    ["OWSL_SETTINGS_ENABLE_TOOLTIP"] = "Enable item tooltips",
    ["OWSL_SETTINGS_TOOLTIP_DESC"] = "Show shopping list information when hovering over items",
    ["OWSL_SETTINGS_GENERAL"] = "GENERAL",
    ["OWSL_SETTINGS_LANGUAGE"] = "Language:",
    ["OWSL_SETTINGS_LANGUAGE_TITLE"] = "Language Selection",
    ["OWSL_SETTINGS_LANGUAGE_DESC"] = "Choose your preferred language. Changes apply instantly.",
    ["OWSL_SETTINGS_THEME"] = "Theme:",
    ["OWSL_SETTINGS_THEME_TITLE"] = "Color Theme",
    ["OWSL_SETTINGS_THEME_DESC"] = "Choose a color theme. Changes apply instantly.",
    ["OWSL_SETTINGS_ADDON_STATUS"] = "ADDON STATUS",
    ["OWSL_SETTINGS_ALT_ACCESS"] = "Alt/Bank Access",
    ["OWSL_SETTINGS_WARBAND_ACCESS"] = "Warband Bank Access",
    ["OWSL_SETTINGS_RECIPE_DATA"] = "Item Craftability and Recipe Data",
    ["OWSL_SETTINGS_AVAILABLE"] = "Available",
    ["OWSL_SETTINGS_UNAVAILABLE"] = "Unavailable",
    ["OWSL_SETTINGS_OVERLAY"] = "OVERLAY SETTINGS",
    ["OWSL_SETTINGS_ENABLE_OVERLAY"] = "Enable Shopping Cart Overlay",
    ["OWSL_SETTINGS_OVERLAY_POSITION"] = "Position:",
    ["OWSL_SETTINGS_OVERLAY_SCALE"] = "Scale: %.1f",
    ["OWSL_SETTINGS_OVERLAY_OPACITY"] = "Opacity: %.1f",
    ["OWSL_SETTINGS_KEYBINDS"] = "KEYBINDS",
    ["OWSL_SETTINGS_TOGGLE_KEY"] = "Toggle Shopping List:",
    ["OWSL_SETTINGS_ADD_ITEM_KEY"] = "Add Item to Default List:",
    ["OWSL_SETTINGS_NO_KEYBIND"] = "Not Bound",
    ["OWSL_SETTINGS_KEYBIND_INFO"] = "Configure in WoW Keybindings > OneWoW category",
    ["OWSL_SETTINGS_ADD_ITEM_INFO"] = "Hover over an item and press this key to add it to your default shopping list",
    ["OWSL_SETTINGS_DETECTED"] = "Detected",
    ["OWSL_SETTINGS_NOT_DETECTED"] = "Not Detected",
    ["OWSL_SETTINGS_SHOW_MINIMAP"] = "Show Minimap Button",
    ["OWSL_SETTINGS_SHOW_BAG_BUTTONS"] = "Show Overlay on Bag Items",
    ["OWSL_SETTINGS_SHOW_PROF_BUTTONS"] = "Show List Buttons in Professions UI",
    ["OWSL_SETTINGS_SHOW_ORDERS_BUTTONS"] = "Show List Buttons in OrdersUI",
    ["OWSL_SETTINGS_SHOW_AH_BUTTON"] = "Show Button in Auction House",
    ["OWSL_SETTINGS_CONFIRMATIONS"] = "CONFIRMATIONS",
    ["OWSL_SETTINGS_CONFIRM_ITEM_DELETE"] = "Confirm item removal",
    ["OWSL_SETTINGS_CONFIRM_LIST_DELETE"] = "Confirm list deletion",
    ["OWSL_SETTINGS_WRAP_NAMES"] = "Allow Name Wrapping",
    ["OWSL_SETTINGS_WRAP_NAMES_DESC"] = "Let long item names wrap to a second line instead of being truncated",
    ["OWSL_DIALOG_DONT_ASK_AGAIN"] = "Do not ask again",
    ["OWSL_DIALOG_SET_QTY"] = "Set quantity needed:",
    ["OWSL_DIALOG_SET_LIST_QTY"] = "Set craft order quantity:",
    ["OWSL_DIALOG_PROF_CRAFT_COUNT"] = "Number of crafts to add:",
    ["OWSL_STATUS_ITEMS_SUMMARY"] = "%d items (%d complete)",

    ["OWSL_LANG_ENGLISH"] = "English",
    ["OWSL_LANG_KOREAN"] = "Korean",
    ["OWSL_LANG_FRENCH"] = "Francais",
    ["OWSL_LANG_GERMAN"] = "Deutsch",
    ["OWSL_LANG_RUSSIAN"] = "Russkiy",
    ["OWSL_LANG_SPANISH"] = "Espanol",

    ["OWSL_ITEM_PREFIX"] = "Item %d",

    ["OWSL_CRAFTABLE_BY"] = "Craftable by: %s",
    ["OWSL_CRAFTABLE_BY_MORE"] = "Craftable by: %s (+%d more)",
    ["OWSL_CRAFTABLE_NO_CRAFTERS"] = "Craftable (No known crafters)",

    ["OWSL_LOCATION_MORE"] = "... and %d more",
    ["OWSL_RECIPE_UNKNOWN"] = "Recipe %d",

    ["OWSL_TOAST_REMOVED_TITLE"] = "Removed from Shopping List",
    ["OWSL_TOAST_ADDED_TITLE"] = "Added to Shopping List",
    ["OWSL_TOAST_CRAFT_ORDER_TITLE"] = "Craft Order Created",
    ["OWSL_TOAST_CRAFT_ORDER_DESC"] = "%s - %d ingredients",
    ["OWSL_TOAST_SCAN_COMPLETE"] = "Scan Complete",
    ["OWSL_TOAST_SCAN_DESC"] = "%d items auto-resolved!",
    ["OWSL_TOAST_AUTO_RESOLVED"] = "Item Auto-Resolved",

    ["OWSL_OVERLAY_POS_TOPLEFT"] = "Top Left",
    ["OWSL_OVERLAY_POS_TOPRIGHT"] = "Top Right",
    ["OWSL_OVERLAY_POS_BOTTOMLEFT"] = "Bottom Left",
    ["OWSL_OVERLAY_POS_BOTTOMRIGHT"] = "Bottom Right",
    ["OWSL_OVERLAY_POS_CENTER"] = "Center",

    ["OWSL_BAG_BUTTON_TOOLTIP"] = "Shopping List",
    ["OWSL_BAG_BUTTON_DESC"] = "Click to open shopping list",

    ["OWSL_PROF_BTN_OPEN"] = "Shopping List",
    ["OWSL_PROF_BTN_MAKE_LIST"] = "Make List",
    ["OWSL_PROF_BTN_ADD_TO_ACTIVE"] = "Add to * List",
    ["OWSL_PROF_BTN_ADD_TO_LIST"] = "Add to List...",
    ["OWSL_TT_ADD_TO_LIST_TITLE"] = "Add to Specific List",
    ["OWSL_TT_ADD_TO_LIST_DESC"] = "Adds this recipe's reagents to a list you choose",

    ["OWSL_MM_CLICK_TO_OPEN"] = "Click to open",
    ["OWSL_MM_DRAG_TO_MOVE"] = "Drag to reposition",
    ["OWSL_MM_LIST_COUNT"] = "%d lists",
    ["OWSL_MM_ITEM_COUNT"] = "%d items",

    ["OWSL_SETTINGS_MINIMAP_TITLE"] = "Minimap Button",
    ["OWSL_SETTINGS_MINIMAP_DESC"] = "Show or hide the minimap button.",
    ["OWSL_SETTINGS_ICON_TITLE"] = "Icon Theme",
    ["OWSL_SETTINGS_ICON_DESC"] = "Choose a faction icon for the minimap button.",
    ["OWSL_SETTINGS_ICON_CURRENT"] = "Current",
    ["OWSL_SETTINGS_ICON_HORDE"] = "Horde",
    ["OWSL_SETTINGS_ICON_ALLIANCE"] = "Alliance",
    ["OWSL_SETTINGS_ICON_NEUTRAL"] = "Neutral",
    ["ADDON_CHAT_PREFIX"] = "|cFFFFD100OneWoW Shopping List:|r",

    ["BINDING_HEADER_ONEWOW_SHOPPING_LIST"] = "|cFF00FF00OneWoW|r Shopping List",
    ["BINDING_NAME_ONEWOW_SHOPPING_LIST_TOGGLE"] = "Toggle Shopping List",
    ["BINDING_NAME_ONEWOW_SHOPPING_LIST_ADD_ITEM"] = "Add Item to Default List",
})

ns.SetLocale("enUS")
