local addonName, privateDB = ...
-- ============================================================================
-- HDG Localization - esES (Spanish - Spain)
-- ============================================================================
-- Short labels (column headers, compact buttons) stay English to prevent
-- layout overflow. Only translate strings with room to grow. See enUS file.
_G.HDG_Locales["esES"] = {
    -- Tab Names
    ["TAB_RECIPES"] = "Recetas",
    ["TAB_GOBLIN"] = "Goblin",
    ["TAB_PREVIEW"] = "Vista Previa",
    ["TAB_TRAINERS"] = "Instructores",
    ["TAB_ALTS"] = "Alts",
    ["TAB_CONFIG"] = "Config",
    ["TAB_DATA"] = "Datos",
    ["TAB_STYLES"] = "Estilo",
    ["TAB_ACQUIRE"] = "Adquirir",

    -- Panel Headers
    ["HEADER_CRAFTING_QUEUE"] = "Cola de Fabricación",
    ["HEADER_SHOPPING_LIST"] = "Lista de Compras",
    ["HEADER_MATERIALS"] = "Materiales",
    ["HEADER_REQUIRED_MATERIALS"] = "Materiales Requeridos",
    ["HEADER_RAW_MATERIALS"] = "Materiales Básicos",
    ["HEADER_DIRECT_MATERIALS"] = "Materiales Directos",
    ["HEADER_LUMBER"] = "Madera",
    ["HEADER_TRACKED_REAGENTS"] = "Reagentes Rastreados",
    ["HEADER_CRAFTING_HISTORY"] = "Historial de Fabricación / Adquisición",
    ["HEADER_FARMING_HISTORY"] = "Historial de Recolección",
    ["HEADER_ACCOUNT_SUMMARY"] = "Resumen de Cuenta",
    ["HEADER_PROFIT_ANALYSIS"] = "Análisis de Ganancias",

    -- Buttons
    ["BTN_FILTER_DECOR"] = "Filtrar Decoración",
    ["BTN_DECOR_GUIDE"] = "Guía de Decoración",
    ["BTN_END_SESSION"] = "Terminar Sesión",
    ["BTN_STOP_TRACKING"] = "Dejar de Rastrear",
    ["BTN_SCAN_AH"] = "Escanear SC",
    ["BTN_ADD_TO_AUCTIONATOR"] = "Agregar a Auctionator",
    ["BTN_ADD_ALL_AUCTIONATOR"] = "Agregar Todo a Auctionator",
    ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Agregar Todo a Auctionator (Básicos)",
    ["BTN_ADD_TO_TSM"] = "Agregar a Lista TSM",
    ["BTN_MY_COLLECTION"] = "Mi Colección",

    -- Checkboxes
    ["CHECK_UNCOLLECTED_ONLY"] = "Sin Recolectar",
    ["CHECK_HIDE_UNPROFITABLE"] = "Ocultar No Rentables",
    ["CHECK_ONLY_KNOWN"] = "Solo Conocidas",
    ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Mostrar Botones de Profesión",

    -- Locale Override
    ["LOCALE_OVERRIDE"] = "Idioma Preferido",
    ["LOCALE_AUTO"] = "Auto (Cliente)",
    ["LOCALE_HINT"] = "Requiere /reload para aplicar",
    ["LOCALE_NOTE"] = "Nota: Solo afecta el texto del addon. Los nombres de recetas e ítems dependen del idioma de tu cliente.",
    ["TRANSLATE_NOTE"] = "¡Ayuda a traducir! Envía correcciones por Discord abajo.",

    -- Filter Labels
    ["FILTER_PROFESSION"] = "Profesión",
    ["FILTER_EXPANSION"] = "Expansión",
    ["FILTER_ALL_PROFESSIONS"] = "Todas las Profesiones",
    ["FILTER_ALL_EXPANSIONS"] = "Todas las Expansiones",
    ["FILTER_TAGS"] = "Etiquetas",
    ["FILTER_CATEGORY"] = "Filtro",

    -- Preview Tab Categories
    ["CAT_ALL"] = "Todo",
    ["CAT_CRAFTED"] = "Fabricado",
    ["CAT_SIZES"] = "Tamaños",
    ["CAT_FACTIONS"] = "Facciones",
    ["CAT_STYLES"] = "Estilos",
    ["CAT_EXPANSIONS"] = "Expansiones",
    ["CAT_OTHER"] = "Otros",

    -- Status Messages
    ["STATUS_LOADING"] = "Cargando...",
    ["STATUS_NO_DATA"] = "Sin datos disponibles",
    ["STATUS_NO_RECIPES"] = "No se encontraron recetas",
    ["STATUS_NO_HISTORY"] = "Sin historial de fabricación aún.",
    ["STATUS_NO_FARMING_HISTORY"] = "Sin sesiones de recolección registradas.",
    ["STATUS_NO_CHARACTER_DATA"] = "Sin datos de personaje. Abre una ventana de profesión para escanear.",
    ["STATUS_ALL_LUMBER_COLLECTED"] = "¡Toda la madera recolectada!",
    ["STATUS_NO_MATERIALS_QUEUED"] = "Sin materiales en cola",
    ["STATUS_HAVE_ALL_MATERIALS"] = "¡Tienes todos los materiales!",
    ["STATUS_INSTALL_PRICE_ADDON"] = "Instala TSM/Auctionator para precios",

    -- Tab Tooltip Descriptions
    ["TIP_TAB_RECIPES"] = "Ver todas las recetas de decoración",
    ["TIP_TAB_GOBLIN"] = "Análisis de ganancias - encuentra las fabricaciones más rentables",
    ["TIP_TAB_PREVIEW"] = "Vista previa de decoraciones",
    ["TIP_TAB_TRAINERS"] = "Encontrar instructores de recetas",
    ["TIP_TAB_ALTS"] = "Ver datos de profesiones de todos los personajes",
    ["TIP_TAB_DATA"] = "Ver historial de recolección y estadísticas",
    ["TIP_TAB_CONFIG"] = "Configurar opciones del addon y icono del minimapa",

    -- Tooltips
    ["TIP_CLICK_TO_PREVIEW"] = "Clic para vista previa",
    ["TIP_CLICK_HEADERS_TO_SORT"] = "Clic en encabezados para ordenar",
    ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-clic para agregar a cola",
    ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-clic para buscar en SC",
    ["TIP_RIGHT_CLICK_OPTIONS"] = "Clic derecho para opciones",
    ["TIP_DRAG_TO_MOVE"] = "Arrastra para mover",
    ["TIP_CLOSE_MAIN_WINDOW"] = "Cerrar Ventana Principal",
    ["TIP_OPEN_MAIN_WINDOW"] = "Abrir Ventana Principal",
    ["TIP_SHOW_MATERIALS"] = "Mostrar Materiales",
    ["TIP_HIDE_MATERIALS"] = "Ocultar Materiales",
    ["TIP_MATERIALS_UNAVAILABLE"] = "Materiales No Disponibles",
    ["TIP_END_FARMING_SESSION"] = "Terminar Sesión de Recolección",
    ["TIP_ENDS_SESSION_TRACKING"] = "Termina el rastreo de la sesión actual",
    ["TIP_SELECT_ALL_COPY"] = "Seleccionar todo (Ctrl+A) y copiar (Ctrl+C)",

    -- Export
    ["EXPORT_CRAFTING_TITLE"] = "Exportar Historial de Fabricación",
    ["EXPORT_FARMING_TITLE"] = "Exportar Historial de Recolección",

    -- Crafting Queue
    ["QUEUE_NOT_KNOWN"] = "Desconocida",
    ["QUEUE_YOU"] = "(tú)",
    ["QUEUE_NEEDS_TRAINING"] = "No Aprendida",
    ["QUEUE_KNOWN_BY"] = "Conocida por",

    -- Farming Tracker
    ["FARM_SESSION_ENDED"] = "sesión de recolección terminada",
    ["FARM_COLLECTED"] = "recolectado",
    ["FARM_THIS_SESSION"] = "esta sesión",
    ["FARM_FIRST_TO_LAST"] = "(del primero al último)",

    -- Materials
    ["MAT_GATHERED"] = "Recolectado",
    ["MAT_CRAFTED"] = "Fabricado",
    ["MAT_VENDOR"] = "Vendedor",
    ["MAT_DROPPED"] = "Botín",
    ["MAT_SPECIAL"] = "Especial",

    -- Material Source Categories
    ["MAT_FROM_VENDOR"] = "De Vendedor",
    ["MAT_FROM_GATHERING"] = "De Recolección / SC",
    ["MAT_FROM_CRAFTING"] = "De Fabricación / SC",

    -- Acquisition Sources
    ["SOURCE_CRAFTED"] = "Fabricado",
    ["SOURCE_LEARNED"] = "Aprendido",

    -- Collection Status
    ["STATUS_COLLECTED"] = "Obtenido",
    ["STATUS_COLLECTION"] = "Colección",
    ["STATUS_UNCOLLECTED"] = "Sin Obtener",
    ["STATUS_NOT_COLLECTED"] = "No Obtenido",
    ["TIP_MY_COLLECTION"] = "Mi Colección",
    ["TIP_SHOW_ALL_DECOR"] = "Mostrar TODOS los objetos de decoración del catálogo",
    ["TIP_NOT_JUST_CRAFTABLE"] = "(no solo recetas fabricables).",
    ["TIP_UNCOLLECTED_ONLY"] = "Solo Sin Obtener",
    ["TIP_HIDE_COLLECTED"] = "Ocultar objetos que ya has obtenido",

    -- Skill Thresholds Legend
    ["LEGEND_CAN_LEARN"] = "Puede aprender recetas de decoración",
    ["LEGEND_BELOW_THRESHOLD"] = "Por debajo del umbral",
    ["LEGEND_NO_DECOR_RECIPES"] = "Sin recetas de decoración",

    -- Profession Window
    ["PROF_NOT_LEARNED"] = "No Aprendida",

    -- Profession Names
    ["PROF_ALL"] = "Todo",
    ["PROF_ALCHEMY"] = "Alquimia",
    ["PROF_BLACKSMITHING"] = "Herrería",
    ["PROF_COOKING"] = "Cocina",
    ["PROF_ENCHANTING"] = "Encantamiento",
    ["PROF_ENGINEERING"] = "Ingeniería",
    ["PROF_INSCRIPTION"] = "Inscripción",
    ["PROF_JEWELCRAFTING"] = "Joyería",
    ["PROF_LEATHERWORKING"] = "Peletería",
    ["PROF_TAILORING"] = "Sastrería",
    ["PROF_HERBALISM"] = "Herboristería",
    ["PROF_MINING"] = "Minería",
    ["PROF_SKINNING"] = "Desuello",
    ["PROF_FISHING"] = "Pesca",

    -- Misc
    ["MISC_UNKNOWN"] = "Desconocido",
    ["MISC_ITEMS"] = "objetos",
    ["MISC_EXPANSION"] = "Expansión",
    ["MISC_IN_BAGS_BANK"] = "En Bolsas/Banco",
    ["MISC_TOTAL_NEEDED"] = "Total Necesario",
    ["MISC_NEED_MORE"] = "Necesitas %s más",
    ["MISC_HAVE_ENOUGH"] = "Tienes suficiente",
    ["MISC_LUMBER_MUST_BE_FARMED"] = "La madera debe recolectarse",
    ["MISC_NOT_NEEDED_FOR_QUEUE"] = "No necesario para la cola",
    ["MISC_ALL_RECIPES_COLLECTED"] = "Todas las recetas que usan esto recolectadas",

    -- Recipes Tab
    ["RECIPE_PROFESSIONS"] = "Profesiones",
    ["RECIPE_EST_COST"] = "Coste Est.:",
}
