-- CursorEffects - Localization
-- Supports multiple languages

local L = {}

-- English (enUS)
L.enUS = {
    ADDON_TITLE = "Cursor Effects",
    ADDON_LOADED = "Cursor Effects v%s - Loaded!",
    ADDON_WELCOME = "Type |cff00ffff/ce|r for options",
    
    -- Chat messages
    STATUS_ENABLED = "|cff00ff00Enabled|r",
    STATUS_DISABLED = "|cffff0000Disabled|r",
    STATUS_CHANGED = "Cursor Effects: %s",
    EFFECT_TYPE_SET = "Effect type set to: %s",
    MOUSE_SIZE_SET = "Mouse size set to: %.1f",
    GLOW_INTENSITY_SET = "Glow intensity set to: %.1f",
    COLOR_SET = "Color set to RGB(%.1f, %.1f, %.1f)",
    UNKNOWN_COMMAND = "Unknown command. Type /ce help for options",
    UNKNOWN_EFFECT = "Unknown effect type. Valid options: glow, pulse, trail, sparkle, none",
    COLOR_USAGE = "Usage: /ce color <r> <g> <b> (0-1 for each)",
    
    -- Effect types
    EFFECT_GLOW = "glow",
    EFFECT_PULSE = "pulse",
    EFFECT_TRAIL = "trail",
    EFFECT_SPARKLE = "sparkle",
    EFFECT_NONE = "none",
    
    -- Help text
    HELP_TITLE = "|cff00ffffCursor Effects Help|r",
    HELP_TOGGLE = "/ce toggle - Toggle effects on/off",
    HELP_EFFECT = "/ce effect <type> - Set effect (glow, pulse, trail, sparkle, none)",
    HELP_SIZE = "/ce size <scale> - Set cursor size (0.5-3.0)",
    HELP_INTENSITY = "/ce intensity <value> - Set glow intensity (0-2.0)",
    HELP_COLOR = "/ce color <r> <g> <b> - Set color (0-1 each, e.g., /ce color 0 1 1)",
    HELP_HELP = "/ce help - Show this help message",
}

-- European Portuguese (ptBR)
L.ptBR = {
    ADDON_TITLE = "Efeitos de Cursor",
    ADDON_LOADED = "Efeitos de Cursor v%s - Carregado!",
    ADDON_WELCOME = "Digite |cff00ffff/ce|r para opções",
    
    STATUS_ENABLED = "|cff00ff00Ativado|r",
    STATUS_DISABLED = "|cffff0000Desativado|r",
    STATUS_CHANGED = "Efeitos de Cursor: %s",
    EFFECT_TYPE_SET = "Tipo de efeito definido para: %s",
    MOUSE_SIZE_SET = "Tamanho do mouse definido para: %.1f",
    GLOW_INTENSITY_SET = "Intensidade do brilho definida para: %.1f",
    COLOR_SET = "Cor definida para RGB(%.1f, %.1f, %.1f)",
    UNKNOWN_COMMAND = "Comando desconhecido. Digite /ce help para opções",
    UNKNOWN_EFFECT = "Tipo de efeito desconhecido. Opções válidas: glow, pulse, trail, sparkle, none",
    COLOR_USAGE = "Uso: /ce color <r> <g> <b> (0-1 cada)",
    
    HELP_TITLE = "|cff00ffffAjuda de Efeitos de Cursor|r",
    HELP_TOGGLE = "/ce toggle - Ativar/desativar efeitos",
    HELP_EFFECT = "/ce effect <type> - Definir efeito (glow, pulse, trail, sparkle, none)",
    HELP_SIZE = "/ce size <scale> - Definir tamanho do cursor (0.5-3.0)",
    HELP_INTENSITY = "/ce intensity <value> - Definir intensidade do brilho (0-2.0)",
    HELP_COLOR = "/ce color <r> <g> <b> - Definir cor (0-1 cada, ex: /ce color 0 1 1)",
    HELP_HELP = "/ce help - Mostrar esta mensagem de ajuda",
}

-- German (deDE)
L.deDE = {
    ADDON_TITLE = "Cursor-Effekte",
    ADDON_LOADED = "Cursor-Effekte v%s - Geladen!",
    ADDON_WELCOME = "Geben Sie |cff00ffff/ce|r ein für Optionen",
    
    STATUS_ENABLED = "|cff00ff00Aktiviert|r",
    STATUS_DISABLED = "|cffff0000Deaktiviert|r",
    STATUS_CHANGED = "Cursor-Effekte: %s",
    EFFECT_TYPE_SET = "Effekttyp gesetzt auf: %s",
    MOUSE_SIZE_SET = "Cursorgröße gesetzt auf: %.1f",
    GLOW_INTENSITY_SET = "Glühen-Intensität gesetzt auf: %.1f",
    COLOR_SET = "Farbe gesetzt auf RGB(%.1f, %.1f, %.1f)",
    UNKNOWN_COMMAND = "Unbekannter Befehl. Geben Sie /ce help ein für Optionen",
    UNKNOWN_EFFECT = "Unbekannter Effekttyp. Gültige Optionen: glow, pulse, trail, sparkle, none",
    COLOR_USAGE = "Verwendung: /ce color <r> <g> <b> (0-1 für jeden)",
    
    HELP_TITLE = "|cff00ffffCursor-Effekte Hilfe|r",
    HELP_TOGGLE = "/ce toggle - Effekte an/aus schalten",
    HELP_EFFECT = "/ce effect <type> - Effekt setzen (glow, pulse, trail, sparkle, none)",
    HELP_SIZE = "/ce size <scale> - Cursorgröße setzen (0.5-3.0)",
    HELP_INTENSITY = "/ce intensity <value> - Glühen-Intensität setzen (0-2.0)",
    HELP_COLOR = "/ce color <r> <g> <b> - Farbe setzen (0-1 für jeden, z.B. /ce color 0 1 1)",
    HELP_HELP = "/ce help - Diese Hilfemeldung anzeigen",
}

-- French (frFR)
L.frFR = {
    ADDON_TITLE = "Effets du Curseur",
    ADDON_LOADED = "Effets du Curseur v%s - Chargé!",
    ADDON_WELCOME = "Tapez |cff00ffff/ce|r pour les options",
    
    STATUS_ENABLED = "|cff00ff00Activé|r",
    STATUS_DISABLED = "|cffff0000Désactivé|r",
    STATUS_CHANGED = "Effets du Curseur: %s",
    EFFECT_TYPE_SET = "Type d'effet défini sur: %s",
    MOUSE_SIZE_SET = "Taille du curseur définie sur: %.1f",
    GLOW_INTENSITY_SET = "Intensité de la lueur définie sur: %.1f",
    COLOR_SET = "Couleur définie sur RGB(%.1f, %.1f, %.1f)",
    UNKNOWN_COMMAND = "Commande inconnue. Tapez /ce help pour les options",
    UNKNOWN_EFFECT = "Type d'effet inconnu. Options valides: glow, pulse, trail, sparkle, none",
    COLOR_USAGE = "Utilisation: /ce color <r> <g> <b> (0-1 pour chacun)",
    
    HELP_TITLE = "|cff00ffffAide des Effets du Curseur|r",
    HELP_TOGGLE = "/ce toggle - Activer/désactiver les effets",
    HELP_EFFECT = "/ce effect <type> - Définir l'effet (glow, pulse, trail, sparkle, none)",
    HELP_SIZE = "/ce size <scale> - Définir la taille du curseur (0.5-3.0)",
    HELP_INTENSITY = "/ce intensity <value> - Définir l'intensité de la lueur (0-2.0)",
    HELP_COLOR = "/ce color <r> <g> <b> - Définir la couleur (0-1 pour chacun, ex: /ce color 0 1 1)",
    HELP_HELP = "/ce help - Afficher ce message d'aide",
}

-- Get localization table for current locale
local locale = GetLocale()
_G.CursorEffectsL = L[locale] or L.enUS

return _G.CursorEffectsL
