1
0
Fork 0

Add LFR instances to defaults directly from API for localization reasons.

This commit is contained in:
Andrew Tomaka 2011-12-03 22:42:03 -05:00
parent 53974a8640
commit 4a80527bf5

View file

@ -30,14 +30,20 @@ local defaults = {
[Z['Blackwing Descent']] = { abbreviation = 'BWD', enable = false, removed = false, },
[Z['Throne of the Four Winds']] = { abbreviation = '4W', enable = false, removed = false, },
},
lfrs = {
-- needs localized
['The Siege of Wyrmrest Temple'] = { abbreviation = 'SoWT', enable = true, removed = false, },
['Fall of Deathwing'] = { abbreviation = 'FoD', enable = true, removed = false, },
}
lfrs = {}
},
}
-- Setup LFR Defaults
local RFDungeonCount = GetNumRFDungeons()
for i = 1, RFDungeonCount do
id, instanceName = GetRFDungeonInfo(i)
defaults.profile.lfrs[instanceName] = { enable = true, removed = false, }
defaults.profile.lfrs[instanceName].abbreviation = string.sub(instanceName, 0, 1)
end
local options = {
name = 'ChoreTracker',
type = 'group',