From 6fc121a17a125630b05c821dc7db434ffe4de4b1 Mon Sep 17 00:00:00 2001 From: NoM0Re Date: Tue, 15 Apr 2025 15:16:57 +0200 Subject: [PATCH] (feature/Prototypes) add Faction Reputation trigger (#42) --- WeakAuras/Locales/deDE.lua | 1 - WeakAuras/Locales/enUS.lua | 1 - WeakAuras/Locales/esES.lua | 1 - WeakAuras/Locales/esMX.lua | 1 - WeakAuras/Locales/frFR.lua | 1 - WeakAuras/Locales/itIT.lua | 1 - WeakAuras/Locales/koKR.lua | 1 - WeakAuras/Locales/ptBR.lua | 1 - WeakAuras/Locales/ruRU.lua | 1 - WeakAuras/Locales/zLocales.lua | 1053 +++++++++++++++++++++++++++++++- WeakAuras/Locales/zhCN.lua | 1 - WeakAuras/Locales/zhTW.lua | 1 - WeakAuras/Modernize.lua | 6 + WeakAuras/Prototypes.lua | 169 +++++ WeakAuras/Types.lua | 300 ++++++++- 15 files changed, 1526 insertions(+), 13 deletions(-) diff --git a/WeakAuras/Locales/deDE.lua b/WeakAuras/Locales/deDE.lua index 7bd93f0..0cff200 100644 --- a/WeakAuras/Locales/deDE.lua +++ b/WeakAuras/Locales/deDE.lua @@ -2388,4 +2388,3 @@ L["Zoom"] = "Zoom" --[[Translation missing --]] L["Zoom Animation"] = "Zoom Animation" L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/enUS.lua b/WeakAuras/Locales/enUS.lua index 1431036..b9b8f6c 100644 --- a/WeakAuras/Locales/enUS.lua +++ b/WeakAuras/Locales/enUS.lua @@ -1545,7 +1545,6 @@ L["Zoom"] = "Zoom" L["Zoom Animation"] = "Zoom Animation" L["Zul'Gurub"] = "Zul'Gurub" - -- Make missing translations available setmetatable(WeakAuras.L, {__index = function(self, key) self[key] = (key or "") diff --git a/WeakAuras/Locales/esES.lua b/WeakAuras/Locales/esES.lua index 29ae9b5..27d1ad6 100644 --- a/WeakAuras/Locales/esES.lua +++ b/WeakAuras/Locales/esES.lua @@ -1491,4 +1491,3 @@ L["Zone Name"] = "Nombre de zona" L["Zoom"] = "Zoom" L["Zoom Animation"] = "Animación de zoom" L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/esMX.lua b/WeakAuras/Locales/esMX.lua index 4941396..41aac03 100644 --- a/WeakAuras/Locales/esMX.lua +++ b/WeakAuras/Locales/esMX.lua @@ -1492,4 +1492,3 @@ L["Zone Name"] = "Nombre de zona" L["Zoom"] = "Zoom" L["Zoom Animation"] = "Animación de zoom" L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/frFR.lua b/WeakAuras/Locales/frFR.lua index 4abda68..8834fe7 100644 --- a/WeakAuras/Locales/frFR.lua +++ b/WeakAuras/Locales/frFR.lua @@ -2178,4 +2178,3 @@ L["Zoom"] = "Zoom" --[[Translation missing --]] L["Zoom Animation"] = "Zoom Animation" L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/itIT.lua b/WeakAuras/Locales/itIT.lua index 178008f..80ba021 100644 --- a/WeakAuras/Locales/itIT.lua +++ b/WeakAuras/Locales/itIT.lua @@ -2687,4 +2687,3 @@ L["Zoom"] = "Zoom" L["Zoom Animation"] = "Zoom Animation" --[[Translation missing --]] L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/koKR.lua b/WeakAuras/Locales/koKR.lua index 9c739e4..200e67b 100644 --- a/WeakAuras/Locales/koKR.lua +++ b/WeakAuras/Locales/koKR.lua @@ -1548,4 +1548,3 @@ L["Zone Name"] = "지역 이름" L["Zoom"] = "확대" L["Zoom Animation"] = "확대 애니메이션" L["Zul'Gurub"] = "줄구룹" - diff --git a/WeakAuras/Locales/ptBR.lua b/WeakAuras/Locales/ptBR.lua index 6596754..ba35d8e 100644 --- a/WeakAuras/Locales/ptBR.lua +++ b/WeakAuras/Locales/ptBR.lua @@ -2612,4 +2612,3 @@ L["Zoom"] = "Zoom" L["Zoom Animation"] = "Zoom Animation" --[[Translation missing --]] L["Zul'Gurub"] = "Zul'Gurub" - diff --git a/WeakAuras/Locales/ruRU.lua b/WeakAuras/Locales/ruRU.lua index ce01d5d..5a12b6e 100644 --- a/WeakAuras/Locales/ruRU.lua +++ b/WeakAuras/Locales/ruRU.lua @@ -1546,4 +1546,3 @@ L["Zone Name"] = "Название игровой зоны" L["Zoom"] = "Масштаб" L["Zoom Animation"] = "Анимация масштаба" L["Zul'Gurub"] = "Зул'Гуруб" - diff --git a/WeakAuras/Locales/zLocales.lua b/WeakAuras/Locales/zLocales.lua index 1c74472..2cc4806 100644 --- a/WeakAuras/Locales/zLocales.lua +++ b/WeakAuras/Locales/zLocales.lua @@ -3,7 +3,7 @@ local L = WeakAuras.L local locale = GAME_LOCALE or GetLocale() -- This File adds Custom Localization for --- Specializations and Time formats +-- Specializations Reputation and Time formats if (locale == "enUS" or locale == "enGB") then L["Requires syncing the specialization via LibGroupTalents."] = "Requires syncing the specialization via LibGroupTalents." L["Affliction"] = "Affliction" @@ -33,6 +33,94 @@ if (locale == "enUS" or locale == "enGB") then L["Subtlety"] = "Subtlety" L["Survival"] = "Survival" L["Unholy"] = "Unholy" + + L["Alliance Vanguard"] = "Alliance Vanguard" + L["Argent Crusade"] = "Argent Crusade" + L["Argent Dawn"] = "Argent Dawn" + L["Ashtongue Deathsworn"] = "Ashtongue Deathsworn" + L["Baradin's Wardens"] = "Baradin's Wardens" + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Bloodsail Buccaneers" + L["Booty Bay"] = "Booty Bay" + L["Brood of Nozdormu"] = "Brood of Nozdormu" + L["Cenarion Circle"] = "Cenarion Circle" + L["Cenarion Expedition"] = "Cenarion Expedition" + L["Darkmoon Faire"] = "Darkmoon Faire" + L["Darkspear Trolls"] = "Darkspear Trolls" + L["Darnassus"] = "Darnassus" + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Everlook" + L["Exodar"] = "Exodar" + L["Explorers' League"] = "Explorers' League" + L["Frenzyheart Tribe"] = "Frenzyheart Tribe" + L["Frostwolf Clan"] = "Frostwolf Clan" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Gelkis Clan Centaur" + L["Gilneas"] = "Gilneas" + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Gnomeregan Exiles" + L["Guardians of Hyjal"] = "Guardians of Hyjal" + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Honor Hold" + L["Horde Expedition"] = "Horde Expedition" + L["Hydraxian Waterlords"] = "Hydraxian Waterlords" + L["Ironforge"] = "Ironforge" + L["Keepers of Time"] = "Keepers of Time" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Knights of the Ebon Blade" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Lower City" + L["Magram Clan Centaur"] = "Magram Clan Centaur" + L["Netherwing"] = "Netherwing" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Ratchet" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Sha'tari Skyguard" + L["Shattered Sun Offensive"] = "Shattered Sun Offensive" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Silvermoon City" + L["Silverwing Sentinels"] = "Silverwing Sentinels" + L["Sporeggar"] = "Sporeggar" + L["Stormpike Guard"] = "Stormpike Guard" + L["Stormwind"] = "Stormwind" + L["Syndicate"] = "Syndicate" + L["The Aldor"] = "The Aldor" + L["The Ashen Verdict"] = "The Ashen Verdict" + L["The Consortium"] = "The Consortium" + L["The Defilers"] = "The Defilers" + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "The Frostborn" + L["The Hand of Vengeance"] = "The Hand of Vengeance" + L["The Kalu'ak"] = "The Kalu'ak" + L["The League of Arathor"] = "The League of Arathor" + L["The Mag'har"] = "The Mag'har" + L["The Oracles"] = "The Oracles" + L["The Scale of the Sands"] = "The Scale of the Sands" + L["The Scryers"] = "The Scryers" + L["The Sha'tar"] = "The Sha'tar" + L["The Silver Covenant"] = "The Silver Covenant" + L["The Sons of Hodir"] = "The Sons of Hodir" + L["The Sunreavers"] = "The Sunreavers" + L["The Taunka"] = "The Taunka" + L["The Violet Eye"] = "The Violet Eye" + L["The Wyrmrest Accord"] = "The Wyrmrest Accord" + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Thorium Brotherhood" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Thunder Bluff" + L["Timbermaw Hold"] = "Timbermaw Hold" + L["Tranquillien"] = "Tranquillien" + L["Undercity"] = "Undercity" + L["Valiance Expedition"] = "Valiance Expedition" + L["Warsong Offensive"] = "Warsong Offensive" + L["Warsong Outriders"] = "Warsong Outriders" + L["Wildhammer Clan"] = "Wildhammer Clan" + L["Winterfin Retreat"] = "Winterfin Retreat" + L["Wintersaber Trainers"] = "Wintersaber Trainers" + L["Zandalar Tribe"] = "Zandalar Tribe" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d |4Second:Seconds;" L["SECONDS_ABBR"] = "%d |4Sec:Sec;" @@ -92,6 +180,104 @@ elseif (locale == "deDE") then L["Subtlety"] = "Täuschung" L["Survival"] = "Überleben" L["Unholy"] = "Unheilig" + + L["Alliance Vanguard"] = "Vorposten der Allianz" + L["Argent Crusade"] = "Argentumkreuzzug" + L["Argent Dawn"] = "Argentumdämmerung" + L["Ashtongue Deathsworn"] = "Die Todeshörigen" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Blutsegelbukaniere" + L["Booty Bay"] = "Beutebucht" + L["Brood of Nozdormu"] = "Brut Nozdormus" + L["Cenarion Circle"] = "Zirkel des Cenarius" + L["Cenarion Expedition"] = "Expedition des Cenarius" + L["Darkmoon Faire"] = "Dunkelmond-Jahrmarkt" + L["Darkspear Trolls"] = "Dunkelspeertrolle" + L["Darnassus"] = "Darnassus" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Ewige Warte" + L["Exodar"] = "Die Exodar" + L["Explorers' League"] = "Forscherliga" + L["Frenzyheart Tribe"] = "Stamm der Wildherzen" + L["Frostwolf Clan"] = "Frostwolfklan" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Gelkisklan" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Gnomeregangnome" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Ehrenfeste" + L["Horde Expedition"] = "Expedition der Horde" + L["Hydraxian Waterlords"] = "Hydraxianer" + L["Ironforge"] = "Eisenschmiede" + L["Keepers of Time"] = "Hüter der Zeit" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Ritter der Schwarzen Klinge" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Unteres Viertel" + L["Magram Clan Centaur"] = "Magramklan" + L["Netherwing"] = "Netherschwingen" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Ratschet" + L["Ravenholdt"] = "Rabenholdt" + L["Sha'tari Skyguard"] = "Himmelswache der Sha'tari" + L["Shattered Sun Offensive"] = "Offensive der Zerschmetterten Sonne" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Silbermond" + L["Silverwing Sentinels"] = "Silberschwingen" + L["Sporeggar"] = "Sporeggar" + L["Stormpike Guard"] = "Sturmlanzengarde" + L["Stormwind"] = "Sturmwind" + L["Syndicate"] = "Syndikat" + L["The Aldor"] = "Die Aldor" + L["The Ashen Verdict"] = "Das Äscherne Verdikt" + L["The Consortium"] = "Das Konsortium" + L["The Defilers"] = "Die Entweihten" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "Die Frosterben" + L["The Hand of Vengeance"] = "Die Hand der Rache" + L["The Kalu'ak"] = "Die Kalu'ak" + L["The League of Arathor"] = "Der Bund von Arathor" + L["The Mag'har"] = "Die Mag'har" + L["The Oracles"] = "Die Orakel" + L["The Scale of the Sands"] = "Die Wächter der Sande" + L["The Scryers"] = "Die Seher" + L["The Sha'tar"] = "Die Sha'tar" + L["The Silver Covenant"] = "Der Silberbund" + L["The Sons of Hodir"] = "Die Söhne Hodirs" + L["The Sunreavers"] = "Die Sonnenhäscher" + L["The Taunka"] = "Die Taunka" + L["The Violet Eye"] = "Das Violette Auge" + L["The Wyrmrest Accord"] = "Der Wyrmruhpakt" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Thoriumbruderschaft" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Donnerfels" + L["Timbermaw Hold"] = "Holzschlundfeste" + L["Tranquillien"] = "Tristessa" + L["Undercity"] = "Unterstadt" + L["Valiance Expedition"] = "Expedition Valianz" + L["Warsong Offensive"] = "Kriegshymnenoffensive" + L["Warsong Outriders"] = "Vorhut des Kriegshymnenklan" + L["Wildhammer Clan"] = "Wildhammerklan" + L["Winterfin Retreat"] = "Zuflucht der Winterflossen" + L["Wintersaber Trainers"] = "Wintersäblerausbilder" + L["Zandalar Tribe"] = "Stamm der Zandalari" + L["SHORTDATE_EU"] = "%1$d.%2$d.%3$02d" L["D_SECONDS"] = "%d |4Sekunde:Sekunden;" L["SECONDS_ABBR"] = "%d |4Sek.:Sek.;" @@ -150,6 +336,104 @@ elseif (locale == "esES") then L["Subtlety"] = "Sutileza" L["Survival"] = "Supervivencia" L["Unholy"] = "Profano" + + L["Alliance Vanguard"] = "Vanguardia de la Alianza" + L["Argent Crusade"] = "Cruzada Argenta" + L["Argent Dawn"] = "El Alba Argenta" + L["Ashtongue Deathsworn"] = "Juramorte Lengua de ceniza" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Bucaneros Velasangre" + L["Booty Bay"] = "Bahía del Botín" + L["Brood of Nozdormu"] = "Linaje de Nozdormu" + L["Cenarion Circle"] = "Círculo Cenarion" + L["Cenarion Expedition"] = "Expedición Cenarion" + L["Darkmoon Faire"] = "Feria de la Luna Negra" + L["Darkspear Trolls"] = "Trols Lanza Negra" + L["Darnassus"] = "Darnassus" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Vista Eterna" + L["Exodar"] = "El Exodar" + L["Explorers' League"] = "Liga de Expedicionarios" + L["Frenzyheart Tribe"] = "Tribu Corazón Frenético" + L["Frostwolf Clan"] = "Clan Lobo Gélido" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Centauros del clan Gelkis" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Exiliados de Gnomeregan" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Bastión del Honor" + L["Horde Expedition"] = "Expedición de la Horda" + L["Hydraxian Waterlords"] = "Srs. del Agua de Hydraxis" + L["Ironforge"] = "Forjaz" + L["Keepers of Time"] = "Vigilantes del Tiempo" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Caballeros de la Espada de Ébano" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Bajo Arrabal" + L["Magram Clan Centaur"] = "Centauros del clan Magram" + L["Netherwing"] = "Ala Abisal" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Trinquete" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Guardia del cielo Sha'tari" + L["Shattered Sun Offensive"] = "Ofensiva Sol Devastado" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Ciudad de Lunargenta" + L["Silverwing Sentinels"] = "Centinelas Ala de Plata" + L["Sporeggar"] = "Esporaggar" + L["Stormpike Guard"] = "Guardia Pico Tormenta" + L["Stormwind"] = "Ventormenta" + L["Syndicate"] = "La Hermandad" + L["The Aldor"] = "Los Aldor" + L["The Ashen Verdict"] = "El Veredicto Cinéreo" + L["The Consortium"] = "El Consorcio" + L["The Defilers"] = "Los Rapiñadores" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "Los Natoescarcha" + L["The Hand of Vengeance"] = "La Mano de la Venganza" + L["The Kalu'ak"] = "Los Kalu'ak" + L["The League of Arathor"] = "Liga de Arathor" + L["The Mag'har"] = "Los Mag'har" + L["The Oracles"] = "Los Oráculos" + L["The Scale of the Sands"] = "La Escama de las Arenas" + L["The Scryers"] = "Los Arúspices" + L["The Sha'tar"] = "Los Sha'tar" + L["The Silver Covenant"] = "El Pacto de Plata" + L["The Sons of Hodir"] = "Los Hijos de Hodir" + L["The Sunreavers"] = "Los Atracasol" + L["The Taunka"] = "Los Taunka" + L["The Violet Eye"] = "El Ojo Violeta" + L["The Wyrmrest Accord"] = "El Acuerdo del Reposo del Dragón" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Hermandad del Torio" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Cima del Trueno" + L["Timbermaw Hold"] = "Bastión Fauces de Madera" + L["Tranquillien"] = "Tranquillien" + L["Undercity"] = "Entrañas" + L["Valiance Expedition"] = "Expedición de Denuedo" + L["Warsong Offensive"] = "Ofensiva Grito de Guerra" + L["Warsong Outriders"] = "Escoltas Grito de Guerra" + L["Wildhammer Clan"] = "Clan Martillo Salvaje" + L["Winterfin Retreat"] = "Retiro Aleta Invernal" + L["Wintersaber Trainers"] = "Instructores de Sableinvernales" + L["Zandalar Tribe"] = "Tribu Zandalar" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d |4segundo:segundos;" L["SECONDS_ABBR"] = "%d |4s:s;" @@ -208,6 +492,105 @@ elseif (locale == "esMX") then L["Subtlety"] = "Sutileza" L["Survival"] = "Supervivencia" L["Unholy"] = "Profano" + + L["Alliance Vanguard"] = "Vanguardia de la Alianza" + L["Argent Crusade"] = "Cruzada Argenta" + L["Argent Dawn"] = "Alba Argenta" + L["Ashtongue Deathsworn"] = "Juramorte Lengua de ceniza" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Bucaneros Velasangre" + L["Booty Bay"] = "Bahía del Botín" + L["Brood of Nozdormu"] = "Linaje de Nozdormu" + L["Cenarion Circle"] = "Círculo Cenarion" + L["Cenarion Expedition"] = "Expedición Cenarion" + L["Darkmoon Faire"] = "Feria de la Luna Negra" + L["Darkspear Trolls"] = "Trols Lanza Negra" + L["Darnassus"] = "Darnassus" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Vista Eterna" + L["Exodar"] = "Exodar" + L["Explorers' League"] = "Liga de Expedicionarios" + L["Frenzyheart Tribe"] = "Tribu Corazón Frenético" + L["Frostwolf Clan"] = "Clan Lobo Gélido" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Centauro del clan Gelkis" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Exiliados de Gnomeregan" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Bastión del Honor" + L["Horde Expedition"] = "Expedición de la Horda" + L["Hydraxian Waterlords"] = "Srs. del Agua de Hydraxis" + L["Ironforge"] = "Forjaz" + L["Keepers of Time"] = "Vigilantes del tiempo" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Caballeros de la Espada de Ébano" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Bajo Arrabal" + L["Magram Clan Centaur"] = "Centauro del clan Magram" + L["Netherwing"] = "Ala Abisal" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Trinquete" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Guardia del cielo Sha'tari" + L["Shattered Sun Offensive"] = "Ofensiva Sol Devastado" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Ciudad de Lunargenta" + L["Silverwing Sentinels"] = "Centinelas Ala de Plata" + L["Sporeggar"] = "Esporaggar" + L["Stormpike Guard"] = "Guardia Pico Tormenta" + L["Stormwind"] = "Ventormenta" + L["Syndicate"] = "La Hermandad" + L["The Aldor"] = "Los Aldor" + --[[Translation missing --]] + L["The Ashen Verdict"] = "The Ashen Verdict" + L["The Consortium"] = "El Consorcio" + L["The Defilers"] = "Los Rapiñadores" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "Los Natoescarcha" + L["The Hand of Vengeance"] = "La Mano de la Venganza" + L["The Kalu'ak"] = "Los Kalu'ak" + L["The League of Arathor"] = "Liga de Arathor" + L["The Mag'har"] = "Los Mag'har" + L["The Oracles"] = "Los Oráculos" + L["The Scale of the Sands"] = "La Escama de las Arenas" + L["The Scryers"] = "Los Arúspices" + L["The Sha'tar"] = "Los Sha'tar" + L["The Silver Covenant"] = "El Pacto de Plata" + L["The Sons of Hodir"] = "Los Hijos de Hodir" + L["The Sunreavers"] = "Los Atracasol" + L["The Taunka"] = "Los taunka" + L["The Violet Eye"] = "El Ojo Violeta" + L["The Wyrmrest Accord"] = "El Acuerdo del Reposo del Dragón" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Hermandad del torio" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Cima del Trueno" + L["Timbermaw Hold"] = "Bastión Fauces de Madera" + L["Tranquillien"] = "Tranquilien" + L["Undercity"] = "Entrañas" + L["Valiance Expedition"] = "Expedición de Denuedo" + L["Warsong Offensive"] = "Ofensiva Grito de Guerra" + L["Warsong Outriders"] = "Escoltas Grito de Guerra" + L["Wildhammer Clan"] = "Clan Martillo Salvaje" + L["Winterfin Retreat"] = "Retiro Aleta Invernal" + L["Wintersaber Trainers"] = "Instructores de Sableinvernales" + L["Zandalar Tribe"] = "Tribu Zandalar" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d |4segundo:segundos;" L["SECONDS_ABBR"] = "%d |4s:s;" @@ -267,6 +650,104 @@ elseif (locale == "frFR") then L["Subtlety"] = "Finesse" L["Survival"] = "Survie" L["Unholy"] = "Impie" + + L["Alliance Vanguard"] = "Avant-garde de l'Alliance" + L["Argent Crusade"] = "La Croisade d'argent" + L["Argent Dawn"] = "Aube d'argent" + L["Ashtongue Deathsworn"] = "Ligemort cendrelangue" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "La Voile sanglante" + L["Booty Bay"] = "Baie-du-Butin" + L["Brood of Nozdormu"] = "Progéniture de Nozdormu" + L["Cenarion Circle"] = "Cercle cénarien" + L["Cenarion Expedition"] = "Expédition cénarienne" + L["Darkmoon Faire"] = "Foire de Sombrelune" + L["Darkspear Trolls"] = "Trolls Sombrelance" + L["Darnassus"] = "Darnassus" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Long-guet" + L["Exodar"] = "Exodar" + L["Explorers' League"] = "Ligue des explorateurs" + L["Frenzyheart Tribe"] = "La tribu Frénécœur" + L["Frostwolf Clan"] = "Clan Loup-de-givre" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Centaures (Gelkis)" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Exilés de Gnomeregan" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Bastion de l'Honneur" + L["Horde Expedition"] = "Expédition de la Horde" + L["Hydraxian Waterlords"] = "Les Hydraxiens" + L["Ironforge"] = "Forgefer" + L["Keepers of Time"] = "Gardiens du Temps" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Chevaliers de la Lame d'ébène" + L["Kurenai"] = "Kurenaï" + L["Lower City"] = "Ville basse" + L["Magram Clan Centaur"] = "Centaures (Magram)" + L["Netherwing"] = "Aile-du-Néant" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Cabestan" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Garde-ciel sha'tari" + L["Shattered Sun Offensive"] = "Opération Soleil brisé" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Lune-d'argent" + L["Silverwing Sentinels"] = "Sentinelles d'Aile-argent" + L["Sporeggar"] = "Sporeggar" + L["Stormpike Guard"] = "Garde Foudrepique" + L["Stormwind"] = "Hurlevent" + L["Syndicate"] = "Syndicat" + L["The Aldor"] = "L'Aldor" + L["The Ashen Verdict"] = "Le Verdict des cendres" + L["The Consortium"] = "Le Consortium" + L["The Defilers"] = "Les Profanateurs" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "Les Givre-nés" + L["The Hand of Vengeance"] = "La Main de la vengeance" + L["The Kalu'ak"] = "Les Kalu'aks" + L["The League of Arathor"] = "La Ligue d'Arathor" + L["The Mag'har"] = "Les Mag'har" + L["The Oracles"] = "Les Oracles" + L["The Scale of the Sands"] = "La Balance des sables" + L["The Scryers"] = "Les Clairvoyants" + L["The Sha'tar"] = "Les Sha'tar" + L["The Silver Covenant"] = "Le Concordat argenté" + L["The Sons of Hodir"] = "Les Fils de Hodir" + L["The Sunreavers"] = "Les Saccage-soleil" + L["The Taunka"] = "Les Taunkas" + L["The Violet Eye"] = "L'Œil pourpre" + L["The Wyrmrest Accord"] = "L'Accord du Repos du ver" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Confrérie du thorium" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Les Pitons du Tonnerre" + L["Timbermaw Hold"] = "Les Grumegueules" + L["Tranquillien"] = "Tranquillien" + L["Undercity"] = "Fossoyeuse" + L["Valiance Expedition"] = "Expédition de la Bravoure" + L["Warsong Offensive"] = "Offensive chanteguerre" + L["Warsong Outriders"] = "Voltigeurs Chanteguerre" + L["Wildhammer Clan"] = "Clan Marteau-hardi" + L["Winterfin Retreat"] = "Retraite des Ailerons-d'hiver" + L["Wintersaber Trainers"] = "Éleveurs de sabres-d'hiver" + L["Zandalar Tribe"] = "Tribu Zandalar" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d |4seconde:secondes;" L["SECONDS_ABBR"] = "%d s" @@ -326,6 +807,95 @@ elseif (locale == "itIT") then L["Subtlety"] = "Subtlety" L["Survival"] = "Survival" L["Unholy"] = "Unholy" + + --[[Translation missing --]] + L["Alliance Vanguard"] = "Alliance Vanguard" + L["Argent Crusade"] = "Argent Crusade" + L["Argent Dawn"] = "Argent Dawn" + L["Ashtongue Deathsworn"] = "Ashtongue Deathsworn" + L["Baradin's Wardens"] = "Baradin's Wardens" + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Bloodsail Buccaneers" + L["Booty Bay"] = "Booty Bay" + L["Brood of Nozdormu"] = "Brood of Nozdormu" + L["Cenarion Circle"] = "Cenarion Circle" + L["Cenarion Expedition"] = "Cenarion Expedition" + L["Darkmoon Faire"] = "Darkmoon Faire" + L["Darkspear Trolls"] = "Darkspear Trolls" + L["Darnassus"] = "Darnassus" + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Everlook" + L["Exodar"] = "Exodar" + L["Explorers' League"] = "Explorers' League" + L["Frenzyheart Tribe"] = "Frenzyheart Tribe" + L["Frostwolf Clan"] = "Frostwolf Clan" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Gelkis Clan Centaur" + L["Gilneas"] = "Gilneas" + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Gnomeregan Exiles" + L["Guardians of Hyjal"] = "Guardians of Hyjal" + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Honor Hold" + L["Horde Expedition"] = "Horde Expedition" + L["Hydraxian Waterlords"] = "Hydraxian Waterlords" + L["Ironforge"] = "Ironforge" + L["Keepers of Time"] = "Keepers of Time" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Knights of the Ebon Blade" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Lower City" + L["Magram Clan Centaur"] = "Magram Clan Centaur" + L["Netherwing"] = "Netherwing" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Ratchet" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Sha'tari Skyguard" + L["Shattered Sun Offensive"] = "Shattered Sun Offensive" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Silvermoon City" + L["Silverwing Sentinels"] = "Silverwing Sentinels" + L["Sporeggar"] = "Sporeggar" + L["Stormpike Guard"] = "Stormpike Guard" + L["Stormwind"] = "Stormwind" + L["Syndicate"] = "Syndicate" + L["The Aldor"] = "The Aldor" + L["The Ashen Verdict"] = "The Ashen Verdict" + L["The Consortium"] = "The Consortium" + L["The Defilers"] = "The Defilers" + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "The Frostborn" + L["The Hand of Vengeance"] = "The Hand of Vengeance" + L["The Kalu'ak"] = "The Kalu'ak" + L["The League of Arathor"] = "The League of Arathor" + L["The Mag'har"] = "The Mag'har" + L["The Oracles"] = "The Oracles" + L["The Scale of the Sands"] = "The Scale of the Sands" + L["The Scryers"] = "The Scryers" + L["The Sha'tar"] = "The Sha'tar" + L["The Silver Covenant"] = "The Silver Covenant" + L["The Sons of Hodir"] = "The Sons of Hodir" + L["The Sunreavers"] = "The Sunreavers" + L["The Taunka"] = "The Taunka" + L["The Violet Eye"] = "The Violet Eye" + L["The Wyrmrest Accord"] = "The Wyrmrest Accord" + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Thorium Brotherhood" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Thunder Bluff" + L["Timbermaw Hold"] = "Timbermaw Hold" + L["Tranquillien"] = "Tranquillien" + L["Undercity"] = "Undercity" + L["Valiance Expedition"] = "Valiance Expedition" + L["Warsong Offensive"] = "Warsong Offensive" + L["Warsong Outriders"] = "Warsong Outriders" + L["Wildhammer Clan"] = "Wildhammer Clan" + L["Winterfin Retreat"] = "Winterfin Retreat" + L["Wintersaber Trainers"] = "Wintersaber Trainers" + L["Zandalar Tribe"] = "Zandalar Tribe" + L["SHORTDATE_EU"] = "%1$02d/%2$02d/%3$02d" L["D_SECONDS"] = "%d s" L["SECONDS_ABBR"] = "%d s" @@ -384,6 +954,104 @@ elseif (locale == "koKR") then L["Subtlety"] = "잠행" L["Survival"] = "생존" L["Unholy"] = "부정" + + L["Alliance Vanguard"] = "얼라이언스 선봉대" + L["Argent Crusade"] = "은빛십자군" + L["Argent Dawn"] = "은빛 여명회" + L["Ashtongue Deathsworn"] = "잿빛혓바닥 결사단" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "붉은 해적단" + L["Booty Bay"] = "무법항" + L["Brood of Nozdormu"] = "노즈도르무 혈족" + L["Cenarion Circle"] = "세나리온 의회" + L["Cenarion Expedition"] = "세나리온 원정대" + L["Darkmoon Faire"] = "다크문 유랑단" + L["Darkspear Trolls"] = "검은창 트롤" + L["Darnassus"] = "다르나서스" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "눈망루 마을" + L["Exodar"] = "엑소다르" + L["Explorers' League"] = "탐험가 연맹" + L["Frenzyheart Tribe"] = "광란의심장일족" + L["Frostwolf Clan"] = "서리늑대 부족" + L["Gadgetzan"] = "가젯잔" + L["Gelkis Clan Centaur"] = "겔키스 부족 켄타로우스" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "놈리건" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "명예의 요새" + L["Horde Expedition"] = "호드 원정대" + L["Hydraxian Waterlords"] = "히드락시안 물의 군주" + L["Ironforge"] = "아이언포지" + L["Keepers of Time"] = "시간의 수호자" + L["Kirin Tor"] = "키린 토" + L["Knights of the Ebon Blade"] = "칠흑의 기사단" + L["Kurenai"] = "쿠레나이" + L["Lower City"] = "고난의 거리" + L["Magram Clan Centaur"] = "마그람 부족 켄타로우스" + L["Netherwing"] = "황천의 용군단" + L["Ogri'la"] = "오그릴라" + L["Orgrimmar"] = "오그리마" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "톱니항" + L["Ravenholdt"] = "라벤홀트" + L["Sha'tari Skyguard"] = "샤타리 하늘경비대" + L["Shattered Sun Offensive"] = "무너진 태양 공격대" + L["Shen'dralar"] = "센드렐라" + L["Silvermoon City"] = "실버문" + L["Silverwing Sentinels"] = "은빛날개 파수대" + L["Sporeggar"] = "스포어가르" + L["Stormpike Guard"] = "스톰파이크 경비대" + L["Stormwind"] = "스톰윈드" + L["Syndicate"] = "비밀결사대" + L["The Aldor"] = "알도르 사제회" + L["The Ashen Verdict"] = "잿빛 선고단" + L["The Consortium"] = "무역연합" + L["The Defilers"] = "포세이큰 파멸단" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "서릿결부족 드워프" + L["The Hand of Vengeance"] = "복수의 대리인" + L["The Kalu'ak"] = "칼루아크" + L["The League of Arathor"] = "아라소르 연맹" + L["The Mag'har"] = "마그하르" + L["The Oracles"] = "점쟁이 조합" + L["The Scale of the Sands"] = "시간의 중재자" + L["The Scryers"] = "점술가 길드" + L["The Sha'tar"] = "샤타르" + L["The Silver Covenant"] = "은빛 서약단" + L["The Sons of Hodir"] = "호디르의 후예" + L["The Sunreavers"] = "선리버" + L["The Taunka"] = "타운카" + L["The Violet Eye"] = "보랏빛 눈의 감시자" + L["The Wyrmrest Accord"] = "고룡쉼터 사원 용군단" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "토륨 대장조합 " + L["Thrallmar"] = "스랄마" + L["Thunder Bluff"] = "썬더 블러프" + L["Timbermaw Hold"] = "나무구렁 요새" + L["Tranquillien"] = "트랜퀼리엔" + L["Undercity"] = "언더시티" + L["Valiance Expedition"] = "용맹의 원정대" + L["Warsong Offensive"] = "전쟁노래 공격대" + L["Warsong Outriders"] = "전쟁노래 정찰대" + L["Wildhammer Clan"] = "와일드해머 부족" + L["Winterfin Retreat"] = "겨울지느러미 은신처" + L["Wintersaber Trainers"] = "눈호랑이 조련사" + L["Zandalar Tribe"] = "잔달라 부족" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d초" L["SECONDS_ABBR"] = "%d초" @@ -443,6 +1111,95 @@ elseif (locale == "ptBR") then L["Subtlety"] = "Subtlety" L["Survival"] = "Survival" L["Unholy"] = "Unholy" + + --[[Translation missing --]] + L["Alliance Vanguard"] = "Alliance Vanguard" + L["Argent Crusade"] = "Argent Crusade" + L["Argent Dawn"] = "Argent Dawn" + L["Ashtongue Deathsworn"] = "Ashtongue Deathsworn" + L["Baradin's Wardens"] = "Baradin's Wardens" + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Bloodsail Buccaneers" + L["Booty Bay"] = "Booty Bay" + L["Brood of Nozdormu"] = "Brood of Nozdormu" + L["Cenarion Circle"] = "Cenarion Circle" + L["Cenarion Expedition"] = "Cenarion Expedition" + L["Darkmoon Faire"] = "Darkmoon Faire" + L["Darkspear Trolls"] = "Darkspear Trolls" + L["Darnassus"] = "Darnassus" + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Everlook" + L["Exodar"] = "Exodar" + L["Explorers' League"] = "Explorers' League" + L["Frenzyheart Tribe"] = "Frenzyheart Tribe" + L["Frostwolf Clan"] = "Frostwolf Clan" + L["Gadgetzan"] = "Gadgetzan" + L["Gelkis Clan Centaur"] = "Gelkis Clan Centaur" + L["Gilneas"] = "Gilneas" + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Gnomeregan Exiles" + L["Guardians of Hyjal"] = "Guardians of Hyjal" + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Honor Hold" + L["Horde Expedition"] = "Horde Expedition" + L["Hydraxian Waterlords"] = "Hydraxian Waterlords" + L["Ironforge"] = "Ironforge" + L["Keepers of Time"] = "Keepers of Time" + L["Kirin Tor"] = "Kirin Tor" + L["Knights of the Ebon Blade"] = "Knights of the Ebon Blade" + L["Kurenai"] = "Kurenai" + L["Lower City"] = "Lower City" + L["Magram Clan Centaur"] = "Magram Clan Centaur" + L["Netherwing"] = "Netherwing" + L["Ogri'la"] = "Ogri'la" + L["Orgrimmar"] = "Orgrimmar" + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Ratchet" + L["Ravenholdt"] = "Ravenholdt" + L["Sha'tari Skyguard"] = "Sha'tari Skyguard" + L["Shattered Sun Offensive"] = "Shattered Sun Offensive" + L["Shen'dralar"] = "Shen'dralar" + L["Silvermoon City"] = "Silvermoon City" + L["Silverwing Sentinels"] = "Silverwing Sentinels" + L["Sporeggar"] = "Sporeggar" + L["Stormpike Guard"] = "Stormpike Guard" + L["Stormwind"] = "Stormwind" + L["Syndicate"] = "Syndicate" + L["The Aldor"] = "The Aldor" + L["The Ashen Verdict"] = "The Ashen Verdict" + L["The Consortium"] = "The Consortium" + L["The Defilers"] = "The Defilers" + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "The Frostborn" + L["The Hand of Vengeance"] = "The Hand of Vengeance" + L["The Kalu'ak"] = "The Kalu'ak" + L["The League of Arathor"] = "The League of Arathor" + L["The Mag'har"] = "The Mag'har" + L["The Oracles"] = "The Oracles" + L["The Scale of the Sands"] = "The Scale of the Sands" + L["The Scryers"] = "The Scryers" + L["The Sha'tar"] = "The Sha'tar" + L["The Silver Covenant"] = "The Silver Covenant" + L["The Sons of Hodir"] = "The Sons of Hodir" + L["The Sunreavers"] = "The Sunreavers" + L["The Taunka"] = "The Taunka" + L["The Violet Eye"] = "The Violet Eye" + L["The Wyrmrest Accord"] = "The Wyrmrest Accord" + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Thorium Brotherhood" + L["Thrallmar"] = "Thrallmar" + L["Thunder Bluff"] = "Thunder Bluff" + L["Timbermaw Hold"] = "Timbermaw Hold" + L["Tranquillien"] = "Tranquillien" + L["Undercity"] = "Undercity" + L["Valiance Expedition"] = "Valiance Expedition" + L["Warsong Offensive"] = "Warsong Offensive" + L["Warsong Outriders"] = "Warsong Outriders" + L["Wildhammer Clan"] = "Wildhammer Clan" + L["Winterfin Retreat"] = "Winterfin Retreat" + L["Wintersaber Trainers"] = "Wintersaber Trainers" + L["Zandalar Tribe"] = "Zandalar Tribe" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d |4segundo:segundos;" L["SECONDS_ABBR"] = "%d |4s:s;" @@ -501,6 +1258,104 @@ elseif (locale == "ruRU") then L["Subtlety"] = "Скрытность" L["Survival"] = "Выживание" L["Unholy"] = "Нечестивость" + + L["Alliance Vanguard"] = "Авангард Альянса" + L["Argent Crusade"] = "Серебряный Авангард" + L["Argent Dawn"] = "Серебряный Рассвет" + L["Ashtongue Deathsworn"] = "Пеплоусты-служители" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "Пираты Кровавого Паруса" + L["Booty Bay"] = "Пиратская бухта" + L["Brood of Nozdormu"] = "Род Ноздорму" + L["Cenarion Circle"] = "Круг Кенария" + L["Cenarion Expedition"] = "Экспедиция Ценариона" + L["Darkmoon Faire"] = "Ярмарка Новолуния" + L["Darkspear Trolls"] = "Тролли Черного Копья" + L["Darnassus"] = "Дарнас" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "Круговзор" + L["Exodar"] = "Экзодар" + L["Explorers' League"] = "Лига исследователей" + L["Frenzyheart Tribe"] = "Племя Мятежного Сердца" + L["Frostwolf Clan"] = "Клан Северного Волка" + L["Gadgetzan"] = "Прибамбасск" + L["Gelkis Clan Centaur"] = "Кентавры из племени Гелкис" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "Изгнанники Гномрегана" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "Оплот Чести" + L["Horde Expedition"] = "Экспедиция Орды" + L["Hydraxian Waterlords"] = "Гидраксианские Повелители Вод" + L["Ironforge"] = "Стальгорн" + L["Keepers of Time"] = "Хранители Времени" + L["Kirin Tor"] = "Кирин-Тор" + L["Knights of the Ebon Blade"] = "Рыцари Черного Клинка" + L["Kurenai"] = "Куренай" + L["Lower City"] = "Нижний Город" + L["Magram Clan Centaur"] = "Кентавры из племени Маграм" + L["Netherwing"] = "Крылья Пустоты" + L["Ogri'la"] = "Огри'ла" + L["Orgrimmar"] = "Оргриммар" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "Кабестан" + L["Ravenholdt"] = "Черный Ворон" + L["Sha'tari Skyguard"] = "Стражи Небес Ша'тар" + L["Shattered Sun Offensive"] = "Армия Расколотого Солнца" + L["Shen'dralar"] = "Шен'дралар" + L["Silvermoon City"] = "Луносвет" + L["Silverwing Sentinels"] = "Среброкрылые Часовые" + L["Sporeggar"] = "Спореггар" + L["Stormpike Guard"] = "Стража Грозовой Вершины" + L["Stormwind"] = "Штормград" + L["Syndicate"] = "Синдикат" + L["The Aldor"] = "Алдоры" + L["The Ashen Verdict"] = "Пепельный союз" + L["The Consortium"] = "Консорциум" + L["The Defilers"] = "Осквернители" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "Зиморожденные" + L["The Hand of Vengeance"] = "Карающая длань" + L["The Kalu'ak"] = "Калу'ак" + L["The League of Arathor"] = "Лига Аратора" + L["The Mag'har"] = "Маг'хары" + L["The Oracles"] = "Оракулы" + L["The Scale of the Sands"] = "Песчаная Чешуя" + L["The Scryers"] = "Провидцы" + L["The Sha'tar"] = "Ша'тар" + L["The Silver Covenant"] = "Серебряный Союз" + L["The Sons of Hodir"] = "Сыновья Ходира" + L["The Sunreavers"] = "Похитители солнца" + L["The Taunka"] = "Таунка" + L["The Violet Eye"] = "Аметистовое Око" + L["The Wyrmrest Accord"] = "Драконий союз" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "Братство Тория" + L["Thrallmar"] = "Траллмар" + L["Thunder Bluff"] = "Громовой Утес" + L["Timbermaw Hold"] = "Древобрюхи" + L["Tranquillien"] = "Транквиллион" + L["Undercity"] = "Подгород" + L["Valiance Expedition"] = "Экспедиция Отважных" + L["Warsong Offensive"] = "Армия Песни Войны" + L["Warsong Outriders"] = "Всадники Песни Войны" + L["Wildhammer Clan"] = "Неистовый Молот" + L["Winterfin Retreat"] = "Холодный Плавник" + L["Wintersaber Trainers"] = "Укротители ледопардов" + L["Zandalar Tribe"] = "Племя Зандалар" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d c" L["SECONDS_ABBR"] = "%d с." @@ -559,6 +1414,104 @@ elseif (locale == "zhCN") then L["Subtlety"] = "敏锐" L["Survival"] = "生存技能" L["Unholy"] = "邪恶" + + L["Alliance Vanguard"] = "联盟先遣军" + L["Argent Crusade"] = "银色北伐军" + L["Argent Dawn"] = "银色黎明" + L["Ashtongue Deathsworn"] = "灰舌死誓者" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "血帆海盗" + L["Booty Bay"] = "藏宝海湾" + L["Brood of Nozdormu"] = "诺兹多姆的子嗣" + L["Cenarion Circle"] = "塞纳里奥议会" + L["Cenarion Expedition"] = "塞纳里奥远征队" + L["Darkmoon Faire"] = "暗月马戏团" + L["Darkspear Trolls"] = "暗矛巨魔" + L["Darnassus"] = "达纳苏斯" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "永望镇" + L["Exodar"] = "埃索达" + L["Explorers' League"] = "探险者协会" + L["Frenzyheart Tribe"] = "狂心氏族" + L["Frostwolf Clan"] = "霜狼氏族" + L["Gadgetzan"] = "加基森" + L["Gelkis Clan Centaur"] = "吉尔吉斯半人马" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "诺莫瑞根流亡者" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "荣耀堡" + L["Horde Expedition"] = "部落先遣军" + L["Hydraxian Waterlords"] = "海达希亚水元素" + L["Ironforge"] = "铁炉堡" + L["Keepers of Time"] = "时光守护者" + L["Kirin Tor"] = "肯瑞托" + L["Knights of the Ebon Blade"] = "黑锋骑士团" + L["Kurenai"] = "库雷尼" + L["Lower City"] = "贫民窟" + L["Magram Clan Centaur"] = "玛格拉姆半人马" + L["Netherwing"] = "灵翼之龙" + L["Ogri'la"] = "奥格瑞拉" + L["Orgrimmar"] = "奥格瑞玛" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "棘齿城" + L["Ravenholdt"] = "拉文霍德" + L["Sha'tari Skyguard"] = "沙塔尔天空卫士" + L["Shattered Sun Offensive"] = "破碎残阳" + L["Shen'dralar"] = "辛德拉" + L["Silvermoon City"] = "银月城" + L["Silverwing Sentinels"] = "银翼哨兵" + L["Sporeggar"] = "孢子村" + L["Stormpike Guard"] = "雷矛卫队" + L["Stormwind"] = "暴风城" + L["Syndicate"] = "辛迪加" + L["The Aldor"] = "奥尔多" + L["The Ashen Verdict"] = "灰烬审判军" + L["The Consortium"] = "星界财团" + L["The Defilers"] = "污染者" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "霜脉矮人" + L["The Hand of Vengeance"] = "复仇之手" + L["The Kalu'ak"] = "卡鲁亚克" + L["The League of Arathor"] = "阿拉索联军" + L["The Mag'har"] = "玛格汉" + L["The Oracles"] = "神谕者" + L["The Scale of the Sands"] = "流沙之鳞" + L["The Scryers"] = "占星者" + L["The Sha'tar"] = "沙塔尔" + L["The Silver Covenant"] = "银色盟约" + L["The Sons of Hodir"] = "霍迪尔之子" + L["The Sunreavers"] = "夺日者" + L["The Taunka"] = "牦牛人" + L["The Violet Eye"] = "紫罗兰之眼" + L["The Wyrmrest Accord"] = "龙眠联军" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "瑟银兄弟会" + L["Thrallmar"] = "萨尔玛" + L["Thunder Bluff"] = "雷霆崖" + L["Timbermaw Hold"] = "木喉要塞" + L["Tranquillien"] = "塔奎林" + L["Undercity"] = "幽暗城" + L["Valiance Expedition"] = "无畏远征军" + L["Warsong Offensive"] = "战歌远征军" + L["Warsong Outriders"] = "战歌侦察骑兵" + L["Wildhammer Clan"] = "蛮锤部族" + L["Winterfin Retreat"] = "冬鳞避难所" + L["Wintersaber Trainers"] = "冬刃豹训练师" + L["Zandalar Tribe"] = "赞达拉部族" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d|4秒:秒;" L["SECONDS_ABBR"] = "%d|4秒:秒;" @@ -617,6 +1570,104 @@ elseif (locale == "zhTW") then L["Subtlety"] = "敏銳" L["Survival"] = "生存" L["Unholy"] = "穢邪" + + L["Alliance Vanguard"] = "聯盟先鋒" + L["Argent Crusade"] = "銀白十字軍" + L["Argent Dawn"] = "銀色黎明" + L["Ashtongue Deathsworn"] = "灰舌死亡誓言者" + --[[Translation missing --]] + L["Baradin's Wardens"] = "Baradin's Wardens" + --[[Translation missing --]] + L["Bilgewater Cartel"] = "Bilgewater Cartel" + L["Bloodsail Buccaneers"] = "血帆海盜" + L["Booty Bay"] = "藏寶海灣" + L["Brood of Nozdormu"] = "諾茲多姆的子嗣" + L["Cenarion Circle"] = "塞納里奧議會" + L["Cenarion Expedition"] = "塞納里奧遠征隊" + L["Darkmoon Faire"] = "暗月馬戲團" + L["Darkspear Trolls"] = "暗矛食人妖" + L["Darnassus"] = "達納蘇斯" + --[[Translation missing --]] + L["Dragonmaw Clan"] = "Dragonmaw Clan" + L["Everlook"] = "永望鎮" + L["Exodar"] = "艾克索達" + L["Explorers' League"] = "探險者協會" + L["Frenzyheart Tribe"] = "狂心部族" + L["Frostwolf Clan"] = "霜狼氏族" + L["Gadgetzan"] = "加基森" + L["Gelkis Clan Centaur"] = "吉爾吉斯半人馬" + --[[Translation missing --]] + L["Gilneas"] = "Gilneas" + --[[Translation missing --]] + L["Gnomeregan"] = "Gnomeregan" + L["Gnomeregan Exiles"] = "諾姆瑞根流亡者" + --[[Translation missing --]] + L["Guardians of Hyjal"] = "Guardians of Hyjal" + --[[Translation missing --]] + L["Hellscream's Reach"] = "Hellscream's Reach" + L["Honor Hold"] = "榮譽堡" + L["Horde Expedition"] = "部落遠征軍" + L["Hydraxian Waterlords"] = "海達希亞水元素" + L["Ironforge"] = "鐵爐堡" + L["Keepers of Time"] = "時光守望者" + L["Kirin Tor"] = "祈倫托" + L["Knights of the Ebon Blade"] = "黯刃騎士團" + L["Kurenai"] = "卡爾奈" + L["Lower City"] = "陰鬱城" + L["Magram Clan Centaur"] = "瑪格拉姆半人馬" + L["Netherwing"] = "虛空之翼" + L["Ogri'la"] = "歐格利拉" + L["Orgrimmar"] = "奧格瑪" + --[[Translation missing --]] + L["Ramkahen"] = "Ramkahen" + L["Ratchet"] = "棘齒城" + L["Ravenholdt"] = "拉文霍德" + L["Sha'tari Skyguard"] = "薩塔禦天者" + L["Shattered Sun Offensive"] = "破碎之日進攻部隊" + L["Shen'dralar"] = "辛德拉" + L["Silvermoon City"] = "銀月城" + L["Silverwing Sentinels"] = "銀翼哨兵" + L["Sporeggar"] = "斯博格爾" + L["Stormpike Guard"] = "雷矛衛隊" + L["Stormwind"] = "暴風城" + L["Syndicate"] = "辛迪加" + L["The Aldor"] = "奧多爾" + L["The Ashen Verdict"] = "灰燼裁決軍" + L["The Consortium"] = "聯合團" + L["The Defilers"] = "污染者" + --[[Translation missing --]] + L["The Earthen Ring"] = "The Earthen Ring" + L["The Frostborn"] = "霜誕矮人" + L["The Hand of Vengeance"] = "復仇之手" + L["The Kalu'ak"] = "卡魯耶克" + L["The League of Arathor"] = "阿拉索聯軍" + L["The Mag'har"] = "瑪格哈" + L["The Oracles"] = "神諭者" + L["The Scale of the Sands"] = "流沙之鱗" + L["The Scryers"] = "占卜者" + L["The Sha'tar"] = "薩塔" + L["The Silver Covenant"] = "白銀誓盟" + L["The Sons of Hodir"] = "霍迪爾之子" + L["The Sunreavers"] = "奪日者" + L["The Taunka"] = "坦卡族" + L["The Violet Eye"] = "紫羅蘭之眼" + L["The Wyrmrest Accord"] = "龍眠協調者" + --[[Translation missing --]] + L["Therazane"] = "Therazane" + L["Thorium Brotherhood"] = "瑟銀兄弟會" + L["Thrallmar"] = "索爾瑪" + L["Thunder Bluff"] = "雷霆崖" + L["Timbermaw Hold"] = "木喉要塞" + L["Tranquillien"] = "安寧地" + L["Undercity"] = "幽暗城" + L["Valiance Expedition"] = "驍勇遠征隊" + L["Warsong Offensive"] = "戰歌進攻部隊" + L["Warsong Outriders"] = "戰歌偵察騎兵" + L["Wildhammer Clan"] = "蠻錘氏族" + L["Winterfin Retreat"] = "冬鰭避居地" + L["Wintersaber Trainers"] = "冬刃豹訓練師" + L["Zandalar Tribe"] = "贊達拉部族" + L["SHORTDATE_EU"] = "%1$d/%2$d/%3$02d" L["D_SECONDS"] = "%d秒" L["SECONDS_ABBR"] = "%d秒" diff --git a/WeakAuras/Locales/zhCN.lua b/WeakAuras/Locales/zhCN.lua index 3e06c08..36d539d 100644 --- a/WeakAuras/Locales/zhCN.lua +++ b/WeakAuras/Locales/zhCN.lua @@ -1543,4 +1543,3 @@ L["Zone Name"] = "地图名称" L["Zoom"] = "缩放" L["Zoom Animation"] = "缩放动画" L["Zul'Gurub"] = "祖尔格拉布" - diff --git a/WeakAuras/Locales/zhTW.lua b/WeakAuras/Locales/zhTW.lua index 34be5a5..5a9d0de 100644 --- a/WeakAuras/Locales/zhTW.lua +++ b/WeakAuras/Locales/zhTW.lua @@ -1522,4 +1522,3 @@ L["Zone Name"] = "區域名稱" L["Zoom"] = "縮放" L["Zoom Animation"] = "縮放動畫" L["Zul'Gurub"] = "祖爾格拉布" - diff --git a/WeakAuras/Modernize.lua b/WeakAuras/Modernize.lua index 85d1801..db08bf3 100644 --- a/WeakAuras/Modernize.lua +++ b/WeakAuras/Modernize.lua @@ -975,6 +975,7 @@ function Private.Modernize(data, oldSnapshot) ["Conditions"] = "unit", ["Spell Known"] = "spell", ["Cooldown Ready (Item)"] = "item", + ["Faction Reputation"] = "unit", ["Pet Behavior"] = "unit", ["Range Check"] = "unit", ["Character Stats"] = "unit", @@ -1839,6 +1840,11 @@ function Private.Modernize(data, oldSnapshot) "deficit", "maxhealth", }, + ["Faction Reputation"] = { + "value", + "total", + "percentRep", + }, ["Location"] = { "zone", "subzone", diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index 93dff31..2c662b5 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -1865,6 +1865,175 @@ Private.event_prototypes = { automaticrequired = true, progressType = "none" }, + ["Faction Reputation"] = { + type = "unit", + progressType = "static", + events = { + ["events"] = { + "UPDATE_FACTION", + } + }, + internal_events = {"WA_DELAYED_PLAYER_ENTERING_WORLD"}, + force_events = "UPDATE_FACTION", + name = L["Faction Reputation"], + statesParameter = "one", + automaticrequired = true, + init = function(trigger) + local ret = [=[ + local useWatched = %s + local factionID = useWatched and Private.ExecEnv.GetWatchedFactionId() or %q + local minValue, maxValue, currentValue + local factionData = Private.ExecEnv.GetFactionDataByID(factionID) + if not factionData then return end; + + local name, description = factionData.name, factionData.description + local standingID = factionData.reaction + local hasRep = factionData.isHeaderWithRep + local barMin, barMax, barValue = factionData.currentReactionThreshold, factionData.nextReactionThreshold, factionData.currentStanding + local atWarWith, canToggleAtWar, isHeader, isCollapsed, isWatched, isChild = factionData.atWarWith, factionData. canToggleAtWar, factionData.isHeader, factionData.isCollapsed, factionData.isWatched, factionData.isChild + minValue, maxValue, currentValue = barMin, barMax, barValue + local standing + if tonumber(standingID) then + standing = GetText("FACTION_STANDING_LABEL"..standingID, UnitSex("player")) + end + local isCapped = standingID == 8 and currentValue >= 42999 + ]=] + return ret:format(trigger.use_watched and "true" or "false", trigger.factionID or 0) + end, + args = { + { + name = "progressType", + hidden = true, + init = "'static'", + store = true, + test = "true" + }, + { + name = "watched", + display = L["Use Watched Faction"], + type = "toggle", + test = "true", + reloadOptions = true, + }, + { + name = "factionID", + display = L["Faction"], + required = true, + type = "select", + itemControl = "Dropdown-Currency", + values = Private.GetReputations, + headers = Private.GetReputationsHeaders, + sorted = true, + sortOrder = function() + local sorted = Private.GetReputationsSorted() + local sortOrder = {} + for key, value in pairs(Private.GetReputations()) do + tinsert(sortOrder, key) + end + table.sort(sortOrder, function(aKey, bKey) + local aValue = sorted[aKey] + local bValue = sorted[bKey] + return aValue < bValue + end) + return sortOrder + end, + conditionType = "select", + enable = function(trigger) + return not trigger.use_watched + end, + reloadOptions = true, + test = "true", + }, + { + name = "name", + display = L["Faction Name"], + type = "string", + store = true, + hidden = "true", + init = "name", + test = "true" + }, + { + name = "value", + display = L["Reputation"], + type = "number", + store = true, + init = [[currentValue - minValue]], + conditionType = "number", + progressTotal = "total", + multiEntry = { + operator = "and", + limit = 2 + }, + }, + { + name = "total", + display = L["Total Reputation"], + type = "number", + store = true, + init = [[maxValue - minValue]], + conditionType = "number", + noProgressSource = true, + multiEntry = { + operator = "and", + limit = 2 + }, + }, + { + name = "percentRep", + display = L["Reputation (%)"], + type = "number", + init = "total ~= 0 and (value / total) * 100 or nil", + store = true, + conditionType = "number", + noProgressSource = true, + multiEntry = { + operator = "and", + limit = 2 + }, + }, + { + name = "standing", + display = L["Standing"], + type = "string", + init = "standing", + store = true, + hidden = "true", + test = "true" + }, + { + name = "standingId", + display = L["Standing"], + type = "select", + values = function() + local ret = {} + for i = 1, 8 do + ret[i] = GetText("FACTION_STANDING_LABEL"..i, UnitSex("player")) + end + return ret + end, + init = "standingID", + store = true, + conditionType = "select", + }, + { + name = "capped", + display = L["Capped"], + type = "tristate", + init = "isCapped", + conditionType = "bool", + store = true, + }, + { + name = "atWar", + display = L["At War"], + type = "tristate", + init = "atWarWith", + conditionType = "bool", + store = true, + }, + } + }, ["Experience"] = { type = "unit", progressType = "static", diff --git a/WeakAuras/Types.lua b/WeakAuras/Types.lua index 08038e0..4f52017 100644 --- a/WeakAuras/Types.lua +++ b/WeakAuras/Types.lua @@ -1607,7 +1607,7 @@ function Private.ExecEnv.GetTotalCountCurrencies(currencyID) end local function InitializeCurrencies() - if Private.discovered_currencies then + if Private.discovered_currencies and next(Private.discovered_currencies) then return end Private.discovered_currencies = {} @@ -1664,6 +1664,124 @@ Private.GetDiscoveredCurrenciesHeaders = function() return Private.discovered_currencies_headers end +Private.ExecEnv.GetFactionDataByIndex = function(index) + local name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(index) + return { + factionID = name and Private.faction_to_id[name] or 0, + name = name, + description = description, + reaction = standingID, + currentReactionThreshold = barMin, + nextReactionThreshold = barMax, + currentStanding = barValue, + atWarWith = atWarWith or false, + canToggleAtWar = canToggleAtWar, + isChild = isChild, + isHeader = isHeader, + isHeaderWithRep = hasRep, + isCollapsed = isCollapsed, + isWatched = isWatched, + } +end + +Private.ExecEnv.GetFactionDataByID = function(ID) + local factionName = ID and Private.id_to_faction[ID] + if factionName then + for index = 1, GetNumFactions() do + local name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar, isHeader, isCollapsed, hasRep, isWatched, isChild = GetFactionInfo(index) + if name == factionName then + return { + factionID = ID, + name = name, + description = description, + reaction = standingID, + currentReactionThreshold = barMin, + nextReactionThreshold = barMax, + currentStanding = barValue, + atWarWith = atWarWith or false, + canToggleAtWar = canToggleAtWar, + isChild = isChild, + isHeader = isHeader, + isHeaderWithRep = hasRep, + isCollapsed = isCollapsed, + isWatched = isWatched, + } + end + end + end +end + +Private.ExecEnv.GetWatchedFactionId = function() + local factionName = GetWatchedFactionInfo() + return factionName and Private.faction_to_id[factionName] +end + +local function InitializeReputations() + if Private.reputations and next(Private.reputations) then + return + end + + Private.reputations = {} + Private.reputations_sorted = {} + Private.reputations_headers = {} + + -- Dynamic expansion of all collapsed headers + local collapsed = {} + local index = 1 + while index <= GetNumFactions() do + local factionData = Private.ExecEnv.GetFactionDataByIndex(index) + if factionData and factionData.isHeader and factionData.isCollapsed then + ExpandFactionHeader(index) + collapsed[factionData.name] = true + end + index = index + 1 + end + + -- Process all faction data + for i = 1, GetNumFactions() do + local factionData = Private.ExecEnv.GetFactionDataByIndex(i) + if factionData then + if factionData.currentStanding > 0 or not factionData.isHeader then + local factionID = factionData.factionID + if factionID then + Private.reputations[factionID] = factionData.name + Private.reputations_sorted[factionID] = i + end + else + local name = factionData.name + if name then + Private.reputations[name] = name + Private.reputations_sorted[name] = i + Private.reputations_headers[name] = true + end + end + end + end + + -- Collapse headers back to their original state + for i = GetNumFactions(), 1, -1 do + local factionData = Private.ExecEnv.GetFactionDataByIndex(i) + if factionData and collapsed[factionData.name] then + CollapseFactionHeader(i) + end + end +end + +Private.GetReputations = function() + InitializeReputations() + return Private.reputations +end + +Private.GetReputationsSorted = function() + InitializeReputations() + return Private.reputations_sorted +end + +Private.GetReputationsHeaders = function() + InitializeReputations() + return Private.reputations_headers +end + Private.combatlog_raid_mark_check_type = { [0] = RAID_TARGET_NONE, "|TInterface\\TARGETINGFRAME\\UI-RaidTargetingIcon_1:14|t " .. RAID_TARGET_1, -- Star @@ -3464,6 +3582,186 @@ WeakAuras.StopMotion.animation_types = { progress = L["Progress"] } +Private.id_to_faction = { + ["21"] = L["Booty Bay"], + ["47"] = L["Ironforge"], + ["54"] = L["Gnomeregan"], + ["59"] = L["Thorium Brotherhood"], + ["67"] = L["Horde"], + ["68"] = L["Undercity"], + ["69"] = L["Darnassus"], + ["70"] = L["Syndicate"], + ["72"] = L["Stormwind"], + ["76"] = L["Orgrimmar"], + ["81"] = L["Thunder Bluff"], + ["87"] = L["Bloodsail Buccaneers"], + ["92"] = L["Gelkis Clan Centaur"], + ["93"] = L["Magram Clan Centaur"], + ["270"] = L["Zandalar Tribe"], + ["349"] = L["Ravenholdt"], + ["369"] = L["Gadgetzan"], + ["469"] = L["Alliance"], + ["470"] = L["Ratchet"], + ["509"] = L["The League of Arathor"], + ["510"] = L["The Defilers"], + ["529"] = L["Argent Dawn"], + ["530"] = L["Darkspear Trolls"], + ["576"] = L["Timbermaw Hold"], + ["577"] = L["Everlook"], + ["589"] = L["Wintersaber Trainers"], + ["609"] = L["Cenarion Circle"], + ["729"] = L["Frostwolf Clan"], + ["730"] = L["Stormpike Guard"], + ["749"] = L["Hydraxian Waterlords"], + ["809"] = L["Shen'dralar"], + ["889"] = L["Warsong Outriders"], + ["890"] = L["Silverwing Sentinels"], + ["909"] = L["Darkmoon Faire"], + ["910"] = L["Brood of Nozdormu"], + ["911"] = L["Silvermoon City"], + ["922"] = L["Tranquillien"], + ["930"] = L["Exodar"], + ["932"] = L["The Aldor"], + ["933"] = L["The Consortium"], + ["934"] = L["The Scryers"], + ["935"] = L["The Sha'tar"], + ["941"] = L["The Mag'har"], + ["942"] = L["Cenarion Expedition"], + ["946"] = L["Honor Hold"], + ["947"] = L["Thrallmar"], + ["967"] = L["The Violet Eye"], + ["970"] = L["Sporeggar"], + ["978"] = L["Kurenai"], + ["989"] = L["Keepers of Time"], + ["990"] = L["The Scale of the Sands"], + ["1011"] = L["Lower City"], + ["1012"] = L["Ashtongue Deathsworn"], + ["1015"] = L["Netherwing"], + ["1031"] = L["Sha'tari Skyguard"], + ["1037"] = L["Alliance Vanguard"], + ["1038"] = L["Ogri'la"], + ["1050"] = L["Valiance Expedition"], + ["1052"] = L["Horde Expedition"], + ["1064"] = L["The Taunka"], + ["1067"] = L["The Hand of Vengeance"], + ["1068"] = L["Explorers' League"], + ["1073"] = L["The Kalu'ak"], + ["1077"] = L["Shattered Sun Offensive"], + ["1085"] = L["Warsong Offensive"], + ["1090"] = L["Kirin Tor"], + ["1091"] = L["The Wyrmrest Accord"], + ["1094"] = L["The Silver Covenant"], + ["1098"] = L["Knights of the Ebon Blade"], + ["1104"] = L["Frenzyheart Tribe"], + ["1105"] = L["The Oracles"], + ["1106"] = L["Argent Crusade"], + ["1119"] = L["The Sons of Hodir"], + ["1124"] = L["The Sunreavers"], + ["1126"] = L["The Frostborn"], + ["1133"] = L["Bilgewater Cartel"], + ["1134"] = L["Gilneas"], + ["1135"] = L["The Earthen Ring"], + ["1156"] = L["The Ashen Verdict"], + ["1158"] = L["Guardians of Hyjal"], + ["1171"] = L["Therazane"], + ["1172"] = L["Dragonmaw Clan"], + ["1173"] = L["Ramkahen"], + ["1174"] = L["Wildhammer Clan"], + ["1177"] = L["Baradin's Wardens"], + ["1178"] = L["Hellscream's Reach"], + ["10000"] = L["Winterfin Retreat"], +} + +Private.faction_to_id = { + [L["Booty Bay"]] = 21, + [L["Ironforge"]] = 47, + [L["Gnomeregan"]] = 54, + [L["Thorium Brotherhood"]] = 59, + [L["Horde"]] = 67, + [L["Undercity"]] = 68, + [L["Darnassus"]] = 69, + [L["Syndicate"]] = 70, + [L["Stormwind"]] = 72, + [L["Orgrimmar"]] = 76, + [L["Thunder Bluff"]] = 81, + [L["Bloodsail Buccaneers"]] = 87, + [L["Gelkis Clan Centaur"]] = 92, + [L["Magram Clan Centaur"]] = 93, + [L["Zandalar Tribe"]] = 270, + [L["Ravenholdt"]] = 349, + [L["Gadgetzan"]] = 369, + [L["Alliance"]] = 469, + [L["Ratchet"]] = 470, + [L["The League of Arathor"]] = 509, + [L["The Defilers"]] = 510, + [L["Argent Dawn"]] = 529, + [L["Darkspear Trolls"]] = 530, + [L["Timbermaw Hold"]] = 576, + [L["Everlook"]] = 577, + [L["Wintersaber Trainers"]] = 589, + [L["Cenarion Circle"]] = 609, + [L["Frostwolf Clan"]] = 729, + [L["Stormpike Guard"]] = 730, + [L["Hydraxian Waterlords"]] = 749, + [L["Shen'dralar"]] = 809, + [L["Warsong Outriders"]] = 889, + [L["Silverwing Sentinels"]] = 890, + [L["Darkmoon Faire"]] = 909, + [L["Brood of Nozdormu"]] = 910, + [L["Silvermoon City"]] = 911, + [L["Tranquillien"]] = 922, + [L["Exodar"]] = 930, + [L["The Aldor"]] = 932, + [L["The Consortium"]] = 933, + [L["The Scryers"]] = 934, + [L["The Sha'tar"]] = 935, + [L["The Mag'har"]] = 941, + [L["Cenarion Expedition"]] = 942, + [L["Honor Hold"]] = 946, + [L["Thrallmar"]] = 947, + [L["The Violet Eye"]] = 967, + [L["Sporeggar"]] = 970, + [L["Kurenai"]] = 978, + [L["Keepers of Time"]] = 989, + [L["The Scale of the Sands"]] = 990, + [L["Lower City"]] = 1011, + [L["Ashtongue Deathsworn"]] = 1012, + [L["Netherwing"]] = 1015, + [L["Sha'tari Skyguard"]] = 1031, + [L["Alliance Vanguard"]] = 1037, + [L["Ogri'la"]] = 1038, + [L["Valiance Expedition"]] = 1050, + [L["Horde Expedition"]] = 1052, + [L["The Taunka"]] = 1064, + [L["The Hand of Vengeance"]] = 1067, + [L["Explorers' League"]] = 1068, + [L["The Kalu'ak"]] = 1073, + [L["Shattered Sun Offensive"]] = 1077, + [L["Warsong Offensive"]] = 1085, + [L["Kirin Tor"]] = 1090, + [L["The Wyrmrest Accord"]] = 1091, + [L["The Silver Covenant"]] = 1094, + [L["Knights of the Ebon Blade"]] = 1098, + [L["Frenzyheart Tribe"]] = 1104, + [L["The Oracles"]] = 1105, + [L["Argent Crusade"]] = 1106, + [L["The Sons of Hodir"]] = 1119, + [L["The Sunreavers"]] = 1124, + [L["The Frostborn"]] = 1126, + [L["Bilgewater Cartel"]] = 1133, + [L["Gilneas"]] = 1134, + [L["The Earthen Ring"]] = 1135, + [L["The Ashen Verdict"]] = 1156, + [L["Guardians of Hyjal"]] = 1158, + [L["Therazane"]] = 1171, + [L["Dragonmaw Clan"]] = 1172, + [L["Ramkahen"]] = 1173, + [L["Wildhammer Clan"]] = 1174, + [L["Baradin's Wardens"]] = 1177, + [L["Hellscream's Reach"]] = 1178, + [L["Winterfin Retreat"]] = 10000, +} + do local classData = { DEATHKNIGHT = {