WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/4.2/AloftOptions/AloftThreat
    from Rev 2233 to Rev 2256
    Reverse comparison

Rev 2233 → Rev 2256

AloftThreatLocale.lua
138,6 → 138,9
--[[ enUS ]] bL["Resets the maximum threat threshold color to its default"] = "Resets the maximum threat threshold color to its default"
--[[ enUS ]] bL["Reset Color to Default"] = "Reset Color to Default"
 
--[[ enUS ]] bL["Incremetal"] = "Incremetal"
--[[ enUS ]] bL["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"] = "Update incrementally; workaround for malformed borders, only relevant when borders are enabled"
 
--[[ enUS ]] bL["Advanced"] = "Advanced"
--[[ enUS ]] bL["Options for expert users"] = "Options for expert users"
--[[ enUS ]] bL["<Any tag string>"] = "<Any tag string>"
339,6 → 342,9
--[[ koKR ]] bL["Resets the maximum threat threshold color to its default"] = "Resets the maximum threat threshold color to its default"
--[[ koKR ]] bL["Reset Color to Default"] = "Reset Color to Default"
 
--[[ koKR ]] bL["Incremetal"] = "Incremetal"
--[[ koKR ]] bL["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"] = "Update incrementally; workaround for malformed borders, only relevant when borders are enabled"
 
--[[ koKR ]] bL["Advanced"] = "고급"
--[[ koKR ]] bL["Options for expert users"] = "고급 사용자를 위한 설정"
--[[ koKR ]] bL["<Any tag string>"] = "<태그 문자열>"
534,6 → 540,9
--[[ ruRU ]] bL["Resets the maximum threat threshold color to its default"] = "Сброс цвета максимальной пороговой угрозы в цвет по умолчанию"
--[[ ruRU ]] bL["Reset Color to Default"] = "Сбросить цвет на изначальный"
 
--[[ ruRU ]] bL["Incremetal"] = "Incremetal"
--[[ ruRU ]] bL["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"] = "Update incrementally; workaround for malformed borders, only relevant when borders are enabled"
 
--[[ ruRU ]] bL["Advanced"] = "Дополнительно"
--[[ ruRU ]] bL["Options for expert users"] = "Настройки для опытных пользователей"
--[[ ruRU ]] bL["<Any tag string>"] = "<Любая строка формата>"
727,6 → 736,9
--[[ zhCN ]] bL["Resets the maximum threat threshold color to its default"] = "重置最大仇恨威胁指示的颜色"
--[[ zhCN ]] bL["Reset Color to Default"] = "重置颜色"
 
--[[ zhCN ]] bL["Incremetal"] = "Incremetal"
--[[ zhCN ]] bL["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"] = "Update incrementally; workaround for malformed borders, only relevant when borders are enabled"
 
--[[ zhCN ]] bL["Advanced"] = "高级"
--[[ zhCN ]] bL["Options for expert users"] = "高级设置"
--[[ zhCN ]] bL["<Any tag string>"] = "<任意标签文字>"
922,6 → 934,9
--[[ zhTW ]] bL["Resets the maximum threat threshold color to its default"] = "將最大威脅指示顏色重置"
--[[ zhTW ]] bL["Reset Color to Default"] = "重置顏色"
 
--[[ zhTW ]] bL["Incremetal"] = "Incremetal"
--[[ zhTW ]] bL["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"] = "Update incrementally; workaround for malformed borders, only relevant when borders are enabled"
 
--[[ zhTW ]] bL["Advanced"] = "進階"
--[[ zhTW ]] bL["Options for expert users"] = "進階選項"
--[[ zhTW ]] bL["<Any tag string>"] = "<任何標籤文字>"
AloftThreatBarOptions.lua
42,13 → 42,24
get = function(i) return AloftThreatBar.db.profile.enable end,
set = function(i, v) AloftThreatBar.db.profile.enable = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end,
},
incremental =
{
type = 'toggle',
width = 'full',
name = L["Incremetal"],
desc = L["Update incrementally; workaround for malformed borders, only relevant when borders are enabled"],
order = 2,
disabled = function(i) return not AloftThreatBar.db.profile.enable or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or AloftThreatBar.db.profile.border == "None" end,
get = function(i) return AloftThreatBar.db.profile.incremental end,
set = function(i, v) AloftThreatBar.db.profile.incremental = v end,
},
activeWhileSolo =
{
type = 'toggle',
width = 'full',
name = L["Active While Solo"],
desc = L["Show threat bars on nameplates while solo (for classes with pets and guardians)"],
order = 2,
order = 3,
disabled = function(i) return not AloftThreatBar.db.profile.enable or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) end,
get = function(i) return AloftThreatBar.db.profile.activeWhileSolo end,
set = function(i, v) AloftThreatBar.db.profile.activeWhileSolo = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end,