/branches
if not L then return end |
L["Nighthaven"] = "ÐоÑÐ½Ð°Ñ ÐаванÑ" |
L["NighthavenGossipA"] = "Я Ð±Ñ Ñ Ð¾Ñел оÑпÑавиÑÑÑÑ Ð² деÑÐµÐ²Ð½Ñ Ð ÑÑ'ÑеÑан" |
L["NighthavenGossipA"] = "Я Ð±Ñ Ñ Ð¾Ñела оÑпÑавиÑÑÑÑ Ð² деÑÐµÐ²Ð½Ñ Ð ÑÑ'ÑеÑан" |
L["NighthavenGossipH"] = "Ðне Ñ Ð¾ÑелоÑÑ Ð±Ñ ÑлеÑаÑÑ Ð² ÐÑомовой УÑеÑ" |
L["Return"] = "ÐозвÑаÑение" |
L["Rut'theran Village"] = "ÐеÑÐµÐ²Ð½Ñ Ð ÑÑ'ÑеÑан" |
L["ToText"] = "\"Nach\" Text" |
L["UnknownColor"] = "Unbekannt-Farbe" |
L["Width"] = "Breite" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "deDE") |
if not FL then return end |
FL["Aerie Peak"] = true |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Blutgiftposten" |
FL["Booty Bay"] = true |
FL["Brackenwall Village"] = "Brackenwall" |
FL["Camp Mojache"] = true |
FL["Camp Taurajo"] = true |
FL["Cenarion Hold"] = "Burg Cenarius" |
FL["Chillwind Camp"] = "Chillwind-Lager" |
FL["Crossroads"] = "Das Wegekreuz" |
FL["Darkshire"] = "Dunkelhain" |
FL["Everlook"] = true |
FL["Feathermoon"] = true |
FL["Flame Crest"] = "Flammenkamm" |
FL["Freewind Post"] = "Freiwindposten" |
FL["Gadgetzan"] = true |
FL["Grom'gol"] = true |
FL["Hammerfall"] = true |
FL["Ironforge"] = true |
FL["Kargath"] = true |
FL["Lakeshire"] = "Seenhain" |
FL["Light's Hope Chapel"] = "Kapelle des hoffnungsvollen Lichts" |
FL["Marshal's Refuge"] = "Marshals Zuflucht" |
FL["Menethil Harbor"] = "Hafen von Menethil" |
FL["Moonglade"] = true |
FL["Morgan's Vigil"] = "Morgans Wacht" |
FL["Nethergarde Keep"] = "Burg Nethergarde" |
FL["Nighthaven"] = "Nachthafen" |
FL["Nijel's Point"] = "Die Nijelspitze" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = true |
FL["Refuge Pointe"] = "Die Zuflucht" |
FL["Revantusk Village"] = "Dorf der Bruchhauer" |
FL["Rut'theran Village"] = "Rut'theran" |
FL["Sentinel Hill"] = "Späherkuppe" |
FL["Shadowprey Village"] = "Schattenflucht" |
FL["Southshore"] = true |
FL["Splintertree Post"] = "Splintertreeposten" |
FL["Stonard"] = "Steinard" |
FL["Stonetalon Peak"] = "Steinkrallengipfel" |
FL["Stormwind"] = true |
FL["Sun Rock Retreat"] = "Sonnenfels" |
FL["Talonbranch Glade"] = "Nachtlaublichtung" |
FL["Talrendis Point"] = "Talrendisspitze" |
FL["Tarren Mill"] = "Tarrens Mühle" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "Das Grabmal" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Thoriumspitze" |
FL["Thunder Bluff"] = "Donnerfels" |
FL["Undercity"] = "Unterstadt" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Zoram'gar-AuÃenposten" |
L["ToText"] = "\"å°\" æå" |
L["UnknownColor"] = "æªç¥çé¢è²" |
L["Width"] = "宽度" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "zhCN") |
if not FL then return end |
FL["Aerie Peak"] = "鹰巢山" |
FL["Astranaar"] = "é¿æ¯ç¹å °çº³" |
FL["Auberdine"] = "奥伯ä¸" |
FL["Bloodvenom Post"] = "è¡æ¯å²å¨" |
FL["Booty Bay"] = "èå®æµ·æ¹¾" |
FL["Brackenwall Village"] = "è¨å¢æ" |
FL["Camp Mojache"] = "è«æ²å½»è¥å°" |
FL["Camp Taurajo"] = "é¶æéè¥" |
FL["Cenarion Hold"] = "å¡çº³é奥è¦å¡" |
FL["Chillwind Camp"] = "å°é£å²" |
FL["Crossroads"] = "ååè·¯å£" |
FL["Darkshire"] = "å¤è²é" |
FL["Everlook"] = "æ°¸æé" |
FL["Feathermoon"] = "ç¾½æè¦å¡" |
FL["Flame Crest"] = "çç°å³°" |
FL["Freewind Post"] = "ä¹±é£å²" |
FL["Gadgetzan"] = "å åºæ£®" |
FL["Grom'gol"] = "æ ¼ç½å§é«" |
FL["Hammerfall"] = "è½é¤é" |
FL["Ironforge"] = "éçå ¡" |
FL["Kargath"] = "å¡å æ¯" |
FL["Lakeshire"] = "æ¹çé" |
FL["Light's Hope Chapel"] = "å£å ä¹æ¿ç¤¼æå " |
FL["Marshal's Refuge"] = "马ç»å°è¥å°" |
FL["Menethil Harbor"] = "ç±³å¥å¸å°æ¸¯" |
FL["Moonglade"] = "æå æå°" |
FL["Morgan's Vigil"] = "æ©æ ¹çå²å¨" |
FL["Nethergarde Keep"] = "å®æå ¡" |
FL["Nighthaven"] = "æ°¸å¤æ¸¯" |
FL["Nijel's Point"] = "å°¼è¶å°åå¨ç«" |
FL["Orgrimmar"] = "å¥¥æ ¼çç" |
FL["Ratchet"] = "æ£é½¿å" |
FL["Refuge Pointe"] = "é¿é¾è°·å°" |
FL["Revantusk Village"] = "æ¶é½¿æ" |
FL["Rut'theran Village"] = "é²çå °æ" |
FL["Sentinel Hill"] = "å¨å µå²" |
FL["Shadowprey Village"] = "è¬å½±æ" |
FL["Southshore"] = "åæµ·é" |
FL["Splintertree Post"] = "ç¢æ¨å²å¨" |
FL["Stonard"] = "æ¯é纳德" |
FL["Stonetalon Peak"] = "ç³çªå³°" |
FL["Stormwind"] = "æ´é£å" |
FL["Sun Rock Retreat"] = "çæ¥ç³å± " |
FL["Talonbranch Glade"] = "åºææå°" |
FL["Talrendis Point"] = "å¡ä¼¦è¿ªæ¯è¥å°" |
FL["Tarren Mill"] = "å¡ä¼¦ç±³å°" |
FL["Thalanaar"] = "è¨å °çº³å°" |
FL["The Sepulcher"] = "ç伯åå°" |
FL["Thelsamar"] = "å¡å°è¨ç" |
FL["Theramore"] = "å¡ææ©" |
FL["Thorium Point"] = "çé¶å¨å¡" |
FL["Thunder Bluff"] = "é·éå´" |
FL["Undercity"] = "å¹½æå" |
FL["Valormok"] = "ç¦ç½è«å " |
FL["Zoram'gar Outpost"] = "ä½æå§å åå¨ç«" |
L["ToText"] = "\"~\"ìì´" |
L["UnknownColor"] = "모르ë ê²½ë¡ ìì" |
L["Width"] = "길ì´" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "koKR") |
if not FL then return end |
FL["Aerie Peak"] = "맹ê¸ì ë´ì°ë¦¬" |
FL["Astranaar"] = "ìì¤í¸ë¼ë르" |
FL["Auberdine"] = "ìì°ë²ë¤ì¸" |
FL["Bloodvenom Post"] = "í¼ë©ì¸ ì´ì" |
FL["Booty Bay"] = "무ë²í" |
FL["Brackenwall Village"] = "ë´ìì´ ë§ì" |
FL["Camp Mojache"] = "모ìì¼ ì¼ìì§" |
FL["Camp Taurajo"] = "íì°ë¼ì¡° ì¼ìì§" |
FL["Cenarion Hold"] = "ì¸ëë¦¬ì¨ ìì" |
FL["Chillwind Camp"] = "ì리ë°ë ì¼ìì§" |
FL["Crossroads"] = "ììë¡" |
FL["Darkshire"] = "ì´ë 골" |
FL["Everlook"] = "ëë§ë£¨ ë§ì" |
FL["Feathermoon"] = "íë문 ìì" |
FL["Flame Crest"] = "íì¼ ë§ë£¨" |
FL["Freewind Post"] = "ëìë°ë ë´ì°ë¦¬" |
FL["Gadgetzan"] = "ê°ì ¯ì" |
FL["Grom'gol"] = "그롬골" |
FL["Hammerfall"] = "ë§ì¹ 주ëì§" |
FL["Ironforge"] = "ìì´ì¸í¬ì§" |
FL["Kargath"] = "카르ê°ì¤" |
FL["Lakeshire"] = "í¸ì«ê³¨" |
FL["Light's Hope Chapel"] = "í¬ë§ì ë¹ ìë°°ë¹" |
FL["Marshal's Refuge"] = "ë§ì¬ì ì¼ìì§" |
FL["Menethil Harbor"] = "ë©ë¤ì¤ í구" |
FL["Moonglade"] = "ë¬ì²" |
FL["Morgan's Vigil"] = "모건ì ë§ë£¨" |
FL["Nethergarde Keep"] = "ë¤ëê°ë ìì" |
FL["Nighthaven"] = "ë°¤ì ììì²" |
FL["Nijel's Point"] = "ëì´ì ¤ì ì¼ìì§" |
FL["Orgrimmar"] = "ì¤ê·¸ë¦¬ë§" |
FL["Ratchet"] = "í±ëí" |
FL["Refuge Pointe"] = "ìì 주ëì§" |
FL["Revantusk Village"] = "깨ì§ìë ë§ì" |
FL["Rut'theran Village"] = "루í ë ë§ì" |
FL["Sentinel Hill"] = "ê°ìì ì¸ë" |
FL["Shadowprey Village"] = "ê·¸ëìë µ ë§ì" |
FL["Southshore"] = "ë¨ë í´ì" |
FL["Splintertree Post"] = "í ë§ë무 주ëì§" |
FL["Stonard"] = "ì¤í ëë" |
FL["Stonetalon Peak"] = "ëë°í± ë´ì°ë¦¬" |
FL["Stormwind"] = "ì¤í°ìë" |
FL["Sun Rock Retreat"] = "í´ë°ì ì¼ìì§" |
FL["Talonbranch Glade"] = "ê°í´ê°ì§ ì²" |
FL["Talrendis Point"] = "íë ëì¤ ì´ì" |
FL["Tarren Mill"] = "íë ì ë¶ì" |
FL["Thalanaar"] = "íë¼ë르" |
FL["The Sepulcher"] = "ê³µëë¬ì§" |
FL["Thelsamar"] = "í ì¬ë§" |
FL["Theramore"] = "í ë¼ëª¨ì´ ì¬" |
FL["Thorium Point"] = "í 륨 ê±°ì " |
FL["Thunder Bluff"] = "ì¬ë ë¸ë¬í" |
FL["Undercity"] = "ì¸ëìí°" |
FL["Valormok"] = "ë°ë¡ë¥´ëª¨í¬" |
FL["Zoram'gar Outpost"] = "ì¡°ëê°ë¥´ ì ì´ê¸°ì§" |
L["ToText"] = "\"Para\" Texto" |
L["UnknownColor"] = "Cor Desconhecida" |
L["Width"] = "Largura" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "ptBR") |
if not FL then return end |
FL["Aerie Peak"] = "Ninho da Ãguia" |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Posto Peçonha" |
FL["Booty Bay"] = "Angra do Butim" |
FL["Brackenwall Village"] = "Aldeia Muralha Verde" |
FL["Camp Mojache"] = "Aldeia Mojache" |
FL["Camp Taurajo"] = "Aldeia Taurajo" |
FL["Cenarion Hold"] = "Forte Cenariano" |
FL["Chillwind Camp"] = "Acampamento Ventogelante" |
FL["Crossroads"] = "Encruzilhada" |
FL["Darkshire"] = "Vila Sombria" |
FL["Everlook"] = "Visteterna" |
FL["Feathermoon"] = "Plumaluna" |
FL["Flame Crest"] = "Monte Candente" |
FL["Freewind Post"] = "Aldeia Vento Livre" |
FL["Gadgetzan"] = "Geringontzan" |
FL["Grom'gol"] = true |
FL["Hammerfall"] = "RuÃna do Martelo" |
FL["Ironforge"] = "Altaforja" |
FL["Kargath"] = "Karrath" |
FL["Lakeshire"] = "Vila Plácida" |
FL["Light's Hope Chapel"] = "Capela Esperança da Luz" |
FL["Marshal's Refuge"] = "Refúgio do Marshal" |
FL["Menethil Harbor"] = "Porto de Menethil" |
FL["Moonglade"] = "Clareira da Lua" |
FL["Morgan's Vigil"] = "Vigia de Morgan" |
FL["Nethergarde Keep"] = "Bastilha de Etergarde" |
FL["Nighthaven"] = "Refúgio Noturno" |
FL["Nijel's Point"] = "Posto do Nijel" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = "Vila Catraca" |
FL["Refuge Pointe"] = "Ponta do Refúgio" |
FL["Revantusk Village"] = "Aldeia Revatusco" |
FL["Rut'theran Village"] = "Vila de Rut'theran" |
FL["Sentinel Hill"] = "Morro da Sentinela" |
FL["Shadowprey Village"] = "Aldeia Pescassombra" |
FL["Southshore"] = "Costa Sul" |
FL["Splintertree Post"] = "Posto Machadada" |
FL["Stonard"] = "Pedregal" |
FL["Stonetalon Peak"] = "Morro das Torres de Pedra" |
FL["Stormwind"] = "Ventobravo" |
FL["Sun Rock Retreat"] = "Retiro Rocha do Sol" |
FL["Talonbranch Glade"] = "Clareira da Galhaça" |
FL["Talrendis Point"] = "Campo Talrendis" |
FL["Tarren Mill"] = "Serraria Tarren" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "O Sepulcro" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Posto de Tório" |
FL["Thunder Bluff"] = "Penhasco do Trovão" |
FL["Undercity"] = "Cidade Baixa" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Assentamento Zoram'gar" |
L["ToText"] = "\"Verso\" Testo" |
L["UnknownColor"] = "Colore Sconosciuto" |
L["Width"] = "Larghezza" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "itIT") |
if not FL then return end |
FL["Aerie Peak"] = "Picco dell'Aquila" |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Accampamento di Sanguemarcio" |
FL["Booty Bay"] = "Baia del Bottino" |
FL["Brackenwall Village"] = "Felcimura" |
FL["Camp Mojache"] = "Accampamento Mojache" |
FL["Camp Taurajo"] = "Accampamento Taurajo" |
FL["Cenarion Hold"] = "Fortezza Cenariana" |
FL["Chillwind Camp"] = "Accampamento di Ventofreddo" |
FL["Crossroads"] = "Crocevia" |
FL["Darkshire"] = "Borgoscuro" |
FL["Everlook"] = "Lungavista" |
FL["Feathermoon"] = "Piumaluna" |
FL["Flame Crest"] = "Cimiero Ardente" |
FL["Freewind Post"] = "Presidio di Ventolibero" |
FL["Gadgetzan"] = "Meccania" |
FL["Grom'gol"] = true |
FL["Hammerfall"] = "Requie del Martello" |
FL["Ironforge"] = "Forgiardente" |
FL["Kargath"] = true |
FL["Lakeshire"] = "Borgolago" |
FL["Light's Hope Chapel"] = "Cappella della Luce" |
FL["Marshal's Refuge"] = "Rifugio dei Grant" |
FL["Menethil Harbor"] = "Porto di Menethil" |
FL["Moonglade"] = "Radaluna" |
FL["Morgan's Vigil"] = "Presidio di Morgan" |
FL["Nethergarde Keep"] = "Forte di Guardiafatua" |
FL["Nighthaven"] = "Nottequieta" |
FL["Nijel's Point"] = "Presidio di Nijel" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = "Porto Paranco" |
FL["Refuge Pointe"] = "Fosso dei Rifugiati" |
FL["Revantusk Village"] = "Villaggio degli Zannatorta" |
FL["Rut'theran Village"] = "Rut'theran" |
FL["Sentinel Hill"] = "Guardiacolle" |
FL["Shadowprey Village"] = "Predombra" |
FL["Southshore"] = "Riva del Sud" |
FL["Splintertree Post"] = "Avamposto di Troncorotto" |
FL["Stonard"] = "Pietrachiusa" |
FL["Stonetalon Peak"] = "Picco di Petrartiglio" |
FL["Stormwind"] = "Roccavento" |
FL["Sun Rock Retreat"] = "Rifugio Roccia del Sole" |
FL["Talonbranch Glade"] = "Radura di Ramocurvo" |
FL["Talrendis Point"] = "Bivacco di Talrendis" |
FL["Tarren Mill"] = "Mulino di Tarren" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "Mausolea" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Presidio del Torio" |
FL["Thunder Bluff"] = "Picco del Tuono" |
FL["Undercity"] = "Sepulcra" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Avamposto di Zoram'gar" |
L["ToText"] = "\"To\" Text" |
L["UnknownColor"] = "Unknown Color" |
L["Width"] = true |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "enUS", true, true) |
if not FL then return end |
FL["Aerie Peak"] = true |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = true |
FL["Booty Bay"] = true |
FL["Brackenwall Village"] = true |
FL["Camp Mojache"] = true |
FL["Camp Taurajo"] = true |
FL["Cenarion Hold"] = true |
FL["Chillwind Camp"] = true |
FL["Crossroads"] = true |
FL["Darkshire"] = true |
FL["Everlook"] = true |
FL["Feathermoon"] = true |
FL["Flame Crest"] = true |
FL["Freewind Post"] = true |
FL["Gadgetzan"] = true |
FL["Grom'gol"] = true |
FL["Hammerfall"] = true |
FL["Ironforge"] = true |
FL["Kargath"] = true |
FL["Lakeshire"] = true |
FL["Light's Hope Chapel"] = true |
FL["Marshal's Refuge"] = true |
FL["Menethil Harbor"] = true |
FL["Moonglade"] = true |
FL["Morgan's Vigil"] = true |
FL["Nethergarde Keep"] = true |
FL["Nighthaven"] = true |
FL["Nijel's Point"] = true |
FL["Orgrimmar"] = true |
FL["Ratchet"] = true |
FL["Refuge Pointe"] = true |
FL["Revantusk Village"] = true |
FL["Rut'theran Village"] = true |
FL["Sentinel Hill"] = true |
FL["Shadowprey Village"] = true |
FL["Southshore"] = true |
FL["Splintertree Post"] = true |
FL["Stonard"] = true |
FL["Stonetalon Peak"] = true |
FL["Stormwind"] = true |
FL["Sun Rock Retreat"] = true |
FL["Talonbranch Glade"] = true |
FL["Talrendis Point"] = true |
FL["Tarren Mill"] = true |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = true |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = true |
FL["Thunder Bluff"] = true |
FL["Undercity"] = true |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = true |
L["ShowSpark"] = "Mostrar Chispa" |
L["TextOptions"] = "Opciones de texto" |
L["Texture"] = "Textura" |
L["TooltipOption1"] = "<Shift Click-Izquierdo> para mover" |
L["TooltipOption2"] = "<Click-Derecho> para Opciones" |
L["TooltipOption3"] = "<Ctrl+click izquierdo> para forzar el cierre" |
L["TooltipOption1"] = "<Shift Clic-Izquierdo> para mover" |
L["TooltipOption2"] = "<Clic-Derecho> para Opciones" |
L["TooltipOption3"] = "<Ctrl+clic izquierdo> para forzar el cierre" |
L["ToText"] = "Texto \"Hacia\"" |
L["UnknownColor"] = "Color de desconocido" |
L["Width"] = "Ancho" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "esMX") |
if not FL then return end |
FL["Aerie Peak"] = "Pico Nidal" |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Puesto del Veneno" |
FL["Booty Bay"] = "BahÃa del BotÃn" |
FL["Brackenwall Village"] = "Poblado Murohelecho" |
FL["Camp Mojache"] = "Campamento Mojache" |
FL["Camp Taurajo"] = "Campamento Taurajo" |
FL["Cenarion Hold"] = "Fuerte Cenarion" |
FL["Chillwind Camp"] = "Campamento del Orvallo" |
FL["Crossroads"] = "El Cruce" |
FL["Darkshire"] = "Villa Oscura" |
FL["Everlook"] = "Vista Eterna" |
FL["Feathermoon"] = "Plumaluna" |
FL["Flame Crest"] = "Peñasco Llamarada" |
FL["Freewind Post"] = "Poblado Viento Libre" |
FL["Gadgetzan"] = true |
FL["Grom'gol"] = true |
FL["Hammerfall"] = "Sentencia" |
FL["Ironforge"] = "Forjaz" |
FL["Kargath"] = true |
FL["Lakeshire"] = "Villa del Lago" |
FL["Light's Hope Chapel"] = "Capilla de la Esperanza de la Luz" |
FL["Marshal's Refuge"] = "Refugio de Marshal" |
FL["Menethil Harbor"] = "Puerto de Menethil" |
FL["Moonglade"] = "Claro de la Luna" |
FL["Morgan's Vigil"] = "Vigilia de Morgan" |
FL["Nethergarde Keep"] = "Castillo de Nethergarde" |
FL["Nighthaven"] = "Amparo de la Noche" |
FL["Nijel's Point"] = "Punta de Nijel" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = "Trinquete" |
FL["Refuge Pointe"] = "Refugio de la Zaga" |
FL["Revantusk Village"] = "Poblado Sañadiente" |
FL["Rut'theran Village"] = "Aldea Rut'theran" |
FL["Sentinel Hill"] = "Colina del Centinela" |
FL["Shadowprey Village"] = "Aldea Cazasombras" |
FL["Southshore"] = "Costasur" |
FL["Splintertree Post"] = "Puesto del Hachazo" |
FL["Stonard"] = "Rocal" |
FL["Stonetalon Peak"] = "Cima del Espolón" |
FL["Stormwind"] = "Ventormenta" |
FL["Sun Rock Retreat"] = "Refugio Roca del Sol" |
FL["Talonbranch Glade"] = "Claro Ramaespolón" |
FL["Talrendis Point"] = "Punta Talrendis" |
FL["Tarren Mill"] = "Molino Tarren" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "El Sepulcro" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Puesto del Torio" |
FL["Thunder Bluff"] = "Cima del Trueno" |
FL["Undercity"] = "Entrañas" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Avanzada de Zoram'gar" |
L["ToText"] = "ãå°ãæå" |
L["UnknownColor"] = "æªç¥é¡è²" |
L["Width"] = "寬度" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "zhTW") |
if not FL then return end |
FL["Aerie Peak"] = "鷹巢山" |
FL["Astranaar"] = "é¿æ¯ç¹èç´" |
FL["Auberdine"] = "奧伯ä¸" |
FL["Bloodvenom Post"] = "è¡æ¯å´å¨" |
FL["Booty Bay"] = "è寶海ç£" |
FL["Brackenwall Village"] = "è¨çæ" |
FL["Camp Mojache"] = "è«æ²å¾¹çå°" |
FL["Camp Taurajo"] = "é¶æç¥çå°" |
FL["Cenarion Hold"] = "å¡ç´é奧åå ¡" |
FL["Chillwind Camp"] = "å°é¢¨å´" |
FL["Crossroads"] = "ååè·¯å£" |
FL["Darkshire"] = "å¤è²é®" |
FL["Everlook"] = "æ°¸æé®" |
FL["Feathermoon"] = "ç¾½æè¦å¡" |
FL["Flame Crest"] = "çç°å³°" |
FL["Freewind Post"] = "äºé¢¨å´" |
FL["Gadgetzan"] = "å åºæ£®" |
FL["Grom'gol"] = "æ ¼ç¾ å§é«" |
FL["Hammerfall"] = "è½éé®" |
FL["Ironforge"] = "éµçå ¡" |
FL["Kargath"] = "å¡å æ¯" |
FL["Lakeshire"] = "æ¹çé®" |
FL["Light's Hope Chapel"] = "èå ä¹é¡ç¦®æå " |
FL["Marshal's Refuge"] = "馬紹ç¾çå°" |
FL["Menethil Harbor"] = "ç±³å¥å¸ç¾æ¸¯" |
FL["Moonglade"] = "æå æå°" |
FL["Morgan's Vigil"] = "æ©æ ¹çå´å¨" |
FL["Nethergarde Keep"] = "å®æå ¡" |
FL["Nighthaven"] = "æ°¸å¤æ¸¯" |
FL["Nijel's Point"] = "å°¼è¶ç¾åå¨ç«" |
FL["Orgrimmar"] = "å¥§æ ¼çª" |
FL["Ratchet"] = "æ£é½å" |
FL["Refuge Pointe"] = "é¿é£è°·å°" |
FL["Revantusk Village"] = "æ¡é½æ" |
FL["Rut'theran Village"] = "é¯çèæ" |
FL["Sentinel Hill"] = "å¨å µå¶º" |
FL["Shadowprey Village"] = "è¬å½±æ" |
FL["Southshore"] = "åæµ·é®" |
FL["Splintertree Post"] = "ç¢æ¨å´å¨" |
FL["Stonard"] = "æ¯éç´å¾·" |
FL["Stonetalon Peak"] = "ç³çªå³°" |
FL["Stormwind"] = "æ´é¢¨å" |
FL["Sun Rock Retreat"] = "çæ¥ç³å± " |
FL["Talonbranch Glade"] = "åºææå°" |
FL["Talrendis Point"] = "å¡å«è¿ªæ¯çå°" |
FL["Tarren Mill"] = "å¡å«ç±³ç¾" |
FL["Thalanaar"] = "è©èç´ç¾" |
FL["The Sepulcher"] = "ç伯åç¾" |
FL["Thelsamar"] = "å¡ç¾è©çª" |
FL["Theramore"] = "å¡ææ©" |
FL["Thorium Point"] = "çéå¨å¡" |
FL["Thunder Bluff"] = "é·éå´" |
FL["Undercity"] = "å¹½æå" |
FL["Valormok"] = "ç¦ç¾ è«å " |
FL["Zoram'gar Outpost"] = "å·¦æå§å åå¨ç«" |
L["ToText"] = "\"в\" ТекÑÑ" |
L["UnknownColor"] = "ÐеизвеÑÑнÑй ÑвеÑ" |
L["Width"] = "ШиÑина" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "ruRU") |
if not FL then return end |
FL["Aerie Peak"] = "ÐаоблаÑнÑй пик" |
FL["Astranaar"] = "ÐÑÑÑанааÑ" |
FL["Auberdine"] = "ÐÑбеÑдин" |
FL["Bloodvenom Post"] = "ÐаÑÑава ÐÑÑавленной ÐÑови" |
FL["Booty Bay"] = "ÐиÑаÑÑÐºÐ°Ñ Ð±ÑÑ Ñа" |
FL["Brackenwall Village"] = "ÐеÑÐµÐ²Ð½Ñ ÐиблоÑопÑ" |
FL["Camp Mojache"] = "ÐагеÑÑ ÐÐ¾Ñ Ð°Ñе" |
FL["Camp Taurajo"] = "ÐагеÑÑ Ð¢Ð°ÑÑÐ°Ñ Ð¾" |
FL["Cenarion Hold"] = "ÐÑепоÑÑÑ ÐенаÑиÑ" |
FL["Chillwind Camp"] = "ÐагеÑÑ ÐÑомозглого ÐеÑÑа" |
FL["Crossroads"] = "ÐеÑекÑеÑÑок" |
FL["Darkshire"] = "ТемнолеÑÑе" |
FL["Everlook"] = "ÐÑÑговзоÑ" |
FL["Feathermoon"] = "ÐÑнное ÐеÑо" |
FL["Flame Crest"] = "ÐламенеÑÑий СÑÑг" |
FL["Freewind Post"] = "ÐаÑÑава ÐолÑного ÐеÑÑа" |
FL["Gadgetzan"] = "ÐÑибамбаÑÑк" |
FL["Grom'gol"] = "ÐагеÑÑ ÐÑом'гол" |
FL["Hammerfall"] = "ÐавÑий ÐолоÑ" |
FL["Ironforge"] = "СÑалÑгоÑн" |
FL["Kargath"] = "ÐаÑгаÑ" |
FL["Lakeshire"] = "ÐÑиозеÑÑе" |
FL["Light's Hope Chapel"] = "ЧаÑÐ¾Ð²Ð½Ñ ÐоÑледней ÐадеждÑ" |
FL["Marshal's Refuge"] = "УкÑÑÑие ÐаÑÑалла" |
FL["Menethil Harbor"] = "ÐÐ°Ð²Ð°Ð½Ñ ÐенеÑилов" |
FL["Moonglade"] = "ÐÑÐ½Ð½Ð°Ñ Ð¿Ð¾Ð»Ñна" |
FL["Morgan's Vigil"] = "ÐÐ¾Ð·Ð¾Ñ ÐоÑгана" |
FL["Nethergarde Keep"] = "ÐÑепоÑÑÑ Ð¡ÑÑажей ÐÑÑÑоÑÑ" |
FL["Nighthaven"] = "ÐоÑÐ½Ð°Ñ ÐаванÑ" |
FL["Nijel's Point"] = "ÐÑÑоÑа Ðайджела" |
FL["Orgrimmar"] = "ÐÑгÑиммаÑ" |
FL["Ratchet"] = "ÐабеÑÑан" |
FL["Refuge Pointe"] = "ÐпоÑнÑй пÑнкÑ" |
FL["Revantusk Village"] = "ÐеÑÐµÐ²Ð½Ñ Ð¡Ð»Ð¾Ð¼Ð°Ð½Ð½Ð¾Ð³Ð¾ ÐлÑка" |
FL["Rut'theran Village"] = "ÐеÑÐµÐ²Ð½Ñ Ð ÑÑ'ÑеÑан" |
FL["Sentinel Hill"] = "СÑоÑожевой Ñ Ð¾Ð»Ð¼" |
FL["Shadowprey Village"] = "ÐеÑÐµÐ²Ð½Ñ ÐоÑнÑÑ ÐÑ Ð¾Ñников" |
FL["Southshore"] = "ЮжнобеÑежÑе" |
FL["Splintertree Post"] = "ÐаÑÑава РаÑÑепленного ÐеÑева" |
FL["Stonard"] = "ÐаменоÑ" |
FL["Stonetalon Peak"] = "Ðик Ðаменного ÐогÑÑ" |
FL["Stormwind"] = "ШÑоÑмгÑад" |
FL["Sun Rock Retreat"] = "ÐÑиÑÑ Ñ Ð¡Ð¾Ð»Ð½ÐµÑного ÐамнÑ" |
FL["Talonbranch Glade"] = "ÐолÑна ÐогÑиÑÑÑÑ ÐеÑвей" |
FL["Talrendis Point"] = "ÐаÑÑава ТалÑендиÑ" |
FL["Tarren Mill"] = "ÐелÑниÑа ТаÑÑен" |
FL["Thalanaar"] = "ТаланааÑ" |
FL["The Sepulcher"] = "ÐÑобниÑа" |
FL["Thelsamar"] = "ТелcамаÑ" |
FL["Theramore"] = "ТеÑамоÑ" |
FL["Thorium Point"] = "ÐагеÑÑ ÐÑаÑÑÑва ТоÑиÑ" |
FL["Thunder Bluff"] = "ÐÑомовой УÑеÑ" |
FL["Undercity"] = "ÐодгоÑод" |
FL["Valormok"] = "Ð¥ÑабÑоÑÑан" |
FL["Zoram'gar Outpost"] = "ÐаÑÑава ÐоÑам'гаÑ" |
L["ToText"] = "Texto \"Hacia\"" |
L["UnknownColor"] = "Color de desconocido" |
L["Width"] = "Ancho" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "esES") |
if not FL then return end |
FL["Aerie Peak"] = "Pico Nidal" |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Puesto del Veneno" |
FL["Booty Bay"] = "BahÃa del BotÃn" |
FL["Brackenwall Village"] = "Poblado Murohelecho" |
FL["Camp Mojache"] = "Campamento Mojache" |
FL["Camp Taurajo"] = "Campamento Taurajo" |
FL["Cenarion Hold"] = "Fuerte Cenarion" |
FL["Chillwind Camp"] = "Campamento del Orvallo" |
FL["Crossroads"] = "El Cruce" |
FL["Darkshire"] = "Villa Oscura" |
FL["Everlook"] = "Vista Eterna" |
FL["Feathermoon"] = "Plumaluna" |
FL["Flame Crest"] = "Peñasco Llamarada" |
FL["Freewind Post"] = "Poblado Viento Libre" |
FL["Gadgetzan"] = true |
FL["Grom'gol"] = true |
FL["Hammerfall"] = "Sentencia" |
FL["Ironforge"] = "Forjaz" |
FL["Kargath"] = true |
FL["Lakeshire"] = "Villa del Lago" |
FL["Light's Hope Chapel"] = "Capilla de la Esperanza de la Luz" |
FL["Marshal's Refuge"] = "Refugio de Marshal" |
FL["Menethil Harbor"] = "Puerto de Menethil" |
FL["Moonglade"] = "Claro de la Luna" |
FL["Morgan's Vigil"] = "Vigilia de Morgan" |
FL["Nethergarde Keep"] = "Castillo de Nethergarde" |
FL["Nighthaven"] = "Amparo de la Noche" |
FL["Nijel's Point"] = "Punta de Nijel" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = "Trinquete" |
FL["Refuge Pointe"] = "Refugio de la Zaga" |
FL["Revantusk Village"] = "Poblado Sañadiente" |
FL["Rut'theran Village"] = "Aldea Rut'theran" |
FL["Sentinel Hill"] = "Colina del Centinela" |
FL["Shadowprey Village"] = "Aldea Cazasombras" |
FL["Southshore"] = "Costasur" |
FL["Splintertree Post"] = "Puesto del Hachazo" |
FL["Stonard"] = "Rocal" |
FL["Stonetalon Peak"] = "Cima del Espolón" |
FL["Stormwind"] = "Ventormenta" |
FL["Sun Rock Retreat"] = "Refugio Roca del Sol" |
FL["Talonbranch Glade"] = "Claro Ramaespolón" |
FL["Talrendis Point"] = "Punta Talrendis" |
FL["Tarren Mill"] = "Molino Tarren" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "El Sepulcro" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Puesto del Torio" |
FL["Thunder Bluff"] = "Cima del Trueno" |
FL["Undercity"] = "Entrañas" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Avanzada de Zoram'gar" |
L["ToText"] = "\"Après\" Text" |
L["UnknownColor"] = "Couleur Inconnu" |
L["Width"] = "Largeur" |
-- Flight point localisations |
local FL = LibStub("AceLocale-3.0"):NewLocale("InFlightLoc", "frFR") |
if not FL then return end |
FL["Aerie Peak"] = "Nid-de-l'Aigle" |
FL["Astranaar"] = true |
FL["Auberdine"] = true |
FL["Bloodvenom Post"] = "Poste de la Vénéneuse" |
FL["Booty Bay"] = "Baie-du-Butin" |
FL["Brackenwall Village"] = "Mur-de-Fougères" |
FL["Camp Mojache"] = true |
FL["Camp Taurajo"] = true |
FL["Cenarion Hold"] = "Fort Cénarien" |
FL["Chillwind Camp"] = "Camp du Noroît" |
FL["Crossroads"] = "La Croisée" |
FL["Darkshire"] = "Sombre-Comté" |
FL["Everlook"] = "Long-Guet" |
FL["Feathermoon"] = "Pennelune" |
FL["Flame Crest"] = "Corniche des Flammes" |
FL["Freewind Post"] = "Poste de Librevent" |
FL["Gadgetzan"] = true |
FL["Grom'gol"] = true |
FL["Hammerfall"] = "Trépas-d'Orgrim" |
FL["Ironforge"] = "Forgefer" |
FL["Kargath"] = true |
FL["Lakeshire"] = "Comté-du-Lac" |
FL["Light's Hope Chapel"] = "Chapelle de l'Espoir de Lumière" |
FL["Marshal's Refuge"] = "Refuge des Marshal" |
FL["Menethil Harbor"] = "Port de Menethil" |
FL["Moonglade"] = "Reflet-de-Lune" |
FL["Morgan's Vigil"] = "Veille de Morgan" |
FL["Nethergarde Keep"] = "Rempart-du-Néant" |
FL["Nighthaven"] = "Havrenuit" |
FL["Nijel's Point"] = "Combe de Nijel" |
FL["Orgrimmar"] = true |
FL["Ratchet"] = "Cabestan" |
FL["Refuge Pointe"] = "Refuge de l'Ornière" |
FL["Revantusk Village"] = "Village des Vengebroches" |
FL["Rut'theran Village"] = "Rut'theran" |
FL["Sentinel Hill"] = "Colline des Sentinelles" |
FL["Shadowprey Village"] = "Proie-de-l'Ombre" |
FL["Southshore"] = "Austrivage" |
FL["Splintertree Post"] = "Poste de Bois-Brisé" |
FL["Stonard"] = "Pierrêche" |
FL["Stonetalon Peak"] = "Pic des Serres-Rocheuses" |
FL["Stormwind"] = "Hurlevent" |
FL["Sun Rock Retreat"] = "Retraite de Roche-Soleil" |
FL["Talonbranch Glade"] = "Clairière de Griffebranche" |
FL["Talrendis Point"] = "Halte de Talrendis" |
FL["Tarren Mill"] = "Moulin-de-Tarren" |
FL["Thalanaar"] = true |
FL["The Sepulcher"] = "Le Sépulcre" |
FL["Thelsamar"] = true |
FL["Theramore"] = true |
FL["Thorium Point"] = "Halte du Thorium" |
FL["Thunder Bluff"] = "Les Pitons-du-Tonnerre" |
FL["Undercity"] = "Fossoyeuse" |
FL["Valormok"] = true |
FL["Zoram'gar Outpost"] = "Avant-poste de Zoram'gar" |
local debug = InFlight.debug |
local Print, PrintD = InFlight.Print, InFlight.PrintD |
local vars, db -- addon databases |
local taxiSrc, taxiDst, endTime -- location data |
local taxiSrc, taxiSrcName, taxiDst, taxiDstName, endTime -- location data |
local porttaken, takeoff, inworld, ontaxi -- flags |
local ratio, endText = 0, "??" -- cache variables |
local sb, spark, timeText, locText, bord -- frame elements |
-- LOCALIZATION |
local L = LibStub("AceLocale-3.0"):GetLocale("InFlight", not debug) |
local FL = LibStub("AceLocale-3.0"):GetLocale("InFlightLoc", not debug) |
InFlight.L = L |
-- LOCAL FUNCTIONS |
return |
end |
local duration = vars[taxiSrc] and vars[taxiSrc][ShortenName(TaxiNodeName(id))] |
local duration = vars[taxiSrc] and vars[taxiSrc][L[ShortenName(TaxiNodeName(id))]] |
if duration then |
addDuration(duration) |
else |
---------------------------------- |
function InFlight:GetDestination() |
---------------------------------- |
return taxiDst |
return taxiDstName |
end |
--------------------------------- |
end |
-- Update default data |
local gameLocale = GetLocale() |
gameLocale = gameLocale == "enGB" and "enUS" or gameLocale |
if gameLocale == "enUS" and InFlightDB.dbinit ~= 1133 or debug then |
InFlightDB.dbinit = 1133 |
if InFlightDB.dbinit ~= 1134 or debug then |
InFlightDB.dbinit = 1134 |
InFlightDB.upload = nil |
if InFlightDB.global then |
local defaults = self.defaults.global |
for faction, t in pairs(InFlightDB.global) do |
for src, dt in pairs(t) do |
if defaults[faction][src] then |
for dst, dtime in pairs(dt) do |
if dst ~= "name" and defaults[faction][src][dst] and abs(dtime - defaults[faction][src][dst]) < (debug and 2 or 5) then |
InFlightDB.global[faction][src][dst] = defaults[faction][src][dst] |
end |
end |
end |
end |
end |
end |
Print(L["DefaultsUpdated"]) |
if debug then |
local count = 0 |
for src, dt in pairs(t) do |
for dst, dtime in pairs(dt) do |
if dst ~= "name" then |
count = count + 1 |
end |
count = count + 1 |
end |
end |
PrintD(faction, "|cff208020-|r", count, "|cff208020flghts|r") |
PrintD(faction, "|cff208020-|r", count, "|cff208020flights|r") |
end |
else |
InFlightDB.global = nil |
end |
end |
-- Set up flight point translations |
for key, value in pairs(FL) do |
L[value] = key |
end |
-- Sanitise data |
if InFlightDB.global then |
local defaults = self.defaults.global |
for faction, t in pairs(InFlightDB.global) do |
for src, dt in pairs(t) do |
if L[src] ~= src and FL[L[src]] ~= L[src] then |
InFlightDB.global[faction][L[src]] = dt |
InFlightDB.global[faction][src] = nil |
src = L[src] |
end |
for dst, dtime in pairs(dt) do |
if L[dst] ~= dst and FL[L[dst]] ~= L[dst] then |
InFlightDB.global[faction][src][L[dst]] = dtime |
InFlightDB.global[faction][src][dst] = nil |
dst = L[dst] |
end |
if defaults[faction][src] and defaults[faction][src][dst] |
and abs(dtime - defaults[faction][src][dst]) < (debug and 2 or 5) then |
InFlightDB.global[faction][src][dst] = defaults[faction][src][dst] |
end |
end |
end |
end |
end |
FL = nil |
-- Check every 2 weeks if there are new flight times that could be uploaded |
if not InFlightDB.upload or InFlightDB.upload < time() then |
if InFlightDB.global then |
local found = 0 |
for src, dt in pairs(t) do |
for dst, dtime in pairs(dt) do |
if dst ~= "name" then |
if not defaults[faction][src] or not defaults[faction][src][dst] then |
found = found + 1 |
PrintD(faction, "|cff208020-|r", src, "-->", dst, "|cff208020found:|r", FormatTime(dtime)) |
elseif abs(dtime - defaults[faction][src][dst]) >= (debug and 2 or 5) then |
found = found + 1 |
PrintD(faction, "|cff208020-|r", src, "-->", dst, "|cff208020updated:|r", FormatTime(defaults[faction][src][dst]), "-->", FormatTime(dtime)) |
end |
if not defaults[faction][src] or not defaults[faction][src][dst] then |
found = found + 1 |
PrintD(faction, "|cff208020-|r", src, "-->", dst, "|cff208020found:|r", FormatTime(dtime)) |
elseif defaults[faction][src][dst] - dtime >= (debug and 2 or 5) then |
found = found + 1 |
PrintD(faction, "|cff208020-|r", src, "-->", dst, "|cff208020updated:|r", FormatTime(defaults[faction][src][dst]), "-->", FormatTime(dtime)) |
end |
end |
end |
if not taxiSrc then |
for i = 1, NumTaxiNodes(), 1 do |
if TaxiNodeGetType(i) == "CURRENT" then |
taxiSrc = ShortenName(TaxiNodeName(i)) |
taxiSrcName = ShortenName(TaxiNodeName(i)) |
taxiSrc = L[taxiSrcName] |
break |
end |
end |
end |
end |
taxiDst = ShortenName(TaxiNodeName(slot)) |
taxiDstName = ShortenName(TaxiNodeName(slot)) |
taxiDst = L[taxiDstName] |
local t = vars[taxiSrc] |
if t and t[taxiDst] and t[taxiDst] > 0 then -- saved variables lookup |
endTime = t[taxiDst] |
OnAccept = function(this, data) InFlight:StartTimer(data) end, |
timeout = 0, exclusive = 1, hideOnEscape = 1, |
} |
StaticPopupDialogs.INFLIGHTCONFIRM.text = format(L["ConfirmPopup"], "|cffffff00"..taxiDst..(endTime and " ("..endText..")" or "").."|r") |
StaticPopupDialogs.INFLIGHTCONFIRM.text = format(L["ConfirmPopup"], "|cffffff00"..taxiDstName..(endTime and " ("..endText..")" or "").."|r") |
local dialog = StaticPopup_Show("INFLIGHTCONFIRM") |
if dialog then |
--------------------------------------- |
function InFlight:InitSource(isTaxiMap) -- cache source location and hook tooltips |
--------------------------------------- |
taxiSrcName = nil |
taxiSrc = nil |
for i = 1, NumTaxiNodes(), 1 do |
end |
if TaxiNodeGetType(i) == "CURRENT" then |
taxiSrc = ShortenName(TaxiNodeName(i)) |
taxiSrcName = ShortenName(TaxiNodeName(i)) |
taxiSrc = L[taxiSrcName] |
end |
end |
end |
------------------------------------------- |
function InFlight:StartMiscFlight(src, dst) -- called from InFlight_Load for special flights |
------------------------------------------- |
taxiSrc = L[src] |
taxiDst = L[dst] |
taxiSrcName = L[src] |
taxiSrc = src |
taxiDstName = L[dst] |
taxiDst = dst |
endTime = vars[src] and vars[src][dst] |
endText = FormatTime(endTime) |
self:StartTimer() |
vars[taxiSrc] = vars[taxiSrc] or {} |
local oldTime = vars[taxiSrc][taxiDst] |
local newTime = floor(totalTime + 0.5) |
local msg = strjoin(" ", taxiSrc, db.totext, taxiDst, "|cff208080") |
local msg = strjoin(" ", taxiSrcName, db.totext, taxiDstName, "|cff208080") |
if not oldTime then |
msg = msg..L["FlightTimeAdded"].."|r "..FormatTime(newTime) |
elseif abs(newTime - oldTime) >= 5 then |
end |
end |
taxiSrcName = nil |
taxiSrc = nil |
taxiDstName = nil |
taxiDst = nil |
endTime = nil |
endText = FormatTime(endTime) |
locText:SetJustifyH("LEFT") |
locText:SetJustifyV("CENTER") |
SetPoints(locText, "LEFT", sb, "LEFT", 4, 0, "RIGHT", timeText, "LEFT", -2, 0) |
locText:SetText(taxiDst or "??") |
locText:SetText(taxiDstName or "??") |
else |
timeText:SetJustifyH("CENTER") |
timeText:SetJustifyV("CENTER") |
locText:SetJustifyH("CENTER") |
locText:SetJustifyV("BOTTOM") |
SetPoints(locText, "TOPLEFT", sb, "TOPLEFT", -24, db.fontsize*2.5, "BOTTOMRIGHT", sb, "TOPRIGHT", 24, (db.border=="None" and 1) or 3) |
locText:SetFormattedText("%s %s %s", taxiSrc or "??", db.totext, taxiDst or "??") |
locText:SetFormattedText("%s %s %s", taxiSrcName or "??", db.totext, taxiDstName or "??") |
end |
end |
end |
updates[1] = InFlightDB.global |
ownData = true |
end |
local InFlightVars = self.defaults.global |
local defaults = self.defaults.global |
for _, flightPaths in ipairs(updates) do |
-- Set updateExistingTimes to true to update and add new times (for updates based |
-- on the current default db) |
-- Set updateExistingTimes to false to only add new unknown times (use for updates |
-- not based on current default db to avoid re-adding old/incorrect times) |
updateExistingTimes = updateExistingTimes ~= nil and updateExistingTimes or ownData |
if updateExistingTimes == nil then |
updateExistingTimes = ownData |
end |
for faction, t in pairs(flightPaths) do |
if faction == "Horde" or faction == "Alliance" then |
local found = false |
local updated, added = 0, 0 |
for src, dt in pairs(t) do |
if not InFlightVars[faction][src] then |
InFlightVars[faction][src] = {} |
if not defaults[faction][src] then |
defaults[faction][src] = {} |
PrintD(faction, "|cff208080New source:|r", src) |
end |
for dst, utime in pairs(dt) do |
if dst == "name" then |
if InFlightVars[faction][src][dst] ~= utime then |
InFlightVars[faction][src][dst] = utime |
PrintD(faction, "|cff208080New source name:|r", utime, src) |
end |
elseif src ~= dst and type(utime) == "number" then |
local vtime = InFlightVars[faction][src][dst] |
if utime >= 5 and (not vtime or ownData or abs(utime - vtime) >= 5) then |
if src ~= dst and type(utime) == "number" then |
local vtime = defaults[faction][src][dst] |
if utime >= 5 and (not vtime or ownData or vtime - utime >= 5) then |
if vtime then |
if updateExistingTimes and InFlightVars[faction][src][dst] ~= utime then |
InFlightVars[faction][src][dst] = utime |
if updateExistingTimes and defaults[faction][src][dst] ~= utime then |
defaults[faction][src][dst] = utime |
found = true |
updated = updated + 1 |
PrintD(faction, "|cff208020Update time:|r", InFlightVars[faction][src].name, src, "|cff208020-->|r", dst, "|cff208020- old:|r", vtime, "|cff208020new:|r", utime) |
PrintD(faction, "|cff208020Update time:|r", src, "|cff208020-->|r", dst, "|cff208020- old:|r", vtime, "|cff208020new:|r", utime) |
end |
else |
InFlightVars[faction][src][dst] = utime |
defaults[faction][src][dst] = utime |
found = true |
added = added + 1 |
PrintD(faction, "|cff208080New time:|r", src, "|cff208020-->|r", dst, "|cff208020- new:|r", utime) |
PrintD(faction, "|cff208020-|r No time updates found.") |
end |
else |
InFlightVars[faction] = nil |
defaults[faction] = nil |
Print("Unknown faction removed:", faction) |
end |
end |
InFlightDB.defaults = InFlightVars |
InFlightDB.defaults = defaults |
end |
end |