/
LoadAddOn("InFlight") |
end |
return (InFlight.ShowOptions and true) or nil |
return GetAddOnEnableState(UnitName("player"), "InFlight") == 2 and InFlight.ShowOptions and true or nil |
end |
----------------------------------------- |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "deDE") |
if not L then return end |
L["AddonDisabled"] = "Falsche Client-Version erkannt: Addon deaktivieren" |
L["BackgroundColor"] = "Hintergrundfarbe" |
L["BarColor"] = "Farbe der Leiste" |
L["BarOptions"] = "Leisteneinstellungen" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "zhCN") |
if not L then return end |
L["AddonDisabled"] = "æ£æµå°é误ç客æ·ç«¯çæ¬ï¼ç¦ç¨æ件" |
L["BackgroundColor"] = "èæ¯é¢è²" |
L["BarColor"] = "é å§é¢è²" |
L["BarOptions"] = "ç¶ææ é项" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "koKR") |
if not L then return end |
L["AddonDisabled"] = "í´ë¼ì´ì¸í¸ ë²ì ì´ ì못 ê°ì§ëììµëë¤ : ì ëì¨ ë¹íì±í" |
L["BackgroundColor"] = "ë°°ê²½ ìì" |
L["BarColor"] = "ë° ìì" |
L["BarOptions"] = "ë° ì¤ì " |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "ptBR") |
if not L then return end |
L["AddonDisabled"] = "Versão incorreta do cliente detectada: desativando o complemento" |
L["BackgroundColor"] = "Cor de Fundo" |
L["BarColor"] = "Cor da Barra" |
L["BarOptions"] = "Opções de Bar" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "itIT") |
if not L then return end |
L["AddonDisabled"] = "Rilevata versione client errata: disabilitazione del componente aggiuntivo" |
L["BackgroundColor"] = "Colore di Sfondo" |
L["BarColor"] = "Colore della Barra" |
L["BarOptions"] = "Opzioni della Barra" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "enUS", true) |
if not L then return end |
L["AddonDisabled"] = "Wrong client version detected: disabling addon" |
L["BackgroundColor"] = "Background Color" |
L["BarColor"] = "Bar Color" |
L["BarOptions"] = "Bar Options" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "esMX") |
if not L then return end |
L["AddonDisabled"] = "Se detectó una versión incorrecta del cliente: deshabilitar el complemento" |
L["BackgroundColor"] = "Color de Fondo" |
L["BarColor"] = "Color de la Barra" |
L["BarOptions"] = "Opciones de barra" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "zhTW") |
if not L then return end |
L["AddonDisabled"] = "檢測å°é¯èª¤ç客æ¶ç«¯çæ¬ï¼ç¦ç¨æ件" |
L["BackgroundColor"] = "èæ¯é¡è²" |
L["BarColor"] = "æéæ¢é¡è²" |
L["BarOptions"] = "å¤è§" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "ruRU") |
if not L then return end |
L["AddonDisabled"] = "ÐбнаÑÑжена невеÑÐ½Ð°Ñ Ð²ÐµÑÑÐ¸Ñ ÐºÐ»Ð¸ÐµÐ½Ñа: оÑклÑÑение аддона" |
L["BackgroundColor"] = "Ð¦Ð²ÐµÑ Ñона" |
L["BarColor"] = "Ð¦Ð²ÐµÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ" |
L["BarOptions"] = "ÐпÑии полоÑÑ" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "esES") |
if not L then return end |
L["AddonDisabled"] = "Se detectó una versión incorrecta del cliente: deshabilitar el complemento" |
L["BackgroundColor"] = "Color de Fondo" |
L["BarColor"] = "Color de la Barra" |
L["BarOptions"] = "Opciones de la Barra" |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "frFR") |
if not L then return end |
L["AddonDisabled"] = "Mauvaise version du client détectée: désactivation de l'addon" |
L["BackgroundColor"] = "Couleur de Fond" |
L["BarColor"] = "Couleur de Remplissage" |
L["BarOptions"] = "Status Options" |
InFlightDB.global = nil |
InFlightDB.version = "classic" |
if client ~= "classic" then |
return DisableAddOn("InFlight") |
Print(L["AddonDisabled"]) |
DisableAddOn("InFlight") |
return |
end |
end |