chore: flatten Altoholic-Addon/ wrapper + add standard .gitignore/.gitattributes
Each DataStore_* / Altoholic_* addon now lives at the repo root, matching the Exiles fork-layout convention (one folder per addon, no wrapper dir).
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
------------------------------------------------------------------------
|
||||
r10 | thaoky | 2009-12-09 12:35:19 +0000 (Wed, 09 Dec 2009) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/DataStore_Reputations.toc
|
||||
|
||||
ToC Update
|
||||
------------------------------------------------------------------------
|
||||
r9 | thaoky | 2009-11-15 14:30:45 +0000 (Sun, 15 Nov 2009) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/DataStore_Reputations.toc
|
||||
|
||||
TOC update.
|
||||
------------------------------------------------------------------------
|
||||
r8 | thaoky | 2009-09-13 15:15:23 +0000 (Sun, 13 Sep 2009) | 1 line
|
||||
Changed paths:
|
||||
M /trunk/DataStore_Reputations.toc
|
||||
|
||||
TOC update
|
||||
------------------------------------------------------------------------
|
||||
@@ -0,0 +1,194 @@
|
||||
--[[ *** DataStore_Reputations ***
|
||||
Written by : Thaoky, EU-Marécages de Zangar
|
||||
June 22st, 2009
|
||||
--]]
|
||||
if not DataStore then return end
|
||||
|
||||
local addonName = "DataStore_Reputations"
|
||||
|
||||
_G[addonName] = LibStub("AceAddon-3.0"):NewAddon(addonName, "AceConsole-3.0", "AceEvent-3.0")
|
||||
|
||||
local addon = _G[addonName]
|
||||
|
||||
local THIS_ACCOUNT = "Default"
|
||||
|
||||
local AddonDB_Defaults = {
|
||||
global = {
|
||||
Characters = {
|
||||
['*'] = { -- ["Account.Realm.Name"]
|
||||
lastUpdate = nil,
|
||||
Factions = {},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
local BottomLevels = {
|
||||
[-42000] = FACTION_STANDING_LABEL1, -- "Hated"
|
||||
[-6000] = FACTION_STANDING_LABEL2, -- "Hostile"
|
||||
[-3000] = FACTION_STANDING_LABEL3, -- "Unfriendly"
|
||||
[0] = FACTION_STANDING_LABEL4, -- "Neutral"
|
||||
[3000] = FACTION_STANDING_LABEL5, -- "Friendly"
|
||||
[9000] = FACTION_STANDING_LABEL6, -- "Honored"
|
||||
[21000] = FACTION_STANDING_LABEL7, -- "Revered"
|
||||
[42000] = FACTION_STANDING_LABEL8, -- "Exalted"
|
||||
}
|
||||
|
||||
-- ** Mixins **
|
||||
local function _GetReputationInfo(character, faction)
|
||||
local reputationData = character.Factions[faction] -- Ex "3000|9000|7680"
|
||||
if not reputationData then return end
|
||||
|
||||
local bottom, top, earned = strsplit("|", reputationData)
|
||||
bottom = tonumber(bottom)
|
||||
top = tonumber(top)
|
||||
earned = tonumber(earned)
|
||||
local rate = (earned - bottom) / (top - bottom) * 100
|
||||
|
||||
-- ex: "Revered", 15400, 21000, 73%
|
||||
return BottomLevels[bottom], (earned - bottom), (top - bottom), rate
|
||||
end
|
||||
|
||||
local function _GetRawReputationInfo(character, faction)
|
||||
-- same as GetReputationInfo, but returns raw values
|
||||
local reputationData = character.Factions[faction] -- Ex "3000|9000|7680"
|
||||
if not reputationData then return end
|
||||
|
||||
local bottom, top, earned = strsplit("|", reputationData)
|
||||
return tonumber(bottom), tonumber(top), tonumber(earned)
|
||||
end
|
||||
|
||||
local function _GetReputations(character)
|
||||
return character.Factions
|
||||
end
|
||||
|
||||
local PublicMethods = {
|
||||
GetReputationInfo = _GetReputationInfo,
|
||||
GetRawReputationInfo = _GetRawReputationInfo,
|
||||
GetReputations = _GetReputations,
|
||||
}
|
||||
|
||||
function addon:OnInitialize()
|
||||
addon.db = LibStub("AceDB-3.0"):New(addonName .. "DB", AddonDB_Defaults)
|
||||
|
||||
DataStore:RegisterModule(addonName, addon, PublicMethods)
|
||||
DataStore:SetCharacterBasedMethod("GetReputationInfo")
|
||||
DataStore:SetCharacterBasedMethod("GetRawReputationInfo")
|
||||
DataStore:SetCharacterBasedMethod("GetReputations")
|
||||
end
|
||||
|
||||
function addon:OnEnable()
|
||||
addon:RegisterEvent("PLAYER_ALIVE")
|
||||
addon:RegisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE")
|
||||
end
|
||||
|
||||
function addon:OnDisable()
|
||||
addon:UnregisterEvent("PLAYER_ALIVE")
|
||||
addon:UnregisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE")
|
||||
end
|
||||
|
||||
-- *** Utility functions ***
|
||||
|
||||
-- *** Scanning functions ***
|
||||
local headersState = {}
|
||||
|
||||
local function SaveHeaders()
|
||||
local headerCount = 0 -- use a counter to avoid being bound to header names, which might not be unique.
|
||||
|
||||
for i = GetNumFactions(), 1, -1 do -- 1st pass, expand all categories
|
||||
local _, _, _, _, _, _, _, _, isHeader, isCollapsed = GetFactionInfo(i)
|
||||
if isHeader then
|
||||
headerCount = headerCount + 1
|
||||
if isCollapsed then
|
||||
ExpandFactionHeader(i)
|
||||
headersState[headerCount] = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function RestoreHeaders()
|
||||
local headerCount = 0
|
||||
for i = GetNumFactions(), 1, -1 do
|
||||
local _, _, _, _, _, _, _, _, isHeader = GetFactionInfo(i)
|
||||
if isHeader then
|
||||
headerCount = headerCount + 1
|
||||
if headersState[headerCount] then
|
||||
CollapseFactionHeader(i)
|
||||
end
|
||||
end
|
||||
end
|
||||
wipe(headersState)
|
||||
end
|
||||
|
||||
local function ScanReputations()
|
||||
SaveHeaders()
|
||||
|
||||
local factions = addon.ThisCharacter.Factions
|
||||
wipe(factions)
|
||||
|
||||
for i = 1, GetNumFactions() do -- 2nd pass, data collection
|
||||
local name, _, _, bottom, top, earned, _, _, isHeader, _, hasRep = GetFactionInfo(i)
|
||||
if (not isHeader) or (isHeader and hasRep) then
|
||||
-- new in 3.0.2, headers may have rep, ex: alliance vanguard + horde expedition
|
||||
factions[name] = bottom .. "|" .. top .. "|" .. earned
|
||||
end
|
||||
end
|
||||
|
||||
RestoreHeaders()
|
||||
|
||||
addon.ThisCharacter.lastUpdate = time()
|
||||
end
|
||||
|
||||
local PT = LibStub("LibPeriodicTable-3.1")
|
||||
local BF = LibStub("LibBabble-Faction-3.0"):GetUnstrictLookupTable()
|
||||
|
||||
function addon:GetSource(searchedID)
|
||||
-- returns the faction where a given item ID can be obtained, as well as the level
|
||||
local level, repData = PT:ItemInSet(searchedID, "Reputation.Reward")
|
||||
if level and repData then
|
||||
local _, _, faction = strsplit(".", repData) -- ex: "Reputation.Reward.Sporeggar"
|
||||
faction = BF[faction] or faction -- localize faction name if possible
|
||||
|
||||
-- level = 7, 29150:7 where 7 means revered
|
||||
return faction, _G["FACTION_STANDING_LABEL"..level]
|
||||
end
|
||||
end
|
||||
|
||||
-- *** EVENT HANDLERS ***
|
||||
function addon:PLAYER_ALIVE()
|
||||
-- print("DataStore_Reputations.lua") -- DEBUG 2025 07 21
|
||||
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
|
||||
|
||||
ScanReputations()
|
||||
end
|
||||
|
||||
-- this turns
|
||||
-- "Reputation with %s increased by %d."
|
||||
-- into
|
||||
-- "Reputation with (.+) increased by (%d+)."
|
||||
local repUpMsg = gsub(FACTION_STANDING_INCREASED, "%%s", "(.+)")
|
||||
repUpMsg = gsub(repUpMsg, "%%d", "(%%d+)")
|
||||
|
||||
function addon:CHAT_MSG_COMBAT_FACTION_CHANGE(event, text)
|
||||
-- This code is a bit more complex than calling ScanReputations again.
|
||||
-- The purpose is to avoid triggering UPDATE_FACTION, as this may result in heavy processing in other addons
|
||||
if not text then return end
|
||||
|
||||
local faction, value = text:match(repUpMsg)
|
||||
if faction and value then
|
||||
local bottom, top, earned = DataStore:GetRawReputationInfo(DataStore:GetCharacter(), faction)
|
||||
|
||||
if earned then
|
||||
local newValue = earned + tonumber(value)
|
||||
if newValue >= top then -- rep status increases (to revered, etc..)
|
||||
ScanReputations() -- so scan all
|
||||
else
|
||||
addon.ThisCharacter.Factions[faction] = bottom .. "|" .. top .. "|" .. newValue
|
||||
addon.ThisCharacter.lastUpdate = time()
|
||||
end
|
||||
else -- faction not in the db, scan all
|
||||
ScanReputations()
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,18 @@
|
||||
## Interface: 30300
|
||||
## Title: DataStore_Reputations
|
||||
## Notes: Stores information about character reputation levels
|
||||
## Author: Thaoky (EU-Marécages de Zangar)
|
||||
## Version: 3.3.001
|
||||
## Dependencies: DataStore
|
||||
## OptionalDeps: Ace3
|
||||
## SavedVariables: DataStore_ReputationsDB
|
||||
## X-Category: Interface Enhancements
|
||||
## X-Embeds: Ace3
|
||||
## X-Curse-Packaged-Version: r10
|
||||
## X-Curse-Project-Name: DataStore_Reputations
|
||||
## X-Curse-Project-ID: datastore_reputations
|
||||
## X-Curse-Repository-ID: wow/datastore_reputations/mainline
|
||||
|
||||
embeds.xml
|
||||
|
||||
DataStore_Reputations.lua
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
All Rights Reserved unless otherwise explicitly stated.
|
||||
@@ -0,0 +1,8 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
|
||||
<Include file="libs\LibBabble-Faction-3.0\lib.xml"/>
|
||||
|
||||
<Script file="libs\LibPeriodicTable-3.1-Reputation\LibPeriodicTable-3.1-Reputation.lua"/>
|
||||
|
||||
</Ui>
|
||||
@@ -0,0 +1,292 @@
|
||||
-- LibBabble-3.0 is hereby placed in the Public Domain
|
||||
-- Credits: ckknight
|
||||
local LIBBABBLE_MAJOR, LIBBABBLE_MINOR = "LibBabble-3.0", 2
|
||||
|
||||
local LibBabble = LibStub:NewLibrary(LIBBABBLE_MAJOR, LIBBABBLE_MINOR)
|
||||
if not LibBabble then
|
||||
return
|
||||
end
|
||||
|
||||
local data = LibBabble.data or {}
|
||||
for k,v in pairs(LibBabble) do
|
||||
LibBabble[k] = nil
|
||||
end
|
||||
LibBabble.data = data
|
||||
|
||||
local tablesToDB = {}
|
||||
for namespace, db in pairs(data) do
|
||||
for k,v in pairs(db) do
|
||||
tablesToDB[v] = db
|
||||
end
|
||||
end
|
||||
|
||||
local function warn(message)
|
||||
local _, ret = pcall(error, message, 3)
|
||||
geterrorhandler()(ret)
|
||||
end
|
||||
|
||||
local lookup_mt = { __index = function(self, key)
|
||||
local db = tablesToDB[self]
|
||||
local current_key = db.current[key]
|
||||
if current_key then
|
||||
self[key] = current_key
|
||||
return current_key
|
||||
end
|
||||
local base_key = db.base[key]
|
||||
local real_MAJOR_VERSION
|
||||
for k,v in pairs(data) do
|
||||
if v == db then
|
||||
real_MAJOR_VERSION = k
|
||||
break
|
||||
end
|
||||
end
|
||||
if not real_MAJOR_VERSION then
|
||||
real_MAJOR_VERSION = LIBBABBLE_MAJOR
|
||||
end
|
||||
if base_key then
|
||||
warn(("%s: Translation %q not found for locale %q"):format(real_MAJOR_VERSION, key, GetLocale()))
|
||||
rawset(self, key, base_key)
|
||||
return base_key
|
||||
end
|
||||
warn(("%s: Translation %q not found."):format(real_MAJOR_VERSION, key))
|
||||
rawset(self, key, key)
|
||||
return key
|
||||
end }
|
||||
|
||||
local function initLookup(module, lookup)
|
||||
local db = tablesToDB[module]
|
||||
for k in pairs(lookup) do
|
||||
lookup[k] = nil
|
||||
end
|
||||
setmetatable(lookup, lookup_mt)
|
||||
tablesToDB[lookup] = db
|
||||
db.lookup = lookup
|
||||
return lookup
|
||||
end
|
||||
|
||||
local function initReverse(module, reverse)
|
||||
local db = tablesToDB[module]
|
||||
for k in pairs(reverse) do
|
||||
reverse[k] = nil
|
||||
end
|
||||
for k,v in pairs(db.current) do
|
||||
reverse[v] = k
|
||||
end
|
||||
tablesToDB[reverse] = db
|
||||
db.reverse = reverse
|
||||
db.reverseIterators = nil
|
||||
return reverse
|
||||
end
|
||||
|
||||
local prototype = {}
|
||||
local prototype_mt = {__index = prototype}
|
||||
|
||||
--[[---------------------------------------------------------------------------
|
||||
Notes:
|
||||
* If you try to access a nonexistent key, it will warn but allow the code to pass through.
|
||||
Returns:
|
||||
A lookup table for english to localized words.
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
local BL = B:GetLookupTable()
|
||||
assert(BL["Some english word"] == "Some localized word")
|
||||
DoSomething(BL["Some english word that doesn't exist"]) -- warning!
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:GetLookupTable()
|
||||
local db = tablesToDB[self]
|
||||
|
||||
local lookup = db.lookup
|
||||
if lookup then
|
||||
return lookup
|
||||
end
|
||||
return initLookup(self, {})
|
||||
end
|
||||
--[[---------------------------------------------------------------------------
|
||||
Notes:
|
||||
* If you try to access a nonexistent key, it will return nil.
|
||||
Returns:
|
||||
A lookup table for english to localized words.
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
local B_has = B:GetUnstrictLookupTable()
|
||||
assert(B_has["Some english word"] == "Some localized word")
|
||||
assert(B_has["Some english word that doesn't exist"] == nil)
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:GetUnstrictLookupTable()
|
||||
local db = tablesToDB[self]
|
||||
|
||||
return db.current
|
||||
end
|
||||
--[[---------------------------------------------------------------------------
|
||||
Notes:
|
||||
* If you try to access a nonexistent key, it will return nil.
|
||||
* This is useful for checking if the base (English) table has a key, even if the localized one does not have it registered.
|
||||
Returns:
|
||||
A lookup table for english to localized words.
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
local B_hasBase = B:GetBaseLookupTable()
|
||||
assert(B_hasBase["Some english word"] == "Some english word")
|
||||
assert(B_hasBase["Some english word that doesn't exist"] == nil)
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:GetBaseLookupTable()
|
||||
local db = tablesToDB[self]
|
||||
|
||||
return db.base
|
||||
end
|
||||
--[[---------------------------------------------------------------------------
|
||||
Notes:
|
||||
* If you try to access a nonexistent key, it will return nil.
|
||||
* This will return only one English word that it maps to, if there are more than one to check, see :GetReverseIterator("word")
|
||||
Returns:
|
||||
A lookup table for localized to english words.
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
local BR = B:GetReverseLookupTable()
|
||||
assert(BR["Some localized word"] == "Some english word")
|
||||
assert(BR["Some localized word that doesn't exist"] == nil)
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:GetReverseLookupTable()
|
||||
local db = tablesToDB[self]
|
||||
|
||||
local reverse = db.reverse
|
||||
if reverse then
|
||||
return reverse
|
||||
end
|
||||
return initReverse(self, {})
|
||||
end
|
||||
local blank = {}
|
||||
local weakVal = {__mode='v'}
|
||||
--[[---------------------------------------------------------------------------
|
||||
Arguments:
|
||||
string - the localized word to chek for.
|
||||
Returns:
|
||||
An iterator to traverse all English words that map to the given key
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
for word in B:GetReverseIterator("Some localized word") do
|
||||
DoSomething(word)
|
||||
end
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:GetReverseIterator(key)
|
||||
local db = tablesToDB[self]
|
||||
local reverseIterators = db.reverseIterators
|
||||
if not reverseIterators then
|
||||
reverseIterators = setmetatable({}, weakVal)
|
||||
db.reverseIterators = reverseIterators
|
||||
elseif reverseIterators[key] then
|
||||
return pairs(reverseIterators[key])
|
||||
end
|
||||
local t
|
||||
for k,v in pairs(db.current) do
|
||||
if v == key then
|
||||
if not t then
|
||||
t = {}
|
||||
end
|
||||
t[k] = true
|
||||
end
|
||||
end
|
||||
reverseIterators[key] = t or blank
|
||||
return pairs(reverseIterators[key])
|
||||
end
|
||||
--[[---------------------------------------------------------------------------
|
||||
Returns:
|
||||
An iterator to traverse all translations English to localized.
|
||||
Example:
|
||||
local B = LibStub("LibBabble-Module-3.0") -- where Module is what you want.
|
||||
for english, localized in B:Iterate() do
|
||||
DoSomething(english, localized)
|
||||
end
|
||||
-----------------------------------------------------------------------------]]
|
||||
function prototype:Iterate()
|
||||
local db = tablesToDB[self]
|
||||
|
||||
return pairs(db.current)
|
||||
end
|
||||
|
||||
-- #NODOC
|
||||
-- modules need to call this to set the base table
|
||||
function prototype:SetBaseTranslations(base)
|
||||
local db = tablesToDB[self]
|
||||
local oldBase = db.base
|
||||
if oldBase then
|
||||
for k in pairs(oldBase) do
|
||||
oldBase[k] = nil
|
||||
end
|
||||
for k, v in pairs(base) do
|
||||
oldBase[k] = v
|
||||
end
|
||||
base = oldBase
|
||||
else
|
||||
db.base = base
|
||||
end
|
||||
for k,v in pairs(base) do
|
||||
if v == true then
|
||||
base[k] = k
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function init(module)
|
||||
local db = tablesToDB[module]
|
||||
if db.lookup then
|
||||
initLookup(module, db.lookup)
|
||||
end
|
||||
if db.reverse then
|
||||
initReverse(module, db.reverse)
|
||||
end
|
||||
db.reverseIterators = nil
|
||||
end
|
||||
|
||||
-- #NODOC
|
||||
-- modules need to call this to set the current table. if current is true, use the base table.
|
||||
function prototype:SetCurrentTranslations(current)
|
||||
local db = tablesToDB[self]
|
||||
if current == true then
|
||||
db.current = db.base
|
||||
else
|
||||
local oldCurrent = db.current
|
||||
if oldCurrent then
|
||||
for k in pairs(oldCurrent) do
|
||||
oldCurrent[k] = nil
|
||||
end
|
||||
for k, v in pairs(current) do
|
||||
oldCurrent[k] = v
|
||||
end
|
||||
current = oldCurrent
|
||||
else
|
||||
db.current = current
|
||||
end
|
||||
end
|
||||
init(self)
|
||||
end
|
||||
|
||||
for namespace, db in pairs(data) do
|
||||
setmetatable(db.module, prototype_mt)
|
||||
init(db.module)
|
||||
end
|
||||
|
||||
-- #NODOC
|
||||
-- modules need to call this to create a new namespace.
|
||||
function LibBabble:New(namespace, minor)
|
||||
local module, oldminor = LibStub:NewLibrary(namespace, minor)
|
||||
if not module then
|
||||
return
|
||||
end
|
||||
|
||||
if not oldminor then
|
||||
local db = {
|
||||
module = module,
|
||||
}
|
||||
data[namespace] = db
|
||||
tablesToDB[module] = db
|
||||
else
|
||||
for k,v in pairs(module) do
|
||||
module[k] = nil
|
||||
end
|
||||
end
|
||||
|
||||
setmetatable(module, prototype_mt)
|
||||
|
||||
return module
|
||||
end
|
||||
@@ -0,0 +1,799 @@
|
||||
--[[
|
||||
Name: LibBabble-Faction-3.0
|
||||
Revision: $Rev: 103 $
|
||||
Maintainers: ckknight, nevcairiel, Ackis
|
||||
Website: http://www.wowace.com/projects/libbabble-faction-3-0/
|
||||
Dependencies: None
|
||||
License: MIT
|
||||
]]
|
||||
|
||||
local MAJOR_VERSION = "LibBabble-Faction-3.0"
|
||||
local MINOR_VERSION = 90000 + tonumber(("$Rev: 103 $"):match("%d+"))
|
||||
|
||||
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
|
||||
local lib = LibStub("LibBabble-3.0"):New(MAJOR_VERSION, MINOR_VERSION)
|
||||
if not lib then return end
|
||||
|
||||
local GAME_LOCALE = GetLocale()
|
||||
|
||||
lib:SetBaseTranslations {
|
||||
Alliance = "Alliance",
|
||||
["Alliance Vanguard"] = "Alliance Vanguard",
|
||||
["Argent Crusade"] = "Argent Crusade",
|
||||
["Argent Dawn"] = "Argent Dawn",
|
||||
["Ashtongue Deathsworn"] = "Ashtongue Deathsworn",
|
||||
["Bloodsail Buccaneers"] = "Bloodsail Buccaneers",
|
||||
["Booty Bay"] = "Booty Bay",
|
||||
["Brood of Nozdormu"] = "Brood of Nozdormu",
|
||||
["Cenarion Circle"] = "Cenarion Circle",
|
||||
["Cenarion Expedition"] = "Cenarion Expedition",
|
||||
["Darkmoon Faire"] = "Darkmoon Faire",
|
||||
["Darkspear Trolls"] = "Darkspear Trolls",
|
||||
Darnassus = "Darnassus",
|
||||
Everlook = "Everlook",
|
||||
Exalted = "Exalted",
|
||||
Exodar = "Exodar",
|
||||
["Explorers' League"] = "Explorers' League",
|
||||
["Frenzyheart Tribe"] = "Frenzyheart Tribe",
|
||||
Friendly = "Friendly",
|
||||
["Frostwolf Clan"] = "Frostwolf Clan",
|
||||
Gadgetzan = "Gadgetzan",
|
||||
["Gelkis Clan Centaur"] = "Gelkis Clan Centaur",
|
||||
["Gnomeregan Exiles"] = "Gnomeregan Exiles",
|
||||
Honored = "Honored",
|
||||
["Honor Hold"] = "Honor Hold",
|
||||
Horde = "Horde",
|
||||
["Horde Expedition"] = "Horde Expedition",
|
||||
["Hydraxian Waterlords"] = "Hydraxian Waterlords",
|
||||
Ironforge = "Ironforge",
|
||||
["Keepers of Time"] = "Keepers of Time",
|
||||
["Kirin Tor"] = "Kirin Tor",
|
||||
["Knights of the Ebon Blade"] = "Knights of the Ebon Blade",
|
||||
Kurenai = "Kurenai",
|
||||
["Lower City"] = "Lower City",
|
||||
["Magram Clan Centaur"] = "Magram Clan Centaur",
|
||||
Netherwing = "Netherwing",
|
||||
Neutral = "Neutral",
|
||||
["Ogri'la"] = "Ogri'la",
|
||||
Orgrimmar = "Orgrimmar",
|
||||
Ratchet = "Ratchet",
|
||||
Ravenholdt = "Ravenholdt",
|
||||
Revered = "Revered",
|
||||
["Sha'tari Skyguard"] = "Sha'tari Skyguard",
|
||||
["Shattered Sun Offensive"] = "Shattered Sun Offensive",
|
||||
["Shen'dralar"] = "Shen'dralar",
|
||||
["Silvermoon City"] = "Silvermoon City",
|
||||
["Silverwing Sentinels"] = "Silverwing Sentinels",
|
||||
Sporeggar = "Sporeggar",
|
||||
["Stormpike Guard"] = "Stormpike Guard",
|
||||
Stormwind = "Stormwind",
|
||||
Syndicate = "Syndicate",
|
||||
["The Aldor"] = "The Aldor",
|
||||
["The Ashen Verdict"] = "The Ashen Verdict",
|
||||
["The Consortium"] = "The Consortium",
|
||||
["The Defilers"] = "The Defilers",
|
||||
["The Frostborn"] = "The Frostborn",
|
||||
["The Hand of Vengeance"] = "The Hand of Vengeance",
|
||||
["The Kalu'ak"] = "The Kalu'ak",
|
||||
["The League of Arathor"] = "The League of Arathor",
|
||||
["The Mag'har"] = "The Mag'har",
|
||||
["The Oracles"] = "The Oracles",
|
||||
["The Scale of the Sands"] = "The Scale of the Sands",
|
||||
["The Scryers"] = "The Scryers",
|
||||
["The Sha'tar"] = "The Sha'tar",
|
||||
["The Silver Covenant"] = "The Silver Covenant",
|
||||
["The Sons of Hodir"] = "The Sons of Hodir",
|
||||
["The Sunreavers"] = "The Sunreavers",
|
||||
["The Taunka"] = "The Taunka",
|
||||
["The Violet Eye"] = "The Violet Eye",
|
||||
["The Wyrmrest Accord"] = "The Wyrmrest Accord",
|
||||
["Thorium Brotherhood"] = "Thorium Brotherhood",
|
||||
Thrallmar = "Thrallmar",
|
||||
["Thunder Bluff"] = "Thunder Bluff",
|
||||
["Timbermaw Hold"] = "Timbermaw Hold",
|
||||
Tranquillien = "Tranquillien",
|
||||
Undercity = "Undercity",
|
||||
["Valiance Expedition"] = "Valiance Expedition",
|
||||
["Warsong Offensive"] = "Warsong Offensive",
|
||||
["Warsong Outriders"] = "Warsong Outriders",
|
||||
["Wildhammer Clan"] = "Wildhammer Clan",
|
||||
["Winterfin Retreat"] = "Winterfin Retreat",
|
||||
["Wintersaber Trainers"] = "Wintersaber Trainers",
|
||||
["Zandalar Tribe"] = "Zandalar Tribe",
|
||||
}
|
||||
|
||||
|
||||
if GAME_LOCALE == "enUS" then
|
||||
lib:SetCurrentTranslations(true)
|
||||
elseif GAME_LOCALE == "deDE" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "Allianz",
|
||||
["Alliance Vanguard"] = "Vorposten der Allianz",
|
||||
["Argent Crusade"] = "Argentumkreuzzug",
|
||||
["Argent Dawn"] = "Argentumdämmerung",
|
||||
["Ashtongue Deathsworn"] = "Die Todeshörigen",
|
||||
["Bloodsail Buccaneers"] = "Blutsegelbukaniere",
|
||||
["Booty Bay"] = "Beutebucht",
|
||||
["Brood of Nozdormu"] = "Nozdormus Brut",
|
||||
["Cenarion Circle"] = "Zirkel des Cenarius",
|
||||
["Cenarion Expedition"] = "Expedition des Cenarius",
|
||||
["Darkmoon Faire"] = "Dunkelmond-Jahrmarkt",
|
||||
["Darkspear Trolls"] = "Dunkelspeertrolle",
|
||||
Darnassus = "Darnassus",
|
||||
Everlook = "Ewige Warte",
|
||||
Exalted = "Ehrfürchtig",
|
||||
Exodar = "Die Exodar",
|
||||
["Explorers' League"] = "Forscherliga",
|
||||
["Frenzyheart Tribe"] = "Stamm der Wildherzen",
|
||||
Friendly = "Freundlich",
|
||||
["Frostwolf Clan"] = "Frostwolfklan",
|
||||
Gadgetzan = "Gadgetzan",
|
||||
["Gelkis Clan Centaur"] = "Gelkisklan",
|
||||
["Gnomeregan Exiles"] = "Gnomeregangnome",
|
||||
Honored = "Wohlwollend",
|
||||
["Honor Hold"] = "Ehrenfeste",
|
||||
Horde = "Horde",
|
||||
["Horde Expedition"] = "Expedition der Horde",
|
||||
["Hydraxian Waterlords"] = "Hydraxianer",
|
||||
Ironforge = "Eisenschmiede",
|
||||
["Keepers of Time"] = "Hüter der Zeit",
|
||||
["Kirin Tor"] = "Kirin Tor",
|
||||
["Knights of the Ebon Blade"] = "Ritter der Schwarzen Klinge",
|
||||
Kurenai = "Kurenai",
|
||||
["Lower City"] = "Unteres Viertel",
|
||||
["Magram Clan Centaur"] = "Magramklan",
|
||||
Netherwing = "Netherschwingen",
|
||||
Neutral = "Neutral",
|
||||
["Ogri'la"] = "Ogri'la",
|
||||
Orgrimmar = "Orgrimmar",
|
||||
Ratchet = "Ratschet",
|
||||
Ravenholdt = "Rabenholdt",
|
||||
Revered = "Respektvoll",
|
||||
["Sha'tari Skyguard"] = "Himmelswache der Sha'tari",
|
||||
["Shattered Sun Offensive"] = "Offensive der Zerschmetterten Sonne",
|
||||
["Shen'dralar"] = "Shen'dralar",
|
||||
["Silvermoon City"] = "Silbermond",
|
||||
["Silverwing Sentinels"] = "Silberschwingen",
|
||||
Sporeggar = "Sporeggar",
|
||||
["Stormpike Guard"] = "Sturmlanzengarde",
|
||||
Stormwind = "Sturmwind",
|
||||
Syndicate = "Syndikat",
|
||||
["The Aldor"] = "Die Aldor",
|
||||
["The Ashen Verdict"] = "Das Äscherne Verdikt", -- Needs review
|
||||
["The Consortium"] = "Das Konsortium",
|
||||
["The Defilers"] = "Die Entweihten",
|
||||
["The Frostborn"] = "Die Frosterben",
|
||||
["The Hand of Vengeance"] = "Die Hand der Rache",
|
||||
["The Kalu'ak"] = "Die Kalu'ak",
|
||||
["The League of Arathor"] = "Der Bund von Arathor",
|
||||
["The Mag'har"] = "Die Mag'har",
|
||||
["The Oracles"] = "Die Orakel",
|
||||
["The Scale of the Sands"] = "Die Wächter der Sande",
|
||||
["The Scryers"] = "Die Seher",
|
||||
["The Sha'tar"] = "Die Sha'tar",
|
||||
["The Silver Covenant"] = "Der Silberbund",
|
||||
["The Sons of Hodir"] = "Die Söhne Hodirs",
|
||||
["The Sunreavers"] = "Die Sonnenhäscher",
|
||||
["The Taunka"] = "Die Taunka",
|
||||
["The Violet Eye"] = "Das Violette Auge",
|
||||
["The Wyrmrest Accord"] = "Der Wyrmruhpakt",
|
||||
["Thorium Brotherhood"] = "Thoriumbruderschaft",
|
||||
Thrallmar = "Thrallmar",
|
||||
["Thunder Bluff"] = "Donnerfels",
|
||||
["Timbermaw Hold"] = "Holzschlundfeste",
|
||||
Tranquillien = "Tristessa",
|
||||
Undercity = "Unterstadt",
|
||||
["Valiance Expedition"] = "Expedition Valianz",
|
||||
["Warsong Offensive"] = "Kriegshymnenoffensive",
|
||||
["Warsong Outriders"] = "Vorhut des Kriegshymnenklan",
|
||||
["Wildhammer Clan"] = "Wildhammerklan",
|
||||
["Winterfin Retreat"] = "Zuflucht der Winterflossen",
|
||||
["Wintersaber Trainers"] = "Wintersäblerausbilder",
|
||||
["Zandalar Tribe"] = "Stamm der Zandalar",
|
||||
}
|
||||
elseif GAME_LOCALE == "frFR" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "Alliance",
|
||||
["Alliance Vanguard"] = "Avant-garde de l'Alliance",
|
||||
["Argent Crusade"] = "La Croisade d'argent",
|
||||
["Argent Dawn"] = "Aube d'argent",
|
||||
["Ashtongue Deathsworn"] = "Ligemort cendrelangue",
|
||||
["Bloodsail Buccaneers"] = "La Voile sanglante",
|
||||
["Booty Bay"] = "Baie-du-Butin",
|
||||
["Brood of Nozdormu"] = "Progéniture de Nozdormu",
|
||||
["Cenarion Circle"] = "Cercle cénarien",
|
||||
["Cenarion Expedition"] = "Expédition cénarienne",
|
||||
["Darkmoon Faire"] = "Foire de Sombrelune",
|
||||
["Darkspear Trolls"] = "Trolls Sombrelance",
|
||||
Darnassus = "Darnassus",
|
||||
Everlook = "Long-guet",
|
||||
Exalted = "Exalté",
|
||||
Exodar = "Exodar",
|
||||
["Explorers' League"] = "Ligue des explorateurs",
|
||||
["Frenzyheart Tribe"] = "La tribu Frénécœur",
|
||||
Friendly = "Amical",
|
||||
["Frostwolf Clan"] = "Clan Loup-de-givre",
|
||||
Gadgetzan = "Gadgetzan",
|
||||
["Gelkis Clan Centaur"] = "Centaures (Gelkis)",
|
||||
["Gnomeregan Exiles"] = "Exilés de Gnomeregan",
|
||||
Honored = "Honoré",
|
||||
["Honor Hold"] = "Bastion de l'Honneur",
|
||||
Horde = "Horde",
|
||||
["Horde Expedition"] = "Expédition de la Horde",
|
||||
["Hydraxian Waterlords"] = "Les Hydraxiens",
|
||||
Ironforge = "Forgefer",
|
||||
["Keepers of Time"] = "Gardiens du Temps",
|
||||
["Kirin Tor"] = "Kirin Tor",
|
||||
["Knights of the Ebon Blade"] = "Chevaliers de la Lame d'ébène",
|
||||
Kurenai = "Kurenaï",
|
||||
["Lower City"] = "Ville basse",
|
||||
["Magram Clan Centaur"] = "Centaures (Magram)",
|
||||
Netherwing = "Aile-du-Néant",
|
||||
Neutral = "Neutre",
|
||||
["Ogri'la"] = "Ogri'la",
|
||||
Orgrimmar = "Orgrimmar",
|
||||
Ratchet = "Cabestan",
|
||||
Ravenholdt = "Ravenholdt",
|
||||
Revered = "Révéré",
|
||||
["Sha'tari Skyguard"] = "Garde-ciel sha'tari",
|
||||
["Shattered Sun Offensive"] = "Opération Soleil brisé",
|
||||
["Shen'dralar"] = "Shen'dralar",
|
||||
["Silvermoon City"] = "Lune-d'argent",
|
||||
["Silverwing Sentinels"] = "Sentinelles d'Aile-argent",
|
||||
Sporeggar = "Sporeggar",
|
||||
["Stormpike Guard"] = "Garde Foudrepique",
|
||||
Stormwind = "Hurlevent",
|
||||
Syndicate = "Syndicat",
|
||||
["The Aldor"] = "L'Aldor",
|
||||
["The Ashen Verdict"] = "Le Verdict des cendres",
|
||||
["The Consortium"] = "Le Consortium",
|
||||
["The Defilers"] = "Les Profanateurs",
|
||||
["The Frostborn"] = "Les Givre-nés",
|
||||
["The Hand of Vengeance"] = "La Main de la vengeance",
|
||||
["The Kalu'ak"] = "Les Kalu'aks",
|
||||
["The League of Arathor"] = "La Ligue d'Arathor",
|
||||
["The Mag'har"] = "Les Mag'har",
|
||||
["The Oracles"] = "Les Oracles",
|
||||
["The Scale of the Sands"] = "La Balance des sables",
|
||||
["The Scryers"] = "Les Clairvoyants",
|
||||
["The Sha'tar"] = "Les Sha'tar",
|
||||
["The Silver Covenant"] = "Le Concordat argenté",
|
||||
["The Sons of Hodir"] = "Les Fils d'Hodir",
|
||||
["The Sunreavers"] = "Les Saccage-soleil",
|
||||
["The Taunka"] = "Les Taunkas",
|
||||
["The Violet Eye"] = "L'Œil pourpre",
|
||||
["The Wyrmrest Accord"] = "L'Accord de Repos du ver",
|
||||
["Thorium Brotherhood"] = "Confrérie du thorium",
|
||||
Thrallmar = "Thrallmar",
|
||||
["Thunder Bluff"] = "Les Pitons du Tonnerre",
|
||||
["Timbermaw Hold"] = "Les Grumegueules",
|
||||
Tranquillien = "Tranquillien",
|
||||
Undercity = "Fossoyeuse",
|
||||
["Valiance Expedition"] = "Expédition de la Bravoure",
|
||||
["Warsong Offensive"] = "Offensive chanteguerre",
|
||||
["Warsong Outriders"] = "Voltigeurs Chanteguerre",
|
||||
["Wildhammer Clan"] = "Clan Marteau-hardi",
|
||||
["Winterfin Retreat"] = "Retraite des Ailerons-d'hiver",
|
||||
["Wintersaber Trainers"] = "Éleveurs de sabres-d'hiver",
|
||||
["Zandalar Tribe"] = "Tribu Zandalar",
|
||||
}
|
||||
elseif GAME_LOCALE == "koKR" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "얼라이언스",
|
||||
["Alliance Vanguard"] = "얼라이언스 선봉대",
|
||||
["Argent Crusade"] = "은빛십자군",
|
||||
["Argent Dawn"] = "은빛 여명회",
|
||||
["Ashtongue Deathsworn"] = "잿빛혓바닥 결사단",
|
||||
["Bloodsail Buccaneers"] = "붉은 해적단",
|
||||
["Booty Bay"] = "무법항",
|
||||
["Brood of Nozdormu"] = "노즈도르무 혈족",
|
||||
["Cenarion Circle"] = "세나리온 의회",
|
||||
["Cenarion Expedition"] = "세나리온 원정대",
|
||||
["Darkmoon Faire"] = "다크문 유랑단",
|
||||
["Darkspear Trolls"] = "검은창 트롤",
|
||||
Darnassus = "다르나서스",
|
||||
Everlook = "눈망루 마을",
|
||||
Exalted = "확고한 동맹",
|
||||
Exodar = "엑소다르",
|
||||
["Explorers' League"] = "탐험가 연맹",
|
||||
["Frenzyheart Tribe"] = "광란의심장일족",
|
||||
Friendly = "약간 우호적",
|
||||
["Frostwolf Clan"] = "서리늑대 부족",
|
||||
Gadgetzan = "가젯잔",
|
||||
["Gelkis Clan Centaur"] = "겔키스 부족 켄타로우스",
|
||||
["Gnomeregan Exiles"] = "놈리건",
|
||||
Honored = "우호적",
|
||||
["Honor Hold"] = "명예의 요새",
|
||||
Horde = "호드",
|
||||
["Horde Expedition"] = "호드 원정대",
|
||||
["Hydraxian Waterlords"] = "히드락시안 물의 군주",
|
||||
Ironforge = "아이언포지",
|
||||
["Keepers of Time"] = "시간의 수호자",
|
||||
["Kirin Tor"] = "키린 토",
|
||||
["Knights of the Ebon Blade"] = "칠흑의 기사단",
|
||||
Kurenai = "쿠레나이",
|
||||
["Lower City"] = "고난의 거리",
|
||||
["Magram Clan Centaur"] = "마그람 부족 켄타로우스",
|
||||
Netherwing = "황천의 용군단",
|
||||
Neutral = "중립적",
|
||||
["Ogri'la"] = "오그릴라",
|
||||
Orgrimmar = "오그리마",
|
||||
Ratchet = "톱니항",
|
||||
Ravenholdt = "라벤홀트",
|
||||
Revered = "매우 우호적",
|
||||
["Sha'tari Skyguard"] = "샤타리 하늘경비대",
|
||||
["Shattered Sun Offensive"] = "무너진 태양 공격대",
|
||||
["Shen'dralar"] = "센드렐라",
|
||||
["Silvermoon City"] = "실버문",
|
||||
["Silverwing Sentinels"] = "은빛날개 파수대",
|
||||
Sporeggar = "스포어가르",
|
||||
["Stormpike Guard"] = "스톰파이크 경비대",
|
||||
Stormwind = "스톰윈드",
|
||||
Syndicate = "비밀결사대",
|
||||
["The Aldor"] = "알도르 사제회",
|
||||
["The Ashen Verdict"] = "잿빛 선고단",
|
||||
["The Consortium"] = "무역연합",
|
||||
["The Defilers"] = "포세이큰 파멸단",
|
||||
["The Frostborn"] = "서릿결부족 드워프",
|
||||
["The Hand of Vengeance"] = "복수의 대리인",
|
||||
["The Kalu'ak"] = "칼루아크",
|
||||
["The League of Arathor"] = "아라소르 연맹",
|
||||
["The Mag'har"] = "마그하르",
|
||||
["The Oracles"] = "점쟁이 조합",
|
||||
["The Scale of the Sands"] = "시간의 중재자",
|
||||
["The Scryers"] = "점술가 길드",
|
||||
["The Sha'tar"] = "샤타르",
|
||||
["The Silver Covenant"] = "은빛 서약단",
|
||||
["The Sons of Hodir"] = "호디르의 후예",
|
||||
["The Sunreavers"] = "선리버",
|
||||
["The Taunka"] = "타운카",
|
||||
["The Violet Eye"] = "보랏빛 눈의 감시자",
|
||||
["The Wyrmrest Accord"] = "고룡쉼터 사원 용군단",
|
||||
["Thorium Brotherhood"] = "토륨 대장조합 ",
|
||||
Thrallmar = "스랄마",
|
||||
["Thunder Bluff"] = "썬더 블러프",
|
||||
["Timbermaw Hold"] = "나무구렁 요새",
|
||||
Tranquillien = "트랜퀼리엔",
|
||||
Undercity = "언더시티",
|
||||
["Valiance Expedition"] = "용맹의 원정대",
|
||||
["Warsong Offensive"] = "전쟁노래 공격대",
|
||||
["Warsong Outriders"] = "전쟁노래 정찰대",
|
||||
["Wildhammer Clan"] = "와일드해머 부족",
|
||||
["Winterfin Retreat"] = "겨울지느러미 은신처",
|
||||
["Wintersaber Trainers"] = "눈호랑이 조련사",
|
||||
["Zandalar Tribe"] = "잔달라 부족",
|
||||
}
|
||||
elseif GAME_LOCALE == "esES" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "Alianza",
|
||||
["Alliance Vanguard"] = "Vanguardia de la Alianza",
|
||||
["Argent Crusade"] = "Cruzada Argenta",
|
||||
["Argent Dawn"] = "El Alba Argenta",
|
||||
["Ashtongue Deathsworn"] = "Juramorte Lengua de ceniza",
|
||||
["Bloodsail Buccaneers"] = "Bucaneros Velasangre",
|
||||
["Booty Bay"] = "Bahía del Botín",
|
||||
["Brood of Nozdormu"] = "Linaje de Nozdormu",
|
||||
["Cenarion Circle"] = "Círculo Cenarion",
|
||||
["Cenarion Expedition"] = "Expedición Cenarion",
|
||||
["Darkmoon Faire"] = "Feria de la Luna Negra",
|
||||
["Darkspear Trolls"] = "Trols Lanza Negra",
|
||||
Darnassus = "Darnassus",
|
||||
Everlook = "Vista Eterna",
|
||||
Exalted = "Exaltado",
|
||||
Exodar = "El Exodar",
|
||||
["Explorers' League"] = "Liga de Expedicionarios",
|
||||
["Frenzyheart Tribe"] = "Tribu Corazón Frenético",
|
||||
Friendly = "Amistoso",
|
||||
["Frostwolf Clan"] = "Clan Lobo Gélido",
|
||||
Gadgetzan = "Gadgetzan",
|
||||
["Gelkis Clan Centaur"] = "Centauros del clan Gelkis",
|
||||
["Gnomeregan Exiles"] = "Exiliados de Gnomeregan",
|
||||
Honored = "Honorable",
|
||||
["Honor Hold"] = "Bastión del Honor",
|
||||
Horde = "Horda",
|
||||
["Horde Expedition"] = "Expedición de la Horda",
|
||||
["Hydraxian Waterlords"] = "Srs. del Agua de Hydraxis",
|
||||
Ironforge = "Forjaz",
|
||||
["Keepers of Time"] = "Vigilantes del Tiempo",
|
||||
["Kirin Tor"] = "Kirin Tor",
|
||||
["Knights of the Ebon Blade"] = "Caballeros de la Espada de Ébano",
|
||||
Kurenai = "Kurenai",
|
||||
["Lower City"] = "Bajo Arrabal",
|
||||
["Magram Clan Centaur"] = "Centauros del clan Magram",
|
||||
Netherwing = "Ala Abisal",
|
||||
Neutral = "Neutral",
|
||||
["Ogri'la"] = "Ogri'la",
|
||||
Orgrimmar = "Orgrimmar",
|
||||
Ratchet = "Trinquete",
|
||||
Ravenholdt = "Ravenholdt",
|
||||
Revered = "Reverenciado",
|
||||
["Sha'tari Skyguard"] = "Guardia del cielo Sha'tari",
|
||||
["Shattered Sun Offensive"] = "Ofensiva Sol Devastado",
|
||||
["Shen'dralar"] = "Shen'dralar",
|
||||
["Silvermoon City"] = "Ciudad de Lunargenta",
|
||||
["Silverwing Sentinels"] = "Centinelas Ala de Plata",
|
||||
Sporeggar = "Esporaggar",
|
||||
["Stormpike Guard"] = "Guardia Pico Tormenta",
|
||||
Stormwind = "Ventormenta",
|
||||
Syndicate = "La Hermandad",
|
||||
["The Aldor"] = "Los Aldor",
|
||||
["The Ashen Verdict"] = "El Veredicto Cinéreo",
|
||||
["The Consortium"] = "El Consorcio",
|
||||
["The Defilers"] = "Los Rapiñadores",
|
||||
["The Frostborn"] = "Los Natoescarcha",
|
||||
["The Hand of Vengeance"] = "La Mano de la Venganza",
|
||||
["The Kalu'ak"] = "Los Kalu'ak",
|
||||
["The League of Arathor"] = "Liga de Arathor",
|
||||
["The Mag'har"] = "Los Mag'har",
|
||||
["The Oracles"] = "Los Oráculos",
|
||||
["The Scale of the Sands"] = "La Escama de las Arenas",
|
||||
["The Scryers"] = "Los Arúspices",
|
||||
["The Sha'tar"] = "Los Sha'tar",
|
||||
["The Silver Covenant"] = "El Pacto de Plata",
|
||||
["The Sons of Hodir"] = "Los Hijos de Hodir",
|
||||
["The Sunreavers"] = "Los Atracasol",
|
||||
["The Taunka"] = "Los Taunka",
|
||||
["The Violet Eye"] = "El Ojo Violeta",
|
||||
["The Wyrmrest Accord"] = "El Acuerdo del Reposo del Dragón",
|
||||
["Thorium Brotherhood"] = "Hermandad del Torio",
|
||||
Thrallmar = "Thrallmar",
|
||||
["Thunder Bluff"] = "Cima del Trueno",
|
||||
["Timbermaw Hold"] = "Bastión Fauces de Madera",
|
||||
Tranquillien = "Tranquillien",
|
||||
Undercity = "Entrañas",
|
||||
["Valiance Expedition"] = "Expedición de Denuedo",
|
||||
["Warsong Offensive"] = "Ofensiva Grito de Guerra",
|
||||
["Warsong Outriders"] = "Escoltas Grito de Guerra",
|
||||
["Wildhammer Clan"] = "Clan Martillo Salvaje",
|
||||
["Winterfin Retreat"] = "Retiro Aleta Invernal",
|
||||
["Wintersaber Trainers"] = "Instructores de Sableinvernales",
|
||||
["Zandalar Tribe"] = "Tribu Zandalar",
|
||||
}
|
||||
elseif GAME_LOCALE == "esMX" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "Alianza",
|
||||
["Alliance Vanguard"] = "Vanguardia de la Alianza",
|
||||
["Argent Crusade"] = "Cruzada Argenta",
|
||||
["Argent Dawn"] = "Alba Argenta",
|
||||
["Ashtongue Deathsworn"] = "Juramorte Lengua de ceniza",
|
||||
["Bloodsail Buccaneers"] = "Bucaneros Velasangre",
|
||||
["Booty Bay"] = "Bahía del Botín",
|
||||
["Brood of Nozdormu"] = "Linaje de Nozdormu",
|
||||
["Cenarion Circle"] = "Círculo Cenarion",
|
||||
["Cenarion Expedition"] = "Expedición Cenarion",
|
||||
["Darkmoon Faire"] = "Feria de la Luna Negra",
|
||||
["Darkspear Trolls"] = "Trols Lanza Negra",
|
||||
Darnassus = "Darnassus",
|
||||
Everlook = "Vista Eterna",
|
||||
Exalted = "Exaltado",
|
||||
Exodar = "Exodar",
|
||||
["Explorers' League"] = "Liga de Expedicionarios",
|
||||
["Frenzyheart Tribe"] = "Tribu Corazón Frenético",
|
||||
Friendly = "Amistoso",
|
||||
["Frostwolf Clan"] = "Clan Lobo Gélido",
|
||||
Gadgetzan = "Gadgetzan",
|
||||
["Gelkis Clan Centaur"] = "Centauro del clan Gelkis",
|
||||
["Gnomeregan Exiles"] = "Exiliados de Gnomeregan",
|
||||
Honored = "Honorable",
|
||||
["Honor Hold"] = "Bastión del Honor",
|
||||
Horde = "Horda",
|
||||
["Horde Expedition"] = "Expedición de la Horda",
|
||||
["Hydraxian Waterlords"] = "Srs. del Agua de Hydraxis",
|
||||
Ironforge = "Forjaz",
|
||||
["Keepers of Time"] = "Vigilantes del tiempo",
|
||||
["Kirin Tor"] = "Kirin Tor",
|
||||
["Knights of the Ebon Blade"] = "Caballeros de la Espada de Ébano",
|
||||
Kurenai = "Kurenai",
|
||||
["Lower City"] = "Bajo Arrabal",
|
||||
["Magram Clan Centaur"] = "Centauro del clan Magram",
|
||||
Netherwing = "Ala Abisal",
|
||||
Neutral = "Neutral",
|
||||
["Ogri'la"] = "Ogri'la",
|
||||
Orgrimmar = "Orgrimmar",
|
||||
Ratchet = "Trinquete",
|
||||
Ravenholdt = "Ravenholdt",
|
||||
Revered = "Reverenciado",
|
||||
["Sha'tari Skyguard"] = "Guardia del cielo Sha'tari",
|
||||
["Shattered Sun Offensive"] = "Ofensiva Sol Devastado",
|
||||
["Shen'dralar"] = "Shen'dralar",
|
||||
["Silvermoon City"] = "Ciudad de Lunargenta",
|
||||
["Silverwing Sentinels"] = "Centinelas Ala de Plata",
|
||||
Sporeggar = "Esporaggar",
|
||||
["Stormpike Guard"] = "Guardia Pico Tormenta",
|
||||
Stormwind = "Ventormenta",
|
||||
Syndicate = "La Hermandad",
|
||||
["The Aldor"] = "Los Aldor",
|
||||
-- ["The Ashen Verdict"] = "",
|
||||
["The Consortium"] = "El Consorcio",
|
||||
["The Defilers"] = "Los Rapiñadores",
|
||||
["The Frostborn"] = "Los Natoescarcha",
|
||||
["The Hand of Vengeance"] = "La Mano de la Venganza",
|
||||
["The Kalu'ak"] = "Los Kalu'ak",
|
||||
["The League of Arathor"] = "Liga de Arathor",
|
||||
["The Mag'har"] = "Los Mag'har",
|
||||
["The Oracles"] = "Los Oráculos",
|
||||
["The Scale of the Sands"] = "La Escama de las Arenas",
|
||||
["The Scryers"] = "Los Arúspices",
|
||||
["The Sha'tar"] = "Los Sha'tar",
|
||||
["The Silver Covenant"] = "El Pacto de Plata",
|
||||
["The Sons of Hodir"] = "Los Hijos de Hodir",
|
||||
["The Sunreavers"] = "Los Atracasol",
|
||||
["The Taunka"] = "Los taunka",
|
||||
["The Violet Eye"] = "El Ojo Violeta",
|
||||
["The Wyrmrest Accord"] = "El Acuerdo del Reposo del Dragón",
|
||||
["Thorium Brotherhood"] = "Hermandad del torio",
|
||||
Thrallmar = "Thrallmar",
|
||||
["Thunder Bluff"] = "Cima del Trueno",
|
||||
["Timbermaw Hold"] = "Bastión Fauces de Madera",
|
||||
Tranquillien = "Tranquilien",
|
||||
Undercity = "Entrañas",
|
||||
["Valiance Expedition"] = "Expedición de Denuedo",
|
||||
["Warsong Offensive"] = "Ofensiva Grito de Guerra",
|
||||
["Warsong Outriders"] = "Escoltas Grito de Guerra",
|
||||
["Wildhammer Clan"] = "Clan Martillo Salvaje",
|
||||
["Winterfin Retreat"] = "Retiro Aleta Invernal",
|
||||
["Wintersaber Trainers"] = "Instructores de Sableinvernales",
|
||||
["Zandalar Tribe"] = "Tribu Zandalar",
|
||||
}
|
||||
elseif GAME_LOCALE == "ruRU" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "Альянс",
|
||||
["Alliance Vanguard"] = "Авангард Альянса",
|
||||
["Argent Crusade"] = "Серебряный Авангард",
|
||||
["Argent Dawn"] = "Серебряный Рассвет",
|
||||
["Ashtongue Deathsworn"] = "Пеплоусты-служители",
|
||||
["Bloodsail Buccaneers"] = "Пираты Кровавого Паруса",
|
||||
["Booty Bay"] = "Пиратская бухта",
|
||||
["Brood of Nozdormu"] = "Род Ноздорму",
|
||||
["Cenarion Circle"] = "Круг Кенария",
|
||||
["Cenarion Expedition"] = "Экспедиция Ценариона",
|
||||
["Darkmoon Faire"] = "Ярмарка Новолуния",
|
||||
["Darkspear Trolls"] = "Тролли Черного Копья",
|
||||
Darnassus = "Дарнас",
|
||||
Everlook = "Круговзор",
|
||||
Exalted = "Превознесение",
|
||||
Exodar = "Экзодар",
|
||||
["Explorers' League"] = "Лига исследователей",
|
||||
["Frenzyheart Tribe"] = "Племя Мятежного Сердца",
|
||||
Friendly = "Дружелюбие",
|
||||
["Frostwolf Clan"] = "Клан Северного Волка",
|
||||
Gadgetzan = "Прибамбасск",
|
||||
["Gelkis Clan Centaur"] = "Кентавры из племени Гелкис",
|
||||
["Gnomeregan Exiles"] = "Изгнанники Гномрегана",
|
||||
Honored = "Уважение",
|
||||
["Honor Hold"] = "Оплот Чести",
|
||||
Horde = "Орда",
|
||||
["Horde Expedition"] = "Экспедиция Орды",
|
||||
["Hydraxian Waterlords"] = "Гидраксианские Повелители Вод",
|
||||
Ironforge = "Стальгорн",
|
||||
["Keepers of Time"] = "Хранители Времени",
|
||||
["Kirin Tor"] = "Кирин-Тор",
|
||||
["Knights of the Ebon Blade"] = "Рыцари Черного Клинка",
|
||||
Kurenai = "Куренай",
|
||||
["Lower City"] = "Нижний Город",
|
||||
["Magram Clan Centaur"] = "Кентавры из племени Маграм",
|
||||
Netherwing = "Крылья Пустоты",
|
||||
Neutral = "Равнодушие",
|
||||
["Ogri'la"] = "Огри'ла",
|
||||
Orgrimmar = "Оргриммар",
|
||||
Ratchet = "Кабестан",
|
||||
Ravenholdt = "Черный Ворон",
|
||||
Revered = "Почтение",
|
||||
["Sha'tari Skyguard"] = "Стражи Небес Ша'тар",
|
||||
["Shattered Sun Offensive"] = "Армия Расколотого Солнца",
|
||||
["Shen'dralar"] = "Шен'дралар",
|
||||
["Silvermoon City"] = "Луносвет",
|
||||
["Silverwing Sentinels"] = "Среброкрылые Часовые",
|
||||
Sporeggar = "Спореггар",
|
||||
["Stormpike Guard"] = "Стража Грозовой Вершины",
|
||||
Stormwind = "Штормград",
|
||||
Syndicate = "Синдикат",
|
||||
["The Aldor"] = "Алдоры",
|
||||
["The Ashen Verdict"] = "Пепельный союз", -- Needs review
|
||||
["The Consortium"] = "Консорциум",
|
||||
["The Defilers"] = "Осквернители",
|
||||
["The Frostborn"] = "Зиморожденные",
|
||||
["The Hand of Vengeance"] = "Карающая длань",
|
||||
["The Kalu'ak"] = "Калу'ак",
|
||||
["The League of Arathor"] = "Лига Аратора",
|
||||
["The Mag'har"] = "Маг'хары",
|
||||
["The Oracles"] = "Оракулы",
|
||||
["The Scale of the Sands"] = "Песчаная Чешуя",
|
||||
["The Scryers"] = "Провидцы",
|
||||
["The Sha'tar"] = "Ша'тар",
|
||||
["The Silver Covenant"] = "Серебряный Союз",
|
||||
["The Sons of Hodir"] = "Сыновья Ходира",
|
||||
["The Sunreavers"] = "Похитители солнца",
|
||||
["The Taunka"] = "Таунка",
|
||||
["The Violet Eye"] = "Аметистовое Око",
|
||||
["The Wyrmrest Accord"] = "Драконий союз",
|
||||
["Thorium Brotherhood"] = "Братство Тория",
|
||||
Thrallmar = "Траллмар",
|
||||
["Thunder Bluff"] = "Громовой Утес",
|
||||
["Timbermaw Hold"] = "Древобрюхи",
|
||||
Tranquillien = "Транквиллион",
|
||||
Undercity = "Подгород",
|
||||
["Valiance Expedition"] = "Экспедиция Отважных",
|
||||
["Warsong Offensive"] = "Армия Песни Войны",
|
||||
["Warsong Outriders"] = "Всадники Песни Войны",
|
||||
["Wildhammer Clan"] = "Неистовый Молот",
|
||||
["Winterfin Retreat"] = "Холодный Плавник",
|
||||
["Wintersaber Trainers"] = "Укротители ледопардов",
|
||||
["Zandalar Tribe"] = "Племя Зандалар",
|
||||
}
|
||||
elseif GAME_LOCALE == "zhCN" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "联盟",
|
||||
["Alliance Vanguard"] = "联盟先遣军",
|
||||
["Argent Crusade"] = "银色北伐军",
|
||||
["Argent Dawn"] = "银色黎明",
|
||||
["Ashtongue Deathsworn"] = "灰舌死誓者",
|
||||
["Bloodsail Buccaneers"] = "血帆海盗",
|
||||
["Booty Bay"] = "藏宝海湾",
|
||||
["Brood of Nozdormu"] = "诺兹多姆的子嗣",
|
||||
["Cenarion Circle"] = "塞纳里奥议会",
|
||||
["Cenarion Expedition"] = "塞纳里奥远征队",
|
||||
["Darkmoon Faire"] = "暗月马戏团",
|
||||
["Darkspear Trolls"] = "暗矛巨魔",
|
||||
Darnassus = "达纳苏斯",
|
||||
Everlook = "永望镇",
|
||||
Exalted = "崇拜",
|
||||
Exodar = "埃索达",
|
||||
["Explorers' League"] = "探险者协会",
|
||||
["Frenzyheart Tribe"] = "狂心氏族",
|
||||
Friendly = "友善",
|
||||
["Frostwolf Clan"] = "霜狼氏族",
|
||||
Gadgetzan = "加基森",
|
||||
["Gelkis Clan Centaur"] = "吉尔吉斯半人马",
|
||||
["Gnomeregan Exiles"] = "诺莫瑞根流亡者",
|
||||
Honored = "尊敬",
|
||||
["Honor Hold"] = "荣耀堡",
|
||||
Horde = "部落",
|
||||
["Horde Expedition"] = "部落先遣军",
|
||||
["Hydraxian Waterlords"] = "海达希亚水元素",
|
||||
Ironforge = "铁炉堡",
|
||||
["Keepers of Time"] = "时光守护者",
|
||||
["Kirin Tor"] = "肯瑞托",
|
||||
["Knights of the Ebon Blade"] = "黑锋骑士团",
|
||||
Kurenai = "库雷尼",
|
||||
["Lower City"] = "贫民窟",
|
||||
["Magram Clan Centaur"] = "玛格拉姆半人马",
|
||||
Netherwing = "灵翼之龙",
|
||||
Neutral = "中立",
|
||||
["Ogri'la"] = "奥格瑞拉",
|
||||
Orgrimmar = "奥格瑞玛",
|
||||
Ratchet = "棘齿城",
|
||||
Ravenholdt = "拉文霍德",
|
||||
Revered = "崇敬",
|
||||
["Sha'tari Skyguard"] = "沙塔尔天空卫士",
|
||||
["Shattered Sun Offensive"] = "破碎残阳",
|
||||
["Shen'dralar"] = "辛德拉",
|
||||
["Silvermoon City"] = "银月城",
|
||||
["Silverwing Sentinels"] = "银翼哨兵",
|
||||
Sporeggar = "孢子村",
|
||||
["Stormpike Guard"] = "雷矛卫队",
|
||||
Stormwind = "暴风城",
|
||||
Syndicate = "辛迪加",
|
||||
["The Aldor"] = "奥尔多",
|
||||
["The Ashen Verdict"] = "The Ashen Verdict", -- Needs review
|
||||
["The Consortium"] = "星界财团",
|
||||
["The Defilers"] = "污染者",
|
||||
["The Frostborn"] = "霜脉矮人",
|
||||
["The Hand of Vengeance"] = "复仇之手",
|
||||
["The Kalu'ak"] = "卡鲁亚克",
|
||||
["The League of Arathor"] = "阿拉索联军",
|
||||
["The Mag'har"] = "玛格汉",
|
||||
["The Oracles"] = "神谕者",
|
||||
["The Scale of the Sands"] = "流沙之鳞",
|
||||
["The Scryers"] = "占星者",
|
||||
["The Sha'tar"] = "沙塔尔",
|
||||
["The Silver Covenant"] = "银色盟约",
|
||||
["The Sons of Hodir"] = "霍迪尔之子",
|
||||
["The Sunreavers"] = "夺日者",
|
||||
["The Taunka"] = "牦牛人",
|
||||
["The Violet Eye"] = "紫罗兰之眼",
|
||||
["The Wyrmrest Accord"] = "龙眠联军",
|
||||
["Thorium Brotherhood"] = "瑟银兄弟会",
|
||||
Thrallmar = "萨尔玛",
|
||||
["Thunder Bluff"] = "雷霆崖",
|
||||
["Timbermaw Hold"] = "木喉要塞",
|
||||
Tranquillien = "塔奎林",
|
||||
Undercity = "幽暗城",
|
||||
["Valiance Expedition"] = "无畏远征军",
|
||||
["Warsong Offensive"] = "战歌远征军",
|
||||
["Warsong Outriders"] = "战歌侦察骑兵",
|
||||
["Wildhammer Clan"] = "蛮锤部族",
|
||||
["Winterfin Retreat"] = "冬鳞避难所",
|
||||
["Wintersaber Trainers"] = "冬刃豹训练师",
|
||||
["Zandalar Tribe"] = "赞达拉部族",
|
||||
}
|
||||
elseif GAME_LOCALE == "zhTW" then
|
||||
lib:SetCurrentTranslations {
|
||||
Alliance = "聯盟",
|
||||
["Alliance Vanguard"] = "聯盟先鋒",
|
||||
["Argent Crusade"] = "銀白十字軍",
|
||||
["Argent Dawn"] = "銀色黎明",
|
||||
["Ashtongue Deathsworn"] = "灰舌死亡誓言者",
|
||||
["Bloodsail Buccaneers"] = "血帆海盜",
|
||||
["Booty Bay"] = "藏寶海灣",
|
||||
["Brood of Nozdormu"] = "諾茲多姆的子嗣",
|
||||
["Cenarion Circle"] = "塞納里奧議會",
|
||||
["Cenarion Expedition"] = "塞納里奧遠征隊",
|
||||
["Darkmoon Faire"] = "暗月馬戲團",
|
||||
["Darkspear Trolls"] = "暗矛食人妖",
|
||||
Darnassus = "達納蘇斯",
|
||||
Everlook = "永望鎮",
|
||||
Exalted = "崇拜",
|
||||
Exodar = "艾克索達",
|
||||
["Explorers' League"] = "探險者協會",
|
||||
["Frenzyheart Tribe"] = "狂心部族",
|
||||
Friendly = "友好",
|
||||
["Frostwolf Clan"] = "霜狼氏族",
|
||||
Gadgetzan = "加基森",
|
||||
["Gelkis Clan Centaur"] = "吉爾吉斯半人馬",
|
||||
["Gnomeregan Exiles"] = "諾姆瑞根流亡者",
|
||||
Honored = "尊敬",
|
||||
["Honor Hold"] = "榮譽堡",
|
||||
Horde = "部落",
|
||||
["Horde Expedition"] = "部落遠征軍",
|
||||
["Hydraxian Waterlords"] = "海達希亞水元素",
|
||||
Ironforge = "鐵爐堡",
|
||||
["Keepers of Time"] = "時光守望者",
|
||||
["Kirin Tor"] = "祈倫托",
|
||||
["Knights of the Ebon Blade"] = "黯刃騎士團",
|
||||
Kurenai = "卡爾奈",
|
||||
["Lower City"] = "陰鬱城",
|
||||
["Magram Clan Centaur"] = "瑪格拉姆半人馬",
|
||||
Netherwing = "虛空之翼",
|
||||
Neutral = "中立",
|
||||
["Ogri'la"] = "歐格利拉",
|
||||
Orgrimmar = "奧格瑪",
|
||||
Ratchet = "棘齒城",
|
||||
Ravenholdt = "拉文霍德",
|
||||
Revered = "崇敬",
|
||||
["Sha'tari Skyguard"] = "薩塔禦天者",
|
||||
["Shattered Sun Offensive"] = "破碎之日進攻部隊",
|
||||
["Shen'dralar"] = "辛德拉",
|
||||
["Silvermoon City"] = "銀月城",
|
||||
["Silverwing Sentinels"] = "銀翼哨兵",
|
||||
Sporeggar = "斯博格爾",
|
||||
["Stormpike Guard"] = "雷矛衛隊",
|
||||
Stormwind = "暴風城",
|
||||
Syndicate = "辛迪加",
|
||||
["The Aldor"] = "奧多爾",
|
||||
["The Ashen Verdict"] = "灰燼裁決軍",
|
||||
["The Consortium"] = "聯合團",
|
||||
["The Defilers"] = "污染者",
|
||||
["The Frostborn"] = "霜誕矮人",
|
||||
["The Hand of Vengeance"] = "復仇之手",
|
||||
["The Kalu'ak"] = "卡魯耶克",
|
||||
["The League of Arathor"] = "阿拉索聯軍",
|
||||
["The Mag'har"] = "瑪格哈",
|
||||
["The Oracles"] = "神諭者",
|
||||
["The Scale of the Sands"] = "流沙之鱗",
|
||||
["The Scryers"] = "占卜者",
|
||||
["The Sha'tar"] = "薩塔",
|
||||
["The Silver Covenant"] = "白銀誓盟",
|
||||
["The Sons of Hodir"] = "霍迪爾之子",
|
||||
["The Sunreavers"] = "奪日者",
|
||||
["The Taunka"] = "坦卡族",
|
||||
["The Violet Eye"] = "紫羅蘭之眼",
|
||||
["The Wyrmrest Accord"] = "龍眠協調者",
|
||||
["Thorium Brotherhood"] = "瑟銀兄弟會",
|
||||
Thrallmar = "索爾瑪",
|
||||
["Thunder Bluff"] = "雷霆崖",
|
||||
["Timbermaw Hold"] = "木喉要塞",
|
||||
Tranquillien = "安寧地",
|
||||
Undercity = "幽暗城",
|
||||
["Valiance Expedition"] = "驍勇遠征隊",
|
||||
["Warsong Offensive"] = "戰歌進攻部隊",
|
||||
["Warsong Outriders"] = "戰歌偵察騎兵",
|
||||
["Wildhammer Clan"] = "蠻錘氏族",
|
||||
["Winterfin Retreat"] = "冬鰭避居地",
|
||||
["Wintersaber Trainers"] = "冬刃豹訓練師",
|
||||
["Zandalar Tribe"] = "贊達拉部族",
|
||||
}
|
||||
|
||||
else
|
||||
error(("%s: Locale %q not supported"):format(MAJOR_VERSION, GAME_LOCALE))
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
## Interface: 30300
|
||||
## LoadOnDemand: 1
|
||||
## Title: Lib: Babble-Faction-3.0
|
||||
## Notes: A library to help with localization of factions.
|
||||
## Notes-zhCN: 为本地化服务的支持库[声望阵营]
|
||||
## Notes-zhTW: 為本地化服務的函式庫[聲望陣營]
|
||||
## Notes-deDE: BabbleLib ist eine Bibliothek, die bei der Lokalisierung helfen soll.
|
||||
## Notes-frFR: Une bibliothèque d'aide à la localisation.
|
||||
## Notes-esES: Una biblioteca para ayudar con las localizaciones.
|
||||
## Notes-ruRU: Библиотека для локализации аддонов.
|
||||
## Author: Daviesh
|
||||
## X-eMail: oma_daviesh@hotmail.com
|
||||
## X-Category: Library
|
||||
## X-License: MIT
|
||||
## X-Curse-Packaged-Version: r104
|
||||
## X-Curse-Project-Name: LibBabble-Faction-3.0
|
||||
## X-Curse-Project-ID: libbabble-faction-3-0
|
||||
## X-Curse-Repository-ID: wow/libbabble-faction-3-0/mainline
|
||||
|
||||
LibStub\LibStub.lua
|
||||
lib.xml
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
|
||||
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
|
||||
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
|
||||
local LibStub = _G[LIBSTUB_MAJOR]
|
||||
|
||||
if not LibStub or LibStub.minor < LIBSTUB_MINOR then
|
||||
LibStub = LibStub or {libs = {}, minors = {} }
|
||||
_G[LIBSTUB_MAJOR] = LibStub
|
||||
LibStub.minor = LIBSTUB_MINOR
|
||||
|
||||
function LibStub:NewLibrary(major, minor)
|
||||
assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)")
|
||||
minor = assert(tonumber(strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.")
|
||||
|
||||
local oldminor = self.minors[major]
|
||||
if oldminor and oldminor >= minor then return nil end
|
||||
self.minors[major], self.libs[major] = minor, self.libs[major] or {}
|
||||
return self.libs[major], oldminor
|
||||
end
|
||||
|
||||
function LibStub:GetLibrary(major, silent)
|
||||
if not self.libs[major] and not silent then
|
||||
error(("Cannot find a library instance of %q."):format(tostring(major)), 2)
|
||||
end
|
||||
return self.libs[major], self.minors[major]
|
||||
end
|
||||
|
||||
function LibStub:IterateLibraries() return pairs(self.libs) end
|
||||
setmetatable(LibStub, { __call = LibStub.GetLibrary })
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
<Script file="LibBabble-3.0.lua" />
|
||||
<Script file="LibBabble-Faction-3.0.lua" />
|
||||
</Ui>
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
-- (c) 2007 Nymbia. see LGPLv2.1.txt for full details.
|
||||
--DO NOT MAKE CHANGES TO THIS FILE BEFORE READING THE WIKI PAGE REGARDING CHANGING THESE FILES
|
||||
if not LibStub("LibPeriodicTable-3.1", true) then error("PT3 must be loaded before data") end
|
||||
LibStub("LibPeriodicTable-3.1"):AddData("Reputation", gsub("$Rev: 95 $", "(%d+)", function(n) return n+90000 end), {
|
||||
["Reputation.Reward.Argent Crusade"]="41726:7,42187:8,43154:5,44139:6,44150:7,44214:7,44216:6,44239:6,44240:6,44244:7,44245:7,44247:7,44248:7,44283:8,44295:8,44296:8,44297:8",
|
||||
["Reputation.Reward.Argent Dawn"]="18171:7,18182:8,18169:7,18170:7,18172:7,18173:7,13482:6,13810:7,13813:7,13724:5,19447:7,19446:6,19442:6,19216:6,19217:7,19328:6,19329:7,19203:6,19205:7",
|
||||
["Reputation.Reward.Ashtongue Deathsworn"]="32490:8,32486:8,32488:8,32492:8,32493:8,32487:8,32485:8,32491:8,32489:8,32429:5,32430:5,32431:6,32447:6,32436:5,32435:5,32433:6,32434:6,32438:5,32440:5,32439:6,32437:6,32432:6,32442:5,32444:5,32443:6,32441:6",
|
||||
["Reputation.Reward.Bloodsail Buccaneers"]="22744:4,22745:4,22743:4,22742:4,12185:5",
|
||||
["Reputation.Reward.Brood of Nozdormu"]="21206:4,21196:4,21201:4,21207:5,21197:5,21202:5,21208:6,21198:6,21203:6,21209:7,21199:7,21204:7,21210:8,21200:8,21205:8",
|
||||
["Reputation.Reward.Cenarion Circle"]="22209:5,22768:5,22766:7,22767:6,22214:6,20732:5,20733:6,22769:5,22770:6,22771:7,20382:8,20509:5,20511:7,20510:6,20506:5,20508:7,20507:6,22310:5,22683:7,22312:7,22773:6,22772:5,22774:7",
|
||||
["Reputation.Reward.Cenarion Expedition"]="25869:6,25526:6,29721:8,29720:5,31804:8,31356:8,28271:7,30623:7,31391:7,31392:7,31390:8,31402:8,29172:8,29171:8,29170:8,24183:7,25835:6,25737:5,25736:6,25735:6,25836:6,29173:7,24412:7,25838:6,29174:7,29192:7,29194:6,22918:7,24417:6,24429:5,23618:6,28632:6,22922:8,23814:5",
|
||||
["Reputation.Reward.Darkspear Trolls"]="18788:8,18789:8,18790:8,13317:8,8588:8,8591:8,8592:8",
|
||||
["Reputation.Reward.Darnassus"]="18766:8,18767:8,18902:8,8632:8,8631:8,8629:8",
|
||||
["Reputation.Reward.Exodar"]="29745:8,29743:8,29744:8,29746:8,29747:8,28481:8",
|
||||
["Reputation.Reward.Frenzyheart Tribe"]="41561:5,41723:7,44064:5,44072:5,44073:8,44116:7,44117:7,44118:7,44120:7,44121:7,44122:7,44123:7,44717:7",
|
||||
["Reputation.Reward.Frostwolf Clan"]="17909:9,17908:8,17907:7,17906:6,17905:5,17690:4",
|
||||
["Reputation.Reward.Gnomeregan Exiles"]="18772:8,18773:8,18774:8,8595:8,13321:8,8563:8,13322:8",
|
||||
["Reputation.Reward.Honor Hold"]="23142:5,24180:7,29719:6,29722:8,29153:8,29156:8,29151:8,25825:6,29166:7,29213:5,29214:6,29215:6,29169:7,25826:6,29196:6,29189:7,24008:6,30622:7,24007:5,22531:5,22547:7,23999:8,23619:8,22905:6,25870:6",
|
||||
["Reputation.Reward.Hydraxian Waterlords"]="17333:6,22754:7,18399:6,18398:6",
|
||||
["Reputation.Reward.Ironforge"]="18786:8,18787:8,18785:8,5872:8,5864:8,5873:8",
|
||||
["Reputation.Reward.Keepers of Time"]="25910:6,31355:8,24174:7,24181:7,29183:8,29182:8,29181:8,29185:7,29713:8,29184:7,28272:6,29198:6,29186:7,22536:6,30635:7",
|
||||
["Reputation.Reward.Kirin Tor"]="41718:8,42188:8,43157:5,44141:6,44159:7,44166:6,44167:6,44170:6,44171:6,44173:7,44174:7,44176:7,44179:7,44180:8,44181:8,44182:8,44183:8",
|
||||
["Reputation.Reward.Knights of the Ebon Blade"]="41562:5,41721:7,41725:8,42183:7,43155:5,44138:6,44149:7,44241:6,44242:6,44243:6,44249:7,44250:7,44256:7,44257:7,44258:7,44302:8,44303:8,44305:8,44306:8,44512:6",
|
||||
["Reputation.Reward.Kurenai"]="31774:8,31836:8,31834:8,31832:8,31830:8,29227:8,29228:8,29229:8,29230:8,29231:8,29138:8,29146:7,29140:8,29136:8,29142:7,29217:5,29218:7,29219:6,30443:7,30444:6",
|
||||
["Reputation.Reward.Lower City"]="31778:8,31357:8,22910:7,29199:6,23138:5,24175:7,24179:7,30832:8,30834:8,30830:8,30836:7,30841:7,30835:7,30846:7,30633:7,30833:6",
|
||||
["Reputation.Reward.Netherwing"]="32694:5,32864:7,32695:6,32858:8,32859:8,32857:8,32860:8,32861:8,32862:8",
|
||||
["Reputation.Reward.Ogri'la"]="32651:8,32645:8,32647:8,32648:8,32653:7,32650:7,32654:7,32652:7,32828:8,32783:6,32784:6",
|
||||
["Reputation.Reward.Orgrimmar"]="18796:8,18798:8,18797:8,5668:8,5665:8,1132:8",
|
||||
["Reputation.Reward.Sha'tari Skyguard"]="32771:8,32319:8,32314:8,32316:8,32317:8,32318:8,32770:8,32539:7,32538:7,32722:5,32721:6,32445:8",
|
||||
["Reputation.Reward.Silvermoon City"]="29223:8,28936:8,29224:8,29221:8,29220:8,29222:8,28927:8",
|
||||
["Reputation.Reward.Silverwing Sentinels"]="19506:9",
|
||||
["Reputation.Reward.Sporeggar"]="29150:7,25827:6,25828:6,29149:7,22906:8,22916:7,30156:4,27689:4,25550:6,25548:5",
|
||||
["Reputation.Reward.Stormpike Guard"]="17904:9,17903:8,17902:7,17901:6,17900:5,17691:4",
|
||||
["Reputation.Reward.Stormwind"]="18777:8,18776:8,18778:8,2411:8,5656:8,5655:8,2414:8",
|
||||
["Reputation.Reward.The Aldor"]="30842:5,30843:6,30844:8,31779:8,29123:8,29124:8,29129:6,29130:7,24177:7,29128:7,29127:7,23149:5,23145:6,24292:6,24295:8,29704:6,29703:7,29702:8,29693:6,29691:7,29689:8,25721:7,23601:5,23604:7,23603:6,23602:8,28886:8,28887:8,28888:8,28889:8,28881:6,28878:6,28885:6,28882:6",
|
||||
["Reputation.Reward.The Consortium"]="22535:7,25908:6,25903:7,31776:8,28274:5,23150:6,23146:5,23155:6,23136:5,23134:6,29117:7,29118:6,29457:6,29456:6,24178:7,29122:8,29121:8,29119:8,29115:7,29116:6,25733:6,25732:5,25734:7,24314:6,25902:6",
|
||||
["Reputation.Reward.The Defilers"]="20131:9",
|
||||
["Reputation.Reward.The Kalu'ak"]="41568:5,41574:6,44049:5,44050:8,44051:7,44052:7,44053:7,44054:6,44055:6,44057:6,44058:6,44059:6,44060:6,44061:6,44062:6,44509:7,44511:6,44723:8",
|
||||
["Reputation.Reward.The League of Arathor"]="20132:9",
|
||||
["Reputation.Reward.The Mag'har"]="22917:7,31773:8,31835:8,31833:8,31831:8,31829:8,29102:8,28915:8,29104:8,29105:8,29103:8,29145:7,29139:8,29135:8,29137:8,25741:5,25743:7,25742:6,29147:7,29141:7,29664:6",
|
||||
["Reputation.Reward.The Oracles"]="39878:7,41724:7,41567:5,44065:5,44071:6,44074:8,44104:7,44106:7,44108:7,44109:7,44110:7,44111:7,44112:7",
|
||||
["Reputation.Reward.The Scale of the Sands"]="31737:6,31735:6,22538:7",
|
||||
["Reputation.Reward.The Scryers"]="31780:8,29125:8,29126:8,24176:7,29134:7,29131:7,29132:7,29133:7,23143:6,23133:5,22908:7,29701:6,29700:7,29698:8,29684:7,29682:6,29677:8,24294:8,25722:7,24293:6,23597:5,23598:6,23599:7,23600:8,28909:8,28910:8,28911:8,28912:8,28903:7,28904:7,28907:7,28908:7",
|
||||
["Reputation.Reward.The Sha'tar"]="24182:7,31354:8,25904:5,31781:8,29177:8,29176:8,29175:8,29180:7,30826:6,29717:8,29179:7,28273:6,28281:7,29195:6,29191:7,22915:7,22537:7,13517:7,30634:7",
|
||||
["Reputation.Reward.The Sons of Hodir"]="41720:8,42184:8,43958:7,43961:8,44080:7,44086:8,44129:6,44130:6,44131:6,44132:6,44133:8,44134:8,44135:8,44136:8,44137:6,44189:6,44190:6,44192:7,44193:7,44194:7,44195:7,44510:6",
|
||||
["Reputation.Reward.The Violet Eye"]="31401:6,31395:6,31393:6,29187:6,31394:7,29276:5,29280:5,29284:5,29288:5,29277:6,29281:6,29285:6,29289:6,29278:7,29282:7,29286:7,29291:7,29279:8,29283:8,29287:8,29290:8",
|
||||
["Reputation.Reward.The Wyrmrest Accord"]="41722:8,42185:7,43156:5,43955:8,44140:6,44152:7,44187:6,44188:6,44196:6,44197:6,44198:7,44199:7,44200:7,44201:7,44202:8,44203:8,44204:8,44205:8",
|
||||
["Reputation.Reward.Thorium Brotherhood"]="17051:5,19206:6,17049:6,17053:7,19207:7,17052:7,20040:8,17059:6,17060:6,19208:7,19209:7,19211:8,19212:8,19210:8,19444:5,19448:6,19449:7,17023:5,17022:5,19330:6,17025:6,19333:7,19331:7,17018:5,17017:6,19219:6,19220:7,20761:5",
|
||||
["Reputation.Reward.Thrallmar"]="31362:8,31361:6,31359:5,31358:7,29152:8,29155:8,29165:8,29168:7,29167:7,25824:6,25823:6,25738:5,25739:6,25740:6,29197:6,29190:7,24009:6,30637:7,24000:5,24003:7,24006:5,24004:8,24001:6,29232:6,24004:8",
|
||||
["Reputation.Reward.Thunder Bluff"]="18794:8,18795:8,18793:8,15290:8,15277:8",
|
||||
["Reputation.Reward.Timbermaw Hold"]="13484:5,21326:8,22392:5,19445:6,19218:7,19326:6,19327:7,20253:5,20254:5,19215:6,19202:6,19204:7",
|
||||
["Reputation.Reward.Tranquillien"]="22990:8,22986:7,28155:6,22991:5,28158:6,22992:5,22987:7,22985:7,28162:6,28164:5,22993:5",
|
||||
["Reputation.Reward.Undercity"]="13334:8,18791:8,13332:8,13333:8,13331:8",
|
||||
["Reputation.Reward.Warsong Outriders"]="19505:9",
|
||||
["Reputation.Reward.Wintersaber Trainers"]="13086:8",
|
||||
["Reputation.Reward.Zandalar Tribe"]="20757:5,20756:6,19772:7,19773:6,19766:5,19765:6,19764:7,19771:5,19770:6,19769:7,19776:7,19778:5,19777:6,19779:7,19780:6,19781:5,20012:5,20013:8,20011:7,20014:6,20000:6,20001:5",
|
||||
["Reputation.Reward.Shattered Sun Offensive"]="34675:8,34676:8,34677:8,34680:8,34679:8,34678:8,35753:8,35754:8,35752:8,35755:8,35270:8,35265:8,35245:8,35242:8,35258:8,35267:8,35257:8,35247:8,35221:8,29193:7,34674:7,34666:7,34670:7,34673:7,34671:7,34672:7,34665:7,34667:7,35708:7,35698:7,35699:7,35696:7,35695:7,35697:7,35502:7,35505:7,35271:7,35766:7,35241:7,35259:7,35767:7,35768:7,35769:7,35252:7,34872:6,35500:6,35254:6,35269:6,35268:6,35253:6,35240:6,35239:6,35266:6,35251:6,35238:6,34780:5,35261:5,35250:5,35249:5,35264:5,35263:5,35260:5,35248:5,35262:5,35256:5,35246:5,35255:5,35245:5",
|
||||
|
||||
["Reputation.Turnin.Argent Dawn"]="12840:v50/20,12841:v50/10,12843:v50,12844:v100,22529:v20/30,22525:v20/30,22526:v20/30,22527:v20/30,22528:v20/30",
|
||||
["Reputation.Turnin.Brood of Nozdormu"]="21229:v500,21230:v1000,20384:v1;stop2999",
|
||||
["Reputation.Turnin.Cenarion Circle"]="20404:v50,21229:v100,20513:v50,20514:v500/3,20515:v700/3",
|
||||
["Reputation.Turnin.Cenarion Expedition"]="24401:v25;stop9000,24368:v75",
|
||||
["Reputation.Turnin.Darkspear Trolls"]="14047:v75/20",
|
||||
["Reputation.Turnin.Darnassus"]="14047:v75/20,11040:v75/10",
|
||||
["Reputation.Turnin.Exodar"]="14047:v75/20",
|
||||
["Reputation.Turnin.Gadgetzan"]="8483:v10/5",
|
||||
["Reputation.Turnin.Gnomeregan Exiles"]="14047:v75/20",
|
||||
["Reputation.Turnin.Ironforge"]="14047:v75/20",
|
||||
["Reputation.Turnin.Kurenai"]="25433:v50",
|
||||
["Reputation.Turnin.Lower City"]="25719:v250/30;stop9000",
|
||||
["Reputation.Turnin.Netherwing"]="32427:v25/4,32464:v25/4,32468:v25/4,32470:v250/35,32506:v250,32509:v250/10,32723:v350/15",
|
||||
["Reputation.Turnin.Orgrimmar"]="14047:v75/20",
|
||||
["Reputation.Turnin.Ravenholdt"]="17124:v250;stop3000,16885:v75/5",
|
||||
["Reputation.Turnin.Silvermoon City"]="14047:v75/20",
|
||||
["Reputation.Turnin.Sporeggar"]="24291:v125;stop0,24290:v75;stop0,24245:v75;stop3000,24449:v75,24246:v150",
|
||||
["Reputation.Turnin.Stormwind"]="14047:v75/20",
|
||||
["Reputation.Turnin.The Aldor"]="29425:v25;stop21000,30809:v25,29740:v350,25802:v250/8;stop0",
|
||||
["Reputation.Turnin.The Consortium"]="25416:v25;stop3000,25463:v250/3,25433:v25,29209:v25",
|
||||
["Reputation.Turnin.The Mag'har"]="25433:v50",
|
||||
["Reputation.Turnin.The Scryers"]="29426:v25;stop21000,30810:v25,29739:v350,25744:v250/8;stop0",
|
||||
["Reputation.Turnin.Thorium Brotherhood"]="18945:v25/4,11370:v75/10,17012:v175,17010:v500,17011:v500,11382:v500",
|
||||
["Reputation.Turnin.Thunder Bluff"]="14047:v75/20",
|
||||
["Reputation.Turnin.Timbermaw Hold"]="21383:v30,21377:v30",
|
||||
["Reputation.Turnin.Undercity"]="14047:v75/20",
|
||||
["Reputation.Turnin.Zandalar Tribe"]="19802:v500,19708:v125,19713:v125,19711:v125,19710:v125,19712:v125,19707:v125,19714:v125,19709:v125,19715:v125,19706:v25,19701:v25,19700:v25,19699:v25,19704:v25,19705:v25,19702:v25,19703:v25,19698:v25,19858:v50",
|
||||
})
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
## Interface: 30200
|
||||
## LoadOnDemand: 1
|
||||
## Title: Lib: PeriodicTable-3.1 [|cffeda55fReputation|r]
|
||||
## Notes: PeriodicTable data module.
|
||||
## Author: Nymbia
|
||||
## Version: 3.1
|
||||
## Dependencies: LibPeriodicTable-3.1
|
||||
## X-Category: Library
|
||||
## X-License: LGPL v2.1
|
||||
## X-PeriodicTable-3.1-Module: Reputation
|
||||
## X-Curse-Packaged-Version: r239
|
||||
## X-Curse-Project-Name: LibPeriodicTable-3.1
|
||||
## X-Curse-Project-ID: libperiodictable-3-1
|
||||
## X-Curse-Repository-ID: wow/libperiodictable-3-1/mainline
|
||||
|
||||
LibPeriodicTable-3.1-Reputation.lua
|
||||
Reference in New Issue
Block a user