local _, OneWoW_Bags = ...

OneWoW_Bags.Locales = OneWoW_Bags.Locales or {}
OneWoW_Bags.Locales["enUS"] = {
    ["ADDON_TITLE"] = "Bags",

    ["SETTINGS"] = "Settings",
    ["STATUS"] = "Status",
    ["ENABLED"] = "Enabled",
    ["DISABLED"] = "Disabled",

    ["VIEW_LIST"] = "List View",
    ["VIEW_CATEGORY"] = "Category View",
    ["VIEW_BAG"] = "Bag View",
    ["CLEANUP"] = "Cleanup",

    ["SEARCH_PLACEHOLDER"] = "Search items...",
    ["FREE_SLOTS"] = "Free Slots",
    ["FREE_SLOTS_FORMAT"] = "%d Free Slots",

    ["CAT_RECENT_ITEMS"] = "Recent Items",
    ["CAT_HEARTHSTONE"] = "Hearthstone",
    ["CAT_KEYSTONE"] = "Keystone",
    ["CAT_POTIONS"] = "Potions",
    ["CAT_FOOD"] = "Food",
    ["CAT_CONSUMABLES"] = "Consumables",
    ["CAT_QUEST_ITEMS"] = "Quest Items",
    ["CAT_EQUIPMENT_SETS"] = "Equipment Sets",
    ["CAT_WEAPONS"] = "Weapons",
    ["CAT_ARMOR"] = "Armor",
    ["CAT_MATS"] = "Mats",
    ["CAT_REAGENTS"] = "Reagents",
    ["CAT_TRADE_GOODS"] = "Trade Goods",
    ["CAT_TRADESKILL"] = "Tradeskill",
    ["CAT_RECIPES"] = "Recipes",
    ["CAT_HOUSING"] = "Housing",
    ["CAT_GEMS"] = "Gems",
    ["CAT_ITEM_ENHANCEMENT"] = "Item Enhancement",
    ["CAT_CONTAINERS"] = "Containers",
    ["CAT_KEYS"] = "Keys",
    ["CAT_MISCELLANEOUS"] = "Miscellaneous",
    ["CAT_BATTLE_PETS"] = "Battle Pets",
    ["CAT_TOYS"] = "Toys",
    ["CAT_OTHER"] = "Other",
    ["CAT_JUNK"] = "Junk",
    ["CAT_EMPTY"] = "Empty",

    ["SORT_PRIORITY"] = "Priority",
    ["SORT_ALPHA"] = "Alphabetical",
    ["SORT_BY"] = "Sort By",

    ["SETTING_VIEW_MODE"] = "View Mode",
    ["SETTING_COLUMNS"] = "Columns",
    ["SETTING_SCALE"] = "Scale",
    ["SETTING_ICON_SIZE"] = "Icon Size",
    ["SETTING_AUTO_OPEN"] = "Auto Open at Vendors",
    ["SETTING_AUTO_CLOSE"] = "Auto Close When Leaving",
    ["SETTING_LOCK"] = "Lock Window Position",
    ["SETTING_SHOW_BAGS_BAR"] = "Show Bags Bar",
    ["SETTING_RARITY_COLOR"] = "Rarity Border Colors",
    ["SETTING_RARITY_INTENSITY"] = "Rarity Color Intensity",
    ["SETTING_SHOW_NEW"] = "Highlight New Items",
    ["SETTING_RECENT_DURATION"] = "Recent Item Duration (seconds)",
    ["SETTING_CATEGORY_SORT"] = "Category Sort",

    ["ICON_SIZE_S"] = "Small",
    ["ICON_SIZE_M"] = "Medium",
    ["ICON_SIZE_L"] = "Large",
    ["ICON_SIZE_XL"] = "Extra Large",

    ["BAG_BACKPACK"] = "Backpack",
    ["BAG_1"] = "Bag 1",
    ["BAG_2"] = "Bag 2",
    ["BAG_3"] = "Bag 3",
    ["BAG_4"] = "Bag 4",
    ["BAG_REAGENT"] = "Reagent Bag",

    ["CUSTOM_CATEGORIES"] = "Custom Categories",
    ["CREATE_CATEGORY"] = "Create Category",
    ["DELETE_CATEGORY"] = "Delete Category",
    ["ADD_ITEM"] = "Add Item",
    ["REMOVE_ITEM"] = "Remove Item",
    ["CATEGORY_NAME"] = "Category Name",

    ["LANGUAGE_SELECTION"] = "Language Selection",
    ["CURRENT_LANGUAGE"] = "Current Language",
    ["LANGUAGE_DESC"] = "Choose your preferred language for the addon interface. Changes apply instantly.",
    ["ENGLISH"] = "English",
    ["SPANISH"] = "Español",
    ["KOREAN"] = "한국어",
    ["FRENCH"] = "Français",
    ["RUSSIAN"] = "Русский",
    ["GERMAN"] = "Deutsch",

    ["THEME_SECTION"] = "Color Theme",
    ["THEME_DESC"] = "Choose a color theme for the addon interface. Changes apply instantly without reloading.",
    ["THEME_CURRENT"] = "Current Theme",
    ["THEME_GREEN"] = "Forest Green",
    ["THEME_BLUE"] = "Ocean Blue",
    ["THEME_PURPLE"] = "Royal Purple",
    ["THEME_RED"] = "Crimson Red",
    ["THEME_GOLD"] = "Classic Gold",
    ["THEME_SLATE"] = "Slate Gray",
    ["THEME_ORANGE"] = "Sunset Orange",
    ["THEME_TEAL"] = "Mystic Teal",
    ["THEME_CYAN"] = "Arctic Cyan",
    ["THEME_PINK"] = "Rose Pink",
    ["THEME_DARK"] = "Midnight Dark",
    ["THEME_AMBER"] = "Amber Fire",
    ["THEME_VOID_BLACK"] = "Void Black",
    ["THEME_CHARCOAL_DEEP"] = "Charcoal Deep",
    ["THEME_FOREST_NIGHT"] = "Forest Night",
    ["THEME_OBSIDIAN_MINIMAL"] = "Obsidian Minimal",
    ["THEME_MONOCHROME_PRO"] = "Monochrome Pro",
    ["THEME_TWILIGHT_COMPACT"] = "Twilight Compact",
    ["THEME_NEON_SYNTHWAVE"] = "Neon Synthwave",
    ["THEME_GLASSMORPHIC"] = "Glassmorphic",
    ["THEME_MINIMAL_WHITE"] = "Minimal White",
    ["THEME_RETRO_CLASSIC"] = "Retro Classic",
    ["THEME_RPG_FANTASY"] = "RPG Fantasy",
    ["THEME_NIGHTFAE"] = "Night Fae",

    ["MINIMAP_SECTION"] = "Minimap Button",
    ["MINIMAP_SECTION_DESC"] = "Show or hide the minimap button.",
    ["MINIMAP_SHOW_BTN"] = "Show Minimap Button",
    ["MINIMAP_ICON_SECTION"] = "Icon Theme",
    ["MINIMAP_ICON_DESC"] = "Choose your faction icon for the minimap button and title bar.",
    ["MINIMAP_ICON_CURRENT"] = "Current Icon",
    ["MINIMAP_ICON_HORDE"] = "Horde",
    ["MINIMAP_ICON_ALLIANCE"] = "Alliance",
    ["MINIMAP_ICON_NEUTRAL"] = "Neutral",

    ["SETTINGS_TITLE"] = "Bags Settings",

    ["TRACKER_ADD"] = "Add Tracker",
    ["TRACKER_ADD_DESC"] = "Click to add a currency or item to track\nOr drag an item here",
    ["TRACKER_ADD_ID"] = "Enter Item ID or Currency ID to track:",
    ["TRACKER_MENU_REMOVE"] = "Remove tracker",
    ["TRACKER_HINT_REMOVE"] = "Right-click to remove this tracker.",
    ["TRACKER_HINT_DRAG_REORDER"] = "Drag left to reorder.",
    ["TRACKER_ALREADY_TRACKED"] = "That item or currency is already being tracked.",

    ["CATEGORY_MANAGER_BTN"] = "Categories",
    ["CATEGORY_MANAGER_TITLE"] = "Custom Category Manager",
    ["CATEGORY_MANAGER_INFO"] = "Create custom categories and assign items to them. Drag an item onto a category or add by Item ID.",
    ["CATEGORY_BADGE_TOOLTIP_TITLE"] = "Category indicators",
    ["CATEGORY_BADGE_TOOLTIP_BODY"] = "S — Custom sort mode\nG — Group by\n+ — Manually added items\nH — Hidden in some bag views\nP — Non-default priority\nE — Search expression filter",
    ["CATEGORY_CREATE"] = "New Category",
    ["CATEGORY_CREATE_ENTER"] = "Enter category name:",
    ["CATEGORY_RENAME"] = "Rename",
    ["CATEGORY_RENAME_ENTER"] = "Enter new name:",
    ["CATEGORY_DELETE"] = "Delete",
    ["CATEGORY_DELETE_CONFIRM"] = "Delete this category and all its items?",
    ["CATEGORY_NO_CATEGORIES"] = "No custom categories yet.",
    ["CATEGORY_GET_STARTED"] = "Click 'New Category' to get started.",
    ["CATEGORY_ADD_BY_ID"] = "Add Item by ID:",
    ["CATEGORY_NO_ITEMS"] = "No items assigned.",
    ["CATEGORY_ITEMS_COUNT"] = "(%d items)",

    ["BAG_FILTER_ALL"] = "All Bags",
    ["BAG_FILTER_ACTIVE"] = "Showing: %s",

    ["SHOPPING_LIST"] = "Shopping List",
    ["SHOPPING_LIST_DESC"] = "Open the Shopping List",

    ["BUILTIN_CATEGORIES"] = "Built-in Categories",
    ["CATEGORY_DRAG_HINT"] = "Drop item here to assign",

    ["OVERLAY_SECTION"] = "Item Overlays",
    ["OVERLAY_SECTION_DESC"] = "Toggle OneWoW item overlay displays when detected.",
    ["OVERLAY_TOGGLE_ON"] = "Overlays On",
    ["OVERLAY_TOGGLE_OFF"] = "Overlays Off",
    ["OVERLAY_NOT_DETECTED"] = "OneWoW not detected",

    ["EMPTY_SLOTS_HIDE"] = "Hide Empty Slots",
    ["EMPTY_SLOTS_SHOW"] = "Show Empty Slots",
    ["BAG_SHOW_ALL"] = "Click to show all bags",
    ["BAG_SHOW_ONLY"] = "Click to show only this bag",
    ["POPUP_ADD"] = "Add",
    ["POPUP_CANCEL"] = "Cancel",
    ["POPUP_CREATE"] = "Create",
    ["POPUP_DELETE"] = "Delete",
    ["POPUP_RENAME"] = "Rename",
    ["DUPLICATE_CATEGORY_NAME"] = "A category with that name already exists.",
    ["DUPLICATE_SECTION_NAME"] = "A section with that name already exists.",
    ["GUI_NOT_INSTALLED"] = "Install OneWoW_GUI for full theme, font, and language settings.",
    ["SORT"] = "Sort",

    ["TOGGLE_ON"] = "On",
    ["TOGGLE_OFF"] = "Off",

    ["SECTION_PERSONAL_BANK"] = "Personal Bank",
    ["SECTION_GUILD_BANK"] = "Guild Bank",
    ["SETTING_ENABLE_BANK"] = "Enable Bank UI",
    ["DESC_ENABLE_BANK"] = "Replace the default bank window with the OneWoW Bags interface.",
    ["SETTING_BANK_OVERLAYS"] = "Bank Item Overlays",
    ["DESC_BANK_OVERLAYS"] = "Show item overlays on default bank item slots.",

    ["SECTION_DISPLAY"] = "Display",
    ["DESC_RARITY_COLOR"] = "Color item slot borders based on item rarity.",
    ["DESC_SHOW_NEW"] = "Show a highlight on newly obtained items.",
    ["SETTING_SHOW_SCROLLBAR"] = "Show Scroll Bar",
    ["DESC_SHOW_SCROLLBAR"] = "Show or hide the scroll bar on the bags window.",
    ["DESC_SHOW_BAGS_BAR"] = "Show equipped bag icons and the used/total slot count. Tracker and money stay on the row below.",
    ["SETTING_BAG_COLUMNS"] = "Bag Columns",
    ["SETTING_BANK_COLUMNS"] = "Bank Columns",

    ["SETTING_ITEM_SORT"] = "Item Sort",
    ["SORT_OFF"] = "Off",
    ["SORT_DEFAULT"] = "Slot#",
    ["SORT_NAME"] = "Name",
    ["SORT_RARITY"] = "Rarity",
    ["SORT_ITEM_LEVEL"] = "Item Level",
    ["SORT_TYPE"] = "Type",

    ["SECTION_SEARCH"] = "Search",
    ["SETTING_SEARCH_HISTORY_LIMIT"] = "Search History",
    ["DESC_SEARCH_HISTORY_LIMIT"] = "Keep the last 0-10 searches. Set to 0 to disable.",
    ["SECTION_SAVED_SEARCHES"] = "Saved Searches",
    ["SAVED_SEARCHES_EMPTY"] = "No saved searches yet.",
    ["SAVE_SEARCH_TOOLTIP"] = "Save this search",
    ["SAVE_SEARCH_EMPTY_TOOLTIP"] = "Enter a search before saving.",
    ["SEARCH_TRANSFER_TO_BANK"] = "Deposit all matching items to the open bank",
    ["SEARCH_TRANSFER_TO_BANK_EMPTY"] = "Enter a search before transferring",
    ["SEARCH_TRANSFER_TO_BANK_DISABLED"] = "Open the bank to deposit matching items",
    ["SEARCH_TRANSFER_FROM_BANK"] = "Withdraw all matching items to your bags",
    ["SEARCH_TRANSFER_FROM_BANK_EMPTY"] = "Enter a search before transferring",
    ["SAVED_SEARCH_SAVE"] = "Save",
    ["SAVED_SEARCH_OVERWRITE"] = "Overwrite",
    ["SAVED_SEARCH_NAME_TITLE"] = "Save Search",
    ["SAVED_SEARCH_NAME_PROMPT"] = "Enter a name for this saved search:",
    ["SAVED_SEARCH_OVERWRITE_TITLE"] = "Overwrite Saved Search",
    ["SAVED_SEARCH_RENAME_PROMPT"] = "Enter a new saved search name:",
    ["SAVED_SEARCH_OVERWRITE_CONFIRM"] = "A saved search named %s already exists. Overwrite it?",
    ["SAVED_SEARCH_DELETE_CONFIRM"] = "Delete saved search %s?",
    ["SAVED_SEARCH_COPY_TITLE"] = "Saved Search",
    ["SAVED_SEARCH_MENU_USE"] = "Use Search",
    ["SAVED_SEARCH_MENU_SHOW"] = "Show Search",
    ["SAVED_SEARCH_MENU_RENAME"] = "Rename",
    ["SAVED_SEARCH_MENU_DELETE"] = "Delete",
    ["SAVED_SEARCH_INVALID_NAME"] = "Saved search names can only use letters, numbers, spaces, -, _, and +.",
    ["SAVED_SEARCH_DUPLICATE_NAME"] = "A saved search with that name already exists.",
    ["SAVED_SEARCH_EMPTY_QUERY"] = "Enter a search before saving.",
    ["SAVED_SEARCH_NOT_FOUND"] = "Saved search not found.",

    ["SECTION_CATEGORIES"] = "Categories",
    ["SETTING_INVENTORY_SLOTS"] = "Split by Equipment Slot",
    ["DESC_INVENTORY_SLOTS"] = "Split Weapons and Armor into individual equipment slots (Head, Chest, Hands, etc.)",

    ["SECTION_BEHAVIOR"] = "Behavior",
    ["DESC_AUTO_OPEN"] = "Automatically open the bags window when visiting a vendor.",
    ["DESC_AUTO_CLOSE"] = "Automatically close the bags window when leaving a vendor.",
    ["SETTING_AUTO_OPEN_WITH_BANK"] = "Auto Open Bags with Bank",
    ["DESC_AUTO_OPEN_WITH_BANK"] = "Automatically open the bags window when the bank or guild bank is opened.",
    ["DESC_LOCK"] = "Prevent the bags window from being moved.",

    ["SECTION_INTEGRATION"] = "OneWoW Integration",
    ["DESC_OVERLAY"] = "Toggle OneWoW item overlay displays on bag items.",

    ["SECTION_MASQUE"] = "Masque",
    ["SETTING_USE_MASQUE"] = "Use Masque Skins",
    ["DESC_USE_MASQUE"] = "Let Masque skin the OneWoW Bags item buttons (bags, bank, warband bank, guild bank, and bag-bar slots). Configure individual skins in Masque's own settings.",

    ["GOLD_TOOLTIP_PERSONAL"] = "Personal",
    ["GOLD_TOOLTIP_TOTAL"] = "Total Gold",
    ["GOLD_TOOLTIP_WARBAND"] = "Warband Bank",
    ["GOLD_TOOLTIP_OTHERS"] = "+%d Others",
    ["GOLD_TOOLTIP_NO_ALTTRACKER"] = "Install AltTracker for alt gold details",

    ["GUILD_BANK_ITEMS_LOG"] = "Items",
    ["GUILD_BANK_MONEY_LOG"] = "Gold",
    ["GUILD_BANK_NO_LOG"] = "No transactions available.",

    ["CATEGORY_SELECT_PROMPT"] = "Select a category from the list to manage its items.",
    ["CATEGORY_BUILTIN_DESC"] = "This is an automatic category. Items are sorted here based on item type. Use the checkbox in the list to enable or disable it.",
    ["CATEGORY_BUILTIN_HEADER"] = "Built-in Categories",
    ["CATEGORY_CUSTOM_HEADER"] = "Custom Categories",

    ["BAGANATOR_IMPORT"] = "Import from Baganator",
    ["BAGANATOR_IMPORT_SUCCESS"] = "Imported %d |4category:categories; from Baganator.",
    ["BAGANATOR_IMPORT_NONE"] = "No importable custom categories found in Baganator.",

    ["SECTION_CREATE"] = "New Section",
    ["SECTION_CREATE_ENTER"] = "Enter section name:",
    ["SECTION_DRAG_HINT"] = "Drag left to reorder sections.",
    ["CATEGORY_REORDER_HINT"] = "Drag left to reorder or move between sections.",
    ["SECTION_RENAME_ENTER"] = "Enter new section name:",
    ["SECTION_DELETE_CONFIRM"] = "Delete this section? Categories will return to the main list.",
    ["CATEGORY_IN_SECTION"] = "Toggle categories to include in this section:",
    ["SECTION_SHOW_HEADER_BAGS"] = "Show header in bags",
    ["SECTION_SHOW_HEADER_BANK"] = "Show header in bank",
    ["SECTION_ONEWOW_BAGS"] = "ONEWOW BAGS",
    ["SETTING_COMPACT_CATEGORIES"] = "Compact Categories",
    ["DESC_COMPACT_CATEGORIES"] = "Place small categories side by side to save vertical space.",

    ["TAB_GENERAL"] = "General",
    ["TAB_BAGS"] = "Bags",
    ["TAB_PERSONAL_BANK"] = "Personal Bank",
    ["TAB_WARBAND_BANK"] = "Warband Bank",
    ["TAB_GUILD_BANK"] = "Guild Bank",

    ["SETTING_SHOW_EMPTY_SLOTS"] = "Show Empty Slots",
    ["DESC_SHOW_EMPTY_SLOTS"] = "Show empty inventory slots in List and Tab views. Bag and Category views always show all slots.",

    ["SETTING_SHOW_SEARCH_BAR"] = "Show Search Bar",
    ["DESC_SHOW_SEARCH_BAR"] = "Show or hide the search bar on the bags window.",
    ["DESC_SHOW_BANK_SEARCH_BAR"] = "Show or hide the search bar on the bank window.",

    ["SETTING_SHOW_HEADER_BAR"] = "Show Header Bar",
    ["DESC_SHOW_HEADER_BAR"] = "Show or hide the top bar with the view mode menu, categories button, and sort.",
    ["DESC_SHOW_BANK_HEADER_BAR"] = "Show or hide the top bar with the view mode menu in the bank window.",

    ["SETTING_SHOW_CAT_HEADERS"] = "Show Category Headers",
    ["DESC_SHOW_CAT_HEADERS"] = "Show or hide category name labels in Category view. Categories still group items, but the header text and collapse bar are hidden.",
    ["DESC_SHOW_BANK_CAT_HEADERS"] = "Show or hide category name labels in the bank window.",

    ["SETTING_CATEGORY_SPACING"] = "Category Vertical Spacing",
    ["DESC_CATEGORY_SPACING"] = "Controls the vertical gap between categories. 1.0 is the default single-slot gap.",

    ["SETTING_COMPACT_GAP"] = "Compact Category Gap",
    ["DESC_COMPACT_GAP"] = "Controls the horizontal gap between side-by-side compact categories, measured in slot widths.",

    ["SETTING_SHOW_MONEY_BAR"] = "Show Money",
    ["DESC_SHOW_MONEY_BAR"] = "Show your gold on the bottom bar. Trackers and other controls stay visible when this is off.",

    ["SETTING_TRACKER_CAP_HIGHLIGHT"] = "Currency Tracker Cap Highlight",
    ["DESC_TRACKER_CAP_HIGHLIGHT"] = "Color currency trackers on the bag bar when you are near wallet, weekly earn, or seasonal earn limits.",
    ["DESC_SHOW_BANK_MONEY_BAR"] = "Show the bottom bar with gold display in the bank window.",

    ["SETTING_SHOW_BANK_BAGS_BAR"] = "Show Bag Bar",
    ["DESC_SHOW_BANK_BAGS_BAR"] = "Show the bag selection bar at the bottom of the bank window.",
    ["DESC_SHOW_BANK_SCROLLBAR"] = "Show or hide the scroll bar on the bank window.",

    ["DESC_BANK_RARITY_COLOR"] = "Color item slot borders based on item rarity in the bank.",

    ["SETTING_BANK_LOCK"] = "Lock Window Position",
    ["DESC_BANK_LOCK"] = "Prevent the bank window from being moved.",

    ["CAT_1W_JUNK"] = "1W Junk",
    ["CAT_1W_UPGRADES"] = "1W Upgrades",

    ["SETTING_ENABLE_JUNK_CAT"] = "1W Junk Category",
    ["DESC_ENABLE_JUNK_CAT"] = "Combine all junk items (poor quality and 1W-marked) into a single dedicated category.",
    ["SETTING_ENABLE_UPGRADE_CAT"] = "1W Upgrades Category",
    ["DESC_ENABLE_UPGRADE_CAT"] = "Group items that are gear upgrades for your character into a dedicated category.",
    ["SETTING_SHOW_KEYWORDS_TOOLTIP"] = "Show #keywords in tooltips",
    ["DESC_SHOW_KEYWORDS_TOOLTIP"] = "While the Category Manager is open, add the list of matching #keywords (the same syntax used in custom category rules and the search bar) to item tooltips. Useful for building category rules; hidden at all other times.",
    ["TOOLTIP_KEYWORDS_HEADER"] = "Matched keywords:",

    ["SETTING_UNUSABLE_OVERLAY"] = "Red Overlay on Unusable Items",
    ["DESC_UNUSABLE_OVERLAY"] = "Show a semi-transparent red overlay on items your character cannot use.",
    ["SETTING_DIM_JUNK"] = "Dim Junk Items",
    ["DESC_DIM_JUNK"] = "Reduce the opacity of items marked as junk or grey quality items.",
    ["SETTING_STRIP_JUNK_OVERLAYS"] = "Remove Junk Item Overlays",
    ["DESC_STRIP_JUNK_OVERLAYS"] = "Remove glow effects and overlay icons from items that are marked as junk.",
    ["SETTING_ALT_TO_SHOW"] = "Hold Alt to Reveal Hidden",
    ["DESC_ALT_TO_SHOW"] = "When enabled, holding Alt will temporarily show hidden UI elements like the search bar, header bar, and money bar.",

    ["CATEGORY_SEARCH_EXPR"] = "Search Expression:",
    ["CATEGORY_SEARCH_EXPR_DESC"] = "Use keywords like #pet, #mount, #toy, #collected, #soulbound with operators & (and), | (or), ! (not). Example: (#pet|#mount)&!#collected",

    ["SORT_EXPANSION"] = "Expansion",
    ["GROUP_BY"] = "Group By",
    ["GROUP_NONE"] = "None",
    ["GROUP_EXPANSION"] = "Expansion",
    ["GROUP_TYPE"] = "Type",
    ["GROUP_SLOT"] = "Slot",
    ["GROUP_QUALITY"] = "Quality",
    ["GROUP_EQUIPMENT_SET"] = "Equipment Set",
    ["EQUIPMENT_SET_MULTIPLE"] = "Multiple",
    ["EQUIPMENT_SET_NONE"] = "No Set",
    ["CAT_SORT"] = "Sort",
    ["CAT_SUB_SORT"] = "Sub-sort",
    ["CAT_SORT_DIRECTION"] = "Sort order",
    ["CAT_SORT_DIRECTION_DISABLED"] = "Choose a sort mode to change sort order.",
    ["CAT_SUB_SORT_DIRECTION_DISABLED"] = "Choose a sub-sort mode that differs from the primary sort.",
    ["CAT_SORT_DIR_DEFAULT_ASC"] = "Lower bag and slot numbers first (natural bag order).",
    ["CAT_SORT_DIR_DEFAULT_DESC"] = "Higher bag and slot numbers first.",
    ["CAT_SORT_DIR_NAME_ASC"] = "Names A to Z.",
    ["CAT_SORT_DIR_NAME_DESC"] = "Names Z to A.",
    ["CAT_SORT_DIR_RARITY_ASC"] = "Lowest item quality first; then lower reagent and crafted tiers.",
    ["CAT_SORT_DIR_RARITY_DESC"] = "Highest item quality first; then higher reagent and crafted tiers.",
    ["CAT_SORT_DIR_ILVL_ASC"] = "Lowest item level first.",
    ["CAT_SORT_DIR_ILVL_DESC"] = "Highest item level first.",
    ["CAT_SORT_DIR_TYPE_ASC"] = "Lower type IDs first (class, then subclass).",
    ["CAT_SORT_DIR_TYPE_DESC"] = "Higher type IDs first (class, then subclass).",
    ["CAT_SORT_DIR_EXPANSION_ASC"] = "Older expansions first.",
    ["CAT_SORT_DIR_EXPANSION_DESC"] = "Newer expansions first.",

    ["SECTION_ITEM_DISPLAY"] = "Item Display",

    ["PRIORITY"] = "Priority",
    ["PRIORITY_LOWEST"] = "Lowest",
    ["PRIORITY_LOW"] = "Low",
    ["PRIORITY_NORMAL"] = "Normal",
    ["PRIORITY_HIGH"] = "High",
    ["PRIORITY_HIGHEST"] = "Highest",
    ["PRIORITY_MAX"] = "Max",

    ["COLOR"] = "Color",
    ["COLOR_CLEAR"] = "Clear",

    ["APPLIES_TO"] = "Applies to",
    ["CAT_FORCE_OWN_LINE"] = "On own line:",
    ["APPLIES_BACKPACK"] = "Bags",
    ["APPLIES_CHAR_BANK"] = "Personal Bank",
    ["APPLIES_WARBAND_BANK"] = "Warband Bank",

    ["ADDED_ITEMS"] = "Added Items",
    ["ADDED_ITEMS_DESC"] = "Items manually assigned to this category override normal classification.",
    ["ADDED_ITEMS_NONE"] = "No items manually added.",

    ["CATEGORY_TYPE_BUILTIN"] = "Built-in",
    ["CATEGORY_TYPE_CUSTOM"] = "Custom",
    ["CATEGORY_TYPE_TSM"] = "TSM",

    ["CATEGORY_RULE"] = "Rule:",
    ["CATEGORY_ITEMS_MANUAL"] = "Manual Items:",

    ["SETTING_STACK_ITEMS"] = "Stack Identical Items",
    ["DESC_STACK_ITEMS"] = "Group identical items into a single slot showing combined count in category view.",

    ["SEARCH_HELP_DESC"] = "Use search keywords with operators to match items automatically.",
    ["SEARCH_HELP_PLACEHOLDER"] = "#battlepet&!#collected",
    ["SEARCH_HELP_OPERATORS"] = "Operators: & (and), | (or), ! (not), () grouping",
    ["SEARCH_HELP_ILVL"] = "Item Level: >400, <200, 200-300, >=350",
    ["SEARCH_HELP_EXAMPLE"] = "Example: (#pet|#mount|#toy)&!#collected",

    ["TSM_IMPORT"] = "Import from TSM",
    ["TSM_IMPORT_SUCCESS"] = "Imported %d categories from TradeSkillMaster.",
    ["TSM_IMPORT_NONE"] = "No TSM data found. Is TradeSkillMaster installed?",
    ["TSM_NOT_INSTALLED"] = "TradeSkillMaster is not installed.",

    ["SETTING_MOVE_UPGRADES_TOP"] = "Pin Recent Items to Top",
    ["DESC_MOVE_UPGRADES_TOP"] = "Keep the Recent Items category above the rest of the layout (Category view).",
    ["SETTING_MOVE_OTHER_BOTTOM"] = "Move Other to Bottom",
    ["DESC_MOVE_OTHER_BOTTOM"] = "Always pin the Other category to the very bottom of the list, below all sections.",
    ["SETTING_PINNED_CATEGORY_SHOWS_WHEN_DISABLED"] = "Show Pinned Items in Disabled Categories",
    ["DESC_PINNED_CATEGORY_SHOWS_WHEN_DISABLED"] = "When a category is disabled but still has manually assigned items, keep showing that category in bags. When off, those items are categorized normally (e.g. Other) until the category is enabled again.",
    ["ERR_ITEM_ALREADY_MANUAL_CATEGORY"] = "That item is already assigned to \"%s\". Remove it there first.",
    ["ERR_ITEM_ALREADY_MANUAL_CATEGORY_GENERIC"] = "That item is already assigned to another category. Remove it there first.",

    ["SECTION_CAT_PLACEMENT"] = "Category Placement",
    ["DESC_RECENT_DURATION"] = "How long (in seconds) a newly looted item stays in the Recent Items category.",

    ["CAT_ITEM_TYPE"] = "Item Type:",
    ["CAT_ITEM_SUBTYPE"] = "Item Sub-Type:",
    ["CAT_TYPE_MATCH_MODE"] = "Match Mode:",
    ["CAT_TYPE_MATCH_AND"] = "AND",
    ["CAT_TYPE_MATCH_OR"] = "OR",
    ["CAT_TYPE_FILTER_DESC"] = "Match items by their game item type/sub-type name (case insensitive). Only one field is required.",

    ["EXPAC_FILTER_BTN"] = "Expac",
    ["EXPAC_FILTER_ALL"] = "All Expansions",
    ["SETTING_ENABLE_EXPAC_FILTER"] = "Enable Expansion Filter",
    ["DESC_ENABLE_EXPAC_FILTER"] = "Adds a dropdown to the header bar to filter items by expansion. Useful when farming old content.",
    ["DESC_ENABLE_BANK_EXPAC_FILTER"] = "Adds a dropdown to the bank header bar to filter items by expansion.",

    ["COMPARTMENT_TOGGLE"] = "Click to toggle bags",

    ["GUILD_BANK_WITHDRAWALS_UNLIMITED"] = "Withdrawals: Unlimited",
    ["GUILD_BANK_WITHDRAWALS_FORMAT"] = "Withdrawals: %d",
    ["GUILD_BANK_WITHDRAWALS_NONE"] = "Withdrawals: None",
    ["GUILD_BANK_SLOTS_FORMAT"] = "%d/%d",

    ["CAT_MATCH_MODE"] = "Auto-Match Mode:",
    ["CAT_MATCH_BY_TYPE"] = "By Type",
    ["CAT_MATCH_ADVANCED"] = "Advanced",
    ["BAGANATOR_LABEL"] = "Baganator |",

    ["CAT_DESC_1W_JUNK"] = "Items marked as junk by 1W or grey quality items",
    ["CAT_DESC_1W_UPGRADES"] = "Equippable items with higher item level than currently equipped",
    ["CAT_DESC_RECENT_ITEMS"] = "Items whose GUID is tracked after Blizzard marks the bag slot new, until Recent item duration elapses (not the same as search #new)",
    ["CAT_DESC_HEARTHSTONE"] = "Hearthstone and hearthstone toy variants (#hearthstone)",
    ["CAT_DESC_KEYSTONE"] = "Mythic+ Keystones (#keystone)",
    ["CAT_DESC_POTIONS"] = "Consumable: Potions, Elixirs, Flasks (#potion)",
    ["CAT_DESC_FOOD"] = "Consumable: Food and Drink (#food)",
    ["CAT_DESC_CONSUMABLES"] = "Other consumables not classified as Potions or Food (#consumable)",
    ["CAT_DESC_QUEST_ITEMS"] = "Items related to quests (#quest)",
    ["CAT_DESC_EQUIPMENT_SETS"] = "Items belonging to saved equipment sets (#set)",
    ["CAT_DESC_WEAPONS"] = "All weapon-class items (#weapon)",
    ["CAT_DESC_ARMOR"] = "Equippable armor items (#armor & #gear)",
    ["CAT_DESC_MATS"] = "Items flagged as crafting reagents (#craftingreagent)",
    ["CAT_DESC_REAGENTS"] = "Reagent-class items excluding crafting reagents (#reagent & !#craftingreagent)",
    ["CAT_DESC_TRADE_GOODS"] = "Trade goods and vendor materials (#tradegoods)",
    ["CAT_DESC_TRADESKILL"] = "Profession-related items (#tradeskill)",
    ["CAT_DESC_RECIPES"] = "Recipes, plans, patterns, and schematics (#recipe)",
    ["CAT_DESC_HOUSING"] = "Player housing decoration items (#housing)",
    ["CAT_DESC_GEMS"] = "Gemstones and socketable items (#gem)",
    ["CAT_DESC_ITEM_ENHANCEMENT"] = "Enchantments, augments, and item modifications (#enhancement)",
    ["CAT_DESC_CONTAINERS"] = "Bags and containers (#container)",
    ["CAT_DESC_KEYS"] = "Physical keys (#key)",
    ["CAT_DESC_MISCELLANEOUS"] = "Miscellaneous non-gear items (#misc & !#gear)",
    ["CAT_DESC_BATTLE_PETS"] = "Battle pets and pet cages (#battlepet)",
    ["CAT_DESC_TOYS"] = "Toy box items (#toy)",
    ["CAT_DESC_OTHER"] = "Fallback for items that don't match any other category",
    ["CAT_DESC_JUNK"] = "Grey quality (Poor) items (#poor)",

    ["LOADED"] = "Loaded",
    ["PET_TYPE_PREFIX"] = "Type ",
    ["COUNT_PREFIX"] = "x",
    ["QUALITY_PREFIX"] = "Quality ",
    ["ADDON_CHAT_PREFIX"] = "OneWoW Bags:",
    ["BAGANATOR_IMPORT_WITH_SECTIONS"] = "Imported %d |4category:categories; and %d |4section:sections; from Baganator.",
    ["PLACEHOLDER_ITEM_SUBTYPE"] = "Decor",

    ["IMPORT_FROM_LABEL"]              = "Import from...",
    ["EXPORT_LABEL"]                   = "Export",
    ["IMPORT_SRC_BAGANATOR_DIRECT"]    = "Baganator (direct)",
    ["IMPORT_SRC_TSM_DIRECT"]          = "TSM (direct)",
    ["IMPORT_SRC_ONEWOW_PASTE"]        = "OneWoW string (paste)",
    ["IMPORT_SRC_BAGANATOR_PASTE"]     = "Baganator string (paste)",
    ["IMPORT_NOT_AVAILABLE_HINT"]      = "(not loaded)",
    ["IMPORT_NOT_AVAILABLE_TOOLTIP"]   = "Source addon is not loaded; use the paste option instead.",
    ["IMPORT_DIALOG_TITLE"]            = "Paste import string",
    ["EXPORT_DIALOG_TITLE"]            = "OneWoW Bags Export",

    ["IMPORT_UNDO_TOOLTIP"]            = "Undo last import",
    ["IMPORT_UNDO_TOOLTIP_DISABLED"]   = "No import to undo",
    ["IMPORT_UNDO_CONFIRM"]            = "Undo the last import and restore previous categories?",
    ["IMPORT_UNDO_SUCCESS"]            = "Import reverted.",

    ["IMPORT_PREVIEW_TITLE"]           = "Review Import",
    ["IMPORT_PREVIEW_SOURCE"]          = "Source: %s",
    ["IMPORT_PREVIEW_SUMMARY"]         = "New: %d category/ies, %d section/s   Conflicts: %d   Skipped: %d",
    ["IMPORT_PREVIEW_WARNINGS"]        = "Warnings",
    ["IMPORT_PREVIEW_BULK_LABEL"]      = "Apply to all conflicts:",
    ["IMPORT_PREVIEW_BULK_SKIP"]       = "Skip all",
    ["IMPORT_PREVIEW_BULK_RENAME"]     = "Rename all",
    ["IMPORT_PREVIEW_BULK_MERGE"]      = "Merge all",
    ["IMPORT_PREVIEW_UNMAPPED_TITLE"]  = "Baganator default categories without an equivalent",
    ["IMPORT_PREVIEW_UNMAPPED_HINT"]   = "These Baganator default categories have no OneWoW equivalent. Kept entries go into a dedicated 'Baganator Import' section.",
    ["IMPORT_PREVIEW_KEEP"]            = "Keep",
    ["IMPORT_PREVIEW_IGNORE"]          = "Ignore",
    ["IMPORT_PREVIEW_RESOLUTION"]      = "Resolution",
    ["IMPORT_PREVIEW_RES_SKIP"]        = "Skip",
    ["IMPORT_PREVIEW_RES_RENAME"]      = "Rename",
    ["IMPORT_PREVIEW_RES_MERGE"]       = "Merge",
    ["IMPORT_PREVIEW_RULE_HANDLING"]   = "Rules",
    ["IMPORT_PREVIEW_RULE_TRANSLATE"]  = "Translate",
    ["IMPORT_PREVIEW_RULE_SNAPSHOT"]   = "Snapshot items",
    ["IMPORT_PREVIEW_RULE_DROP"]       = "Drop rules",
    ["IMPORT_PREVIEW_CONFIRM"]         = "Import",
    ["IMPORT_PREVIEW_CANCEL"]          = "Cancel",
    ["IMPORT_PREVIEW_RENAME_PREFIX"]   = "Prefix:",
    ["IMPORT_PREVIEW_RENAME_SUFFIX"]   = "Suffix:",
    ["IMPORT_PREVIEW_RES_CREATE"]      = "Create",
    ["IMPORT_PREVIEW_RULE_SKIP"]       = "Skip rule",
    ["IMPORT_PREVIEW_RULE_USE_TRANSLATED"] = "Use translated",
    ["IMPORT_PREVIEW_STAT_SECTIONS"]   = "Sections",
    ["IMPORT_PREVIEW_STAT_CATEGORIES"] = "Categories",
    ["IMPORT_PREVIEW_STAT_ITEMS"]    = "Items",
    ["IMPORT_PREVIEW_UNMAPPED_KEEP_ALL"] = "Keep all",
    ["IMPORT_PREVIEW_UNMAPPED_IGNORE_ALL"] = "Ignore all",
    ["IMPORT_PREVIEW_TREE_TITLE"]      = "Sections & categories",
    ["IMPORT_PREVIEW_TAG_NEW"]         = "new",
    ["IMPORT_PREVIEW_TAG_EXISTS"]      = "exists",
    ["IMPORT_PREVIEW_TAG_MERGE"]       = "merge",
    ["IMPORT_PREVIEW_LOOSE_CATEGORIES"] = "Categories (no section)",
    ["IMPORT_PREVIEW_SUMMARY_LABEL"]   = "Summary:",
    ["IMPORT_PREVIEW_APPLY_SUCCESS"]   = "Import complete. Sections new:%d merged:%d | Categories new:%d renamed:%d merged:%d skipped:%d",
    ["IMPORT_PREVIEW_CATEGORY_ITEM_COUNT"] = "(%d |4item:items;)",
    ["IMPORT_PREVIEW_CATEGORY_UNNAMED"] = "(unnamed)",
    ["IMPORT_PREVIEW_RULE_LINE"]       = "rule: %s",

    ["IMPORT_BAGANATOR_SECTION_NAME"]  = "Baganator Import",
    ["IMPORT_BAGANATOR_CATCHALL_SECTION"] = "Baganator Unmapped",
    ["EXPORT_UNAVAILABLE_SERIALIZER"]  = "Export unavailable (Serializer or LibCopyPaste missing).",
    ["EXPORT_UNAVAILABLE_DB"]          = "Export unavailable (database not ready).",

    ["IMPORT_WARN_DECODE_FAILED"]      = "Could not decode OneWoW export: %s",
    ["IMPORT_WARN_NOT_TABLE"]          = "Decoded value was not a table",
    ["IMPORT_WARN_NOT_OWB_EXPORT"]     = "Not a OneWoW_Bags export (format=%s)",
    ["IMPORT_WARN_VERSION_MISMATCH"]   = "Export version %s, expected %d. Attempting best-effort import.",
    ["IMPORT_INFO_LOCALE_MISMATCH"]    = "Exported from '%s' client into '%s' client.",
    ["IMPORT_WARN_BAGANATOR_DIRECT_FAILED"] = "Baganator direct-read failed",
    ["IMPORT_WARN_BAGANATOR_STRING_FAILED"] = "Baganator string parse failed",
    ["IMPORT_WARN_TSM_UNAVAILABLE"]    = "TSM is not available",
    ["IMPORT_WARN_TSM_NO_BUILDPLAN"]   = "TSM integration does not expose BuildPlan",
    ["IMPORT_WARN_NO_TRANSLATOR"]      = "No translator registered for dialect '%s'",
    ["IMPORT_WARN_KEYWORD_NO_EQUIVALENT"] = "Keyword has no OneWoW equivalent; rule dropped.",
    ["IMPORT_WARN_EMPTY_KEYWORD"]      = "Empty keyword token dropped.",
    ["IMPORT_RESULT_SUCCESS"]          = "Import complete: %d new, %d renamed, %d merged, %d skipped.",
    ["IMPORT_RESULT_EMPTY"]            = "Nothing to import.",
}

OneWoW_Bags.L = {}
for k, v in pairs(OneWoW_Bags.Locales["enUS"]) do
    OneWoW_Bags.L[k] = v
end
