/branches/4.2/AloftOptions/AloftThreat
--[[ 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>" |
--[[ 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>"] = "<íê·¸ 문ìì´>" |
--[[ 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>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ 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>"] = "<ä»»ææ ç¾æå>" |
--[[ 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>"] = "<ä»»ä½æ¨ç±¤æå>" |
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, |