/branches/option
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Modules"] = "Modules" |
--[[ enUS ]] L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"] = "Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)" |
--[[ enUS ]] L["Regenerate Text Tags"] = "Regenerate Text Tags" |
--[[ enUS ]] L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"] = "Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload" |
--[[ enUS ]] L["Reload UI"] = "Reload UI" |
--[[ enUS ]] L["Reload the user interface to synchronize all modules"] = "Reload the user interface to synchronize all modules" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Modules"] = "Modules" |
--[[ koKR ]] L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"] = "Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)" |
--[[ koKR ]] L["Regenerate Text Tags"] = "Regenerate Text Tags" |
--[[ koKR ]] L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"] = "Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload" |
--[[ koKR ]] L["Reload UI"] = "Reload UI" |
--[[ koKR ]] L["Reload the user interface to synchronize all modules"] = "Reload the user interface to synchronize all modules" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Modules"] = "ÐодÑли" |
--[[ ruRU ]] L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"] = "ÐополниÑелÑнÑе модÑли Aloft (еÑли вклÑÑÐµÐ½Ñ Ð·Ð°Ð³ÑÑжаÑÑÑÑ Ð´Ð¸Ð½Ð¾Ð²Ð¸Ñно; Ð´Ð»Ñ Ð¾ÑклÑÑениÑ, оÑмениÑе вÑÐ±Ð¾Ñ Ð¸ пеÑезагÑÑзиÑе полÑзоваÑелÑÑкий инÑеÑÑейÑ)" |
--[[ ruRU ]] L["Regenerate Text Tags"] = "ÐоÑÑÑанавление ÑекÑÑовÑÑ Ñегов" |
--[[ ruRU ]] L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"] = "ÐÑиÑÑка и воÑÑÑанавление вÑÐµÑ ÑекÑÑовÑÑ Ñегов (Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ Ð¸Ð·Ð±Ð°Ð²Ð¸ÑÑÑÑ Ð¾Ñ Ð¿Ñоблем !!ÐÑибка Ñега!! без пеÑезагÑÑзки полÑзоваÑелÑÑкого инÑеÑÑейÑа" |
--[[ ruRU ]] L["Reload UI"] = "Reload UI" |
--[[ ruRU ]] L["Reload the user interface to synchronize all modules"] = "ÐеÑезагÑÑÐ¶Ð°ÐµÑ Ð¿Ð¾Ð»ÑзоваÑелÑÑкий инÑеÑÑÐµÐ¹Ñ Ð´Ð»Ñ ÑÐ¸Ð½Ñ ÑонизаÑии вÑÐµÑ Ð¼Ð¾Ð´Ñлей" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Modules"] = "模å" |
--[[ zhCN ]] L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"] = "Aloftçé¢å¤æ¨¡åï¼éä¸åå¨æå è½½ï¼åæ¶éæ©åéè½½UIå¸è½½ï¼" |
--[[ zhCN ]] L["Regenerate Text Tags"] = "éæ°çæææ¬æ ç¾" |
--[[ zhCN ]] L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"] = "æ¸ é¤å¹¶éæ°çæææçææ¬æ ç¾ï¼ææ¶å¯ä»¥å¨ä¸è¿è¡éè½½çæ åµä¸è§£å³æ ç¾é误é®é¢ï¼" |
--[[ zhCN ]] L["Reload UI"] = "éè½½çé¢" |
--[[ zhCN ]] L["Reload the user interface to synchronize all modules"] = "éè½½ç¨æ·çé¢ä»¥è¿è¡æ¨¡ååæ¥" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Modules"] = "模çµ" |
--[[ zhTW ]] L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"] = "Aloftçé¡å¤æ¨¡çµï¼é¸ä¸å¾åæ è¼å ¥ï¼åæ¶é¸æå¾éè¼UIå¸è¼ï¼" |
--[[ zhTW ]] L["Regenerate Text Tags"] = "éæ°çæææ¬æ¨ç±¤" |
--[[ zhTW ]] L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"] = "æ¸ é¤ä¸¦éæ°çæææçææ¬æ¨ç±¤ï¼ææå¯ä»¥å¨ä¸é²è¡éè¼çæ æ³ä¸è§£æ±ºæ¨ç±¤é¯èª¤åé¡ï¼" |
--[[ zhTW ]] L["Reload UI"] = "éè¼ä»é¢" |
--[[ zhTW ]] L["Reload the user interface to synchronize all modules"] = "éè¼ä½¿ç¨è ä»é¢ä»¥é²è¡æ¨¡çµåæ¥" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftModules = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules = |
{ |
type = 'group', |
order = 800, |
name = L["Modules"], |
desc = L["Aloft optional modules (loaded dynamically when selected; de-select and reload UI to unload)"], |
disabled = function(i) return not Aloft:IsEnabled() or not Aloft.db or not Aloft.db.profile end, |
args = |
{ |
regentags = |
{ |
type = 'execute', |
width = 'full', |
order = -1, |
name = L["Regenerate Text Tags"], |
desc = L["Clear and regenerate all text tags (may help to clear !!Tag Error!! problems without a full UI reload"], |
func = function(i) AloftModules:Regenerate() end -- TODO: a check for being in combat? |
}, |
reload = |
{ |
type = 'execute', |
width = 'full', |
order = -1, |
name = L["Reload UI"], |
desc = L["Reload the user interface to synchronize all modules"], |
func = function(i) ReloadUI() end -- TODO: a check for being in combat? |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftReportStatusChangesOptions |
if not L then return end |
local AloftReportStatusChanges = Aloft:GetModule("ReportStatus", true) -- always enabled |
if not AloftReportStatusChanges then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.basic.args.reportStatusChanges = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Report Status Changes"], |
desc = L["Prints the status of nameplates whenever they change"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftReportStatusChanges:IsEnabled() or not AloftReportStatusChanges.db or not AloftReportStatusChanges.db.profile end, |
get = function(i) return AloftReportStatusChanges.db.profile.enable end, |
set = function(i, v) AloftReportStatusChanges.db.profile.enable = v AloftReportStatusChanges:HookNameplates() end, |
order = 3, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Report Status Changes"] = "Report Status Changes" |
--[[ enUS ]] L["Prints the status of nameplates whenever they change"] = "Prints the status of nameplates whenever they change" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Report Status Changes"] = "ìí ë³ê²½ ì림" |
--[[ koKR ]] L["Prints the status of nameplates whenever they change"] = "ì´ë¦íì íì ìí ë³ê²½ì ëíì°½ì íìí©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Report Status Changes"] = "СообÑаÑÑ Ð¾Ð± изменении ÑÑаÑÑÑа" |
--[[ ruRU ]] L["Prints the status of nameplates whenever they change"] = "ÐеÑаÑÐ°ÐµÑ ÑÑаÑÑÑ ÑаблиÑек пÑи Ð¸Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ð¸" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Report Status Changes"] = "æ¥åç¶æåå" |
--[[ zhCN ]] L["Prints the status of nameplates whenever they change"] = "æ¥åå§åæ¿çç¶æåå" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Report Status Changes"] = "å ±åçæ è®å" |
--[[ zhTW ]] L["Prints the status of nameplates whenever they change"] = "å ±ååçççæ è®å" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftReportStatusChangesOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftFu = |
{ |
type = 'toggle', |
width = "full", |
name = L["AloftFu"], |
desc = L["Provide a FuBar interface for Aloft"], |
get = function(i) return AloftModules.db.profile.AloftFu end, |
set = function(i, v) AloftModules.db.profile.AloftFu = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] mL["AloftFu"] = "AloftFu" |
--[[ enUS ]] mL["Provide a FuBar interface for Aloft"] = "Provide a FuBar interface for Aloft" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftFu"] = "AloftFu" |
--[[ koKR ]] mL["Provide a FuBar interface for Aloft"] = "Provide a FuBar interface for Aloft" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftFu"] = "AloftFu" |
--[[ ruRU ]] mL["Provide a FuBar interface for Aloft"] = "ÐбеÑпеÑиваÑÑ Ð¸Ð½ÑеÑÑейÑов Aloftа FuBar" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftFu"] = "FuBaræ¯æ" |
--[[ zhCN ]] mL["Provide a FuBar interface for Aloft"] = "为Aloftæä¾Fubaræ¯æ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftFu"] = "FuBaræ¯æ" |
--[[ zhTW ]] mL["Provide a FuBar interface for Aloft"] = "çºAloftæä¾Fubaræ¯æ´" |
----------------------------------------------------------------------------- |
end |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.Aloft |
if not L then return end |
local BL = LOCALIZED_CLASS_NAMES_MALE -- from FrameXML/Constants.lua; TODO: enhance to make these gender-specific? |
if not BL then return end |
local N = L["Aloft"] .. "-" .. Aloft.version |
----------------------------------------------------------------------------- |
-- merge into the existing options table |
Aloft.Options.args.basic = |
{ |
type = 'group', |
-- childGroups = "tab", |
order = 0, |
name = L["Aloft"], |
desc = L["Aloft"], |
disabled = function(i) return not Aloft:IsEnabled() or not Aloft.db or not Aloft.db.profile end, |
args = |
{ |
enableConfigMode = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable Configuration Mode"], |
desc = L["Enable Configuration Mode"], |
get = function(i) return Aloft.db.profile.configMode end, |
set = function(i, v) Aloft.db.profile.configMode = v Aloft:SendMessage("Aloft:OnConfigModeChanged") end, |
order = 1, |
}, |
enableStartMessage = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable Startup Message"], |
desc = L["Enable Startup Message"], |
get = function(i) return Aloft.db.profile.startMessageEnable end, |
set = function(i, v) Aloft.db.profile.startMessageEnable = v end, |
order = 2, |
}, |
--[[ TODO: dead code, delete after testing |
enableBloatTest = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable \"bloattest\""], |
desc = L["Perform \"/console bloattest 1\" at startup"], |
get = function(i) return Aloft.db.profile.enableBloatTest end, |
set = function(i, v) Aloft.db.profile.enableBloatTest = v Aloft:ApplyBloatTest() end, |
order = 2, |
}, |
]] |
interval = |
{ |
type = 'range', |
width = 'full', |
name = L["Nameplate Initialization Interval"], |
desc = L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"], |
order = 7, |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not Aloft:IsEnabled() or not Aloft.db or not Aloft.db.profile end, |
get = function(i) return Aloft.db.profile.interval end, |
set = function(i, v) Aloft.db.profile.interval = v Aloft:InitializeTimer() Aloft:DetermineDataSources() end, |
}, |
classColors = |
{ |
type = 'group', |
name = L["Class Colors"], |
desc = L["Customize class colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not Aloft.db or not Aloft.db.profile end, |
order = 9, |
args = |
{ |
druid = |
{ |
type = 'color', |
width = "full", |
name = BL["DRUID"], |
desc = BL["DRUID"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["DRUID"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["DRUID"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
hunter = |
{ |
type = 'color', |
width = "full", |
name = BL["HUNTER"], |
desc = BL["HUNTER"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["HUNTER"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["HUNTER"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
mage = |
{ |
type = 'color', |
width = "full", |
name = BL["MAGE"], |
desc = BL["MAGE"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["MAGE"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["MAGE"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
paladin = |
{ |
type = 'color', |
width = "full", |
name = BL["PALADIN"], |
desc = BL["PALADIN"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["PALADIN"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["PALADIN"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
priest = |
{ |
type = 'color', |
width = "full", |
name = BL["PRIEST"], |
desc = BL["PRIEST"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["PRIEST"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["PRIEST"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
rogue = |
{ |
type = 'color', |
width = "full", |
name = BL["ROGUE"], |
desc = BL["ROGUE"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["ROGUE"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["ROGUE"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
shaman = |
{ |
type = 'color', |
width = "full", |
name = BL["SHAMAN"], |
desc = BL["SHAMAN"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["SHAMAN"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["SHAMAN"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
warlock = |
{ |
type = 'color', |
width = "full", |
name = BL["WARLOCK"], |
desc = BL["WARLOCK"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["WARLOCK"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["WARLOCK"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
warrior = |
{ |
type = 'color', |
width = "full", |
name = BL["WARRIOR"], |
desc = BL["WARRIOR"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["WARRIOR"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["WARRIOR"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
deathknight = |
{ |
type = 'color', |
width = "full", |
name = BL["DEATHKNIGHT"], |
desc = BL["DEATHKNIGHT"] .. " " .. L["class color"], |
get = function(i) return unpack(Aloft.db.profile.classColors["DEATHKNIGHT"]) end, |
set = function(i, r, g, b) Aloft.db.profile.classColors["DEATHKNIGHT"] = { r, g, b } Aloft:DetermineDataSources() end |
}, |
reset = |
{ |
type = 'execute', |
width = "full", |
name = L["Reset to Defaults"], |
desc = L["Resets all colors to their defaults"], |
order = -1, |
func = function(i) |
local colors = Aloft.db.profile.classColors |
colors["DRUID"] = { RAID_CLASS_COLORS["DRUID"].r, RAID_CLASS_COLORS["DRUID"].g, RAID_CLASS_COLORS["DRUID"].b, } |
colors["HUNTER"] = { RAID_CLASS_COLORS["HUNTER"].r, RAID_CLASS_COLORS["HUNTER"].g, RAID_CLASS_COLORS["HUNTER"].b, } |
colors["MAGE"] = { RAID_CLASS_COLORS["MAGE"].r, RAID_CLASS_COLORS["MAGE"].g, RAID_CLASS_COLORS["MAGE"].b, } |
colors["PALADIN"] = { RAID_CLASS_COLORS["PALADIN"].r, RAID_CLASS_COLORS["PALADIN"].g, RAID_CLASS_COLORS["PALADIN"].b, } |
colors["PRIEST"] = { RAID_CLASS_COLORS["PRIEST"].r, RAID_CLASS_COLORS["PRIEST"].g, RAID_CLASS_COLORS["PRIEST"].b, } |
colors["ROGUE"] = { RAID_CLASS_COLORS["ROGUE"].r, RAID_CLASS_COLORS["ROGUE"].g, RAID_CLASS_COLORS["ROGUE"].b, } |
colors["SHAMAN"] = { RAID_CLASS_COLORS["SHAMAN"].r, RAID_CLASS_COLORS["SHAMAN"].g, RAID_CLASS_COLORS["SHAMAN"].b, } |
colors["WARLOCK"] = { RAID_CLASS_COLORS["WARLOCK"].r, RAID_CLASS_COLORS["WARLOCK"].g, RAID_CLASS_COLORS["WARLOCK"].b, } |
colors["WARRIOR"] = { RAID_CLASS_COLORS["WARRIOR"].r, RAID_CLASS_COLORS["WARRIOR"].g, RAID_CLASS_COLORS["WARRIOR"].b, } |
colors["DEATHKNIGHT"] = { RAID_CLASS_COLORS["DEATHKNIGHT"].r, RAID_CLASS_COLORS["DEATHKNIGHT"].g, RAID_CLASS_COLORS["DEATHKNIGHT"].b, } |
Aloft:DetermineDataSources() |
end, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
-- merge into the existing options table |
Aloft.Options.args.data = |
{ |
type = 'group', |
name = L["Data Options"], |
desc = L["Data options"], |
order = 600, |
disabled = function(i) return not next(Aloft.Options.args.data.args) end, |
args = { }, -- placeholder |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
----------------------------------------------------------------------------- |
-- global on purpose |
AloftOptions = LibStub("AceAddon-3.0"):NewAddon("AloftOptions") |
----------------------------------------------------------------------------- |
local AloftOptions = AloftOptions |
----------------------------------------------------------------------------- |
function AloftOptions:OnInitialize() |
-- all files have been seen and all dynamic code is read, at this point, so make sure the dynamic code is loaded |
-- ChatFrame7:AddMessage("AloftOptions:OnInitialize(): enter") |
AloftModules:Initialize() |
end |
function AloftOptions:OnEnable() |
-- ChatFrame7:AddMessage("AloftOptions:OnEnable(): enter") |
AloftModules:Activate() |
end |
function AloftOptions:OnDisable() |
end |
----------------------------------------------------------------------------- |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.Aloft |
if not L then return end |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Class Colors"] = "Class Colors" |
--[[ enUS ]] L["Customize class colors"] = "Customize class colors" |
--[[ enUS ]] L["class color"] = "class color" |
--[[ enUS ]] L["Reset to Defaults"] = "Reset to Defaults" |
--[[ enUS ]] L["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
--[[ enUS ]] L["Enable Configuration Mode"] = "Enable Configuration Mode" |
--[[ enUS ]] L["Enable Startup Message"] = "Enable Startup Message" |
--[[ enUS ]] L["Enable \"bloattest\""] = "Enable \"bloattest\"" |
--[[ enUS ]] L["Perform \"/console bloattest 1\" at startup"] = "Perform \"/console bloattest 1\" at startup" |
--[[ enUS ]] L["Nameplate Initialization Interval"] = "Nameplate Initialization Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"] = "The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)" |
--[[ enUS ]] L["Data Options"] = "Data Options" |
--[[ enUS ]] L["Data options"] = "Data options" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Enable Configuration Mode"] = "Enable Configuration Mode" |
--[[ koKR ]] L["Enable Startup Message"] = "Enable Startup Message" |
--[[ koKR ]] L["Enable \"bloattest\""] = "Enable \"bloattest\"" |
--[[ koKR ]] L["Perform \"/console bloattest 1\" at startup"] = "Perform \"/console bloattest 1\" at startup" |
--[[ koKR ]] L["Nameplate Initialization Interval"] = "Nameplate Initialization Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"] = "The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)" |
--[[ koKR ]] L["Class Colors"] = "Class Colors" |
--[[ koKR ]] L["Customize class colors"] = "Customize class colors" |
--[[ koKR ]] L["class color"] = "class color" |
--[[ koKR ]] L["Reset to Defaults"] = "기본ê°ì¼ë¡ ì´ê¸°í" |
--[[ koKR ]] L["Resets all colors to their defaults"] = "모ë ììì 기본ê°ì¼ë¡ ì´ê¸°íí©ëë¤." |
--[[ koKR ]] L["Data Options"] = "ë°ì´í° ì¤ì " |
--[[ koKR ]] L["Data options"] = "ë°ì´í°ì ëí ì¤ì ì ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Enable Configuration Mode"] = "Enable Configuration Mode" |
--[[ ruRU ]] L["Enable Startup Message"] = "Enable Startup Message" |
--[[ ruRU ]] L["Enable \"bloattest\""] = "Enable \"bloattest\"" |
--[[ ruRU ]] L["Perform \"/console bloattest 1\" at startup"] = "Perform \"/console bloattest 1\" at startup" |
--[[ ruRU ]] L["Nameplate Initialization Interval"] = "Nameplate Initialization Interval" |
--[[ ruRU ]] L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"] = "The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)" |
--[[ ruRU ]] L["Class Colors"] = "ÐкÑаÑка клаÑÑов" |
--[[ ruRU ]] L["Customize class colors"] = "ÐаÑÑÑаиваÑÑ Ð¾ÐºÑаÑки клаÑÑов" |
--[[ ruRU ]] L["class color"] = "class color" |
--[[ ruRU ]] L["Reset to Defaults"] = "СбÑÐ¾Ñ Ð² наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] L["Resets all colors to their defaults"] = "СбÑаÑÑÐ²Ð°ÐµÑ Ð²Ñе ÑвеÑа в наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] L["Data Options"] = "ÐаÑÑÑойка даннÑÑ " |
--[[ ruRU ]] L["Data options"] = "ÐаÑÑÑойка даннÑÑ " |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Enable Configuration Mode"] = "Enable Configuration Mode" |
--[[ zhCN ]] L["Enable Startup Message"] = "Enable Startup Message" |
--[[ zhCN ]] L["Enable \"bloattest\""] = "Enable \"bloattest\"" |
--[[ zhCN ]] L["Perform \"/console bloattest 1\" at startup"] = "Perform \"/console bloattest 1\" at startup" |
--[[ zhCN ]] L["Nameplate Initialization Interval"] = "Nameplate Initialization Interval" |
--[[ zhCN ]] L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"] = "The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)" |
--[[ zhCN ]] L["Class Colors"] = "èä¸é¢è²" |
--[[ zhCN ]] L["Customize class colors"] = "èªå®ä¹èä¸é¢è²" |
--[[ zhCN ]] L["class color"] = "èä¸é¢è²" |
--[[ zhCN ]] L["Reset to Defaults"] = "é置为é»è®¤" |
--[[ zhCN ]] L["Resets all colors to their defaults"] = "å°å ¨é¨é¢è²è®¾å®é置为é»è®¤" |
--[[ zhCN ]] L["Data Options"] = "æ°æ®é项" |
--[[ zhCN ]] L["Data options"] = "æ°æ®é项" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Aloft"] = "Aloft" |
--[[ zhTW ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ zhTW ]] L["Enable Configuration Mode"] = "Enable Configuration Mode" |
--[[ zhTW ]] L["Enable Startup Message"] = "Enable Startup Message" |
--[[ zhTW ]] L["Enable \"bloattest\""] = "Enable \"bloattest\"" |
--[[ zhTW ]] L["Perform \"/console bloattest 1\" at startup"] = "Perform \"/console bloattest 1\" at startup" |
--[[ zhTW ]] L["Nameplate Initialization Interval"] = "Nameplate Initialization Interval" |
--[[ zhTW ]] L["The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)"] = "The amount of time, in seconds, between proactive attempts to detect nameplates that are not yet visible (0.0 is as fast as possible; CAREFUL!)" |
--[[ zhTW ]] L["Class Colors"] = "è·æ¥é¡è²" |
--[[ zhTW ]] L["Customize class colors"] = "èªå®ç¾©è·æ¥é¡è²" |
--[[ zhTW ]] L["class color"] = "è·æ¥é¡è²" |
--[[ zhTW ]] L["Reset to Defaults"] = "éè¨åé è¨å¼" |
--[[ zhTW ]] L["Resets all colors to their defaults"] = "éè¨å ¨é¨é¡è²åé è¨å¼" |
--[[ zhTW ]] L["Data Options"] = "è³æé¸é " |
--[[ zhTW ]] L["Data options"] = "è³æé¸é " |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.Aloft = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] L["Boss Icon"] = "Boss Icon" |
--[[ enUS ]] L["Boss icon placement options"] = "Boss icon placement options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable boss icon display on the nameplate"] = "Enable boss icon display on the nameplate" |
--[[ enUS ]] L["Size"] = "Size" |
--[[ enUS ]] L["Size in pixels of the boss icon"] = "Size in pixels of the boss icon" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust boss icon position"] = "Adjust boss icon position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the boss icon"] = "X offset of the boss icon" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the boss icon"] = "Y offset of the boss icon" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the boss icon"] = "Sets the anchor for the boss icon" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the boss icon"] = "Sets the relative point on the health bar to anchor the boss icon" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the boss icon alpha"] = "Sets the boss icon alpha" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Boss Icon"] = "ë³´ì¤ ìì´ì½" |
--[[ koKR ]] L["Boss icon placement options"] = "ë³´ì¤ ìì´ì½ ë°°ì¹ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable boss icon display on the nameplate"] = "ì´ë¦íì ë³´ì¤ ìì´ì½ì íìí©ëë¤." |
--[[ koKR ]] L["Size"] = "í¬ê¸°" |
--[[ koKR ]] L["Size in pixels of the boss icon"] = "ë³´ì¤ ìì´ì½ì í¬ê¸°ì ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust boss icon position"] = "ë³´ì¤ ìì´ì½ ìì¹ ì¡°ì " |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the boss icon"] = "ë³´ì¤ ìì´ì½ì X ì¢í ì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the boss icon"] = "ë³´ì¤ ìì´ì½ì Y ì¢í ì ëë¤." |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the boss icon"] = "ë³´ì¤ ìì´ì½ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the boss icon"] = "ìëª ë ¥ë°ìì ë³´ì¤ ìì´ì½ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the boss icon alpha"] = "ë³´ì¤ ìì´ì½ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Boss Icon"] = "Ðконка боÑÑа" |
--[[ ruRU ]] L["Boss icon placement options"] = "ÐаÑÑÑокий Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¸ÐºÐ¾Ð½ÐºÐ¸ боÑÑа" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable boss icon display on the nameplate"] = "ÐклÑÑиÑÑ Ð¾ÑобÑажение знаÑка боÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Size"] = "РазмеÑ" |
--[[ ruRU ]] L["Size in pixels of the boss icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ð·Ð½Ð°Ñка боÑÑа в пикÑелÑÑ " |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust boss icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо иконки боÑÑа" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the boss icon"] = "СмеÑение знаÑка боÑÑа по X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the boss icon"] = "СмеÑение знаÑка боÑÑа по Y" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the boss icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление знаÑка боÑÑа" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the boss icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка боÑÑа оÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the boss icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð·Ð½Ð°Ñка боÑÑа" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Boss Icon"] = "é¦é¢å¾æ " |
--[[ zhCN ]] L["Boss icon placement options"] = "é¦é¢å¾æ ä½ç½®ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable boss icon display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºé¦é¢å¾æ " |
--[[ zhCN ]] L["Size"] = "尺寸" |
--[[ zhCN ]] L["Size in pixels of the boss icon"] = "é¦é¢å¾æ çåç´ å°ºå¯¸" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust boss icon position"] = "è°æ´é¦é¢å¾æ çä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the boss icon"] = "é¦é¢å¾æ çXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the boss icon"] = "é¦é¢å¾æ çYè½´å移é" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the boss icon"] = "设å®é¦é¢å¾æ çéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the boss icon"] = "设å®é¦é¢å¾æ åºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the boss icon alpha"] = "设å®é¦é¢å¾æ çéæ度" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Boss Icon"] = "é¦é å示" |
--[[ zhTW ]] L["Boss icon placement options"] = "é¦é å示ä½å±é¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable boss icon display on the nameplate"] = "å¨åç顯示é¦é å示" |
--[[ zhTW ]] L["Size"] = "大å°" |
--[[ zhTW ]] L["Size in pixels of the boss icon"] = "é¦é å示大å°" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust boss icon position"] = "é¦é å示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the boss icon"] = "é¦é å示Xä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the boss icon"] = "é¦é å示Yä½ç§»" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the boss icon"] = "é¦é å示å®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the boss icon"] = "é¦é å示åºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the boss icon alpha"] = "é¦é å示éæ度" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftBossIconOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftBossIconOptions |
if not L then return end |
local AloftBossIcon = Aloft:GetModule("BossIcon", true) -- always enabled |
if not AloftBossIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.bossIcon = |
{ |
type = 'group', |
name = L["Boss Icon"], |
desc = L["Boss icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftBossIcon:IsEnabled() or not AloftBossIcon.db or not AloftBossIcon.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable boss icon display on the nameplate"], |
get = function(i) return AloftBossIcon.db.profile.enable end, |
set = function(i, v) AloftBossIcon.db.profile.enable = v AloftBossIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust boss icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftBossIcon:IsEnabled() or not AloftBossIcon.db or not AloftBossIcon.db.profile or not AloftBossIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the boss icon"], |
get = function(i) return AloftBossIcon.db.profile.point end, |
set = function(i, v) AloftBossIcon.db.profile.point = v AloftBossIcon:UpdateAll() end, |
values = { ["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"] }, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the boss icon"], |
get = function(i) return AloftBossIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftBossIcon.db.profile.relativeToPoint = v AloftBossIcon:UpdateAll() end, |
values = { ["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"] }, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the boss icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftBossIcon.db.profile.offsetX end, |
set = function(i, v) AloftBossIcon.db.profile.offsetX = v AloftBossIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the boss icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftBossIcon.db.profile.offsetY end, |
set = function(i, v) AloftBossIcon.db.profile.offsetY = v AloftBossIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the boss icon"], |
min = 4, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftBossIcon.db.profile.enable end, |
get = function(i) return AloftBossIcon.db.profile.size end, |
set = function(i, v) AloftBossIcon.db.profile.size = v AloftBossIcon:UpdateAll() end |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the boss icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftBossIcon.db.profile.enable end, |
get = function(i) return AloftBossIcon.db.profile.alpha end, |
set = function(i, v) AloftBossIcon.db.profile.alpha = v AloftBossIcon:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
if not Aloft:GetModule("StackedPointsText", true) then return end |
if not AloftLocale or not AloftLocale.AloftStackedPointsTextOptions then return end |
----------------------------------------------------------------------------- |
local AloftStackedPointsText = Aloft:GetModule("StackedPointsText") |
local L = AloftLocale.AloftStackedPointsTextOptions |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.stackedPointsText = |
{ |
type = 'group', |
name = L["Stacked Points Text"], |
desc = L["Stacked points (combo point/lacerate/sunder) text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStackedPointsText:IsEnabled() or not AloftStackedPointsText.db or not AloftStackedPointsText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show stacked points text"], |
get = function(i) return AloftStackedPointsText.db.profile.enable end, |
set = function(i, v) AloftStackedPointsText.db.profile.enable = v AloftStackedPointsText:Update() end, |
order = 1 |
}, |
interval = |
{ |
type = 'range', |
width = 'full', |
name = L["Stacked Points Update Interval"], |
desc = L["The amount of time, in seconds, between updates (0.0 is as fast as possible"], |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not AloftStackedPointsText.db.profile.enable end, |
get = function(i) return AloftStackedPointsText.db.profile.interval end, |
set = function(i, v) AloftStackedPointsText.db.profile.interval = v AloftStackedPointsText:Update() end, |
order = 2, |
}, |
color = |
{ |
type = 'group', |
name = L["Color"], |
desc = L["Sets the stacked points text color"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStackedPointsText:IsEnabled() or not AloftStackedPointsText.db or not AloftStackedPointsText.db.profile or not AloftStackedPointsText.db.profile.enable end, |
args = |
{ |
maxColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Max Color"], |
desc = L["Sets the stacked points text color (maximum debuff time left)"], |
get = function(i) return unpack(AloftStackedPointsText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftStackedPointsText.db.profile.color = { r, g, b, a } AloftStackedPointsText:Update() end, |
hasAlpha = true |
}, |
minColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Min Color"], |
desc = L["Sets the stacked points text color (minimum debuff time left)"], |
order = 3, |
get = function(i) return unpack(AloftStackedPointsText.db.profile.minColor) end, |
set = function(i, r, g, b, a) AloftStackedPointsText.db.profile.minColor = { r, g, b, a } AloftStackedPointsText:Update() end, |
hasAlpha = true |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust stacked points text position"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStackedPointsText:IsEnabled() or not AloftStackedPointsText.db or not AloftStackedPointsText.db.profile or not AloftStackedPointsText.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the stacked points text"], |
get = function(i) return AloftStackedPointsText.db.profile.point end, |
set = function(i, v) AloftStackedPointsText.db.profile.point = v AloftStackedPointsText:Update() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the stacked points text"], |
get = function(i) return AloftStackedPointsText.db.profile.relativeToPoint end, |
set = function(i, v) AloftStackedPointsText.db.profile.relativeToPoint = v AloftStackedPointsText:Update() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the stacked points text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftStackedPointsText.db.profile.offsetX end, |
set = function(i, v) AloftStackedPointsText.db.profile.offsetX = v AloftStackedPointsText:Update() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the stacked points text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftStackedPointsText.db.profile.offsetY end, |
set = function(i, v) AloftStackedPointsText.db.profile.offsetY = v AloftStackedPointsText:Update() end |
}, |
}, |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Stacked points text typeface options"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStackedPointsText:IsEnabled() or not AloftStackedPointsText.db or not AloftStackedPointsText.db.profile or not AloftStackedPointsText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for stacked points text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.stackedPointsText.args.typeface.args.font.values) do |
if v == AloftStackedPointsText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftStackedPointsText.db.profile.font = Aloft.Options.args.stackedPointsText.args.typeface.args.font.values[v] |
AloftStackedPointsText:Update() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the stacked points text"], |
max = 40, |
min = 5, |
step = 1, |
get = function(i) return AloftStackedPointsText.db.profile.fontSize end, |
set = function(i, value) AloftStackedPointsText.db.profile.fontSize = value AloftStackedPointsText:Update() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on stacked points text"], |
get = function(i) return AloftStackedPointsText.db.profile.shadow end, |
set = function(i, v) AloftStackedPointsText.db.profile.shadow = v AloftStackedPointsText:Update() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for stacked points text"], |
get = function(i) return AloftStackedPointsText.db.profile.outline end, |
set = function(i, value) AloftStackedPointsText.db.profile.outline = value AloftStackedPointsText:Update() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
if not AloftLocale or not AloftLocale.AloftModules then return end |
----------------------------------------------------------------------------- |
local L = { } |
local mL = AloftLocale.AloftModules |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
-- TODO: on the surface, this wastes space in the enUS locale; the metatable could just return the canonical string as the localization; |
-- BUT, this serves as a default locale, and also will permit the metatable to check/notify on missing locale strings |
--[[ enUS ]] L["Stacked Points Text"] = "Stacked Points Text" |
--[[ enUS ]] L["Stacked points (combo point/lacerate/sunder) text options"] = "Stacked points (combo point/lacerate/sunder) text options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Show stacked points text"] = "Show stacked points text" |
--[[ enUS ]] L["Stacked Points Update Interval"] = "Stacked Points Update Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between updates (0.0 is as fast as possible"] = "The amount of time, in seconds, between updates (0.0 is as fast as possible" |
--[[ enUS ]] L["Typeface"] = "Typeface" |
--[[ enUS ]] L["Stacked points text typeface options"] = "Stacked points text typeface options" |
--[[ enUS ]] L["Font"] = "Font" |
--[[ enUS ]] L["Sets the font for stacked points text"] = "Sets the font for stacked points text" |
--[[ enUS ]] L["Font Size"] = "Font Size" |
--[[ enUS ]] L["Sets the font height of the stacked points text"] = "Sets the font height of the stacked points text" |
--[[ enUS ]] L["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] L["Show font shadow on stacked points text"] = "Show font shadow on stacked points text" |
--[[ enUS ]] L["Outline"] = "Outline" |
--[[ enUS ]] L["Sets the font outline for stacked points text"] = "Sets the font outline for stacked points text" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust stacked points text position"] = "Adjust stacked points text position" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the stacked points text"] = "Sets the anchor for the stacked points text" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the stacked points text"] = "Sets the relative point on the health bar to anchor the stacked points text" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the stacked points text"] = "X offset of the stacked points text" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the stacked points text"] = "Y offset of the stacked points text" |
--[[ enUS ]] L["Color"] = "Color" |
--[[ enUS ]] L["Sets the stacked points text color"] = "Sets the stacked points text color" |
--[[ enUS ]] L["Max Color"] = "Max Color" |
--[[ enUS ]] L["Sets the stacked points text color (maximum debuff time left)"] = "Sets the stacked points text color (maximum debuff time left)" |
--[[ enUS ]] L["Min Color"] = "Min Color" |
--[[ enUS ]] L["Sets the stacked points text color (minimum debuff time left)"] = "Sets the stacked points text color (minimum debuff time left)" |
--[[ enUS ]] L["None"] = "None" |
--[[ enUS ]] L["Normal"] = "Normal" |
--[[ enUS ]] L["Thick"] = "Thick" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftStackedPointsText"] = "AloftStackedPointsText" |
--[[ enUS ]] mL["Display stacked points (combo point/lacerate/sunder counts) on nameplates"] = "Display stacked points (combo point/lacerate/sunder counts) on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Stacked Points Text"] = "Stacked Points Text" |
--[[ koKR ]] L["Stacked points (combo point/lacerate/sunder) text options"] = "Stacked points (stacked/lacerate/sunder) text options" |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Show stacked points text"] = "Show stacked points text" |
--[[ koKR ]] L["Stacked Points Update Interval"] = "Stacked Points Update Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between updates (0.0 is as fast as possible"] = "The amount of time, in seconds, between updates (0.0 is as fast as possible" |
--[[ koKR ]] L["Font"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for stacked points text"] = "Sets the font for stacked points text" |
--[[ koKR ]] L["Typeface"] = "ìì²´" |
--[[ koKR ]] L["Stacked points text typeface options"] = "Stacked points text typeface options" |
--[[ koKR ]] L["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the font height of the stacked points text"] = "Sets the font height of the stacked points text" |
--[[ koKR ]] L["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] L["Show font shadow on stacked points text"] = "Show font shadow on stacked points text" |
--[[ koKR ]] L["Outline"] = "í ë리" |
--[[ koKR ]] L["Sets the font outline for stacked points text"] = "Sets the font outline for stacked points text" |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust stacked points text position"] = "Adjust stacked points text position" |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the stacked points text"] = "Sets the anchor for the stacked points text" |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the stacked points text"] = "Sets the relative point on the health bar to anchor the stacked points text" |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the stacked points text"] = "X offset of the stacked points text" |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the stacked points text"] = "Y offset of the stacked points text" |
--[[ koKR ]] L["Color"] = "ìì" |
--[[ koKR ]] L["Sets the stacked points text color"] = "Sets the stacked points text color" |
--[[ koKR ]] L["Max Color"] = "Max Color" |
--[[ koKR ]] L["Sets the stacked points text color (maximum debuff time left)"] = "Sets the stacked points text color (maximum debuff time left)" |
--[[ koKR ]] L["Min Color"] = "Min Color" |
--[[ koKR ]] L["Sets the stacked points text color (minimum debuff time left)"] = "Sets the stacked points text color (minimum debuff time left)" |
--[[ koKR ]] L["None"] = "ìì" |
--[[ koKR ]] L["Normal"] = "기본" |
--[[ koKR ]] L["Thick"] = "êµµê²" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftStackedPointsText"] = "AloftStackedPointsText" |
--[[ koKR ]] mL["Display stacked points (combo point/lacerate/sunder counts) on nameplates"] = "Display stacked points (combo point/lacerate/sunder counts) on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Stacked Points Text"] = "ТекÑÑ ÑÑаков" |
--[[ ruRU ]] L["Stacked points (combo point/lacerate/sunder) text options"] = "ÐаÑÑÑойки ÑекÑÑа ÑÑаков (ÑÑаки/ÑаÑÑеÑзаниÑ/ÑаÑкол)" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Show stacked points text"] = "ÐоказÑваÑÑ ÑекÑÑ ÑÑаков" |
--[[ ruRU ]] L["Stacked Points Update Interval"] = "СкоÑоÑÑÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ ÑÑаков" |
--[[ ruRU ]] L["The amount of time, in seconds, between updates (0.0 is as fast as possible"] = "ÐнаÑение вÑемени в ÑекÑÐ½Ð´Ð°Ñ , Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñми (0.0 макÑималÑÐ½Ð°Ñ ÑкоÑоÑÑÑ" |
--[[ ruRU ]] L["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Sets the font for stacked points text"] = "УÑÑановка ÑÑиÑÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Stacked points text typeface options"] = "ÐаÑÑÑойка ÑÑиÑÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the font height of the stacked points text"] = "УÑÑановка ÑазмеÑа ÑÑиÑÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] L["Show font shadow on stacked points text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ ÑÑиÑÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] L["Sets the font outline for stacked points text"] = "УÑÑановка конÑÑÑа ÑÑиÑÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust stacked points text position"] = "РегÑлиÑовка ÑаÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the stacked points text"] = "УÑÑановка ÑоÑки пÑикÑеплениÑÑ ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the stacked points text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð¾ÑноÑиÑелÑно ÑекÑÑÑ ÑÑаков" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the stacked points text"] = "СмеÑение ÑекÑÑа ÑÑаков по X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the stacked points text"] = "СмеÑение ÑекÑÑа ÑÑаков по Y" |
--[[ ruRU ]] L["Color"] = "ЦвеÑ" |
--[[ ruRU ]] L["Sets the stacked points text color"] = "УÑÑановка ÑвеÑа ÑекÑÑа ÑÑаков" |
--[[ ruRU ]] L["Max Color"] = "Ð¦Ð²ÐµÑ Ð¼Ð°ÐºÑ" |
--[[ ruRU ]] L["Sets the stacked points text color (maximum debuff time left)"] = "УÑÑановка ÑвеÑа ÑекÑÑа ÑÑаков (макÑималÑнÑй оÑÑаÑок вÑемени дебаÑÑа)" |
--[[ ruRU ]] L["Min Color"] = "Ð¦Ð²ÐµÑ Ð¼Ð¸Ð½" |
--[[ ruRU ]] L["Sets the stacked points text color (minimum debuff time left)"] = "УÑÑановка ÑвеÑа ÑекÑÑа ÑÑаков (минималÑнÑй оÑÑаÑок вÑемени дебаÑÑа)" |
--[[ ruRU ]] L["None"] = "ÐеÑ" |
--[[ ruRU ]] L["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] L["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftStackedPointsText"] = "AloftStackedPointsText" |
--[[ ruRU ]] mL["Display stacked points (combo point/lacerate/sunder counts) on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑÑаки (знаÑение пÑиÑмов в ÑеÑии/ÑаÑÑеÑзаÑÑ/ÑаÑкол бÑони)" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Stacked Points Text"] = "è¿å»ç¹æ示æå" |
--[[ zhCN ]] L["Stacked points (combo point/lacerate/sunder) text options"] = "累积ç¹æ°ï¼å å /å²è£/ç ´ç²è®¡æ°ï¼ææ¬é项" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Show stacked points text"] = "æ¾ç¤ºç´¯ç§¯ç¹æ°ææ¬" |
--[[ zhCN ]] L["Stacked Points Update Interval"] = "累积ç¹æ°æ´æ°é¢ç" |
--[[ zhCN ]] L["The amount of time, in seconds, between updates (0.0 is as fast as possible"] = "æ´æ°é度ï¼åä½ä¸ºç§ï¼0.0为æå¿«ï¼" |
--[[ zhCN ]] L["Font"] = "åä½" |
--[[ zhCN ]] L["Sets the font for stacked points text"] = "设置累积ç¹æ°çææ¬" |
--[[ zhCN ]] L["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] L["Stacked points text typeface options"] = "累积ç¹æ°ææ¬æ ·å¼é项" |
--[[ zhCN ]] L["Font Size"] = "åå·" |
--[[ zhCN ]] L["Sets the font height of the stacked points text"] = "设置累积ç¹æ°ææ¬å¤§å°" |
--[[ zhCN ]] L["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] L["Show font shadow on stacked points text"] = "累积ç¹æ°ææ¬æ¾ç¤ºé´å½±" |
--[[ zhCN ]] L["Outline"] = "è½®å»" |
--[[ zhCN ]] L["Sets the font outline for stacked points text"] = "累积ç¹æ°ææ¬ä½¿ç¨æè¾¹" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust stacked points text position"] = "è°æ´ç´¯ç§¯ç¹æ°ææ¬ä½ç½®" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the stacked points text"] = "设置累积ç¹æ°ææ¬éç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the stacked points text"] = "设置å°ç´¯ç§¯ç¹æ°éçå°çå½æ¡çåªä¸ªä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the stacked points text"] = "累积ç¹æ°æ°´å¹³å移" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the stacked points text"] = "累积ç¹æ°åç´å移" |
--[[ zhCN ]] L["Color"] = "é¢è²" |
--[[ zhCN ]] L["Sets the stacked points text color"] = "累积ç¹æ°ææ¬é¢è²" |
--[[ zhCN ]] L["Max Color"] = "æ大å¼é¢è²" |
--[[ zhCN ]] L["Sets the stacked points text color (maximum debuff time left)"] = "累积ç¹æ°ææ¬çé¢è²ï¼æ大debuffæ¶é´å©ä½ï¼" |
--[[ zhCN ]] L["Min Color"] = "æå°å¼é¢è²" |
--[[ zhCN ]] L["Sets the stacked points text color (minimum debuff time left)"] = "累积ç¹æ°ææ¬çé¢è²ï¼æå°debuffæ¶é´å©ä½ï¼" |
--[[ zhCN ]] L["None"] = "æ " |
--[[ zhCN ]] L["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] L["Thick"] = "ç²" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftStackedPointsText"] = "累积ç¹æ°ææ¬" |
--[[ zhCN ]] mL["Display stacked points (combo point/lacerate/sunder counts) on nameplates"] = "æ¾ç¤ºç´¯ç§¯ç¹æ°ï¼è¿å»ç¹/å²è£/ç ´ç²å±æ°ï¼" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Stacked Points Text"] = "é£æé»æ示æå" |
--[[ zhTW ]] L["Stacked points (combo point/lacerate/sunder) text options"] = "ç´¯ç©é»æ¸ï¼çå /å²è£/ç ´ç²è¨æ¸ï¼ææ¬é¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Show stacked points text"] = "顯示累ç©é»æ¸ææ¬" |
--[[ zhTW ]] L["Stacked Points Update Interval"] = "ç´¯ç©é»æ¸æ´æ°é »ç" |
--[[ zhTW ]] L["The amount of time, in seconds, between updates (0.0 is as fast as possible"] = "æ´æ°é度ï¼å®ä½çºç§ï¼0.0çºæå¿«ï¼" |
--[[ zhTW ]] L["Font"] = "åé«" |
--[[ zhTW ]] L["Sets the font for stacked points text"] = "è¨ç½®ç´¯ç©é»æ¸çææ¬" |
--[[ zhTW ]] L["Typeface"] = "å¼æ¨£" |
--[[ zhTW ]] L["Stacked points text typeface options"] = "ç´¯ç©é»æ¸ææ¬æ¨£å¼é¸é " |
--[[ zhTW ]] L["Font Size"] = "åå大å°" |
--[[ zhTW ]] L["Sets the font height of the stacked points text"] = "è¨ç½®ç´¯ç©é»æ¸ææ¬å¤§å°" |
--[[ zhTW ]] L["Font Shadow"] = "åé«é°å½±" |
--[[ zhTW ]] L["Show font shadow on stacked points text"] = "ç´¯ç©é»æ¸ææ¬é¡¯ç¤ºé°å½±" |
--[[ zhTW ]] L["Outline"] = "輪å»" |
--[[ zhTW ]] L["Sets the font outline for stacked points text"] = "ç´¯ç©é»æ¸ææ¬ä½¿ç¨æé" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust stacked points text position"] = "調æ´ç´¯ç©é»æ¸ææ¬ä½ç½®" |
--[[ zhTW ]] L["Anchor"] = "é¨é»" |
--[[ zhTW ]] L["Sets the anchor for the stacked points text"] = "è¨ç½®ç´¯ç©é»æ¸ææ¬é¨é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the stacked points text"] = "è¨ç½®å°ç´¯ç©é»æ¸éèå°çå½æ¢çåªåä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "X軸å移" |
--[[ zhTW ]] L["X offset of the stacked points text"] = "ç´¯ç©é»æ¸æ°´å¹³å移" |
--[[ zhTW ]] L["Y Offset"] = "Y軸å移" |
--[[ zhTW ]] L["Y offset of the stacked points text"] = "ç´¯ç©é»æ¸åç´å移" |
--[[ zhTW ]] L["Color"] = "é¡è²" |
--[[ zhTW ]] L["Sets the stacked points text color"] = "ç´¯ç©é»æ¸ææ¬é¡è²" |
--[[ zhTW ]] L["Max Color"] = "æ大å¼é¡è²" |
--[[ zhTW ]] L["Sets the stacked points text color (maximum debuff time left)"] = "ç´¯ç©é»æ¸ææ¬çé¡è²ï¼æ大debuffæéå©é¤ï¼" |
--[[ zhTW ]] L["Min Color"] = "æå°å¼é¡è²" |
--[[ zhTW ]] L["Sets the stacked points text color (minimum debuff time left)"] = "ç´¯ç©é»æ¸ææ¬çé¡è²ï¼æå°debuffæéå©é¤ï¼" |
--[[ zhTW ]] L["None"] = "ç¡" |
--[[ zhTW ]] L["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] L["Thick"] = "ç²" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftStackedPointsText"] = "ç´¯ç©é»æ¸ææ¬" |
--[[ zhTW ]] mL["Display stacked points (combo point/lacerate/sunder counts) on nameplates"] = "顯示累ç©é»æ¸ï¼é£æé»/å²è£/ç ´ç²å±¤æ¸ï¼" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftStackedPointsText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftStackedPointsTextOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
if not AloftLocale or not AloftLocale.AloftModules then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
Aloft.Options.args.modules.args.aloftStackedPointsText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftStackedPointsText"], |
desc = L["Display stacked points (combo point/lacerate/sunder counts) on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftStackedPointsText end, |
set = function(i, v) AloftModules.db.profile.AloftStackedPointsText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Pet Owner's Names"] = "Pet Owner's Names" |
--[[ enUS ]] tL["Select how to show pet owner's names"] = "Select how to show pet owner's names" |
--[[ enUS ]] tL["NONE"] = "None" |
--[[ enUS ]] tL["HYPHEN"] = "Pet - Owner" |
--[[ enUS ]] tL["SLASH"] = "Pet / Owner" |
--[[ enUS ]] tL["BRACKET"] = "Pet (Owner)" |
--[[ enUS ]] tL["COLON"] = "Pet : Owner" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftPetOwnersName"] = "AloftPetOwnersName" |
--[[ enUS ]] mL["Gather and display pet owner's names on nameplates"] = "Gather and display pet owner's names on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Pet Owner's Names"] = "ìíì ìì ìëª " |
--[[ koKR ]] tL["Select how to show pet owner's names"] = "ìì¬ì ìì ìëª ì íì ë°©ë²ì ì íí©ëë¤." |
--[[ koKR ]] tL["NONE"] = "ìì" |
--[[ koKR ]] tL["HYPHEN"] = "ìíì - ìì ì" |
--[[ koKR ]] tL["SLASH"] = "ìíì / ìì ì" |
--[[ koKR ]] tL["BRACKET"] = "ìíì (ìì ì)" |
--[[ koKR ]] tL["COLON"] = "ìíì : ìì ì" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftPetOwnersName"] = "AloftPetOwnersName" |
--[[ koKR ]] mL["Gather and display pet owner's names on nameplates"] = "Gather and display pet owner's names on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Select how to show pet owner's names"] = "ÐÑбÑаÑÑ, как оÑобÑажаÑÑ Ð¸Ð¼ÐµÐ½Ð° владелÑÑев пиÑомÑев" |
--[[ ruRU ]] tL["Pet Owner's Names"] = "Ðмена владелÑÑев пиÑомÑев" |
--[[ ruRU ]] tL["NONE"] = "ÐеÑÑ" |
--[[ ruRU ]] tL["HYPHEN"] = "ÐиÑÐ¾Ð¼ÐµÑ - ХозÑин" |
--[[ ruRU ]] tL["SLASH"] = "ÐиÑÐ¾Ð¼ÐµÑ / ХозÑин" |
--[[ ruRU ]] tL["BRACKET"] = "ÐиÑÐ¾Ð¼ÐµÑ (ХозÑин)" |
--[[ ruRU ]] tL["COLON"] = "ÐиÑÐ¾Ð¼ÐµÑ : ХозÑин" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftPetOwnersName"] = "AloftPetOwnersName" |
--[[ ruRU ]] mL["Gather and display pet owner's names on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð¸Ð¼Ñ Ñ Ð¾Ð·Ñина пиÑомÑа" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Pet Owner's Names"] = "å® ç©ä¸»äººå称" |
--[[ zhCN ]] tL["Select how to show pet owner's names"] = "设å®å® ç©ä¸»äººå称çæ¾ç¤ºæ¹å¼" |
--[[ zhCN ]] tL["NONE"] = "æ " |
--[[ zhCN ]] tL["HYPHEN"] = "å® ç©å - 主人å" |
--[[ zhCN ]] tL["SLASH"] = "å® ç©å / 主人å" |
--[[ zhCN ]] tL["BRACKET"] = "å® ç©åï¼ä¸»äººåï¼" |
--[[ zhCN ]] tL["COLON"] = "å® ç©å : 主人å" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftPetOwnersName"] = "å® ç©ä¸»äººå" |
--[[ zhCN ]] mL["Gather and display pet owner's names on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºå® ç©ä¸»äººçåå" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Pet Owner's Names"] = "寵ç©ä¸»äººçåå" |
--[[ zhTW ]] tL["Select how to show pet owner's names"] = "é¸ææ樣顯示寵ç©ä¸»äººçåå" |
--[[ zhTW ]] tL["NONE"] = "ç¡" |
--[[ zhTW ]] tL["HYPHEN"] = "å¯µç© - 主人" |
--[[ zhTW ]] tL["SLASH"] = "å¯µç© / 主人" |
--[[ zhTW ]] tL["BRACKET"] = "å¯µç© (主人)" |
--[[ zhTW ]] tL["COLON"] = "å¯µç© : 主人" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftPetOwnersName"] = "寵ç©ä¸»äººå" |
--[[ zhTW ]] mL["Gather and display pet owner's names on nameplates"] = "å¨åçä¸é¡¯ç¤ºå¯µç©ä¸»äººçåå" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftPetOwnersNameTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftPetOwnersName = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftPetOwnersName"], |
desc = L["Gather and display pet owner's names on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftPetOwnersName end, |
set = function(i, v) AloftModules.db.profile.AloftPetOwnersName = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPetOwnersName", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftPetOwnersNameTextOptions |
if not L then return end |
local AloftNameText = Aloft:GetModule("NameText", true) |
if not AloftNameText then return end |
local AloftPetOwnersNameData = Aloft:GetModule("PetOwnersNameData", true) |
if not AloftPetOwnersNameData then return end |
----------------------------------------------------------------------------- |
local attachFormats = |
{ |
["NONE"] = "", |
["HYPHEN"] = "[PetOwnersName:Prefix(\" - \")]", |
["SLASH"] = "[PetOwnersName:Prefix(\" / \")]", |
["BRACKET"] = "[PetOwnersName:Surround(\" (\", \")\")]", |
["COLON"] = "[PetOwnersName:Prefix(\" : \")]", |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.nameText.args.petOwnersName = |
{ |
type = 'select', |
width = 'full', |
name = L["Pet Owner's Names"], |
desc = L["Select how to show pet owner's names"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftPetOwnersNameData:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile or not AloftNameText.db.profile.enable end, |
get = function(i) return AloftNameText.db.profile.petOwnersName or "NONE" end, |
set = function(i, v) AloftNameText.db.profile.petOwnersName = v AloftNameText:UpdateFormatTag() Aloft:DetermineDataSources() AloftNameText:UpdateAll() end, |
values = { NONE = L["NONE"], HYPHEN = L["HYPHEN"], SLASH = L["SLASH"], BRACKET = L["BRACKET"], COLON = L["COLON"] }, |
} |
----------------------------------------------------------------------------- |
local function NameTextTagModifier() |
AloftNameText.db.profile.format = AloftNameText.db.profile.format..attachFormats[AloftNameText.db.profile.petOwnersName or "NONE"] |
end |
AloftNameText:RegisterFormatTagModifier(2, NameTextTagModifier) |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftAliasDataOptions |
if not L then return end |
local AloftAliasData = Aloft:GetModule("AliasData", true) |
if not AloftAliasData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.alias = |
{ |
type = "execute", |
width = 'full', |
name = L["Reset Aliases"], |
desc = L["Empties the alias database"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAliasData:IsEnabled() end, |
func = function(i) AloftAliasData:ClearAllData() end, |
confirm = function(i) return L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Reset Aliases"] = "Reset Aliases" |
--[[ enUS ]] L["Empties the alias database"] = "Empties the alias database" |
--[[ enUS ]] L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] = "You are about to empty your alias database.\nThis action cannot be undone. Proceed?" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Reset Aliases"] = "ë³ëª ì´ê¸°í" |
--[[ koKR ]] L["Empties the alias database"] = "ë³ëª ë°ì´í°ë² ì´ì¤ë¥¼ ìì í©ëë¤." |
--[[ koKR ]] L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] = "ë³ëª ë°ì´í°ë² ì´ì¤ë¥¼ ìì í©ëë¤.\nì´ ëìì ëë릴 ì ììµëë¤. ê³ì íìê² ìµëê¹?" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Reset Aliases"] = "СбÑоÑиÑÑ ÑокаÑÑениÑ" |
--[[ ruRU ]] L["Empties the alias database"] = "ÐÑиÑÐ°ÐµÑ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ÑокÑаÑений" |
--[[ ruRU ]] L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] = "ÐÑ Ñ Ð¾ÑиÑе ÑбÑоÑиÑÑ ÑаблиÑÑ ÑокÑаÑений имен.\nРезÑлÑÑÐ°Ñ Ð±ÑÐ´ÐµÑ Ð½ÐµÐ¾Ð±ÑаÑим. ÐÑодолжиÑÑ?" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Reset Aliases"] = "é设绰å·" |
--[[ zhCN ]] L["Empties the alias database"] = "æ¸ ç©ºç»°å·èµæåº" |
--[[ zhCN ]] L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦çå¾è¦æ¸ 空绰å·èµæåºï¼æ¬æä½ä¸å¯éï¼" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Reset Aliases"] = "éè¨å¥å" |
--[[ zhTW ]] L["Empties the alias database"] = "æ¸ ç©ºå¥åè³æ庫" |
--[[ zhTW ]] L["You are about to empty your alias database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦ççæ¸ ç©ºå¥åè³æ庫?" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftAliasDataOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Save Faction Data"] = "Save Faction Data" |
--[[ enUS ]] L["Stores faction data between sessions"] = "Stores faction data between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftFaction"] = "AloftFaction" |
--[[ enUS ]] mL["Gather faction data"] = "Gather faction data" |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Save Faction Data"] = "Save Faction Data" |
--[[ koKR ]] L["Stores faction data between sessions"] = "Stores faction data between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftFaction"] = "AloftFaction" |
--[[ koKR ]] mL["Gather faction data"] = "Gather faction data" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Save Faction Data"] = "Save Faction Data" |
--[[ ruRU ]] L["Stores faction data between sessions"] = "Stores faction data between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftFaction"] = "AloftFaction" |
--[[ ruRU ]] mL["Gather faction data"] = "Gather faction data" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Save Faction Data"] = "Save Faction Data" |
--[[ zhCN ]] L["Stores faction data between sessions"] = "Stores faction data between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftFaction"] = "AloftFaction" |
--[[ zhCN ]] mL["Gather faction data"] = "Gather faction data" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Save Faction Data"] = "Save Faction Data" |
--[[ zhTW ]] L["Stores faction data between sessions"] = "Stores faction data between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftFaction"] = "AloftFaction" |
--[[ zhTW ]] mL["Gather faction data"] = "Gather faction data" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftFactionDataOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftFaction = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftFaction"], |
desc = L["Gather faction data"], |
get = function(i) return AloftModules.db.profile.AloftFaction end, |
set = function(i, v) AloftModules.db.profile.AloftFaction = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftFaction", function() |
local L = AloftLocale.AloftFactionDataOptions |
if not L then return end |
local AloftFactionData = Aloft:GetModule("FactionData", true) |
if not AloftFactionData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.faction = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Faction Data"], |
desc = L["Stores faction data between sessions"], |
get = function(i) return AloftFactionData.db.profile.save end, |
set = AloftFactionData.SetSaveData, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
-- leave "enUS" active at all times, as a default locale |
--[[ enUS ]] L["Presets"] = "Presets" |
--[[ enUS ]] L["Preset configurations"] = "Preset configurations" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftPresets"] = "AloftPresets" |
--[[ enUS ]] mL["Enable access to preset configurations"] = "Enable access to preset configurations" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Presets"] = "í리ì " |
--[[ koKR ]] L["Preset configurations"] = "í리ì íê²½ì¤ì " |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftPresets"] = "AloftPresets" |
--[[ koKR ]] mL["Enable access to preset configurations"] = "Enable access to preset configurations" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Presets"] = "ÐÑедÑÑÑановки" |
--[[ ruRU ]] L["Preset configurations"] = "ÐаÑÑÑойка пÑедÑÑÑановок" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftPresets"] = "AloftPresets" |
--[[ ruRU ]] mL["Enable access to preset configurations"] = "ÐклÑÑÐ°ÐµÑ Ð´Ð¾ÑÑÑп к пÑедÑÑÑановкам наÑÑÑоек" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Presets"] = "设置é¢æ¡" |
--[[ zhCN ]] L["Preset configurations"] = "设置é¢æ¡é项" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftPresets"] = "é¢è®¾æ ·å¼" |
--[[ zhCN ]] mL["Enable access to preset configurations"] = "è°ç¨é¢è®¾çé ç½®æ件" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Presets"] = "é å è¨å®" |
--[[ zhTW ]] L["Preset configurations"] = "é å è¨å®" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftPresets"] = "é è¨æ¨£å¼" |
--[[ zhTW ]] mL["Enable access to preset configurations"] = "調ç¨é è¨çè¨å®æª" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftPresetsOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftPresets = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftPresets"], |
desc = L["Enable access to preset configurations"], |
get = function(i) return AloftModules.db.profile.AloftPresets end, |
set = function(i, v) AloftModules.db.profile.AloftPresets = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPresets", function() |
----------------------------------------------------------------------------- |
-- |
-- To add more presets, create your own files with their data table |
-- And add them into Aloft's by using: |
-- Aloft:GetModule("Presets"):AddPreset(presetName, presetDataTable) |
-- |
-- The table contains keys which are module db namespaces, and the values |
-- that they override from the default |
-- |
-- Guideline list of interrelated variables: |
-- healthText: enable, mode, format |
-- guildText: enable, attachFormat, attachToName, useShort, showOwn, nameText.format |
-- guildText: enable, attachToName, useShort, showOwn, format |
-- levelText: enable, showRace, showClassification, showCreatureType, format |
-- |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftPresetsOptions |
if not L then return end |
local AloftPresets = Aloft:GetModule("Presets", true) |
if not AloftPresets then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.basic.args.presets = |
{ |
type = 'select', |
width = 'full', |
name = L["Presets"], |
desc = L["Preset configurations"], |
order = 700, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftPresets:IsEnabled() end, |
get = function(i) return AloftPresets.Last end, |
set = function(i, v) AloftPresets:Set(v) end, |
disabled = function(i) return not Aloft:IsEnabled() end, |
values = AloftPresets.Values, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftNameText |
if not L then return end |
local AloftNameText = Aloft:GetModule("NameText", true) |
if not AloftNameText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.nameText = |
{ |
type = 'group', |
name = L["Name Text"], |
desc = L["Nameplate text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show unit names"], |
get = function(i) return AloftNameText.db.profile.enable end, |
set = function(i, v) AloftNameText.db.profile.enable = v Aloft:DetermineDataSources() AloftNameText:UpdateAll() end, |
order = 1 |
}, |
useAliases = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Use Aliases"], |
desc = L["Uses user defined aliases"], |
disabled = function(i) return not AloftNameText.db.profile.enable end, |
get = function(i) return AloftNameText.db.profile.useAliases end, |
set = function(i, v) AloftNameText.db.profile.useAliases = v AloftNameText:UpdateFormatTag() Aloft:DetermineDataSources() AloftNameText:UpdateAll() end, |
order = 2 |
}, |
setAlias = |
{ |
type = 'input', |
width = 'full', |
name = L["Set Alias"], |
desc = L["Sets the alias for your current target. An empty alias will return the unit to its original name"], |
usage = L["<Any String>"], |
disabled = function(i) return not AloftNameText.db.profile.enable or not AloftNameText.db.profile.useAliases end, |
get = function(i) return "" end, |
set = function(i, v) Aloft:GetModule("AliasData"):SetAlias(UnitName("target"), v) end, |
order = 3 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Nameplate text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile or not AloftNameText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for nameplate text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.nameText.args.typeface.args.font.values) do |
if v == AloftNameText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftNameText.db.profile.font = Aloft.Options.args.nameText.args.typeface.args.font.values[v] |
AloftNameText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the nameplate text"], |
max = 16, |
min = 4, |
step = 1, |
get = function(i) return AloftNameText.db.profile.fontSize end, |
set = function(i, value) AloftNameText.db.profile.fontSize = value AloftNameText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on nameplate text"], |
get = function(i) return AloftNameText.db.profile.shadow end, |
set = function(i, v) AloftNameText.db.profile.shadow = v AloftNameText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for nameplate text"], |
get = function(i) return AloftNameText.db.profile.outline end, |
set = function(i, value) AloftNameText.db.profile.outline = value AloftNameText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the nameplate text"], |
disabled = function(i) return not AloftNameText.db.profile.enable end, |
get = function(i) return AloftNameText.db.profile.alignment end, |
set = function(i, value) AloftNameText.db.profile.alignment = value AloftNameText:UpdateAll() end, |
values = { ["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust nameplate text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile or not AloftNameText.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -640, |
max = 640, |
step = 1, |
get = function(i) return AloftNameText.db.profile.offsets.left end, |
set = function(i, v) AloftNameText.db.profile.offsets.left = v AloftNameText:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -640, |
max = 640, |
step = 1, |
get = function(i) return AloftNameText.db.profile.offsets.right end, |
set = function(i, v) AloftNameText.db.profile.offsets.right = v AloftNameText:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftNameText.db.profile.offsets.vertical end, |
set = function(i, v) AloftNameText.db.profile.offsets.vertical = v AloftNameText:UpdateAll() end |
}, |
}, |
}, |
overrideColors = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Override Colors"], |
desc = L["Override the games colors for nameplate text"], |
disabled = function(i) return not AloftNameText.db.profile.enable end, |
get = function(i) return AloftNameText.db.profile.overrideColors end, |
set = function(i, value) AloftNameText.db.profile.overrideColors = value AloftNameText:UpdateAll() end, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile or not AloftNameText.db.profile.enable end, |
args = |
{ |
colorByClass = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Color by Class"], |
desc = L["Sets the name text color according to class"], |
get = function(i) return AloftNameText.db.profile.colorByClass end, |
set = function(i, v) AloftNameText.db.profile.colorByClass = v Aloft:DetermineDataSources() AloftNameText:UpdateAll() end, |
order = 1 |
}, |
colorHostileByClass = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Color Hostile by Class"], |
desc = L["Sets the name text color of hostile players according to class"], |
get = function(i) return AloftNameText.db.profile.colorHostileByClass end, |
set = function(i, v) AloftNameText.db.profile.colorHostileByClass = v Aloft:DetermineDataSources() AloftNameText:UpdateAll() end, |
order = 2 |
}, |
setAll = |
{ |
type = 'color', |
width = 'full', |
name = L["Set All"], |
desc = L["Sets the name text color for all types"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyPlayer) end, |
set = function(i, r, g, b) |
AloftNameText.db.profile.colors.friendlyPlayer = { r, g, b } |
AloftNameText.db.profile.colors.friendlyPet = { r, g, b } |
AloftNameText.db.profile.colors.friendlyNPC = { r, g, b } |
AloftNameText.db.profile.colors.friendlyBoss = { r, g, b } |
AloftNameText.db.profile.colors.hostilePlayer = { r, g, b } |
AloftNameText.db.profile.colors.hostilePet = { r, g, b } |
AloftNameText.db.profile.colors.hostileNPC = { r, g, b } |
AloftNameText.db.profile.colors.hostileBoss = { r, g, b } |
AloftNameText.db.profile.colors.neutral = { r, g, b } |
AloftNameText.db.profile.colors.pet = { r, g, b } |
AloftNameText.db.profile.colors.groupPet = { r, g, b } |
Aloft:DetermineDataSources() |
AloftNameText:UpdateAll() end, |
order = 3 |
}, |
setAllFriendly = |
{ |
type = 'color', |
width = 'full', |
name = L["Set All Friendly"], |
desc = L["Sets the name text color for all friendly types"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyPlayer) end, |
set = function(i, r, g, b) |
AloftNameText.db.profile.colors.friendlyPlayer = { r, g, b } |
AloftNameText.db.profile.colors.friendlyPet = { r, g, b } |
AloftNameText.db.profile.colors.friendlyNPC = { r, g, b } |
AloftNameText.db.profile.colors.friendlyBoss = { r, g, b } |
AloftNameText.db.profile.colors.pet = { r, g, b } |
AloftNameText.db.profile.colors.groupPet = { r, g, b } |
Aloft:DetermineDataSources() |
AloftNameText:UpdateAll() end, |
order = 4 |
}, |
setAllHostile = |
{ |
type = 'color', |
width = 'full', |
name = L["Set All Hostile"], |
desc = L["Sets the name text color for all hostile types"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.hostileNPC) end, |
set = function(i, r, g, b) |
AloftNameText.db.profile.colors.hostilePlayer = { r, g, b } |
AloftNameText.db.profile.colors.hostilePet = { r, g, b } |
AloftNameText.db.profile.colors.hostileNPC = { r, g, b } |
AloftNameText.db.profile.colors.hostileBoss = { r, g, b } |
Aloft:DetermineDataSources() |
AloftNameText:UpdateAll() end, |
order = 5 |
}, |
friendlyPlayer = |
{ |
type = 'color', |
width = 'full', |
name = L["Friendly Players"], |
desc = L["Sets the name text color for friendly players"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyPlayer) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.friendlyPlayer = { r, g, b } AloftNameText:UpdateAll() end |
}, |
friendlyPet = |
{ |
type = 'color', |
width = 'full', |
name = L["Friendly Pets"], |
desc = L["Sets the name text color for friendly pets"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyPet) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.friendlyPet = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
friendlyNPC = |
{ |
type = 'color', |
width = 'full', |
name = L["Friendly NPCs"], |
desc = L["Sets the name text color for friendly NPCs"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyNPC) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.friendlyNPC = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
friendlyBoss = |
{ |
type = 'color', |
width = 'full', |
name = L["Friendly Boss"], |
desc = L["Sets the name text color for friendly NPC Bosses"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.friendlyBoss) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.friendlyBoss = { r, g, b } AloftNameText:UpdateAll() end |
}, |
hostilePlayer = |
{ |
type = 'color', |
width = 'full', |
name = L["Hostile Players"], |
desc = L["Sets the name text color for hostile players"], |
disabled = function(i) return AloftNameText.db.profile.colorHostileByClass end, |
get = function(i) return unpack(AloftNameText.db.profile.colors.hostilePlayer) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.hostilePlayer = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
hostilePet = |
{ |
type = 'color', |
width = 'full', |
name = L["Hostile Pets"], |
desc = L["Sets the name text color for hostile pets"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.hostilePet) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.hostilePet = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
hostileNPC = |
{ |
type = 'color', |
width = 'full', |
name = L["Hostile NPCs"], |
desc = L["Sets the name text color for hostile units"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.hostileNPC) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.hostileNPC = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
hostileBoss = |
{ |
type = 'color', |
width = 'full', |
name = L["Hostile Boss"], |
desc = L["Sets the name text color for hostile boss units"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.hostileBoss) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.hostileBoss = { r, g, b } AloftNameText:UpdateAll() end |
}, |
neutral = |
{ |
type = 'color', |
width = 'full', |
name = L["Neutral Units"], |
desc = L["Sets the name text color for neutral units"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.neutral) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.neutral = { r, g, b } AloftNameText:UpdateAll() end |
}, |
pet = |
{ |
type = 'color', |
width = 'full', |
name = L["Pet"], |
desc = L["Sets the name text color for your pet"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.pet) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.pet = { r, g, b } AloftNameText:UpdateAll() end |
}, |
groupPet = |
{ |
type = 'color', |
width = 'full', |
name = L["Group Pets"], |
desc = L["Sets the name text color for group pets"], |
get = function(i) return unpack(AloftNameText.db.profile.colors.groupPet) end, |
set = function(i, r, g, b) AloftNameText.db.profile.colors.groupPet = { r, g, b } Aloft:DetermineDataSources() AloftNameText:UpdateAll() end |
}, |
} |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftNameText:IsEnabled() or not AloftNameText.db or not AloftNameText.db.profile or not AloftNameText.db.profile.enable end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Name tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftNameText.db.profile.format) end, |
set = function(i, v) |
AloftNameText.db.profile.format = Aloft:FixTagCasing(v) |
AloftNameText.textMethodData = nil |
AloftNameText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftNameText:UpdateAll() |
end, |
} |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local tagModifiers = { } |
function AloftNameText:RegisterFormatTagModifier(priority, method, ...) |
table.insert(tagModifiers, { priority, method, ... }) |
end |
function AloftNameText:UpdateFormatTag() |
self.db.profile.format = self.db.profile.useAliases and "[Alias]" or "[Name]" |
table.sort(tagModifiers, function(i, a, b) return a[1] < b[1] end) |
self.textMethodData = nil |
self.textMethod = nil |
for _,k in ipairs(tagModifiers) do |
k[2](unpack(k, 3)) |
end |
end |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Name Text"] = "Name Text" |
--[[ enUS ]] L["Nameplate text options"] = "Nameplate text options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Show unit names"] = "Show unit names" |
--[[ enUS ]] L["Use Aliases"] = "Use Aliases" |
--[[ enUS ]] L["Uses user defined aliases"] = "Uses user defined aliases" |
--[[ enUS ]] L["Set Alias"] = "Set Alias" |
--[[ enUS ]] L["Sets the alias for your current target. An empty alias will return the unit to its original name"] = "Sets the alias for your current target. An empty alias will return the unit to its original name" |
--[[ enUS ]] L["<Any String>"] = "<Any String>" |
--[[ enUS ]] L["Typeface"] = "Typeface" |
--[[ enUS ]] L["Nameplate text typeface options"] = "Nameplate text typeface options" |
--[[ enUS ]] L["Font"] = "Font" |
--[[ enUS ]] L["Sets the font for nameplate text"] = "Sets the font for nameplate text" |
--[[ enUS ]] L["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] L["Show font shadow on nameplate text"] = "Show font shadow on nameplate text" |
--[[ enUS ]] L["Font Size"] = "Font Size" |
--[[ enUS ]] L["Sets the font height of the nameplate text"] = "Sets the font height of the nameplate text" |
--[[ enUS ]] L["Outline"] = "Outline" |
--[[ enUS ]] L["Sets the font outline for nameplate text"] = "Sets the font outline for nameplate text" |
--[[ enUS ]] L["Alignment"] = "Alignment" |
--[[ enUS ]] L["Sets the alignment of the nameplate text"] = "Sets the alignment of the nameplate text" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust nameplate text position"] = "Adjust nameplate text position" |
--[[ enUS ]] L["Left Offset"] = "Left Offset" |
--[[ enUS ]] L["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] L["Right Offset"] = "Right Offset" |
--[[ enUS ]] L["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] L["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] L["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] L["Override Colors"] = "Override Colors" |
--[[ enUS ]] L["Override the games colors for nameplate text"] = "Override the games colors for nameplate text" |
--[[ enUS ]] L["Colors"] = "Colors" |
--[[ enUS ]] L["Customize colors"] = "Customize colors" |
--[[ enUS ]] L["Color by Class"] = "Color by Class" |
--[[ enUS ]] L["Sets the name text color according to class"] = "Sets the name text color according to class" |
--[[ enUS ]] L["Color Hostile by Class"] = "Color Hostile by Class" |
--[[ enUS ]] L["Sets the name text color of hostile players according to class"] = "Sets the name text color of hostile players according to class" |
--[[ enUS ]] L["Set All"] = "Set All" |
--[[ enUS ]] L["Sets the name text color for all types"] = "Sets the name text color for all types" |
--[[ enUS ]] L["Set All Friendly"] = "Set All Friendly" |
--[[ enUS ]] L["Sets the name text color for all friendly types"] = "Sets the name text color for all friendly types" |
--[[ enUS ]] L["Set All Hostile"] = "Set All Hostile" |
--[[ enUS ]] L["Sets the name text color for all hostile types"] = "Sets the name text color for all hostile types" |
--[[ enUS ]] L["Pet"] = "Pet" |
--[[ enUS ]] L["Sets the name text color for your pet"] = "Sets the name text color for your pet" |
--[[ enUS ]] L["Friendly Players"] = "Friendly Players" |
--[[ enUS ]] L["Sets the name text color for friendly players"] = "Sets the name text color for friendly players" |
--[[ enUS ]] L["Friendly Pets"] = "Friendly Pets" |
--[[ enUS ]] L["Sets the name text color for friendly pets"] = "Sets the name text color for friendly pets" |
--[[ enUS ]] L["Friendly NPCs"] = "Friendly NPCs" |
--[[ enUS ]] L["Sets the name text color for friendly NPC Bosses"] = "Sets the name text color for friendly NPC Bosses" |
--[[ enUS ]] L["Friendly Boss"] = "Friendly Boss" |
--[[ enUS ]] L["Sets the name text color for friendly NPCs"] = "Sets the name text color for friendly NPCs" |
--[[ enUS ]] L["Hostile Players"] = "Hostile Players" |
--[[ enUS ]] L["Sets the name text color for hostile players"] = "Sets the name text color for hostile players" |
--[[ enUS ]] L["Hostile Pets"] = "Hostile Pets" |
--[[ enUS ]] L["Sets the name text color for hostile pets"] = "Sets the name text color for hostile pets" |
--[[ enUS ]] L["Hostile NPCs"] = "Hostile NPCs" |
--[[ enUS ]] L["Sets the name text color for hostile units"] = "Sets the name text color for hostile units" |
--[[ enUS ]] L["Hostile Boss"] = "Hostile Boss" |
--[[ enUS ]] L["Sets the name text color for hostile boss units"] = "Sets the name text color for hostile boss units" |
--[[ enUS ]] L["Neutral Units"] = "Neutral Units" |
--[[ enUS ]] L["Sets the name text color for neutral units"] = "Sets the name text color for neutral units" |
--[[ enUS ]] L["Group Pets"] = "Group Pets" |
--[[ enUS ]] L["Sets the name text color for group pets"] = "Sets the name text color for group pets" |
--[[ enUS ]] L["None"] = "None" |
--[[ enUS ]] L["Normal"] = "Normal" |
--[[ enUS ]] L["Thick"] = "Thick" |
--[[ enUS ]] L["Advanced"] = "Advanced" |
--[[ enUS ]] L["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] L["Format"] = "Format" |
--[[ enUS ]] L["Name tag"] = "Name tag" |
--[[ enUS ]] L["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Name Text"] = "ì´ë¦" |
--[[ koKR ]] L["Nameplate text options"] = "ì´ë¦ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Show unit names"] = "ëìì ì´ë¦ì íìí©ëë¤." |
--[[ koKR ]] L["Use Aliases"] = "ë³ëª ì¬ì©" |
--[[ koKR ]] L["Uses user defined aliases"] = "ì¬ì©ìê° ì§ì í ë³ëª ì ì¬ì©í©ëë¤." |
--[[ koKR ]] L["Set Alias"] = "ë³ëª ì¤ì " |
--[[ koKR ]] L["Sets the alias for your current target. An empty alias will return the unit to its original name"] = "íì¬ ëìì ëí ë³ëª ì ì¤ì í©ëë¤. ë¹ì¹¸ì¼ë¡ ëë©´ ëìì ì¤ì ì´ë¦ì ë°íí©ëë¤." |
--[[ koKR ]] L["<Any String>"] = "<문ìì´>" |
--[[ koKR ]] L["Typeface"] = "ìì²´" |
--[[ koKR ]] L["Nameplate text typeface options"] = "ì´ë¦ ìì²´ ì¤ì " |
--[[ koKR ]] L["Font"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for nameplate text"] = "ì´ë¦ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] L["Show font shadow on nameplate text"] = "ì´ë¦ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] L["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the font height of the nameplate text"] = "ì´ë¦ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Outline"] = "í ë리" |
--[[ koKR ]] L["Sets the font outline for nameplate text"] = "ì´ë¦ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Alignment"] = "ì ë ¬" |
--[[ koKR ]] L["Sets the alignment of the nameplate text"] = "ì´ë¦ì ì ë ¬ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust nameplate text position"] = "ì´ë¦ ìì¹ ì¡°ì " |
--[[ koKR ]] L["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] L["Sets the offset of the left of the text"] = "ì´ë¦ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] L["Sets the offset of the right of the text"] = "ì´ë¦ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] L["Sets the vertical offset of the text"] = "ì´ë¦ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Override Colors"] = "ìì ì ì©" |
--[[ koKR ]] L["Override the games colors for nameplate text"] = "ì´ë¦ì ê²ì ììì ì ì©í©ëë¤." |
--[[ koKR ]] L["Colors"] = "ìì" |
--[[ koKR ]] L["Customize colors"] = "ì¬ì©ì ìì" |
--[[ koKR ]] L["Color by Class"] = "ì§ì ë³ ìì" |
--[[ koKR ]] L["Sets the name text color according to class"] = "ì´ë¦ ììì ì§ì ë³ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Color Hostile by Class"] = "ì ëì ì§ì ë³ ìì" |
--[[ koKR ]] L["Sets the name text color of hostile players according to class"] = "ì ëì íë ì´ì´ì ì´ë¦ì ì§ì ë³ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All"] = "ì ì²´ ì¤ì " |
--[[ koKR ]] L["Sets the name text color for all types"] = "모ë ì´ë¦ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All Friendly"] = "ì ì²´ ì°í¸ì ì¤ì " |
--[[ koKR ]] L["Sets the name text color for all friendly types"] = "ì ì²´ ì°í¸ì ëìì ëí ì´ë¦ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All Hostile"] = "ì ì²´ ì ëì ì¤ì " |
--[[ koKR ]] L["Sets the name text color for all hostile types"] = "ì ì²´ ì ëì ëìì ëí ì´ë¦ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Pet"] = "ìíì" |
--[[ koKR ]] L["Sets the name text color for your pet"] = "ìíìì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Players"] = "ì°í¸ì íë ì´ì´" |
--[[ koKR ]] L["Sets the name text color for friendly players"] = "ì°í¸ì íë ì´ì´ì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Pets"] = "ì°í¸ì ìíì" |
--[[ koKR ]] L["Sets the name text color for friendly pets"] = "ì°í¸ì ìíìì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly NPCs"] = "ì°í¸ì NPC" |
--[[ koKR ]] L["Sets the name text color for friendly NPC Bosses"] = "ì°í¸ì NPC ë³´ì¤ì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Boss"] = "ì°í¸ì ë³´ì¤" |
--[[ koKR ]] L["Sets the name text color for friendly NPCs"] = "ì°í¸ì NPCì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Players"] = "ì ëì íë ì´ì´" |
--[[ koKR ]] L["Sets the name text color for hostile players"] = "ì ëì íë ì´ì´ì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Pets"] = "ì ëì ìíì" |
--[[ koKR ]] L["Sets the name text color for hostile pets"] = "ì ëì ìíìì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile NPCs"] = "ì ëì NPC" |
--[[ koKR ]] L["Sets the name text color for hostile units"] = "ì ëì NPCì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Boss"] = "ì ëì ë³´ì¤" |
--[[ koKR ]] L["Sets the name text color for hostile boss units"] = "ì ëì ë³´ì¤ì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Neutral Units"] = "ì¤ë¦½ì ëì" |
--[[ koKR ]] L["Sets the name text color for neutral units"] = "ì¤ë¦½ì ëìì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Group Pets"] = "íí° ìíì" |
--[[ koKR ]] L["Sets the name text color for group pets"] = "íí° ìíìì ì´ë¦ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["None"] = "ìì" |
--[[ koKR ]] L["Normal"] = "기본" |
--[[ koKR ]] L["Thick"] = "êµµê²" |
--[[ koKR ]] L["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] L["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] L["Format"] = "íì" |
--[[ koKR ]] L["Name tag"] = "ì´ë¦ íê·¸" |
--[[ koKR ]] L["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Name Text"] = "ТекÑÑ Ð¸Ð¼ÐµÐ½Ð¸" |
--[[ ruRU ]] L["Nameplate text options"] = "ÐаÑÑÑойки ÑекÑÑа ÑаблиÑки" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Show unit names"] = "ÐÑобÑажаÑÑ Ð¸Ð¼ÐµÐ½Ð° единиÑ" |
--[[ ruRU ]] L["Use Aliases"] = "ÐÑполÑзоваÑÑ ÑооÑвеÑÑÑÐ²Ð¸Ñ Ð¸Ð¼ÐµÐ½" |
--[[ ruRU ]] L["Uses user defined aliases"] = "СооÑвеÑÑÑÐ²Ð¸Ñ Ð¸Ð¼ÐµÐ½, заданнÑе полÑзоваÑелем" |
--[[ ruRU ]] L["Set Alias"] = "ÐадаÑÑ ÑокÑаÑение" |
--[[ ruRU ]] L["Sets the alias for your current target. An empty alias will return the unit to its original name"] = "ÐÐ°Ð´Ð°ÐµÑ ÑокÑаÑение Ð´Ð»Ñ ÑекÑÑей Ñели. ÐÑÑÑое ÑокÑаÑение веÑÐ½ÐµÑ Ñели изнаÑалÑное имÑ" |
--[[ ruRU ]] L["<Any String>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока>" |
--[[ ruRU ]] L["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Nameplate text typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа ÑаблиÑки" |
--[[ ruRU ]] L["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Sets the font for nameplate text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа на ÑаблиÑÐºÐ°Ñ " |
--[[ ruRU ]] L["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] L["Show font shadow on nameplate text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the font height of the nameplate text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] L["Sets the font outline for nameplate text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Alignment"] = "ÐÑÑавнивание" |
--[[ ruRU ]] L["Sets the alignment of the nameplate text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑавнивание ÑекÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust nameplate text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑекÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Left Offset"] = "Ðевое ÑмеÑение" |
--[[ ruRU ]] L["Sets the offset of the left of the text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение левого конÑа ÑекÑÑа" |
--[[ ruRU ]] L["Right Offset"] = "ÐÑавое ÑмеÑение" |
--[[ ruRU ]] L["Sets the offset of the right of the text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение пÑавого конÑа ÑекÑÑа" |
--[[ ruRU ]] L["Vertical Offset"] = "ÐеÑÑикалÑное ÑмеÑение" |
--[[ ruRU ]] L["Sets the vertical offset of the text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÐµÑÑикалÑное ÑмеÑение ÑекÑÑа" |
--[[ ruRU ]] L["Override Colors"] = "ÐеÑезапиÑÑ ÑвеÑов" |
--[[ ruRU ]] L["Override the games colors for nameplate text"] = "ÐеÑезапиÑÑ ÑвеÑов игÑÑ Ð´Ð»Ñ ÑекÑÑа ÑаблиÑек" |
--[[ ruRU ]] L["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] L["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] L["Color by Class"] = "ÐкÑаÑиваÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Sets the name text color according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ в завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Color Hostile by Class"] = "ÐкÑаÑиваÑÑ Ð²ÑаждебнÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Sets the name text color of hostile players according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ вÑаждебного игÑока в завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑ" |
--[[ ruRU ]] L["Set All"] = "ÐадаÑÑ Ð²Ñе" |
--[[ ruRU ]] L["Sets the name text color for all types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑÐµÑ Ñипов" |
--[[ ruRU ]] L["Set All Friendly"] = "ÐадаÑÑ Ð²ÑÐµÑ Ð´ÑÑжеÑÑвеннÑми" |
--[[ ruRU ]] L["Sets the name text color for all friendly types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑÐµÑ Ð´ÑÑжеÑÑвеннÑÑ Ñипов" |
--[[ ruRU ]] L["Set All Hostile"] = "ÐадаÑÑ Ð²ÑÐµÑ Ð²ÑаждебнÑми" |
--[[ ruRU ]] L["Sets the name text color for all hostile types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑÐµÑ Ð²ÑаждебнÑÑ Ñипов" |
--[[ ruRU ]] L["Pet"] = "ÐиÑомеÑ" |
--[[ ruRU ]] L["Sets the name text color for your pet"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²Ð°Ñего пиÑомÑа" |
--[[ ruRU ]] L["Friendly Players"] = "ÐÑÑжеÑÑвеннÑе игÑоки" |
--[[ ruRU ]] L["Sets the name text color for friendly players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] L["Friendly Pets"] = "ÐÑÑжеÑÑвеннÑе пиÑомÑÑ" |
--[[ ruRU ]] L["Sets the name text color for friendly pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] L["Friendly NPCs"] = "ÐÑÑжеÑÑвеннÑе ÐÐÐÑ" |
--[[ ruRU ]] L["Sets the name text color for friendly NPC Bosses"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов - боÑÑов" |
--[[ ruRU ]] L["Friendly Boss"] = "ÐÑÑжеÑÑвеннÑй боÑÑ" |
--[[ ruRU ]] L["Sets the name text color for friendly NPCs"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов" |
--[[ ruRU ]] L["Hostile Players"] = "ÐÑаждебнÑе игÑоки" |
--[[ ruRU ]] L["Sets the name text color for hostile players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] L["Hostile Pets"] = "ÐÑаждебнÑе пиÑомÑÑ" |
--[[ ruRU ]] L["Sets the name text color for hostile pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] L["Hostile NPCs"] = "ÐÑаждебнÑе ÐÐÐÑ" |
--[[ ruRU ]] L["Sets the name text color for hostile units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¾Ð±ÑекÑов" |
--[[ ruRU ]] L["Hostile Boss"] = "ÐÑаждебнÑй боÑÑ" |
--[[ ruRU ]] L["Sets the name text color for hostile boss units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð±Ð¾ÑÑов" |
--[[ ruRU ]] L["Neutral Units"] = "ÐейÑÑалÑнÑе Ñели" |
--[[ ruRU ]] L["Sets the name text color for neutral units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½Ð¸ Ð´Ð»Ñ Ð½ÐµÐ¹ÑÑалÑнÑÑ " |
--[[ ruRU ]] L["Group Pets"] = "ÐиÑомÑÑ Ð³ÑÑппÑ" |
--[[ ruRU ]] L["Sets the name text color for group pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¸Ð¼ÐµÐ½ Ð´Ð»Ñ Ð¿Ð¸ÑомÑев гÑÑппÑ" |
--[[ ruRU ]] L["None"] = "ÐеÑ" |
--[[ ruRU ]] L["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] L["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] L["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] L["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] L["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] L["Name tag"] = "Ðид имени" |
--[[ ruRU ]] L["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Name Text"] = "å称æå" |
--[[ zhCN ]] L["Nameplate text options"] = "å§åæ¿æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Show unit names"] = "æ¾ç¤ºåä½å称" |
--[[ zhCN ]] L["Use Aliases"] = "使ç¨ç»°å·" |
--[[ zhCN ]] L["Uses user defined aliases"] = "使ç¨èªå®ä¹ç»°å·" |
--[[ zhCN ]] L["Set Alias"] = "设å®ç»°å·" |
--[[ zhCN ]] L["Sets the alias for your current target. An empty alias will return the unit to its original name"] = "设å®å½åç®æ çç»°å·ãå¦æç空åä¼é置为ç®æ çåæå称" |
--[[ zhCN ]] L["<Any String>"] = "<ä»»ææå>" |
--[[ zhCN ]] L["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] L["Nameplate text typeface options"] = "å§åæ¿æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] L["Font"] = "åä½" |
--[[ zhCN ]] L["Sets the font for nameplate text"] = "设å®å§åæ¿æåçåä½" |
--[[ zhCN ]] L["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] L["Show font shadow on nameplate text"] = "å¨å§åæ¿æåä¸æ¾ç¤ºåä½é´å½±" |
--[[ zhCN ]] L["Font Size"] = "åå·" |
--[[ zhCN ]] L["Sets the font height of the nameplate text"] = "设å®å§åæ¿æåçåå·" |
--[[ zhCN ]] L["Outline"] = "è½®å»" |
--[[ zhCN ]] L["Sets the font outline for nameplate text"] = "设å®å§åæ¿æåçè½®å»" |
--[[ zhCN ]] L["Alignment"] = "对é½" |
--[[ zhCN ]] L["Sets the alignment of the nameplate text"] = "设å®å§åæ¿æåç对é½æ ·å¼" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust nameplate text position"] = "è°æ´å§åæ¿æåçä½ç½®" |
--[[ zhCN ]] L["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] L["Sets the offset of the left of the text"] = "设å®æåçåå·¦å移é" |
--[[ zhCN ]] L["Right Offset"] = "åå³å移" |
--[[ zhCN ]] L["Sets the offset of the right of the text"] = "设å®æåçåå³å移é" |
--[[ zhCN ]] L["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] L["Sets the vertical offset of the text"] = "设å®æåçåç´å移é" |
--[[ zhCN ]] L["Override Colors"] = "ç½®æ¢é¢è²" |
--[[ zhCN ]] L["Override the games colors for nameplate text"] = "ç½®æ¢å§åæ¿æåç游æå é¢è²" |
--[[ zhCN ]] L["Colors"] = "é¢è²" |
--[[ zhCN ]] L["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] L["Color by Class"] = "æ ¹æ®èä¸æ¾ç¤ºé¢è²" |
--[[ zhCN ]] L["Sets the name text color according to class"] = "å称æåé¢è²ä½¿ç¨èä¸ä»£è¡¨è²" |
--[[ zhCN ]] L["Color Hostile by Class"] = "æ对æ¹åä½æ ¹æ®èä¸æ¾ç¤ºé¢è²" |
--[[ zhCN ]] L["Sets the name text color of hostile players according to class"] = "æ对æ¹ç©å®¶çå称æåé¢è²ä½¿ç¨èä¸ä»£è¡¨è²" |
--[[ zhCN ]] L["Set All"] = "设å®å ¨é¨" |
--[[ zhCN ]] L["Sets the name text color for all types"] = "设å®ææåä½çå称æåé¢è²" |
--[[ zhCN ]] L["Set All Friendly"] = "设å®å ¨é¨å好æ¹åä½" |
--[[ zhCN ]] L["Sets the name text color for all friendly types"] = "设å®å ¨é¨å好æ¹åä½çå称æåé¢è²" |
--[[ zhCN ]] L["Set All Hostile"] = "设å®å ¨é¨æ对æ¹åä½" |
--[[ zhCN ]] L["Sets the name text color for all hostile types"] = "设å®å ¨é¨æ对æ¹åä½çå称æåé¢è²" |
--[[ zhCN ]] L["Pet"] = "å® ç©" |
--[[ zhCN ]] L["Sets the name text color for your pet"] = "å® ç©çå称æåé¢è²" |
--[[ zhCN ]] L["Friendly Players"] = "å好æ¹ç©å®¶" |
--[[ zhCN ]] L["Sets the name text color for friendly players"] = "设å®å好æ¹ç©å®¶çå称æåé¢è²" |
--[[ zhCN ]] L["Friendly Pets"] = "å好æ¹å® ç©" |
--[[ zhCN ]] L["Sets the name text color for friendly pets"] = "设å®å好æ¹å® ç©çå称æåé¢è²" |
--[[ zhCN ]] L["Friendly NPCs"] = "å好æ¹NPC" |
--[[ zhCN ]] L["Sets the name text color for friendly NPC Bosses"] = "设å®å好æ¹é¦é¢çå称æåé¢è²" |
--[[ zhCN ]] L["Friendly Boss"] = "å好æ¹é¦é¢" |
--[[ zhCN ]] L["Sets the name text color for friendly NPCs"] = "设å®å好æ¹NPCçå称æåé¢è²" |
--[[ zhCN ]] L["Hostile Players"] = "æ对æ¹ç©å®¶" |
--[[ zhCN ]] L["Sets the name text color for hostile players"] = "设å®æ对æ¹ç©å®¶çå称æåé¢è²" |
--[[ zhCN ]] L["Hostile Pets"] = "æ对æ¹å® ç©" |
--[[ zhCN ]] L["Sets the name text color for hostile pets"] = "设å®æ对æ¹å® ç©çå称æåé¢è²" |
--[[ zhCN ]] L["Hostile NPCs"] = "æ对æ¹NPC" |
--[[ zhCN ]] L["Sets the name text color for hostile units"] = "设å®æ对æ¹NPCçå称æåé¢è²" |
--[[ zhCN ]] L["Hostile Boss"] = "æ对æ¹é¦é¢" |
--[[ zhCN ]] L["Sets the name text color for hostile boss units"] = "设å®æ对æ¹é¦é¢çå称æåé¢è²" |
--[[ zhCN ]] L["Neutral Units"] = "ä¸ç«æ¹åä½" |
--[[ zhCN ]] L["Sets the name text color for neutral units"] = "设å®ä¸ç«æ¹åä½çå称æåé¢è²" |
--[[ zhCN ]] L["Group Pets"] = "éåå® ç©" |
--[[ zhCN ]] L["Sets the name text color for group pets"] = "设å®éåå® ç©çå称æåé¢è²" |
--[[ zhCN ]] L["None"] = "æ " |
--[[ zhCN ]] L["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] L["Thick"] = "ç²" |
--[[ zhCN ]] L["Advanced"] = "é«çº§" |
--[[ zhCN ]] L["Options for expert users"] = "é«çº§é项" |
--[[ zhCN ]] L["Format"] = "æ ¼å¼" |
--[[ zhCN ]] L["Name tag"] = "å称æ ç¾" |
--[[ zhCN ]] L["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Name Text"] = "ååæå" |
--[[ zhTW ]] L["Nameplate text options"] = "åçæåé¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Show unit names"] = "顯示å®ä½åå" |
--[[ zhTW ]] L["Use Aliases"] = "使ç¨å¥å" |
--[[ zhTW ]] L["Uses user defined aliases"] = "使ç¨èªå®å¥å" |
--[[ zhTW ]] L["Set Alias"] = "è¨å®å¥å" |
--[[ zhTW ]] L["Sets the alias for your current target. An empty alias will return the unit to its original name"] = "è¨å®ç®åç®æ¨çå¥åã空çå¥åæéè¨ååæåå" |
--[[ zhTW ]] L["<Any String>"] = "<ä»»ä½æå>" |
--[[ zhTW ]] L["Typeface"] = "åé«" |
--[[ zhTW ]] L["Nameplate text typeface options"] = "åçæååé«é¸é " |
--[[ zhTW ]] L["Font"] = "åå" |
--[[ zhTW ]] L["Sets the font for nameplate text"] = "åçæååå" |
--[[ zhTW ]] L["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] L["Show font shadow on nameplate text"] = "åçæåååé°å½±" |
--[[ zhTW ]] L["Font Size"] = "åå大å°" |
--[[ zhTW ]] L["Sets the font height of the nameplate text"] = "åçæååå大å°" |
--[[ zhTW ]] L["Outline"] = "輪å»" |
--[[ zhTW ]] L["Sets the font outline for nameplate text"] = "åçæååå輪å»" |
--[[ zhTW ]] L["Alignment"] = "å°é½" |
--[[ zhTW ]] L["Sets the alignment of the nameplate text"] = "åçæåå°é½" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust nameplate text position"] = "åçæåä½ç½®" |
--[[ zhTW ]] L["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] L["Sets the offset of the left of the text"] = "æåå·¦ä½ç§»" |
--[[ zhTW ]] L["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] L["Sets the offset of the right of the text"] = "æåå³ä½ç§»" |
--[[ zhTW ]] L["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] L["Sets the vertical offset of the text"] = "æååç´ä½ç§»" |
--[[ zhTW ]] L["Override Colors"] = "ç½®æé¡è²" |
--[[ zhTW ]] L["Override the games colors for nameplate text"] = "ç½®æåçæåçéæ²é¡è²" |
--[[ zhTW ]] L["Colors"] = "é¡è²" |
--[[ zhTW ]] L["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] L["Color by Class"] = "æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] L["Sets the name text color according to class"] = "ååæåé¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] L["Color Hostile by Class"] = "æµå°å®ä½æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] L["Sets the name text color of hostile players according to class"] = "æµå°ç©å®¶çååæåé¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] L["Set All"] = "è¨å®å ¨é¨" |
--[[ zhTW ]] L["Sets the name text color for all types"] = "è¨å®å ¨é¨å®ä½çååæåé¡è²" |
--[[ zhTW ]] L["Set All Friendly"] = "è¨å®å ¨é¨å好" |
--[[ zhTW ]] L["Sets the name text color for all friendly types"] = "è¨å®å ¨é¨å好å®ä½çååæåé¡è²" |
--[[ zhTW ]] L["Set All Hostile"] = "è¨å®å ¨é¨æµå°" |
--[[ zhTW ]] L["Sets the name text color for all hostile types"] = "è¨å®å ¨é¨æµå°å®ä½çååæåé¡è²" |
--[[ zhTW ]] L["Pet"] = "寵ç©" |
--[[ zhTW ]] L["Sets the name text color for your pet"] = "寵ç©çååæåé¡è²" |
--[[ zhTW ]] L["Friendly Players"] = "å好ç©å®¶" |
--[[ zhTW ]] L["Sets the name text color for friendly players"] = "å好ç©å®¶çååæåé¡è²" |
--[[ zhTW ]] L["Friendly Pets"] = "å好寵ç©" |
--[[ zhTW ]] L["Sets the name text color for friendly pets"] = "å好寵ç©çååæåé¡è²" |
--[[ zhTW ]] L["Friendly NPCs"] = "å好NPC" |
--[[ zhTW ]] L["Sets the name text color for friendly NPC Bosses"] = "å好NPCçååæåé¡è²" |
--[[ zhTW ]] L["Friendly Boss"] = "å好é¦é " |
--[[ zhTW ]] L["Sets the name text color for friendly NPCs"] = "å好é¦é çååæåé¡è²" |
--[[ zhTW ]] L["Hostile Players"] = "æµå°ç©å®¶" |
--[[ zhTW ]] L["Sets the name text color for hostile players"] = "æµå°ç©å®¶çååæåé¡è²" |
--[[ zhTW ]] L["Hostile Pets"] = "æµå°å¯µç©" |
--[[ zhTW ]] L["Sets the name text color for hostile pets"] = "æµå°å¯µç©çååæåé¡è²" |
--[[ zhTW ]] L["Hostile NPCs"] = "æµå°NPC" |
--[[ zhTW ]] L["Sets the name text color for hostile units"] = "æµå°NPCçååæåé¡è²" |
--[[ zhTW ]] L["Hostile Boss"] = "æµå°ç©å®¶" |
--[[ zhTW ]] L["Sets the name text color for hostile boss units"] = "æµå°é¦é çååæåé¡è²" |
--[[ zhTW ]] L["Neutral Units"] = "ä¸ç«å®ä½" |
--[[ zhTW ]] L["Sets the name text color for neutral units"] = "ä¸ç«å®ä½çååæåé¡è²" |
--[[ zhTW ]] L["Group Pets"] = "åé«å¯µç©" |
--[[ zhTW ]] L["Sets the name text color for group pets"] = "åé«å¯µç©çååæåé¡è²" |
--[[ zhTW ]] L["None"] = "ç¡" |
--[[ zhTW ]] L["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] L["Thick"] = "ç²" |
--[[ zhTW ]] L["Advanced"] = "é²é" |
--[[ zhTW ]] L["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] L["Format"] = "æ ¼å¼" |
--[[ zhTW ]] L["Name tag"] = "ååæ¨ç±¤" |
--[[ zhTW ]] L["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftNameText = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftClassificationDataOptions |
if not L then return end |
local AloftClassificationData = Aloft:GetModule("ClassificationData", true) |
if not AloftClassificationData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.classification = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Classification Data"], |
desc = L["Stores unit classification information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassificationData:IsEnabled() or not AloftClassificationData.db or not AloftClassificationData.db.profile end, |
get = function(i) return AloftClassificationData.db.profile.save end, |
set = AloftClassificationData.SetSaveData |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local oL = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] oL["Save Classification Data"] = "Save Classification Data" |
--[[ enUS ]] oL["Stores unit classification information between sessions"] = "Stores unit classification information between sessions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Save Classification Data"] = "êµ¬ë¶ ë°ì´í° ì ì¥" |
--[[ koKR ]] oL["Stores unit classification information between sessions"] = "ê° ì ìê° ëìì êµ¬ë¶ ì 보를 ì ì¥í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Save Classification Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о клаÑÑиÑикаÑии" |
--[[ ruRU ]] oL["Stores unit classification information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе по клаÑÑиÑикаÑии обÑекÑов Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Save Classification Data"] = "å¨åå类信æ¯" |
--[[ zhCN ]] oL["Stores unit classification information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åå类信æ¯" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Save Classification Data"] = "å²ååé¡è³æ" |
--[[ zhTW ]] oL["Stores unit classification information between sessions"] = "å²ååé¡è³æ" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftClassificationDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
-- TODO: on the surface, this wastes space in the enUS locale; the metatable could just return the canonical string as the localization; |
-- BUT, this serves as a default locale, and also will permit the metatable to check/notify on missing locale strings |
--[[ enUS ]] L["Enable Target-of-Target"] = "Enable Target-of-Target" |
--[[ enUS ]] L["Enable target-of-target"] = "Enable target-of-target" |
--[[ enUS ]] L["Target-of-Target Update Interval"] = "Target-of-Target Update Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftTarget"] = "AloftTarget" |
--[[ enUS ]] mL["Display target name and group target count on nameplates"] = "Display target name and group target count on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Enable Target-of-Target"] = "Enable Target-of-Target" |
--[[ koKR ]] L["Enable target-of-target"] = "Enable target-of-target" |
--[[ koKR ]] L["Target-of-Target Update Interval"] = "Target-of-Target Update Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftTarget"] = "AloftTarget" |
--[[ koKR ]] mL["Display target name and group target count on nameplates"] = "Display target name and group target count on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Enable Target-of-Target"] = "ÐклÑÑиÑÑ ÑÐµÐ»Ñ Ñели" |
--[[ ruRU ]] L["Enable target-of-target"] = "ÐклÑÑиÑÑ ÑÐµÐ»Ñ Ñели" |
--[[ ruRU ]] L["Target-of-Target Update Interval"] = "СкоÑоÑÑÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ñели Ñели" |
--[[ ruRU ]] L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"] = "ÐÑÐµÐ¼Ñ Ð² ÑекÑÐ½Ð´Ð°Ñ Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ñми Ñели Ñели (0.0 макÑималÑÐ½Ð°Ñ ÑкоÑоÑÑÑ)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftTarget"] = "AloftTarget" |
--[[ ruRU ]] mL["Display target name and group target count on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð¸Ð¼Ñ Ñели и Ð½Ð¾Ð¼ÐµÑ Ð³ÑÑппÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Enable Target-of-Target"] = "å¯ç¨ç®æ çç®æ " |
--[[ zhCN ]] L["Enable target-of-target"] = "å¯ç¨ç®æ çç®æ " |
--[[ zhCN ]] L["Target-of-Target Update Interval"] = "ç®æ çç®æ æ´æ°å»¶è¿" |
--[[ zhCN ]] L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"] = "ç®æ çç®æ çæ´æ°é¢ç ï¼åä½ç§ï¼æä½å¼ä¸º0.0ï¼" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftTarget"] = "ç®æ " |
--[[ zhCN ]] mL["Display target name and group target count on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºç®æ å称åå°éä¸éä¸çæ°é" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Enable Target-of-Target"] = "åç¨ç®æ¨çç®æ¨" |
--[[ zhTW ]] L["Enable target-of-target"] = "åç¨ç®æ¨çç®æ¨" |
--[[ zhTW ]] L["Target-of-Target Update Interval"] = "ç®æ¨çç®æ¨æ´æ°å»¶é²" |
--[[ zhTW ]] L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"] = "ç®æ¨çç®æ¨çæ´æ°é »ç ï¼å®ä½ç§ï¼æä½å¼çº0.0ï¼" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftTarget"] = "ç®æ¨" |
--[[ zhTW ]] mL["Display target name and group target count on nameplates"] = "å¨åçä¸é¡¯ç¤ºç®æ¨å稱åå°éä¸é¸ä¸çæ¸é" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
AloftLocale.AloftTarget = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftTarget = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftTarget"], |
desc = L["Display target name and group target count on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftTarget end, |
set = function(i, v) AloftModules.db.profile.AloftTarget = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftTarget", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftTarget |
if not L then return end |
local AloftTargetNameData = Aloft:GetModule("TargetNameData", true) |
if not AloftTargetNameData then return end |
----------------------------------------------------------------------------- |
-- NOTE: these options get added into another module's options |
AloftTargetNameData.options = { } |
AloftTargetNameData.options.enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable Target-of-Target"], |
desc = L["Enable target-of-target"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftTargetNameData:IsEnabled() or not AloftTargetNameData.db or not AloftTargetNameData.db.profile end, |
get = function(i) return AloftTargetNameData.db.profile.enable end, |
set = function(i, v) AloftTargetNameData.db.profile.enable = v Aloft:DetermineDataSources() end, |
} |
AloftTargetNameData.options.interval = |
{ |
type = 'range', |
width = 'full', |
name = L["Target-of-Target Update Interval"], |
desc = L["The amount of time, in seconds, between target-of-target updates (0.0 is as fast as possible)"], |
order = 4, |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftTargetNameData:IsEnabled() or not AloftTargetNameData.db or not AloftTargetNameData.db.profile or not AloftTargetNameData.db.profile.enable end, |
get = function(i) return AloftTargetNameData.db.profile.interval end, |
set = function(i, v) AloftTargetNameData.db.profile.interval = v Aloft:DetermineDataSources() end, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftThreatDataOptions |
if not L then return end |
local AloftThreatData = Aloft:GetModule("ThreatData", true) |
if not AloftThreatData then return end |
----------------------------------------------------------------------------- |
AloftThreatData.options = |
{ |
AOEEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AOE Threat"], |
desc = L["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"], |
order = 3, |
disabled = function(i) return |
not Aloft:IsEnabled() or not AloftThreatData:IsEnabled() or |
not (Aloft:GetModule("ThreatBar", true) and Aloft:GetModule("ThreatBar"):IsEnabled() and Aloft:GetModule("ThreatBar").db.profile.enable) or |
not (Aloft:GetModule("ThreatText", true) and Aloft:GetModule("ThreatText"):IsEnabled() and Aloft:GetModule("ThreatText").db.profile.enable) end, |
get = function(i) return AloftThreatData.db.profile.AOEEnable end, |
set = function(i, v) AloftThreatData.db.profile.AOEEnable = v Aloft:DetermineDataSources() end, |
}, |
groupEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group Threat"], |
desc = L["Attempt to approximate threat for visible friendly units versus the player's current target"], |
order = 4, |
disabled = function(i) return |
not Aloft:IsEnabled() or not AloftThreatData:IsEnabled() or |
not (Aloft:GetModule("ThreatBar", true) and Aloft:GetModule("ThreatBar"):IsEnabled() and Aloft:GetModule("ThreatBar").db.profile.enable) or |
not (Aloft:GetModule("ThreatText", true) and Aloft:GetModule("ThreatText"):IsEnabled() and Aloft:GetModule("ThreatText").db.profile.enable) end, |
get = function(i) return AloftThreatData.db.profile.groupEnable end, |
set = function(i, v) AloftThreatData.db.profile.groupEnable = v Aloft:DetermineDataSources() end, |
}, |
interval = |
{ |
type = 'range', |
width = 'full', |
name = L["AOE/Group Threat Update Interval"], |
desc = L["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"], |
order = 5, |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return |
not Aloft:IsEnabled() or not AloftThreatData:IsEnabled() or |
not (Aloft:GetModule("ThreatBar", true) and Aloft:GetModule("ThreatBar"):IsEnabled() and Aloft:GetModule("ThreatBar").db.profile.enable) or |
not (Aloft:GetModule("ThreatText", true) and Aloft:GetModule("ThreatText"):IsEnabled() and Aloft:GetModule("ThreatText").db.profile.enable) or |
not AloftThreatData.db.profile.AOEEnable or not AloftThreatData.db.profile.groupEnable end, |
get = function(i) return AloftThreatData.db.profile.interval end, |
set = function(i, v) AloftThreatData.db.profile.interval = v Aloft:DetermineDataSources() end, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
-- TODO: must match similar string in ThreatBar.lua and in localization LUA; TODO: fix this, make it centrally sourced |
-- threat types |
local THREAT_RANGED = "Ranged" |
local THREAT_MELEE = "Melee" |
local THREAT_TANK = "Tank" |
local THREAT_GROUP = "Group" |
local SHORT_THREAT_TYPES = { |
[THREAT_RANGED] = "R", |
[THREAT_MELEE] = "M", |
[THREAT_TANK] = "K", |
[THREAT_GROUP] = "G", |
} |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local dL = { } |
local bL = { } |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] dL["AOE Threat"] = "AOE Threat" |
--[[ enUS ]] dL["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"] = "Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)" |
--[[ enUS ]] dL["Group Threat"] = "Group Threat" |
--[[ enUS ]] dL["Attempt to approximate threat for visible friendly units versus the player's current target"] = "Attempt to approximate threat for visible friendly units versus the player's current target" |
--[[ enUS ]] dL["AOE/Group Threat Update Interval"] = "AOE/Group Threat Update Interval" |
--[[ enUS ]] dL["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
--[[ enUS ]] bL["Threat Bar"] = "Threat Bar" |
--[[ enUS ]] bL["Threat Bar options"] = "Threat Bar options" |
--[[ enUS ]] bL["Enable"] = "Enable" |
--[[ enUS ]] bL["Show threat bars on group member nameplates"] = "Show threat bars on group member nameplates" |
--[[ enUS ]] bL["Active While Solo"] = "Active While Solo" |
--[[ enUS ]] bL["Show threat bars on nameplates while solo (for classes with pets and guardians)"] = "Show threat bars on nameplates while solo (for classes with pets and guardians)" |
--[[ enUS ]] bL["Texture"] = "Texture" |
--[[ enUS ]] bL["Sets the threat bar texture"] = "Sets the threat bar texture" |
--[[ enUS ]] bL["Alpha"] = "Alpha" |
--[[ enUS ]] bL["Sets the threat bar alpha"] = "Sets the threat bar alpha" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the threat bar"] = "Sets the height of the threat bar" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust the threat bar's position"] = "Adjust the threat bar's position" |
--[[ enUS ]] bL["Left Offset"] = "Left Offset" |
--[[ enUS ]] bL["Sets the offset of the left of the threat bar"] = "Sets the offset of the left of the threat bar" |
--[[ enUS ]] bL["Right Offset"] = "Right Offset" |
--[[ enUS ]] bL["Sets the offset of the right of the threat bar"] = "Sets the offset of the right of the threat bar" |
--[[ enUS ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] bL["Sets the vertical offset of the threat bar"] = "Sets the vertical offset of the threat bar" |
--[[ enUS ]] bL["Colors"] = "Colors" |
--[[ enUS ]] bL["Customize colors"] = "Customize colors" |
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] bL["Sets the backdrop color of the threat bar"] = "Sets the backdrop color of the threat bar" |
--[[ enUS ]] bL["Common Threat Color"] = "Common Threat Color" |
--[[ enUS ]] bL["Sets the threat color for the threat bar when indicating common threat"] = "Sets the threat color for the threat bar when indicating common threat" |
--[[ enUS ]] bL["Maximum Threat Color"] = "Maximum Threat Color" |
--[[ enUS ]] bL["Sets the threat color for the threat bar when indicating maximum threat"] = "Sets the threat color for the threat bar when indicating maximum threat" |
--[[ enUS ]] bL["Reset to Defaults"] = "Reset to Defaults" |
--[[ enUS ]] bL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
--[[ enUS ]] bL["Border"] = "Border" |
--[[ enUS ]] bL["Border options"] = "Border options" |
--[[ enUS ]] bL["Target Only"] = "Target Only" |
--[[ enUS ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] bL["Border Inset"] = "Border Inset" |
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] bL["Border Color"] = "Border Color" |
--[[ enUS ]] bL["Sets the border color of the threat bar"] = "Sets the border color of the threat bar" |
--[[ enUS ]] bL["Border Style"] = "Border Style" |
--[[ enUS ]] bL["Sets the style of the threat bar border"] = "Sets the style of the threat bar border" |
--[[ enUS ]] bL["Threat Gain"] = "Threat Gain" |
--[[ enUS ]] bL["Threat gain threshold indicator for the player's target nameplate"] = "Threat gain threshold indicator for the player's target nameplate" |
--[[ enUS ]] bL["Show maximum threat threshold on the player's target nameplate"] = "Show maximum threat threshold on the player's target nameplate" |
--[[ enUS ]] bL["Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar"] = "Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar" |
--[[ enUS ]] bL["Threat Gain Color"] = "Threat Gain Color" |
--[[ enUS ]] bL["Sets the color of the maximum threat threshold on the player's target nameplate"] = "Sets the color of the maximum threat threshold on the player's target nameplate" |
--[[ enUS ]] bL["Threat Flash"] = "Threat Flash" |
--[[ enUS ]] bL["Health bar will be highlighted when unit has maximum threat"] = "Health bar will be highlighted when unit has maximum threat" |
--[[ enUS ]] bL["Show threat flash"] = "Show threat flash" |
--[[ enUS ]] bL["Invert"] = "Invert" |
--[[ enUS ]] bL["Invert threat flash (enable on targets below the threshold)"] = "Invert threat flash (enable on targets below the threshold)" |
--[[ enUS ]] bL["Threshold"] = "Threshold" |
--[[ enUS ]] bL["The percentage of maximum threat at which flash appears"] = "The percentage of maximum threat at which flash appears" |
--[[ enUS ]] bL["Size"] = "Size" |
--[[ enUS ]] bL["Adjust threat flash size"] = "Adjust threat flash size" |
--[[ enUS ]] bL["Width"] = "Width" |
--[[ enUS ]] bL["Sets the width of the threat flash"] = "Sets the width of the threat flash" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the threat flash"] = "Sets the height of the threat flash" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust the threat flash position"] = "Adjust the threat flash position" |
--[[ enUS ]] bL["X Offset"] = "X Offset" |
--[[ enUS ]] bL["X offset of the threat flash"] = "X offset of the threat flash" |
--[[ enUS ]] bL["Y Offset"] = "Y Offset" |
--[[ enUS ]] bL["Y offset of the threat flash"] = "Y offset of the threat flash" |
--[[ enUS ]] bL["Style"] = "Style" |
--[[ enUS ]] bL["Sets the threat flash style"] = "Sets the threat flash style" |
--[[ enUS ]] bL["Color"] = "Color" |
--[[ enUS ]] bL["Sets the threat flash color"] = "Sets the threat flash color" |
--[[ enUS ]] bL["Blend Mode"] = "Blend Mode" |
--[[ enUS ]] bL["Sets the threat flash blend mode"] = "Sets the threat flash blend mode" |
--[[ enUS ]] bL["Resets the threat flash color to its default"] = "Resets the threat flash color to its default" |
--[[ 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["Advanced"] = "Advanced" |
--[[ enUS ]] bL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] bL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] bL["BLEND"] = "BLEND" |
--[[ enUS ]] bL["ADD"] = "ADD" |
--[[ enUS ]] bL["HARD"] = "HARD" |
--[[ enUS ]] bL["SOFT"] = "SOFT" |
--[[ enUS ]] bL["PRTLSOFT"]= "PRTLSOFT" |
--[[ enUS ]] bL["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ enUS ]] bL["EXTRASOFT"] = "EXTRASOFT" |
--[[ enUS ]] bL["OVAL"] = "OVAL" |
--[[ enUS ]] bL["OVALGLOW"] = "OVALGLOW" |
--[[ enUS ]] bL["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ enUS ]] bL["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ enUS ]] bL["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Threat Text"] = "Threat Text" |
--[[ enUS ]] tL["Threat text options"] = "Threat text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show threat text on nameplates"] = "Show threat text on nameplates" |
--[[ enUS ]] tL["Active While Solo"] = "Active While Solo" |
--[[ enUS ]] tL["Show threat text on nameplates while solo (for classes with pets and guardians)"] = "Show threat text on nameplates while solo (for classes with pets and guardians)" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Threat text typeface options"] = "Threat text typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for threat text"] = "Sets the font for threat text" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the threat text"] = "Sets the font height of the threat text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on threat text"] = "Show font shadow on threat text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the outline for threat text"] = "Sets the outline for threat text" |
--[[ enUS ]] tL["Mode"] = "Mode" |
--[[ enUS ]] tL["Choose what to show for threat text"] = "Choose what to show for threat text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust threat text position"] = "Adjust threat text position" |
--[[ enUS ]] tL["Anchor"] = "Anchor" |
--[[ enUS ]] tL["Sets the anchor for the threat text"] = "Sets the anchor for the threat text" |
--[[ enUS ]] tL["Anchor To"] = "Anchor To" |
--[[ enUS ]] tL["Sets the relative point on the threat bar to anchor the threat text"] = "Sets the relative point on the threat bar to anchor the threat text" |
--[[ enUS ]] tL["X Offset"] = "X Offset" |
--[[ enUS ]] tL["X offset of the threat text"] = "X offset of the threat text" |
--[[ enUS ]] tL["Y Offset"] = "Y Offset" |
--[[ enUS ]] tL["Y offset of the threat text"] = "Y offset of the threat text" |
--[[ enUS ]] tL["Alpha"] = "Alpha" |
--[[ enUS ]] tL["Sets the alpha of the threat text"] = "Sets the alpha of the threat text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the threat text color"] = "Sets the threat text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["Percent"] = "Percent" |
--[[ enUS ]] tL["Threat"] = "Threat" |
--[[ enUS ]] tL["Threat & Percent"] = "Threat & Percent" |
--[[ enUS ]] tL["Deficit"] = "Deficit" |
--[[ enUS ]] tL["Full"] = "Full" |
--[[ enUS ]] tL["Advanced"] = "Advanced" |
--[[ enUS ]] tL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] tL["Format"] = "Format" |
--[[ enUS ]] tL["Threat tag"] = "Threat tag" |
--[[ enUS ]] tL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] tL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] tL["TOP"] = "TOP" |
--[[ enUS ]] tL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
--[[ enUS ]] tL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] tL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] tL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftThreat"] = "AloftThreat" |
--[[ enUS ]] mL["Display threat data, bars, and text on nameplates"] = "Display threat data, bars, and text on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] dL["AOE Threat"] = "AOE Threat" |
--[[ koKR ]] dL["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"] = "Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)" |
--[[ koKR ]] dL["Group Threat"] = "Group Threat" |
--[[ koKR ]] dL["Attempt to approximate threat for visible friendly units versus the player's current target"] = "Attempt to approximate threat for visible friendly units versus the player's current target" |
--[[ koKR ]] dL["AOE/Group Threat Update Interval"] = "AOE/Group Threat Update Interval" |
--[[ koKR ]] dL["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
--[[ koKR ]] bL["Threat Bar"] = "ìíë°" |
--[[ koKR ]] bL["Threat Bar options"] = "ìíë° ì¤ì " |
--[[ koKR ]] bL["Enable"] = "ì¬ì©" |
--[[ koKR ]] bL["Show threat bars on group member nameplates"] = "Show threat bars on group member nameplates" |
--[[ koKR ]] bL["Active While Solo"] = "Active While Solo" |
--[[ koKR ]] bL["Show threat bars on nameplates while solo (for classes with pets and guardians)"] = "Show threat bars on nameplates while solo (for classes with pets and guardians)" |
--[[ koKR ]] bL["Texture"] = "í ì¤ì³" |
--[[ koKR ]] bL["Sets the threat bar texture"] = "ìíë°ì í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] bL["Sets the threat bar alpha"] = "ìíë°ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the threat bar"] = "ìíë°ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust the threat bar's position"] = "ìíë°ì ìì¹ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] bL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the left of the threat bar"] = "ìíë°ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the right of the threat bar"] = "ìíë°ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] bL["Sets the vertical offset of the threat bar"] = "ìíë°ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Colors"] = "ìì" |
--[[ koKR ]] bL["Customize colors"] = "ì¬ì©ì ìì" |
--[[ koKR ]] bL["Backdrop Color"] = "ë°°ê²½ ìì" |
--[[ koKR ]] bL["Sets the backdrop color of the threat bar"] = "Sets the backdrop color of the threat bar" |
--[[ koKR ]] bL["Common Threat Color"] = "Common Threat Color" |
--[[ koKR ]] bL["Sets the threat color for the threat bar when indicating common threat"] = "Sets the threat color for the threat bar when indicating common threat" |
--[[ koKR ]] bL["Maximum Threat Color"] = "Maximum Threat Color" |
--[[ koKR ]] bL["Sets the threat color for the threat bar when indicating maximum threat"] = "Sets the threat color for the threat bar when indicating maximum threat" |
--[[ koKR ]] bL["Reset to Defaults"] = "ê¸°ë³¸ê° ì´ê¸°í" |
--[[ koKR ]] bL["Resets all colors to their defaults"] = "모ë ììì 기본ê°ì¼ë¡ ì´ê¸°íí©ëë¤." |
--[[ koKR ]] bL["Border"] = "Border" |
--[[ koKR ]] bL["Border options"] = "Border options" |
--[[ koKR ]] bL["Target Only"] = "Target Only" |
--[[ koKR ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] bL["Border Inset"] = "Border Inset" |
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] bL["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] bL["Sets the border color of the threat bar"] = "Sets the border color of the threat bar" |
--[[ koKR ]] bL["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] bL["Sets the style of the threat bar border"] = "Sets the style of the threat bar border" |
--[[ koKR ]] bL["Threat Gain"] = "Threat Gain" |
--[[ koKR ]] bL["Threat gain threshold indicator for the player's target nameplate"] = "Threat gain threshold indicator for the player's target nameplate" |
--[[ koKR ]] bL["Show maximum threat threshold on the player's target nameplate"] = "Show maximum threat threshold on the player's target nameplate" |
--[[ koKR ]] bL["Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar"] = "Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar" |
--[[ koKR ]] bL["Threat Gain Color"] = "Threat Gain Color" |
--[[ koKR ]] bL["Sets the color of the maximum threat threshold on the player's target nameplate"] = "Sets the color of the maximum threat threshold on the player's target nameplate" |
--[[ koKR ]] bL["Threat Flash"] = "Threat Flash" |
--[[ koKR ]] bL["Health bar will be highlighted when unit has maximum threat"] = "Health bar will be highlighted when unit has maximum threat" |
--[[ koKR ]] bL["Show threat flash"] = "Show threat flash" |
--[[ koKR ]] bL["Invert"] = "Invert" |
--[[ koKR ]] bL["Invert threat flash (enable on targets below the threshold)"] = "Invert threat flash (enable on targets below the threshold)" |
--[[ koKR ]] bL["Threshold"] = "Threshold" |
--[[ koKR ]] bL["The percentage of maximum threat at which flash appears"] = "The percentage of maximum threat at which flash appears" |
--[[ koKR ]] bL["Size"] = "í¬ê¸°" |
--[[ koKR ]] bL["Adjust threat flash size"] = "Adjust threat flash size" |
--[[ koKR ]] bL["Width"] = "ëë¹" |
--[[ koKR ]] bL["Sets the width of the threat flash"] = "Sets the width of the threat flash" |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the threat flash"] = "Sets the height of the threat flash" |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust the threat flash position"] = "Adjust the threat flash position" |
--[[ koKR ]] bL["X Offset"] = "X ì¢í" |
--[[ koKR ]] bL["X offset of the threat flash"] = "X offset of the threat flash" |
--[[ koKR ]] bL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] bL["Y offset of the threat flash"] = "Y offset of the threat flash" |
--[[ koKR ]] bL["Style"] = "Style" |
--[[ koKR ]] bL["Sets the threat flash style"] = "Sets the threat flash style" |
--[[ koKR ]] bL["Color"] = "ìì" |
--[[ koKR ]] bL["Sets the threat flash color"] = "Sets the threat flash color" |
--[[ koKR ]] bL["Blend Mode"] = "í¼í© 모ë" |
--[[ koKR ]] bL["Sets the threat flash blend mode"] = "Sets the threat flash blend mode" |
--[[ koKR ]] bL["Resets the threat flash color to its default"] = "Resets the threat flash color to its default" |
--[[ 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["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] bL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì " |
--[[ koKR ]] bL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] bL["BLEND"] = "í¼í©" |
--[[ koKR ]] bL["ADD"] = "ì¶ê°" |
--[[ koKR ]] bL["HARD"] = "HARD" |
--[[ koKR ]] bL["SOFT"] = "SOFT" |
--[[ koKR ]] bL["PRTLSOFT"] = "PRTLSOFT" |
--[[ koKR ]] bL["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ koKR ]] bL["EXTRASOFT"] = "EXTRASOFT" |
--[[ koKR ]] bL["OVAL"] = "OVAL" |
--[[ koKR ]] bL["OVALGLOW"] = "OVALGLOW" |
--[[ koKR ]] bL["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ koKR ]] bL["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ koKR ]] bL["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Threat Text"] = "Threat Text" |
--[[ koKR ]] tL["Threat text options"] = "Threat text options" |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show threat text on nameplates"] = "Show threat text on nameplates" |
--[[ koKR ]] tL["Active While Solo"] = "Active While Solo" |
--[[ koKR ]] tL["Show threat text on nameplates while solo (for classes with pets and guardians)"] = "Show threat text on nameplates while solo (for classes with pets and guardians)" |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Threat text typeface options"] = "Threat text typeface options" |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for threat text"] = "Sets the font for threat text" |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the threat text"] = "Sets the font height of the threat text" |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on threat text"] = "Show font shadow on threat text" |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the outline for threat text"] = "Sets the outline for threat text" |
--[[ koKR ]] tL["Mode"] = "모ë" |
--[[ koKR ]] tL["Choose what to show for threat text"] = "Choose what to show for threat text" |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust threat text position"] = "Adjust threat text position" |
--[[ koKR ]] tL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] tL["Sets the anchor for the threat text"] = "Sets the anchor for the threat text" |
--[[ koKR ]] tL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] tL["Sets the relative point on the threat bar to anchor the threat text"] = "Sets the relative point on the threat bar to anchor the threat text" |
--[[ koKR ]] tL["X Offset"] = "X ì¢í" |
--[[ koKR ]] tL["X offset of the threat text"] = "X offset of the threat text" |
--[[ koKR ]] tL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] tL["Y offset of the threat text"] = "Y offset of the threat text" |
--[[ koKR ]] tL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] tL["Sets the alpha of the threat text"] = "Sets the alpha of the threat text" |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the threat text color"] = "Sets the threat text color" |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "기본" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["Percent"] = "Percent" |
--[[ koKR ]] tL["Threat"] = "Threat" |
--[[ koKR ]] tL["Threat & Percent"] = "Threat & Percent" |
--[[ koKR ]] tL["Deficit"] = "Deficit" |
--[[ koKR ]] tL["Full"] = "Full" |
--[[ koKR ]] tL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] tL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] tL["Format"] = "íì" |
--[[ koKR ]] tL["Threat tag"] = "Threat tag" |
--[[ koKR ]] tL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] tL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] tL["TOP"] = "ìë¨" |
--[[ koKR ]] tL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] tL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] tL["BOTTOM"] = "íë¨" |
--[[ koKR ]] tL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftThreat"] = "Aloft Threat" |
--[[ koKR ]] mL["Display threat data, bars, and text on nameplates"] = "Show threat data, bars, and text on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] dL["AOE Threat"] = "ÐаÑÑ ÑгÑоза" |
--[[ ruRU ]] dL["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"] = "ÐопÑÑаÑÑÑÑ Ð¿Ð¾Ð´ÑÑиÑаÑÑ Ð¿ÑиблизиÑелÑное знаÑение ÑгÑÐ¾Ð·Ñ Ð´Ð»Ñ Ð²Ð¸Ð´Ð¸Ð¼Ð¾Ñ Ð²ÑÐ°Ð¶Ð´ÐµÐ±Ð½Ð¾Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ Ð¿ÑоÑив игÑока ( кÑоме игÑока нÑнеÑней Ñели)" |
--[[ ruRU ]] dL["Group Threat"] = "УгÑоза гÑÑппÑ" |
--[[ ruRU ]] dL["Attempt to approximate threat for visible friendly units versus the player's current target"] = "ÐопÑÑаÑÑÑÑ Ð¿Ð¾Ð´ÑÑиÑаÑÑ Ð¿ÑиблизиÑелÑное знаÑение ÑгÑÐ¾Ð·Ñ Ð´Ð»Ñ Ð²Ð¸Ð´Ð¸Ð¼ÑÑ Ð´ÑÑжеÑÑвеннÑÑ ÐµÐ´Ð¸Ð½Ð¸Ñ Ð¿ÑоÑив игÑока\ÑÑÑеÑÑва ÑекÑÑей Ñели" |
--[[ ruRU ]] dL["AOE/Group Threat Update Interval"] = "СкоÑоÑÑÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ ÑгÑÐ¾Ð·Ñ ÐÐСС/ÐÑÑппÑ" |
--[[ ruRU ]] dL["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"] = "ÐнаÑение вÑемени в ÑекÑÐ½Ð´Ð°Ñ , Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸ÐµÐ¼Ð¸ ÑгÑÐ¾Ð·Ñ Ð°ÐºÑивной/обÑиÑной-гÑÑÐ¿Ð¿Ñ (0.0 макÑималÑÐ½Ð°Ñ ÑкоÑоÑÑÑ)" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] bL["Threat Bar"] = "ÐолоÑка ÑгÑозÑ" |
--[[ ruRU ]] bL["Threat Bar options"] = "ÐаÑÑÑойки полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] bL["Show threat bars on group member nameplates"] = "ÐÑобÑажаÑÑ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑÐ¾Ð·Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÑÑаÑÑников гÑÑппÑ" |
--[[ ruRU ]] bL["Active While Solo"] = "ÐклÑÑено, когда один" |
--[[ ruRU ]] bL["Show threat bars on nameplates while solo (for classes with pets and guardians)"] = "ÐÑобÑажаÑÑ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑÐ¾Ð·Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÐºÐ¾Ð³Ð´Ð° один (Ð´Ð»Ñ ÐºÐ»Ð°ÑÑов Ñ Ð¿Ð¸ÑомÑами и заÑиÑниками)" |
--[[ ruRU ]] bL["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] bL["Sets the threat bar texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑозÑ" |
--[[ ruRU ]] bL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] bL["Sets the threat bar alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑозÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑозÑ" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust the threat bar's position"] = "ÐадаÑÑ Ð¼ÐµÑÑо полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Left Offset"] = "Ðевое ÑмеÑение" |
--[[ ruRU ]] bL["Sets the offset of the left of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение пÑавого конÑа полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Right Offset"] = "ÐÑавое ÑмеÑение" |
--[[ ruRU ]] bL["Sets the offset of the right of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение пÑавого конÑа полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Vertical Offset"] = "ÐеÑÑикалÑное ÑмеÑение" |
--[[ ruRU ]] bL["Sets the vertical offset of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÐµÑÑикалÑное ÑмеÑение полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] bL["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] bL["Backdrop Color"] = "Ð¦Ð²ÐµÑ Ñени" |
--[[ ruRU ]] bL["Sets the backdrop color of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñени полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Common Threat Color"] = "Ð¦Ð²ÐµÑ Ð¾Ð±Ñей ÑгÑозÑ" |
--[[ ruRU ]] bL["Sets the threat color for the threat bar when indicating common threat"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑгÑÐ¾Ð·Ñ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑÐ¾Ð·Ñ Ð¿Ñи оÑобÑажении обÑÑной ÑгÑозÑ" |
--[[ ruRU ]] bL["Maximum Threat Color"] = "Ð¦Ð²ÐµÑ Ð¼Ð°ÐºÑималÑной ÑгÑозÑ" |
--[[ ruRU ]] bL["Sets the threat color for the threat bar when indicating maximum threat"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑгÑÐ¾Ð·Ñ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñки ÑгÑÐ¾Ð·Ñ Ð¿Ñи оÑобÑажении макÑималÑной ÑгÑозÑ" |
--[[ ruRU ]] bL["Reset to Defaults"] = "СбÑоÑиÑÑ Ð½Ð°ÑÑÑойки" |
--[[ ruRU ]] bL["Resets all colors to their defaults"] = "СбÑаÑÑÐ²Ð°ÐµÑ Ð²Ñе ÑвеÑа в наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Border"] = "ÐÑаÑ" |
--[[ ruRU ]] bL["Border options"] = "ÐаÑÑÑойки кÑаев" |
--[[ ruRU ]] bL["Target Only"] = "ТолÑко ÑелÑ" |
--[[ ruRU ]] bL["Enables the border on the current target only"] = "ÐклÑÑиÑÑ ÐºÑÐ°Ñ ÑолÑко Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] bL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] bL["Border Color"] = "Ð¦Ð²ÐµÑ Ñамки" |
--[[ ruRU ]] bL["Sets the border color of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñамки ÑаблиÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] bL["Sets the style of the threat bar border"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ Ñамки ÑаблиÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Threat Gain"] = "ÐолÑÑение ÑгÑозÑ" |
--[[ ruRU ]] bL["Threat gain threshold indicator for the player's target nameplate"] = "УÑÐ¾Ð²ÐµÐ½Ñ ÑгÑÐ¾Ð·Ñ Ð´Ð»Ñ Ð½Ð°Ñала индикаÑии на ÑаблиÑке игÑока" |
--[[ ruRU ]] bL["Show maximum threat threshold on the player's target nameplate"] = "ÐÑобÑажаÑÑ Ð¼Ð°ÐºÑималÑнÑй ÑÑÐ¾Ð²ÐµÐ½Ñ ÑгÑÐ¾Ð·Ñ Ð½Ð° ÑаблиÑке Ñели" |
--[[ ruRU ]] bL["Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÐµÑÑикалÑное ÑмеÑение ÑÑÐ¾Ð²Ð½Ñ Ð¼Ð°ÐºÑималÑной ÑгÑÐ¾Ð·Ñ Ð¾ÑноÑиÑелÑно полоÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Threat Gain Color"] = "Ð¦Ð²ÐµÑ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ ÑгÑозÑ" |
--[[ ruRU ]] bL["Sets the color of the maximum threat threshold on the player's target nameplate"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¼Ð°ÐºÑималÑного ÑÑÐ¾Ð²Ð½Ñ ÑгÑÐ¾Ð·Ñ Ð½Ð° ÑаблиÑке Ñели" |
--[[ ruRU ]] bL["Threat Flash"] = "ÐÑпÑÑка ÑгÑозÑ" |
--[[ ruRU ]] bL["Health bar will be highlighted when unit has maximum threat"] = "ÐолоÑа здоÑовÑÑ Ð±ÑÐ´ÐµÑ Ð¿Ð¾Ð´ÑвеÑиваÑÑÑÑ ÐºÐ¾Ð³Ð´Ð° игÑок/ÑÑÑеÑÑво доÑÑÐ¸Ð³Ð°ÐµÑ Ð¼Ð°ÐºÑ ÑгÑозÑ" |
--[[ ruRU ]] bL["Show threat flash"] = "ÐÑобÑажаÑÑ Ð²ÑпÑÑÐºÑ ÑгÑозÑ" |
--[[ ruRU ]] bL["Invert"] = "ÐнвеÑÑиÑоваÑÑ" |
--[[ ruRU ]] bL["Invert threat flash (enable on targets below the threshold)"] = "ÐнвеÑÑиÑоваÑÑ Ð²ÑпÑÑÐºÑ ÑгÑÐ¾Ð·Ñ (вклÑÑиÑÑ Ð½Ð° ÑелÑÑ Ð½Ð¸Ð¶Ðµ поÑога)" |
--[[ ruRU ]] bL["Threshold"] = "СмеÑение" |
--[[ ruRU ]] bL["The percentage of maximum threat at which flash appears"] = "ÐÑоÑÐµÐ½Ñ Ð¾Ñ Ð¼Ð°ÐºÑималÑного ÑÑÐ¾Ð²Ð½Ñ ÑгÑозÑ, пÑи коÑоÑом поÑвлÑеÑÑÑ Ð²ÑпÑÑка" |
--[[ ruRU ]] bL["Size"] = "РазмеÑ" |
--[[ ruRU ]] bL["Adjust threat flash size"] = "ÐадаÑÑ Ð¼ÐµÑÑо вÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Width"] = "ШиÑина" |
--[[ ruRU ]] bL["Sets the width of the threat flash"] = "ÐÐ°Ð´Ð°ÐµÑ ÑиÑÐ¸Ð½Ñ Ð²ÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the threat flash"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð²ÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust the threat flash position"] = "ÐадаÑÑ Ð¼ÐµÑÑо вÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] bL["X offset of the threat flash"] = "СмеÑение вÑпÑÑки ÑгÑÐ¾Ð·Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] bL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] bL["Y offset of the threat flash"] = "СмеÑение вÑпÑÑки ÑгÑÐ¾Ð·Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] bL["Style"] = "СÑилÑ" |
--[[ ruRU ]] bL["Sets the threat flash style"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ Ð²ÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] bL["Sets the threat flash color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð²ÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Blend Mode"] = "Режим ÑмеÑиваниÑ" |
--[[ ruRU ]] bL["Sets the threat flash blend mode"] = "ÐÐ°Ð´Ð°ÐµÑ Ñип ÑмеÑÐµÐ½Ð¸Ñ Ð²ÑпÑÑки ÑгÑозÑ" |
--[[ ruRU ]] bL["Resets the threat flash color to its default"] = "СбÑÐ¾Ñ ÑвеÑа вÑпÑÑки ÑгÑÐ¾Ð·Ñ Ð² ÑÐ²ÐµÑ Ð¿Ð¾ ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Resets the maximum threat threshold color to its default"] = "СбÑÐ¾Ñ ÑвеÑа макÑималÑной поÑоговой ÑгÑÐ¾Ð·Ñ Ð² ÑÐ²ÐµÑ Ð¿Ð¾ ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Reset Color to Default"] = "СбÑоÑиÑÑ ÑÐ²ÐµÑ Ð½Ð° изнаÑалÑнÑй" |
--[[ ruRU ]] bL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] bL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] bL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] bL["BLEND"] = "СÐÐШÐÐÐТЬ" |
--[[ ruRU ]] bL["ADD"] = "ÐÐÐÐÐÐТЬ" |
--[[ ruRU ]] bL["HARD"] = "СÐÐЬÐÐÐ" |
--[[ ruRU ]] bL["SOFT"] = "ÐЯÐÐÐÐ" |
--[[ ruRU ]] bL["PRTLSOFT"] = "PRTLSOFT" |
--[[ ruRU ]] bL["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ ruRU ]] bL["EXTRASOFT"] = "СÐÐРХÐЯÐÐÐÐ" |
--[[ ruRU ]] bL["OVAL"] = "ÐÐÐÐ" |
--[[ ruRU ]] bL["OVALGLOW"] = "ÐÐÐÐСÐÐЧÐÐÐÐ" |
--[[ ruRU ]] bL["SQUAREGLOW"] = "ÐÐÐÐÐ ÐТÐÐРСÐÐЧÐÐÐÐ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Threat Text"] = "ТекÑÑ ÑгÑозÑ" |
--[[ ruRU ]] tL["Threat text options"] = "ÐаÑÑÑойки ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show threat text on nameplates"] = "ÐÑобÑажаÑÑ ÑекÑÑ ÑгÑÐ¾Ð·Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ " |
--[[ ruRU ]] tL["Active While Solo"] = "ÐклÑÑено, когда один" |
--[[ ruRU ]] tL["Show threat text on nameplates while solo (for classes with pets and guardians)"] = "ÐÑобÑажаÑÑ ÑекÑÑ ÑгÑÐ¾Ð·Ñ ÐºÐ¾Ð³Ð´Ð° один (Ð´Ð»Ñ ÐºÐ»Ð°ÑÑов Ñ Ð¿Ð¸ÑомÑами и заÑиÑниками)" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Threat text typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for threat text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the threat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on threat text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the outline for threat text"] = "ÐÐ°Ð´Ð°ÐµÑ ÐºÐ¾Ð½ÑÑÑ Ð´Ð»Ñ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Mode"] = "Режим" |
--[[ ruRU ]] tL["Choose what to show for threat text"] = "ÐÑбÑаÑÑ, ÑÑо показÑваÑÑ Ð² ÑекÑÑе ÑгÑозÑ" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust threat text position"] = "ÐадаÑÑ Ð¿Ð¾Ð·Ð¸ÑÐ¸Ñ Ð·Ð½Ð°ÑÐµÐ½Ð¸Ñ ÑгÑозÑ" |
--[[ ruRU ]] tL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] tL["Sets the anchor for the threat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] tL["Sets the relative point on the threat bar to anchor the threat text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа ÑгÑÐ¾Ð·Ñ Ð¾ÑноÑиÑелÑно полоÑки ÑгÑозÑ" |
--[[ ruRU ]] tL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] tL["X offset of the threat text"] = "СмеÑение ÑекÑÑа ÑгÑÐ¾Ð·Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] tL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] tL["Y offset of the threat text"] = "СмеÑение ÑекÑÑа ÑгÑÐ¾Ð·Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] tL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] tL["Sets the alpha of the threat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the threat text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа ÑгÑозÑ" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["Percent"] = "ÐÑоÑенÑÑ" |
--[[ ruRU ]] tL["Threat"] = "УгÑоза" |
--[[ ruRU ]] tL["Threat & Percent"] = "УгÑоза & ÐÑоÑенÑÑ" |
--[[ ruRU ]] tL["Deficit"] = "ÐеÑиÑиÑ" |
--[[ ruRU ]] tL["Full"] = "Ðолное" |
--[[ ruRU ]] tL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] tL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] tL["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] tL["Threat tag"] = "ФоÑÐ¼Ð°Ñ ÑгÑозÑ" |
--[[ ruRU ]] tL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] tL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] tL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] tL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftThreat"] = "AloftThreat" |
--[[ ruRU ]] mL["Display threat data, bars, and text on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑекÑÑ/полоÑÑ/даннÑе по ÑгÑозе" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] dL["AOE Threat"] = "AOE Threat" |
--[[ zhCN ]] dL["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"] = "Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)" |
--[[ zhCN ]] dL["Group Threat"] = "Group Threat" |
--[[ zhCN ]] dL["Attempt to approximate threat for visible friendly units versus the player's current target"] = "Attempt to approximate threat for visible friendly units versus the player's current target" |
--[[ zhCN ]] dL["AOE/Group Threat Update Interval"] = "AOE/Group Threat Update Interval" |
--[[ zhCN ]] dL["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] bL["Threat Bar"] = "å¨èå¼æ¾ç¤ºæ¡" |
--[[ zhCN ]] bL["Threat Bar options"] = "å¨èå¼æ¾ç¤ºæ¡ç¸å ³è®¾ç½®" |
--[[ zhCN ]] bL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] bL["Show threat bars on group member nameplates"] = "å¨å°éæåçå§åæ¿ä¸æ¾ç¤ºå¨èå¼" |
--[[ zhCN ]] bL["Active While Solo"] = "å人æ¶ä¹å¯ç¨" |
--[[ zhCN ]] bL["Show threat bars on nameplates while solo (for classes with pets and guardians)"] = "å人æ¶ä¹å¯ç¨" |
--[[ zhCN ]] bL["Texture"] = "æè´¨" |
--[[ zhCN ]] bL["Sets the threat bar texture"] = "设å®å¨èå¼æ¾ç¤ºæ¡çæè´¨" |
--[[ zhCN ]] bL["Alpha"] = "éæ度" |
--[[ zhCN ]] bL["Sets the threat bar alpha"] = "设å®å¨èå¼æ¾ç¤ºæ¡çéæ度" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the threat bar"] = "设å®å¨èå¼æ¾ç¤ºæ¡çé«åº¦" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust the threat bar's position"] = "è°æ´å¨èå¼æ¾ç¤ºæ¡çä½ç½®" |
--[[ zhCN ]] bL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] bL["Sets the offset of the left of the threat bar"] = "设å®å¨èå¼æ¾ç¤ºæ¡çåå·¦å移é" |
--[[ zhCN ]] bL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] bL["Sets the offset of the right of the threat bar"] = "设å®å¨èå¼æ¾ç¤ºæ¡çåå³å移é" |
--[[ zhCN ]] bL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] bL["Sets the vertical offset of the threat bar"] = "设å®å¨èå¼æ¾ç¤ºæ¡çåç´å移é" |
--[[ zhCN ]] bL["Colors"] = "é¢è²" |
--[[ zhCN ]] bL["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] bL["Backdrop Color"] = "èæ¯é¢è²" |
--[[ zhCN ]] bL["Sets the backdrop color of the threat bar"] = "设置å¨èå¼æ¡çèæ¯é¢è²" |
--[[ zhCN ]] bL["Common Threat Color"] = "æ®éå¨èé¢è²" |
--[[ zhCN ]] bL["Sets the threat color for the threat bar when indicating common threat"] = "设置æ®éå¨èç¶æçå¨èæ¡é¢è²" |
--[[ zhCN ]] bL["Maximum Threat Color"] = "æ大å¨èé¢è²" |
--[[ zhCN ]] bL["Sets the threat color for the threat bar when indicating maximum threat"] = "设置æ大å¨èç¶æçå¨èæ¡é¢è²" |
--[[ zhCN ]] bL["Reset to Defaults"] = "é置为é»è®¤å¼" |
--[[ zhCN ]] bL["Resets all colors to their defaults"] = "å°å ¨é¨é¢è²è®¾å®é置为é»è®¤" |
--[[ zhCN ]] bL["Border"] = "Border" |
--[[ zhCN ]] bL["Border options"] = "Border options" |
--[[ zhCN ]] bL["Target Only"] = "Target Only" |
--[[ zhCN ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] bL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] bL["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the border color of the threat bar"] = "Sets the border color of the threat bar" |
--[[ zhCN ]] bL["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Sets the style of the threat bar border"] = "Sets the style of the threat bar border" |
--[[ zhCN ]] bL["Threat Gain"] = "è·å¾ä»æ¨" |
--[[ zhCN ]] bL["Threat gain threshold indicator for the player's target nameplate"] = "ç©å®¶ç®æ å§åæ¿ä¸çè·å¾ä»æ¨éå¼æ示å¨" |
--[[ zhCN ]] bL["Show maximum threat threshold on the player's target nameplate"] = "å¨ç©å®¶ç®æ å§åæ¿ä¸æ¾ç¤ºæ大å¨èéå¼" |
--[[ zhCN ]] bL["Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar"] = "设置æ大å¨èéå¼ç¸å¯¹äºå¨èæ¡å ¶ä»é¨åçåç´å移" |
--[[ zhCN ]] bL["Threat Gain Color"] = "è·å¾ä»æ¨é¢è²" |
--[[ zhCN ]] bL["Sets the color of the maximum threat threshold on the player's target nameplate"] = "设置ç©å®¶ç®æ å§åæ¿ä¸çæ大å¨èéå¼é¢è²" |
--[[ zhCN ]] bL["Threat Flash"] = "å¨èéªç" |
--[[ zhCN ]] bL["Health bar will be highlighted when unit has maximum threat"] = "å¨è¯¥åä½è·å¾æ大å¨èå¼æ¶é«äº®å ¶çå½æ¡" |
--[[ zhCN ]] bL["Invert"] = "Invert" |
--[[ zhCN ]] bL["Invert threat flash (enable on targets below the threshold)"] = "Invert threat flash (enable on targets below the threshold)" |
--[[ zhCN ]] bL["Show threat flash"] = "使ç¨å¨èéªç" |
--[[ zhCN ]] bL["Threshold"] = "Threshold" |
--[[ zhCN ]] bL["The percentage of maximum threat at which flash appears"] = "The percentage of maximum threat at which flash appears" |
--[[ zhCN ]] bL["Size"] = "尺寸" |
--[[ zhCN ]] bL["Adjust threat flash size"] = "Adjust threat flash size" |
--[[ zhCN ]] bL["Width"] = "宽度" |
--[[ zhCN ]] bL["Sets the width of the threat flash"] = "Sets the width of the threat flash" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the threat flash"] = "Sets the height of the threat flash" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust the threat flash position"] = "Adjust the threat flash position" |
--[[ zhCN ]] bL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] bL["X offset of the threat flash"] = "X offset of the threat flash" |
--[[ zhCN ]] bL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] bL["Y offset of the threat flash"] = "Y offset of the threat flash" |
--[[ zhCN ]] bL["Style"] = "Style" |
--[[ zhCN ]] bL["Sets the threat flash style"] = "Sets the threat flash style" |
--[[ zhCN ]] bL["Color"] = "é¢è²" |
--[[ zhCN ]] bL["Sets the threat flash color"] = "设置å¨èéªççé«äº®é¢è²" |
--[[ zhCN ]] bL["Blend Mode"] = "æ¸å模å¼" |
--[[ zhCN ]] bL["Sets the threat flash blend mode"] = "为ä»æ¨éªç使ç¨æ¸å模å¼" |
--[[ zhCN ]] bL["Resets the threat flash color to its default"] = "éç½®å¨èéªççé«äº®é¢è²" |
--[[ zhCN ]] bL["Resets the maximum threat threshold color to its default"] = "éç½®æ大ä»æ¨å¨èæ示çé¢è²" |
--[[ zhCN ]] bL["Reset Color to Default"] = "éç½®é¢è²" |
--[[ zhCN ]] bL["Advanced"] = "é«çº§" |
--[[ zhCN ]] bL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] bL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] bL["BLEND"] = "渲æ" |
--[[ zhCN ]] bL["ADD"] = "å¢å " |
--[[ zhCN ]] bL["HARD"] = "HARD" |
--[[ zhCN ]] bL["SOFT"] = "SOFT" |
--[[ zhCN ]] bL["PRTLSOFT"] = "PRTLSOFT" |
--[[ zhCN ]] bL["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ zhCN ]] bL["EXTRASOFT"] = "EXTRASOFT" |
--[[ zhCN ]] bL["OVAL"] = "OVAL" |
--[[ zhCN ]] bL["OVALGLOW"] = "OVALGLOW" |
--[[ zhCN ]] bL["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ zhCN ]] bL["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ zhCN ]] bL["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Threat Text"] = "å¨èå¼æå" |
--[[ zhCN ]] tL["Threat text options"] = "å¨èå¼æåé项" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show threat text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºå¨èå¼æå" |
--[[ zhCN ]] tL["Active While Solo"] = "å人æ¶ä¹å¯ç¨" |
--[[ zhCN ]] tL["Show threat text on nameplates while solo (for classes with pets and guardians)"] = "å人æ¶ä¹å¯ç¨" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Threat text typeface options"] = "å¨èå¼æåæ ·å¼é项" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for threat text"] = "设置å¨èå¼åä½" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the threat text"] = "设置å¨èå¼æå大å°" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on threat text"] = "为å¨èå¼æå使ç¨é´å½±" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the outline for threat text"] = "设置å¨èå¼æåæè¾¹" |
--[[ zhCN ]] tL["Mode"] = "模å¼" |
--[[ zhCN ]] tL["Choose what to show for threat text"] = "éæ©å¨èå¼æåè¦æ¾ç¤ºçå 容" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust threat text position"] = "è°æ´å¨èå¼æåä½ç½®" |
--[[ zhCN ]] tL["Anchor"] = "éç¹" |
--[[ zhCN ]] tL["Sets the anchor for the threat text"] = "设置å¨èå¼æåçéç¹" |
--[[ zhCN ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] tL["Sets the relative point on the threat bar to anchor the threat text"] = "设置å¨èå¼æåè¦ä¾éå°å¨èå¼æ¡çåªä¸ªä½ç½®" |
--[[ zhCN ]] tL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] tL["X offset of the threat text"] = "å¨èå¼æåç横åå移" |
--[[ zhCN ]] tL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] tL["Y offset of the threat text"] = "å¨èå¼æåç纵åå移" |
--[[ zhCN ]] tL["Alpha"] = "éæ度" |
--[[ zhCN ]] tL["Sets the alpha of the threat text"] = "å¨èå¼æåçéæ度" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the threat text color"] = "å¨èå¼æåé¢è²" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["Percent"] = "ç¾åæ¯" |
--[[ zhCN ]] tL["Threat"] = "å¨èå¼" |
--[[ zhCN ]] tL["Threat & Percent"] = "å¨èå¼åç¾åæ¯" |
--[[ zhCN ]] tL["Deficit"] = "äºå" |
--[[ zhCN ]] tL["Full"] = "å ¨é¨" |
--[[ zhCN ]] tL["Advanced"] = "é«çº§" |
--[[ zhCN ]] tL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] tL["Format"] = "æ ¼å¼" |
--[[ zhCN ]] tL["Threat tag"] = "å¨èæ ç¾" |
--[[ zhCN ]] tL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["TOP"] = "ä¸" |
--[[ zhCN ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
--[[ zhCN ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftThreat"] = "å¨èå¼" |
--[[ zhCN ]] mL["Display threat data, bars, and text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºå¨èå¼æ°æ®ã计éæ¡åææ¬" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] dL["AOE Threat"] = "AOE Threat" |
--[[ zhTW ]] dL["Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)"] = "Attempt to approximate threat for visible hostile units versus the player (other than the player's current target)" |
--[[ zhTW ]] dL["Group Threat"] = "Group Threat" |
--[[ zhTW ]] dL["Attempt to approximate threat for visible friendly units versus the player's current target"] = "Attempt to approximate threat for visible friendly units versus the player's current target" |
--[[ zhTW ]] dL["AOE/Group Threat Update Interval"] = "AOE/Group Threat Update Interval" |
--[[ zhTW ]] dL["The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between proactive/group-wide threat updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] bL["Threat Bar"] = "å¨è å¼æ¢" |
--[[ zhTW ]] bL["Threat Bar options"] = "å¨è å¼æ¢é¸é " |
--[[ zhTW ]] bL["Enable"] = "åç¨" |
--[[ zhTW ]] bL["Show threat bars on group member nameplates"] = "å¨éä¼æå¡" |
--[[ zhTW ]] bL["Active While Solo"] = "å®äººä¸ä¹é¡¯ç¤º" |
--[[ zhTW ]] bL["Show threat bars on nameplates while solo (for classes with pets and guardians)"] = "å¨å®äººä½æ°æä¹é¡¯ç¤ºå¨è å¼æ¢ï¼ä¾å¦æ寵ç©çè·æ¥ï¼" |
--[[ zhTW ]] bL["Texture"] = "ç´ç" |
--[[ zhTW ]] bL["Sets the threat bar texture"] = "å¨è å¼æ¢ç´ç" |
--[[ zhTW ]] bL["Alpha"] = "éæ度" |
--[[ zhTW ]] bL["Sets the threat bar alpha"] = "å¨è å¼æ¢éæ度" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the threat bar"] = "å¨è å¼æ¢é«åº¦" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust the threat bar's position"] = "å¨è å¼æ¢ä½ç½®" |
--[[ zhTW ]] bL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the left of the threat bar"] = "å¨è å¼æ¢å·¦ä½ç§»" |
--[[ zhTW ]] bL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the right of the threat bar"] = "å¨è å¼æ¢å³ä½ç§»" |
--[[ zhTW ]] bL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] bL["Sets the vertical offset of the threat bar"] = "å¨è å¼æ¢åç´ä½ç§»" |
--[[ zhTW ]] bL["Colors"] = "é¡è²" |
--[[ zhTW ]] bL["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] bL["Backdrop Color"] = "èæ¯é¡è²" |
--[[ zhTW ]] bL["Sets the backdrop color of the threat bar"] = "è¨ç½®å¨è å¼æ¢èæ¯é¡è²" |
--[[ zhTW ]] bL["Common Threat Color"] = "æ®éå¨è é¡è²" |
--[[ zhTW ]] bL["Sets the threat color for the threat bar when indicating common threat"] = "è¨ç½®æ®éå¨è çå¨è å¼æ¢é¡è²" |
--[[ zhTW ]] bL["Maximum Threat Color"] = "æ大å¨è é¡è²" |
--[[ zhTW ]] bL["Sets the threat color for the threat bar when indicating maximum threat"] = "è¨ç½®æ大å¨è çå¨è å¼æ¢é¡è²" |
--[[ zhTW ]] bL["Reset to Defaults"] = "éè¨åé è¨å¼" |
--[[ zhTW ]] bL["Resets all colors to their defaults"] = "éè¨å ¨é¨é¡è²åé è¨å¼" |
--[[ zhTW ]] bL["Border"] = "Border" |
--[[ zhTW ]] bL["Border options"] = "Border options" |
--[[ zhTW ]] bL["Target Only"] = "Target Only" |
--[[ zhTW ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] bL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] bL["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] bL["Sets the border color of the threat bar"] = "Sets the border color of the threat bar" |
--[[ zhTW ]] bL["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Sets the style of the threat bar border"] = "Sets the style of the threat bar border" |
--[[ zhTW ]] bL["Threat Gain"] = "ç²å¾ä»æ¨" |
--[[ zhTW ]] bL["Threat gain threshold indicator for the player's target nameplate"] = "ç©å®¶ç®æ¨å§åæ¿ä¸é¡¯ç¤ºçæ大å¨è é¥å¼æ示å¨" |
--[[ zhTW ]] bL["Show maximum threat threshold on the player's target nameplate"] = "å¨ç©å®¶ç®æ¨å§åæ¿ä¸é¡¯ç¤ºæ大å¨è é¥å¼" |
--[[ zhTW ]] bL["Sets the vertical offset of the maximum threat threshold, relative to the rest of the threat bar"] = "è¨ç½®æ大å¨è å¼æ示ç¸å°å¨è å¼æ¢å ¶ä»é¨åçå移" |
--[[ zhTW ]] bL["Threat Gain Color"] = "ç²å¾ä»æ¨é¡è²" |
--[[ zhTW ]] bL["Sets the color of the maximum threat threshold on the player's target nameplate"] = "è¨ç½®ç®æ¨å§åæ¿ä¸çæ大ä»æ¨é¥å¼æ示å¨é¡è²" |
--[[ zhTW ]] bL["Threat Flash"] = "å¨è éå" |
--[[ zhTW ]] bL["Health bar will be highlighted when unit has maximum threat"] = "å¨è©²å®ä½ç²å¾æ大å¨è æçªåºå ¶çå½æ¢" |
--[[ zhTW ]] bL["Show threat flash"] = "顯示å¨è éå" |
--[[ zhTW ]] bL["Invert"] = "Invert" |
--[[ zhTW ]] bL["Invert threat flash (enable on targets below the threshold)"] = "Invert threat flash (enable on targets below the threshold)" |
--[[ zhTW ]] bL["Threshold"] = "Threshold" |
--[[ zhTW ]] bL["The percentage of maximum threat at which flash appears"] = "The percentage of maximum threat at which flash appears" |
--[[ zhTW ]] bL["Size"] = "大å°" |
--[[ zhTW ]] bL["Adjust threat flash size"] = "Adjust threat flash size" |
--[[ zhTW ]] bL["Width"] = "寬度" |
--[[ zhTW ]] bL["Sets the width of the threat flash"] = "Sets the width of the threat flash" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the threat flash"] = "Sets the height of the threat flash" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust the threat flash position"] = "Adjust the threat flash position" |
--[[ zhTW ]] bL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] bL["X offset of the threat flash"] = "X offset of the threat flash" |
--[[ zhTW ]] bL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] bL["Y offset of the threat flash"] = "Y offset of the threat flash" |
--[[ zhTW ]] bL["Style"] = "Style" |
--[[ zhTW ]] bL["Sets the threat flash style"] = "Sets the threat flash style" |
--[[ zhTW ]] bL["Color"] = "é¡è²" |
--[[ zhTW ]] bL["Sets the threat flash color"] = "è¨ç½®å¨è å¼é«äº®é¡è²" |
--[[ zhTW ]] bL["Blend Mode"] = "漸è®æ¨¡å¼" |
--[[ zhTW ]] bL["Sets the threat flash blend mode"] = "使å¨è å¼éå使ç¨æ¼¸è®é¡è²" |
--[[ zhTW ]] bL["Resets the threat flash color to its default"] = "éç½®å¨è å¼éåé¡è²" |
--[[ zhTW ]] bL["Resets the maximum threat threshold color to its default"] = "å°æ大å¨è æ示é¡è²éç½®" |
--[[ zhTW ]] bL["Reset Color to Default"] = "éç½®é¡è²" |
--[[ zhTW ]] bL["Advanced"] = "é²é" |
--[[ zhTW ]] bL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] bL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] bL["BLEND"] = "æ··å" |
--[[ zhTW ]] bL["ADD"] = "å¢å " |
--[[ zhTW ]] bL["HARD"] = "HARD" |
--[[ zhTW ]] bL["SOFT"] = "SOFT" |
--[[ zhTW ]] bL["PRTLSOFT"] = "PRTLSOFT" |
--[[ zhTW ]] bL["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ zhTW ]] bL["EXTRASOFT"] = "EXTRASOFT" |
--[[ zhTW ]] bL["OVAL"] = "OVAL" |
--[[ zhTW ]] bL["OVALGLOW"] = "OVALGLOW" |
--[[ zhTW ]] bL["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ zhTW ]] bL["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ zhTW ]] bL["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Threat Text"] = "å¨è å¼ææ¬" |
--[[ zhTW ]] tL["Threat text options"] = "å¨è å¼ææ¬é¸é " |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show threat text on nameplates"] = "å¨å§åæ¿ä¸é¡¯ç¤ºå¨è å¼ææ¬" |
--[[ zhTW ]] tL["Active While Solo"] = "å®äººä½æ°æåç¨" |
--[[ zhTW ]] tL["Show threat text on nameplates while solo (for classes with pets and guardians)"] = "å¨å®äººä½æ°æä¹é¡¯ç¤ºå¨è å¼æ¢ï¼ä¾å¦æ寵ç©çè·æ¥ï¼" |
--[[ zhTW ]] tL["Typeface"] = "å¼æ¨£" |
--[[ zhTW ]] tL["Threat text typeface options"] = "å¨è å¼ææ¬å¼æ¨£é¸é " |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for threat text"] = "è¨ç½®å¨è å¼ææ¬åå" |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the threat text"] = "è¨ç½®å¨è å¼ææ¬ååé«åº¦" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on threat text"] = "è¨ç½®å¨è å¼ææ¬ååé°å½±" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the outline for threat text"] = "è¨ç½®å¨è å¼ææ¬è¼ªå»" |
--[[ zhTW ]] tL["Mode"] = "模å¼" |
--[[ zhTW ]] tL["Choose what to show for threat text"] = "é¸æå¨è å¼ææ¬é¡¯ç¤ºçå §å®¹" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust threat text position"] = "調æ´å¨è å¼ææ¬ä½ç½®" |
--[[ zhTW ]] tL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] tL["Sets the anchor for the threat text"] = "è¨ç½®å¨è å¼ææ¬çå®ä½é»" |
--[[ zhTW ]] tL["Anchor To"] = "ä¾éå°" |
--[[ zhTW ]] tL["Sets the relative point on the threat bar to anchor the threat text"] = "è¨ç½®å¨è å¼ææ¬è¦ä¾éå°å¨è å¼æ¢çåªåä½ç½®" |
--[[ zhTW ]] tL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] tL["X offset of the threat text"] = "å¨è å¼ææ¬çæ©«åå移" |
--[[ zhTW ]] tL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] tL["Y offset of the threat text"] = "å¨è å¼ææ¬ç縱åå移" |
--[[ zhTW ]] tL["Alpha"] = "éæ度" |
--[[ zhTW ]] tL["Sets the alpha of the threat text"] = "å¨è å¼ææ¬éæ度" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the threat text color"] = "è¨ç½®å¨è å¼ææ¬é¡è²" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["Percent"] = "ç¾åæ¯" |
--[[ zhTW ]] tL["Threat"] = "å¨è å¼" |
--[[ zhTW ]] tL["Threat & Percent"] = "å¨è å¼åç¾åæ¯" |
--[[ zhTW ]] tL["Deficit"] = "è§æ¸æ¨¡å¼" |
--[[ zhTW ]] tL["Full"] = "å ¨é¨" |
--[[ zhTW ]] tL["Advanced"] = "é²é" |
--[[ zhTW ]] tL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] tL["Format"] = "æ ¼å¼" |
--[[ zhTW ]] tL["Threat tag"] = "å¨è å¼æ¨ç°½" |
--[[ zhTW ]] tL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["TOP"] = "ä¸" |
--[[ zhTW ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
--[[ zhTW ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftThreat"] = "å¨è å¼" |
--[[ zhTW ]] mL["Display threat data, bars, and text on nameplates"] = "å¨åçä¸é¡¯ç¤ºå¨è å¼è³æãè¨éæ¢åææ¬" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftThreatDataOptions = setmetatable(dL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
dL = nil |
----------------------------------------------------------------------------- |
AloftLocale.AloftThreatBarOptions = setmetatable(bL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
bL = nil |
----------------------------------------------------------------------------- |
AloftLocale.AloftThreatTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftThreatBarOptions |
if not L then return end |
local AloftThreatBar = Aloft:GetModule("ThreatBar", true) |
if not AloftThreatBar then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.threatBar = |
{ |
type = 'group', |
name = L["Threat Bar"], |
desc = L["Threat Bar options"], |
disabled = function(i) |
-- ChatFrame7:AddMessage("Aloft.Options.args.threatBar.disabled(): " .. tostring(Aloft:IsEnabled()) .. "/" .. tostring(AloftThreatBar:IsEnabled()) .. "/" .. tostring(AloftThreatBar.db) .. "/" .. tostring(AloftThreatBar.db.profile)) |
return not Aloft:IsEnabled() or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile |
end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show threat bars on group member nameplates"], |
order = 1, |
get = function(i) return AloftThreatBar.db.profile.enable end, |
set = function(i, v) AloftThreatBar.db.profile.enable = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() 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, |
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, |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the threat bar texture"], |
order = 6, |
disabled = function(i) return not AloftThreatBar.db.profile.enable or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.threatBar.args.texture.values) do |
if v == AloftThreatBar.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftThreatBar.db.profile.texture = Aloft.Options.args.threatBar.args.texture.values[v] |
Aloft:DetermineDataSources() |
AloftThreatBar:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the threat bar's position"], |
order = 7, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the threat bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftThreatBar.db.profile.offsets.left end, |
set = function(i, v) AloftThreatBar.db.profile.offsets.left = v AloftThreatBar:UpdateAll() end, |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the threat bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftThreatBar.db.profile.offsets.right end, |
set = function(i, v) AloftThreatBar.db.profile.offsets.right = v AloftThreatBar:UpdateAll() end, |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the threat bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftThreatBar.db.profile.offsets.vertical end, |
set = function(i, v) AloftThreatBar.db.profile.offsets.vertical = v AloftThreatBar:UpdateAll() end, |
}, |
}, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the threat bar"], |
order = 8, |
min = 1, |
max = 32, |
step = 1, |
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.height end, |
set = function(i, v) AloftThreatBar.db.profile.height = v AloftThreatBar:UpdateAll() end, |
}, |
border = { |
type = 'group', |
name = L["Border"], |
desc = L["Border options"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable end, |
args = |
{ |
targetOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Target Only"], |
desc = L["Enables the border on the current target only"], |
order = 1, |
get = function(i) return AloftThreatBar.db.profile.targetOnly end, |
set = function(i, v) AloftThreatBar.db.profile.targetOnly = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end, |
disabled = function(i) return AloftThreatBar.db.profile.border == "None" end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the threat bar border"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.threatBar.args.border.args.style.values) do |
if v == AloftThreatBar.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftThreatBar.db.profile.border = Aloft.Options.args.threatBar.args.border.args.style.values[v] |
AloftThreatBar:UpdateAll() |
end, |
values = SML:List("border") |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftThreatBar.db.profile.borderEdgeSize end, |
set = function(i, v) AloftThreatBar.db.profile.borderEdgeSize = v AloftThreatBar:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftThreatBar.db.profile.borderInset end, |
set = function(i, v) AloftThreatBar.db.profile.borderInset = v AloftThreatBar:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
order = 3, |
desc = L["Sets the border color of the threat bar"], |
get = function(i) return unpack(AloftThreatBar.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.borderColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
disabled = function(i) return AloftThreatBar.db.profile.border == "None" end, |
hasAlpha = true, |
}, |
}, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize colors"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable end, |
args = |
{ |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the threat bar"], |
order = 1, |
get = function(i) return unpack(AloftThreatBar.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.backdropColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
hasAlpha = true, |
}, |
commonThreat = |
{ |
type = 'color', |
width = 'full', |
name = L["Common Threat Color"], |
desc = L["Sets the threat color for the threat bar when indicating common threat"], |
order = 2, |
get = function(i) return unpack(AloftThreatBar.db.profile.commonThreatColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.commonThreatColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
hasAlpha = true, |
}, |
maximumThreat = |
{ |
type = 'color', |
width = 'full', |
name = L["Maximum Threat Color"], |
order = 3, |
desc = L["Sets the threat color for the threat bar when indicating maximum threat"], |
get = function(i) return unpack(AloftThreatBar.db.profile.maximumThreatColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.maximumThreatColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
hasAlpha = true, |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset to Defaults"], |
desc = L["Resets all colors to their defaults"], |
order = -1, |
func = function(i) |
AloftThreatBar.db.profile.backgroundColor = { 0.25, 0.25, 0.25, 0.5 } |
AloftThreatBar.db.profile.commonThreatColor = { 1.0, 1.0, 0.0, 1.0 } |
AloftThreatBar.db.profile.maximumThreatColor = { 1.0, 0.0, 0.0, 1.0 } |
AloftThreatBar:UpdateAll() |
end, |
}, |
} |
}, |
threatGain = |
{ |
type = 'group', |
name = L["Threat Gain"], |
desc = L["Threat gain threshold indicator for the player's target nameplate"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable end, |
args = |
{ |
gainEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show maximum threat threshold on the player's target nameplate"], |
order = 1, |
get = function(i) return AloftThreatBar.db.profile.gainEnable end, |
set = function(i, v) AloftThreatBar.db.profile.gainEnable = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end, |
}, |
threatGainColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Threat Gain Color"], |
desc = L["Sets the color of the maximum threat threshold on the player's target nameplate"], |
order = 2, |
disabled = function(i) return not AloftThreatBar.db.profile.gainEnable end, |
get = function(i) return unpack(AloftThreatBar.db.profile.threatGainColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.threatGainColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
hasAlpha = true, |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset Color to Default"], |
desc = L["Resets the maximum threat threshold color to its default"], |
order = -1, |
func = function(i) |
AloftThreatBar.db.profile.threatGainColor = { 1.0, 0.5, 0.0, 1.0 } |
AloftThreatBar:UpdateAll() |
end, |
}, |
}, |
}, |
threatFlash = { |
type = 'group', |
name = L["Threat Flash"], |
desc = L["Health bar will be highlighted when unit has maximum threat"], |
order = 13, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show threat flash"], |
order = 1, |
get = function(i) return AloftThreatBar.db.profile.flashEnable end, |
set = function(i, v) AloftThreatBar.db.profile.flashEnable = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end, |
}, |
invert = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Invert"], |
desc = L["Invert threat flash (enable on targets below the threshold)"], |
order = 2, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashInvert end, |
set = function(i, v) AloftThreatBar.db.profile.flashInvert = v AloftThreatBar:UpdateAll() end, |
}, |
threshold = |
{ |
type = 'range', |
width = 'full', |
name = L["Threshold"], |
desc = L["The percentage of maximum threat at which flash appears"], |
order = 2, |
min = 0, |
max = 100, |
step = 1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashThreshold end, |
set = function(i, v) AloftThreatBar.db.profile.flashThreshold = v Aloft:DetermineDataSources() AloftThreatBar:UpdateAll() end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Style"], |
desc = L["Sets the threat flash style"], |
order = 3, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.threatBar.args.threatFlash.args.style.values) do |
if v == AloftThreatBar.db.profile.flashStyle then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftThreatBar.db.profile.flashStyle = Aloft.Options.args.threatBar.args.threatFlash.args.style.values[v] |
AloftThreatBar.db.profile.flashStyle() |
end, |
values = SML:List("glow"), |
--[[ |
get = function(i) return AloftThreatBar.db.profile.flashStyle end, |
set = function(i, v) AloftThreatBar.db.profile.flashStyle = v AloftThreatBar.db.profile.flashStyle() end, |
values = { |
["HARD"] = L["HARD"], |
["SOFT"] = L["SOFT"], |
["PRTLSOFT"] = L["PRTLSOFT"], |
["THRQTRSOFT"] = L["THRQTRSOFT"], |
["EXTRASOFT"] = L["EXTRASOFT"], |
["OVAL"] = L["OVAL"], |
["OVALGLOW"] = L["OVALGLOW"], |
["SQUAREGLOW"] = L["SQUAREGLOW"], |
["PRTLSQUAREGLOW"] = L["PRTLSQUAREGLOW"], |
["THRQTRSQUAREGLOW"] = L["THRQTRSQUAREGLOW"], |
}, |
]] |
}, |
size = |
{ |
type = 'group', |
name = L["Size"], |
desc = L["Adjust threat flash size"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable or not AloftThreatBar.db.profile.flashEnable end, |
args = |
{ |
width = |
{ |
type = 'range', |
width = 'full', |
name = L["Width"], |
desc = L["Sets the width of the threat flash"], |
order = 1, |
min = 32, |
max = 768, |
step = 1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashWidth end, |
set = function(i, v) AloftThreatBar.db.profile.flashWidth = v AloftThreatBar:UpdateAll() end, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the threat flash"], |
order = 2, |
min = 4, |
max = 256, |
step = 1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashHeight end, |
set = function(i, v) AloftThreatBar.db.profile.flashHeight = v AloftThreatBar:UpdateAll() end, |
}, |
} |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the threat flash position"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatBar:IsEnabled() or not AloftThreatBar.db or not AloftThreatBar.db.profile or not AloftThreatBar.db.profile.enable or not AloftThreatBar.db.profile.flashEnable end, |
args = |
{ |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the threat flash"], |
order = 1, |
min = -32, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashOffsetX end, |
set = function(i, v) AloftThreatBar.db.profile.flashOffsetX = v AloftThreatBar:UpdateAll() end, |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the threat flash"], |
order = 2, |
min = -32, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashOffsetY end, |
set = function(i, v) AloftThreatBar.db.profile.flashOffsetY = v AloftThreatBar:UpdateAll() end, |
}, |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the threat flash color"], |
order = 6, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return unpack(AloftThreatBar.db.profile.flashColor) end, |
set = function(i, r, g, b, a) AloftThreatBar.db.profile.flashColor = { r, g, b, a } AloftThreatBar:UpdateAll() end, |
hasAlpha = true, |
}, |
mode = |
{ |
type = 'select', |
width = 'full', |
name = L["Blend Mode"], |
desc = L["Sets the threat flash blend mode"], |
order = 7, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
get = function(i) return AloftThreatBar.db.profile.flashBlendMode end, |
set = function(i, v) AloftThreatBar.db.profile.flashBlendMode = v AloftThreatBar:UpdateAll() end, |
values = { ["BLEND"] = L["BLEND"], ["ADD"] = L["ADD"] }, |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset Color to Default"], |
desc = L["Resets the threat flash color to its default"], |
order = -1, |
disabled = function(i) return not AloftThreatBar.db.profile.flashEnable end, |
func = function(i) |
AloftThreatBar.db.profile.flashColor = { 1.0, 0.0, 0.0, 1.0 } |
AloftThreatBar:UpdateAll() |
end, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftThreat", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftThreatTextOptions |
if not L then return end |
local AloftThreatText = Aloft:GetModule("ThreatText", true) |
if not AloftThreatText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local threatTags = |
{ |
NONE = "", |
PERCENT = "[ThreatFraction:Percent]", |
THREAT = "[Threat]", |
THREATANDPERCENT = "[Threat:Short:Suffix(\" (\")][ThreatFraction:Percent:Suffix(\")\")]", |
DEFICIT = "[ThreatDeficit:HideZero:Short]", |
FULL = "[Threat:Short:Suffix(\"/\")][MaxThreat:Short:Suffix(\" (\")][ThreatFraction:Percent:Suffix(\")\")]", |
} |
----------------------------------------------------------------------------- |
AloftThreatText.options = |
{ |
type = 'group', |
name = L["Threat Text"], |
desc = L["Threat text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show threat text on nameplates"], |
get = function(i) return AloftThreatText.db.profile.enable end, |
set = function(i, v) AloftThreatText.db.profile.enable = v AloftThreatText:UpdateTag() AloftThreatText:UpdateAll() end, |
order = 1, |
}, |
activeWhileSolo = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Active While Solo"], |
desc = L["Show threat text on nameplates while solo (for classes with pets and guardians)"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
get = function(i) return AloftThreatText.db.profile.activeWhileSolo end, |
set = function(i, v) AloftThreatText.db.profile.activeWhileSolo = v AloftThreatText:UpdateTag() AloftThreatText:UpdateAll() end, |
order = 2, |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Threat text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
order = 3, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for threat text"], |
get = function(i) |
for k, v in pairs(AloftThreatText.options.args.typeface.args.font.values) do |
if v == AloftThreatText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftThreatText.db.profile.font = AloftThreatText.options.args.typeface.args.font.values[v] |
AloftThreatText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the threat text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftThreatText.db.profile.fontSize end, |
set = function(i, value) AloftThreatText.db.profile.fontSize = value AloftThreatText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on threat text"], |
get = function(i) return AloftThreatText.db.profile.shadow end, |
set = function(i, v) AloftThreatText.db.profile.shadow = v AloftThreatText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for threat text"], |
get = function(i) return AloftThreatText.db.profile.outline end, |
set = function(i, value) AloftThreatText.db.profile.outline = value AloftThreatText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
mode = |
{ |
type = 'select', |
width = 'full', |
name = L["Mode"], |
desc = L["Choose what to show for threat text"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
get = function(i) return AloftThreatText.db.profile.mode end, |
set = function(i, value) AloftThreatText.db.profile.mode = value AloftThreatText:UpdateTag() AloftThreatText:UpdateAll() end, |
values = { PERCENT = L["Percent"], THREAT = L["Threat"], THREATANDPERCENT = L["Threat & Percent"], DEFICIT = L["Deficit"], FULL = L["Full"] }, |
order = 3, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust threat text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
order = 3, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the threat text"], |
get = function(i) return AloftThreatText.db.profile.point end, |
set = function(i, v) AloftThreatText.db.profile.point = v AloftThreatText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the threat bar to anchor the threat text"], |
get = function(i) return AloftThreatText.db.profile.relativeToPoint end, |
set = function(i, v) AloftThreatText.db.profile.relativeToPoint = v AloftThreatText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the threat text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftThreatText.db.profile.offsetX end, |
set = function(i, v) AloftThreatText.db.profile.offsetX = v AloftThreatText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the threat text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftThreatText.db.profile.offsetY end, |
set = function(i, v) AloftThreatText.db.profile.offsetY = v AloftThreatText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the threat text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
get = function(i) return AloftThreatText.db.profile.alpha end, |
set = function(i, v) AloftThreatText.db.profile.alpha = v AloftThreatText:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the threat text color"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
get = function(i) return unpack(AloftThreatText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftThreatText.db.profile.color = { r, g, b, a } AloftThreatText:UpdateAll() end, |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ThreatData", true) and Aloft:GetModule("ThreatData"):IsEnabled()) or not AloftThreatText:IsEnabled() or not AloftThreatText.db or not AloftThreatText.db.profile or not AloftThreatText.db.profile.enable end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Threat tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftThreatText.db.profile.format) end, |
set = function(i, v) |
AloftThreatText.db.profile.format = Aloft:FixTagCasing(v) |
AloftThreatText.textMethodData = nil |
AloftThreatText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftThreatText:UpdateAll() |
end, |
} |
}, |
}, |
}, |
} |
-- stitch the options in based on what optional dependencies are enabled; the TOC will have guaranteed load order if they are enabled |
if (Aloft.Options.args.threatBar and Aloft.Options.args.threatBar.args) then |
Aloft.Options.args.threatBar.args.threatText = AloftThreatText.options |
else |
AloftThreatText.options.order = nil -- reorder to take the place of the bar options (sort alphabetically) |
Aloft.Options.args.threatText = AloftThreatText.options |
end |
----------------------------------------------------------------------------- |
function AloftThreatText:UpdateTag() |
local tag = self.db.profile.mode |
--if (Aloft:IsLogEnbl("ThreatText", 3)) then Aloft:Log("ThreatText", "UpdateTag", 3, "tag " .. tostring(tag)) end |
if not self.db.profile.enable then tag = "NONE" end |
self.db.profile.format = threatTags[tag] |
self.textMethodData = nil |
self.textMethod = nil |
Aloft:DetermineDataSources() |
end |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftThreat = |
{ |
type = 'toggle', |
name = L["AloftThreat"], |
desc = L["Display threat data, bars, and text on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftThreat end, |
set = function(i, v) AloftModules.db.profile.AloftThreat = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftVisibilityOptions |
if not L then return end |
local oT = AloftLocale.AloftVisibilityTotems |
if not oT then return end |
local AloftVisibility = Aloft:GetModule("Visibility", true) |
if not AloftVisibility then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.visibility = |
{ |
type = 'group', |
name = L["Visibility"], |
desc = L["Extra visibility options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile end, |
args = |
{ |
target = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Always Show Current Target"], |
desc = L["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("Alpha", true) and Aloft:GetModule("Alpha"):IsEnabled()) or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile or not AloftVisibility.db.profile.useAlpha end, |
get = function(i) return AloftVisibility.db.profile.target end, |
set = function(i, v) AloftVisibility.db.profile.target = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 1, |
}, |
friendlyPlayers = |
{ |
type = 'select', |
width = 'full', |
name = L["Friendly Players"], |
desc = L["Selects which friendly players to show"], |
get = function(i) return AloftVisibility.db.profile.friendlyPlayers end, |
set = function(i, v) AloftVisibility.db.profile.friendlyPlayers = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
values = { ["ALL"] = L["All"], ["GUILDONLY"] = L["Guild Only"], ["GROUPONLY"] = L["Group Only"], ["NONE"] = L["None"] }, |
order = 2, |
}, |
showPet = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Pet"], |
desc = L["Shows nameplates for your pets"], |
get = function(i) return AloftVisibility.db.profile.showPet end, |
set = function(i, v) AloftVisibility.db.profile.showPet = v AloftVisibility:Update() end, |
order = 3, |
}, |
showGroupPets = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Group Pets"], |
desc = L["Shows nameplates for group pets"], |
get = function(i) return AloftVisibility.db.profile.showGroupPets end, |
set = function(i, v) AloftVisibility.db.profile.showGroupPets = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 4, |
}, |
showFriendlyPets = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Friendly Pets"], |
desc = L["Shows nameplates for friendly pets"], |
get = function(i) return AloftVisibility.db.profile.showFriendlyPets end, |
set = function(i, v) AloftVisibility.db.profile.showFriendlyPets = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 5, |
}, |
showFriendlyNPCs = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Friendly NPCs"], |
desc = L["Show friendly NPCs"], |
get = function(i) return AloftVisibility.db.profile.showFriendlyNPCs end, |
set = function(i, v) AloftVisibility.db.profile.showFriendlyNPCs= v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 6, |
}, |
showFriendlyTotems = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Friendly Totems/Trap Snakes/Bloodworms"], |
desc = L["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"], |
order = 7, |
get = function(i) return AloftVisibility.db.profile.showFriendlyTotems end, |
set = function(i, v) AloftVisibility.db.profile.showFriendlyTotems = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
}, |
showHostilePlayers = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Hostile Players"], |
desc = L["Shows nameplates for hostile players"], |
get = function(i) return AloftVisibility.db.profile.showHostilePlayers end, |
set = function(i, v) AloftVisibility.db.profile.showHostilePlayers = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 8, |
}, |
showHostilePets = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Hostile Pets"], |
desc = L["Shows nameplates for hostile pets"], |
get = function(i) return AloftVisibility.db.profile.showHostilePets end, |
set = function(i, v) AloftVisibility.db.profile.showHostilePets = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 9, |
}, |
showHostileNPCs = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Hostile NPCs"], |
desc = L["Show hostile NPCs"], |
get = function(i) return AloftVisibility.db.profile.showHostileNPCs end, |
set = function(i, v) AloftVisibility.db.profile.showHostileNPCs = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 10, |
}, |
showHostileTotems = |
{ |
type = 'group', |
name = L["Show Hostile Totems/Trap Snakes/Bloodworms"], |
desc = L["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["All"], |
name = L["All"], |
order = 1, |
get = function(i) return AloftVisibility.db.profile.showHostileTotems end, |
set = function(i, v) AloftVisibility.db.profile.showHostileTotems = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
}, |
exceptionHeader = |
{ |
type = "header", |
name = L["Exceptions"], |
desc = L["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"], |
order = 2, |
}, |
}, |
-- NOTE: showHostileTotems is fleshed out at the bottom, based on data extracted via GetSpellInfo |
}, |
showNeutralUnits = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Neutral Units"], |
desc = L["Show neutral units"], |
get = function(i) return AloftVisibility.db.profile.showNeutralUnits end, |
set = function(i, v) AloftVisibility.db.profile.showNeutralUnits = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 12, |
}, |
critters = |
{ |
type = 'group', |
name = L["Critters"], |
desc = L["Visibility options for critters"], |
order = 13, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile or not AloftVisibility.db.profile.showNeutralUnits end, |
args = |
{ |
showCritters = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Critters"], |
desc = L["Shows nameplates for critters"], |
get = function(i) return AloftVisibility.db.profile.showCritters end, |
set = function(i, v) AloftVisibility.db.profile.showCritters = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = 11 |
}, |
critterLevel = |
{ |
type = 'range', |
width = 'full', |
name = L["Critter Level"], |
desc = L["Assume neutral units below this level are 'critters'"], |
min = 1, |
max = 8, |
step = 1, |
get = function(i) return AloftVisibility.db.profile.critterLevel end, |
set = function(i, v) AloftVisibility.db.profile.critterLevel = v Aloft:DetermineDataSources() AloftVisibility:Update() end |
}, |
critterHealth = |
{ |
type = 'range', |
width = 'full', |
name = L["Critter Health"], |
desc = L["Assume neutral units below this health are 'critters'"], |
min = 1, |
max = 80, |
step = 1, |
get = function(i) return AloftVisibility.db.profile.critterHealth end, |
set = function(i, v) AloftVisibility.db.profile.critterHealth = v Aloft:DetermineDataSources() AloftVisibility:Update() end |
}, |
}, |
}, |
useAlpha = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Use Nameplate Alpha"], |
desc = L["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("Alpha", true) and Aloft:GetModule("Alpha"):IsEnabled()) or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile end, |
get = function(i) return AloftVisibility.db.profile.useAlpha end, |
set = function(i, v) AloftVisibility.db.profile.useAlpha = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
order = -1, |
}, |
unitNames = |
{ |
type = 'group', |
name = L["Hide Unit Names"], |
desc = L["Hide nameplates by unit name"], |
order = -3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftVisibility:IsEnabled() or not AloftVisibility.db or not AloftVisibility.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Hide nameplates by unit name"], |
order = 1, |
get = function(i) return AloftVisibility.db.profile.enableHideUnitNames end, |
set = function(i, v) |
AloftVisibility.db.profile.enableHideUnitNames = v |
Aloft:DetermineDataSources() AloftVisibility:Update() |
end, |
}, |
target = |
{ |
type = 'execute', |
width = 'full', |
name = L["Hide Current Target"], |
desc = L["Add current target to list of unit names to hide"], |
order = 2, |
disabled = function(i) return not AloftVisibility.db.profile.enableHideUnitNames end, |
func = function(i) |
local name, _ = UnitName("target") |
if name then |
-- ChatFrame7:AddMessage("AloftVisibility.unitName.target.func(): " .. tostring(name)) |
AloftVisibility.db.profile.hideUnitNames[name] = name |
Aloft:DetermineDataSources() |
AloftVisibility:Update() |
end |
end, |
}, |
input = |
{ |
type = 'input', |
width = 'full', |
name = L["Hide Unit Name"], |
desc = L["Add given name to list of unit names to hide"], |
usage = L["Enter any unit name, then enter <return>"], |
order = 3, |
disabled = function(i) return not AloftVisibility.db.profile.enableHideUnitNames end, |
get = function(i) return nil end, |
set = function(i, v) |
if v then |
-- ChatFrame7:AddMessage("AloftVisibility.unitName.input.set(): " .. tostring(v)) |
AloftVisibility.db.profile.hideUnitNames[v] = v |
Aloft:DetermineDataSources() |
AloftVisibility:Update() |
end |
end, |
}, |
delete = { |
type = 'select', |
width = 'full', |
name = L["Delete Unit Name"], |
desc = L["Select from list of unit names to delete"], |
order = 4, |
disabled = function(i) return not AloftVisibility.db.profile.enableHideUnitNames end, |
get = function(i) return nil end, |
set = function(i, v) |
-- ChatFrame7:AddMessage("AloftVisibility.unitName.delete.set(): " .. tostring(v)) |
AloftVisibility.db.profile.hideUnitNames[v] = nil |
Aloft:DetermineDataSources() |
AloftVisibility:Update() |
end, |
values = function(i) return AloftVisibility.db.profile.hideUnitNames end, -- Ace3 apparently does not like empty tables |
}, |
}, |
}, |
}, |
} |
-- flesh out showHostileTotems, based on data extracted via GetSpellInfo |
for name, _ in pairs(Aloft.TotemName) do |
local order = 3 |
Aloft.Options.args.visibility.args.showHostileTotems.args[name] = |
{ |
type = 'group', |
name = name, |
desc = name, |
order = order, |
inline = true, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
-- width = 'normal', |
name = L["Enable"], |
desc = L["Enable"], |
order = 2, |
disabled = function(i) return AloftVisibility.db.profile.showHostileTotems end, |
get = function(i) return AloftVisibility.db.profile.enableHostileTotem[i.arg] end, |
set = function(i, v) AloftVisibility.db.profile.enableHostileTotem[i.arg] = v Aloft:DetermineDataSources() AloftVisibility:Update() end, |
arg = name, |
}, |
color = |
{ |
type = 'color', |
-- width = 'normal', |
name = L["Color"], |
desc = L["Color"], |
order = 3, |
disabled = function(i) return not AloftVisibility.db.profile.showHostileTotems and not AloftVisibility.db.profile.enableHostileTotem[i.arg] end, |
get = function(i) |
-- ChatFrame7:AddMessage("Aloft.Options.args.visibility.args.showHostileTotems.args: " .. tostring(i.arg)) |
return unpack(AloftVisibility.db.profile.hostileTotemColor[i.arg]) |
end, |
set = function(i, r, g, b, a) AloftVisibility.db.profile.hostileTotemColor[i.arg] = { r, g, b, a } AloftVisibility:Update() end, |
hasAlpha = true, |
arg = name, |
}, |
}, |
} |
order = order + 1 |
end |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local oL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] oL["Visibility"] = "Visibility" |
--[[ enUS ]] oL["Extra visibility options"] = "Extra visibility options" |
--[[ enUS ]] oL["Always Show Current Target"] = "Always Show Current Target" |
--[[ enUS ]] oL["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"] = "Always shows the current target nameplate (overrides other visibility options, requires use of alpha)" |
--[[ enUS ]] oL["Show Hostile Players"] = "Show Hostile Players" |
--[[ enUS ]] oL["Shows nameplates for hostile players"] = "Shows nameplates for hostile players" |
--[[ enUS ]] oL["Show Hostile Pets"] = "Show Hostile Pets" |
--[[ enUS ]] oL["Shows nameplates for hostile pets"] = "Shows nameplates for hostile pets" |
--[[ enUS ]] oL["Show Hostile NPCs"] = "Show Hostile NPCs" |
--[[ enUS ]] oL["Show hostile NPCs"] = "Show hostile NPCs" |
--[[ enUS ]] oL["Friendly Players"] = "Friendly Players" |
--[[ enUS ]] oL["Selects which friendly players to show"] = "Selects which friendly players to show" |
--[[ enUS ]] oL["Show Pet"] = "Show Pet" |
--[[ enUS ]] oL["Shows nameplates for your pets"] = "Shows nameplates for your pets" |
--[[ enUS ]] oL["Show Group Pets"] = "Show Group Pets" |
--[[ enUS ]] oL["Shows nameplates for group pets"] = "Shows nameplates for group pets" |
--[[ enUS ]] oL["Show Friendly Pets"] = "Show Friendly Pets" |
--[[ enUS ]] oL["Shows nameplates for friendly pets"] = "Shows nameplates for friendly pets" |
--[[ enUS ]] oL["Show Friendly NPCs"] = "Show Friendly NPCs" |
--[[ enUS ]] oL["Show friendly NPCs"] = "Show friendly NPCs" |
--[[ enUS ]] oL["Critters"] = "Critters" |
--[[ enUS ]] oL["Visibility options for critters"] = "Visibility options for critters" |
--[[ enUS ]] oL["Critter Level"] = "Critter Level" |
--[[ enUS ]] oL["Assume neutral units below this level are 'critters'"] = "Assume neutral units below this level are 'critters'" |
--[[ enUS ]] oL["Critter Health"] = "Critter Health" |
--[[ enUS ]] oL["Assume neutral units below this health are 'critters'"] = "Assume neutral units below this health are 'critters'" |
--[[ enUS ]] oL["Show Critters"] = "Show Critters" |
--[[ enUS ]] oL["Shows nameplates for critters"] = "Shows nameplates for critters" |
--[[ enUS ]] oL["Show Neutral Units"] = "Show Neutral Units" |
--[[ enUS ]] oL["Show neutral units"] = "Show neutral units" |
--[[ enUS ]] oL["Enable"] = "Enable" |
--[[ enUS ]] oL["Exceptions"] = "Exceptions" |
--[[ enUS ]] oL["Enable Tremor Totem"] = "Enable Tremor Totem" |
--[[ enUS ]] oL["Dedicated Tremor Totem Color"] = "Dedicated Tremor Totem Color" |
--[[ enUS ]] oL["Enable Grounding Totem"] = "Enable Grounding Totem" |
--[[ enUS ]] oL["Dedicated Grounding Totem Color"] = "Dedicated Grounding Totem Color" |
--[[ enUS ]] oL["Enable Earthbind Totem"] = "Enable Earthbind Totem" |
--[[ enUS ]] oL["Dedicated Earthbind Totem Color"] = "Dedicated Earthbind Totem Color" |
--[[ enUS ]] oL["Enable Cleansing Totem"] = "Enable Cleansing Totem" |
--[[ enUS ]] oL["Dedicated Cleansing Totem Color"] = "Dedicated Cleansing Totem Color" |
--[[ enUS ]] oL["Enable Mana Tide Totem"] = "Enable Mana Tide Totem" |
--[[ enUS ]] oL["Dedicated Mana Tide Totem Color"] = "Dedicated Mana Tide Totem Color" |
--[[ enUS ]] oL["Show Hostile Totems/Trap Snakes/Bloodworms"] = "Show Hostile Totems/Trap Snakes/Bloodworms" |
--[[ enUS ]] oL["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ enUS ]] oL["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ enUS ]] oL["Explicitly shows nameplates for hostile tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile tremor totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for hostile tremor totem nameplates"] = "Sets the dedicated color for hostile tremor totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for hostile grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile grounding totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for hostile grounding totem nameplates"] = "Sets the dedicated color for hostile grounding totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for hostile earthbind totem nameplates"] = "Sets the dedicated color for hostile earthbind totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for hostile cleansing totem nameplates"] = "Sets the dedicated color for hostile cleansing totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for hostile mana tide totem nameplates"] = "Sets the dedicated color for hostile mana tide totem nameplates" |
--[[ enUS ]] oL["Show Friendly Totems/Trap Snakes/Bloodworms"] = "Show Friendly Totems/Trap Snakes/Bloodworms" |
--[[ enUS ]] oL["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ enUS ]] oL["Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ enUS ]] oL["Explicitly shows nameplates for friendly tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly tremor totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for friendly tremor totem nameplates"] = "Sets the dedicated color for friendly tremor totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for friendly grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly grounding totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for friendly grounding totem nameplates"] = "Sets the dedicated color for friendly grounding totem nameplates" |
--[[ enUS ]] oL["Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)" |
--[[ enUS ]] oL["Sets the dedicated color for friendly earthbind totem nameplates"] = "Sets the dedicated color for friendly earthbind totem nameplates" |
--[[ enUS ]] oL["Use Nameplate Alpha"] = "Use Nameplate Alpha" |
--[[ enUS ]] oL["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"] = "Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)" |
--[[ enUS ]] oL["Hide Unit Names"] = "Hide Unit Names" |
--[[ enUS ]] oL["Hide nameplates by unit name"] = "Hide nameplates by unit name" |
--[[ enUS ]] oL["Hide Unit Name"] = "Hide Unit Name" |
--[[ enUS ]] oL["Hide Current Target"] = "Hide Current Target" |
--[[ enUS ]] oL["Add current target to list of unit names to hide"] = "Add current target to list of unit names to hide" |
--[[ enUS ]] oL["Add given name to list of unit names to hide"] = "Add given name to list of unit names to hide" |
--[[ enUS ]] oL["Enter any unit name, then enter <return>"] = "Enter any unit name, then enter <return>" |
--[[ enUS ]] oL["Delete Unit Name"] = "Delete Unit Name" |
--[[ enUS ]] oL["Select from list of unit names to delete"] = "Select from list of unit names to delete" |
--[[ enUS ]] oL["Select a unit name to delete it from the list"] = "Select a unit name to delete it from the list" |
--[[ enUS ]] oL["Color"] = "Color" |
--[[ enUS ]] oL["All"] = "All" |
--[[ enUS ]] oL["Group Only"] = "Group Only" |
--[[ enUS ]] oL["Guild Only"] = "Guild Only" |
--[[ enUS ]] oL["None"] = "None" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftVisibility"] = "AloftVisibility" |
--[[ enUS ]] mL["Control the visibility of various types of nameplates"] = "Control the visibility of various types of nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "deDE") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
elseif (locale == "frFR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
--[[ frFR ]] oL["Visibility"] = "Visibiliteeeeeeeeeee" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
elseif (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Visibility"] = "íì" |
--[[ koKR ]] oL["Extra visibility options"] = "ì¶ê° íì ì¤ì " |
--[[ koKR ]] oL["Always Show Current Target"] = "Always Show Current Target" |
--[[ koKR ]] oL["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"] = "Always shows the current target nameplate (overrides other visibility options, requires use of alpha)" |
--[[ koKR ]] oL["Show Hostile Players"] = "ì ëì íë ì´ì´ íì" |
--[[ koKR ]] oL["Shows nameplates for hostile players"] = "ì ëì íë ì´ì´ì ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Hostile Pets"] = "ì ëì ìíì íì" |
--[[ koKR ]] oL["Shows nameplates for hostile pets"] = "ì ëì ìíìì ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Hostile NPCs"] = "ì ëì NPC íì" |
--[[ koKR ]] oL["Show hostile NPCs"] = "ì ëì NPC를 íìí©ëë¤." |
--[[ koKR ]] oL["Friendly Players"] = "ì°í¸ì íë ì´ì´" |
--[[ koKR ]] oL["Selects which friendly players to show"] = "ì°í¸ì íë ì´ì´ì íì를 ì íí©ëë¤." |
--[[ koKR ]] oL["Show Pet"] = "ìíì íì" |
--[[ koKR ]] oL["Shows nameplates for your pets"] = "ìíìì ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Group Pets"] = "íí° ìíì íì" |
--[[ koKR ]] oL["Shows nameplates for group pets"] = "íí° ìíìì ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Friendly Pets"] = "ì°í¸ì ìíì íì" |
--[[ koKR ]] oL["Shows nameplates for friendly pets"] = "ì°í¸ì ìíìì ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Friendly NPCs"] = "ì°í¸ì NPC íì" |
--[[ koKR ]] oL["Show friendly NPCs"] = "ì°í¸ì NPC를 íìí©ëë¤." |
--[[ koKR ]] oL["Critters"] = "Critters" |
--[[ koKR ]] oL["Visibility options for critters"] = "Visibility options for critters" |
--[[ koKR ]] oL["Critter Level"] = "Critter Level" |
--[[ koKR ]] oL["Assume neutral units below this level are 'critters'"] = "Assume neutral units below this level are 'critters'" |
--[[ koKR ]] oL["Critter Health"] = "Critter Health" |
--[[ koKR ]] oL["Assume neutral units below this health are 'critters'"] = "Assume neutral units below this health are 'critters'" |
--[[ koKR ]] oL["Show Critters"] = "ë물 íì" |
--[[ koKR ]] oL["Shows nameplates for critters"] = "ë물ì ëí ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] oL["Show Neutral Units"] = "ì¤ë¦½ì ëì íì" |
--[[ koKR ]] oL["Show neutral units"] = "ì¤ë¦½ì ëìì íìí©ëë¤." |
--[[ koKR ]] oL["Enable"] = "ì¬ì©" |
--[[ koKR ]] oL["Exceptions"] = "Exceptions" |
--[[ koKR ]] oL["Enable Tremor Totem"] = "Enable Tremor Totem" |
--[[ koKR ]] oL["Dedicated Tremor Totem Color"] = "Dedicated Tremor Totem Color" |
--[[ koKR ]] oL["Enable Grounding Totem"] = "Enable Grounding Totem" |
--[[ koKR ]] oL["Dedicated Grounding Totem Color"] = "Dedicated Grounding Totem Color" |
--[[ koKR ]] oL["Enable Earthbind Totem"] = "Enable Earthbind Totem" |
--[[ koKR ]] oL["Dedicated Earthbind Totem Color"] = "Dedicated Earthbind Totem Color" |
--[[ koKR ]] oL["Enable Cleansing Totem"] = "Enable Cleansing Totem" |
--[[ koKR ]] oL["Dedicated Cleansing Totem Color"] = "Dedicated Cleansing Totem Color" |
--[[ koKR ]] oL["Enable Mana Tide Totem"] = "Enable Mana Tide Totem" |
--[[ koKR ]] oL["Dedicated Mana Tide Totem Color"] = "Dedicated Mana Tide Totem Color" |
--[[ koKR ]] oL["Show Hostile Totems/Trap Snakes/Bloodworms"] = "Show Hostile Totems/Trap Snakes/Bloodworms" |
--[[ koKR ]] oL["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ koKR ]] oL["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ koKR ]] oL["Explicitly shows nameplates for hostile tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile tremor totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for hostile tremor totem nameplates"] = "Sets the dedicated color for hostile tremor totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for hostile grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile grounding totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for hostile grounding totem nameplates"] = "Sets the dedicated color for hostile grounding totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for hostile earthbind totem nameplates"] = "Sets the dedicated color for hostile earthbind totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for hostile cleansing totem nameplates"] = "Sets the dedicated color for hostile cleansing totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for hostile mana tide totem nameplates"] = "Sets the dedicated color for hostile mana tide totem nameplates" |
--[[ koKR ]] oL["Show Friendly Totems/Trap Snakes/Bloodworms"] = "Show Friendly Totems/Trap Snakes/Bloodworms" |
--[[ koKR ]] oL["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ koKR ]] oL["Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ koKR ]] oL["Explicitly shows nameplates for friendly tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly tremor totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for friendly tremor totem nameplates"] = "Sets the dedicated color for friendly tremor totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for friendly grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly grounding totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for friendly grounding totem nameplates"] = "Sets the dedicated color for friendly grounding totem nameplates" |
--[[ koKR ]] oL["Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)" |
--[[ koKR ]] oL["Sets the dedicated color for friendly earthbind totem nameplates"] = "Sets the dedicated color for friendly earthbind totem nameplates" |
--[[ koKR ]] oL["Use Nameplate Alpha In Combat"] = "Use Nameplate Alpha In Combat" |
--[[ koKR ]] oL["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"] = "Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)" |
--[[ koKR ]] oL["Hide Unit Names"] = "Hide Unit Names" |
--[[ koKR ]] oL["Hide nameplates by unit name"] = "Hide nameplates by unit name" |
--[[ koKR ]] oL["Hide Unit Name"] = "Hide Unit Name" |
--[[ koKR ]] oL["Hide Current Target"] = "Hide Current Target" |
--[[ koKR ]] oL["Add current target to list of unit names to hide"] = "Add current target to list of unit names to hide" |
--[[ koKR ]] oL["Add given name to list of unit names to hide"] = "Add given name to list of unit names to hide" |
--[[ koKR ]] oL["Enter any unit name, then enter <return>"] = "Enter any unit name, then enter <return>" |
--[[ koKR ]] oL["Delete Unit Name"] = "Delete Unit Name" |
--[[ koKR ]] oL["Select from list of unit names to delete"] = "Select from list of unit names to delete" |
--[[ koKR ]] oL["Select a unit name to delete it from the list"] = "Select a unit name to delete it from the list" |
--[[ koKR ]] oL["Color"] = "ìì" |
--[[ koKR ]] oL["All"] = "모ë" |
--[[ koKR ]] oL["Group Only"] = "íí°" |
--[[ koKR ]] oL["Guild Only"] = "길ë" |
--[[ koKR ]] oL["None"] = "ìì" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftVisibility"] = "AloftVisibility" |
--[[ koKR ]] mL["Control the visibility of various types of nameplates"] = "Control the visibility of various types of nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Visibility"] = "ÐидимоÑÑÑ" |
--[[ ruRU ]] oL["Extra visibility options"] = "ÐаÑÑÑойки дополниÑелÑной видимоÑÑи" |
--[[ ruRU ]] oL["Always Show Current Target"] = "Always Show Current Target" |
--[[ ruRU ]] oL["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"] = "Always shows the current target nameplate (overrides other visibility options, requires use of alpha)" |
--[[ ruRU ]] oL["Show Hostile Players"] = "ÐÑобÑажаÑÑ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] oL["Shows nameplates for hostile players"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] oL["Show Hostile Pets"] = "ÐÑобÑажаÑÑ Ð²ÑаждебнÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] oL["Shows nameplates for hostile pets"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] oL["Show Hostile NPCs"] = "ÐÑобÑажаÑÑ Ð²ÑаждебнÑÑ NPC" |
--[[ ruRU ]] oL["Show hostile NPCs"] = "ÐÑобÑажаÑÑ Ð²ÑаждебнÑÑ NPC" |
--[[ ruRU ]] oL["Friendly Players"] = "ÐÑÑжеÑÑвеннÑе игÑоки" |
--[[ ruRU ]] oL["Selects which friendly players to show"] = "ÐÑбиÑаеÑ, как оÑобÑажаÑÑ Ð´ÑÑжеÑÑвеннÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] oL["Show Pet"] = "ÐÑобÑажаÑÑ Ð¿Ð¸ÑомÑа" |
--[[ ruRU ]] oL["Shows nameplates for your pets"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] oL["Show Group Pets"] = "ÐÑобÑажаÑÑ Ð¿Ð¸ÑомÑев гÑÑппÑ" |
--[[ ruRU ]] oL["Shows nameplates for group pets"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ Ð¿Ð¸ÑомÑев гÑÑппÑ" |
--[[ ruRU ]] oL["Show Friendly Pets"] = "ÐÑобÑажаÑÑ Ð´ÑÑжеÑÑвеннÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] oL["Shows nameplates for friendly pets"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] oL["Show Friendly NPCs"] = "ÐÑобÑажаÑÑ Ð´ÑÑжеÑÑвеннÑÑ NPC" |
--[[ ruRU ]] oL["Show friendly NPCs"] = "ÐÑобÑажаÑÑ Ð´ÑÑжеÑÑвеннÑÑ NPC" |
--[[ ruRU ]] oL["Critters"] = "СÑÑеÑÑво" |
--[[ ruRU ]] oL["Visibility options for critters"] = "ÐаÑÑÑойки вида Ð´Ð»Ñ ÑÑÑеÑÑв" |
--[[ ruRU ]] oL["Critter Level"] = "УÑÐ¾Ð²ÐµÐ½Ñ ÑÑÑеÑÑва" |
--[[ ruRU ]] oL["Assume neutral units below this level are 'critters'"] = "ÐейÑÑалÑнÑй обÑÐµÐºÑ Ð½Ð¸Ð¶Ðµ ÑÑого ÑÑÐ¾Ð²Ð½Ñ Ð¿Ñедпологаемо бÑÐ´ÐµÑ - 'ÑÑÑеÑÑво'" |
--[[ ruRU ]] oL["Critter Health"] = "ÐдоÑовÑе ÑпÑÑника" |
--[[ ruRU ]] oL["Assume neutral units below this health are 'critters'"] = "ÐейÑÑалÑнÑй обÑÐµÐºÑ Ð½Ð¸Ð¶Ðµ ÑÑого ÑÑÐ¾Ð²Ð½Ñ Ð·Ð´Ð°ÑовÑÑ Ð¿Ñедпологаемо бÑÐ´ÐµÑ 'ÑÑÑеÑÑво'" |
--[[ ruRU ]] oL["Show Critters"] = "ÐÑобÑажаÑÑ ÑÑÑеÑÑва" |
--[[ ruRU ]] oL["Shows nameplates for critters"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаблиÑки Ð´Ð»Ñ ÑÑÑеÑÑв" |
--[[ ruRU ]] oL["Show Neutral Units"] = "ÐÑобÑажаÑÑ Ð½ÐµÐ¹ÑÑалÑнÑÑ " |
--[[ ruRU ]] oL["Show neutral units"] = "ÐÑобÑажаÑÑ Ð½ÐµÐ¹ÑÑалÑнÑÑ " |
--[[ ruRU ]] oL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] oL["Exceptions"] = "ÐÑклÑÑениÑ" |
--[[ ruRU ]] oL["Enable Tremor Totem"] = "ÐклÑÑиÑÑ Ð¢Ð¾Ñем ÑÑепеÑа" |
--[[ ruRU ]] oL["Dedicated Tremor Totem Color"] = "Ð¦Ð²ÐµÑ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¢Ð¾Ñема ÑÑепеÑа" |
--[[ ruRU ]] oL["Enable Grounding Totem"] = "ÐклÑÑиÑÑ Ð¢Ð¾Ñем заземлениÑ" |
--[[ ruRU ]] oL["Dedicated Grounding Totem Color"] = "Ð¦Ð²ÐµÑ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¢Ð¾Ñема заземлениÑ" |
--[[ ruRU ]] oL["Enable Earthbind Totem"] = "ÐклÑÑиÑÑ Ð¢Ð¾Ñем оков земли" |
--[[ ruRU ]] oL["Dedicated Earthbind Totem Color"] = "Ð¦Ð²ÐµÑ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¢Ð¾Ñема оков земли" |
--[[ ruRU ]] oL["Enable Cleansing Totem"] = "Enable Cleansing Totem" |
--[[ ruRU ]] oL["Dedicated Cleansing Totem Color"] = "Dedicated Cleansing Totem Color" |
--[[ ruRU ]] oL["Enable Mana Tide Totem"] = "Enable Mana Tide Totem" |
--[[ ruRU ]] oL["Dedicated Mana Tide Totem Color"] = "Dedicated Mana Tide Totem Color" |
--[[ ruRU ]] oL["Show Hostile Totems/Trap Snakes/Bloodworms"] = "ÐоказÑваÑÑ Ð²ÑаждебнÑе ÑоÑемÑ/ловÑÑки/змеи/кÑовоÑеÑви" |
--[[ ruRU ]] oL["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "ÐоказÑваÑÑ ÑаблиÑки вÑаждебнÑÑ ÑоÑемов/ловÑÑкек/змеи/кÑовоÑеÑвей (влиÑÐµÑ Ð½Ð° ÑаблиÑки ÑолÑко вне боÑ)" |
--[[ ruRU ]] oL["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Ðаже еÑли ÑаблиÑки Ð´Ð»Ñ Ð²ÑаждебнÑÑ ÑоÑемов/ловÑÑкек/змеи/кÑовоÑеÑвей ÑкÑÑÑÑ, оÑобÑажаÑÑ (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Explicitly shows nameplates for hostile tremor totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки вÑаждебного ÑоÑема ÑÑепеÑа (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for hostile tremor totem nameplates"] = "УÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки вÑеждебного ÑоÑема ÑÑепеÑа" |
--[[ ruRU ]] oL["Explicitly shows nameplates for hostile grounding totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки вÑаждебного ÑоÑема Ð·Ð°Ð·ÐµÐ¼Ð»ÐµÐ½Ð¸Ñ (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for hostile grounding totem nameplates"] = "ÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки вÑеждебного ÑоÑема заземлениÑ" |
--[[ ruRU ]] oL["Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки вÑаждебного ÑоÑема оков земли (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for hostile earthbind totem nameplates"] = "ÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки вÑеждебного ÑоÑема оков земли" |
--[[ ruRU ]] oL["Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)" |
--[[ ruRU ]] oL["Sets the dedicated color for hostile cleansing totem nameplates"] = "Sets the dedicated color for hostile cleansing totem nameplates" |
--[[ ruRU ]] oL["Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)" |
--[[ ruRU ]] oL["Sets the dedicated color for hostile mana tide totem nameplates"] = "Sets the dedicated color for hostile mana tide totem nameplates" |
--[[ ruRU ]] oL["Show Friendly Totems/Trap Snakes/Bloodworms"] = "ÐоказÑваÑÑ Ð´ÑÑжеÑÑвеннÑе ÑоÑемÑ/ловÑÑки/змеи/кÑовоÑеÑви" |
--[[ ruRU ]] oL["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "ÐоказÑваÑÑ ÑаблиÑки дÑÑжеÑÑвеннÑÑ ÑоÑемов/ловÑÑкек/змеи/кÑовоÑеÑвей (влиÑÐµÑ Ð½Ð° ÑаблиÑки ÑолÑко вне боÑ)" |
--[[ ruRU ]] oL["Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Ðаже еÑли ÑаблиÑки Ð´Ð»Ñ Ð²ÑаждебнÑÑ ÑоÑемов/ловÑÑкек/змеи/кÑовоÑеÑвей ÑкÑÑÑÑ, оÑобÑажаÑÑ (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Explicitly shows nameplates for friendly tremor totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки дÑÑжеÑÑвенного ÑоÑема ÑÑепеÑа (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for friendly tremor totem nameplates"] = "УÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки дÑÑжеÑÑвенного ÑоÑема ÑÑепеÑа" |
--[[ ruRU ]] oL["Explicitly shows nameplates for friendly grounding totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки дÑÑжеÑÑвенного ÑоÑема Ð·Ð°Ð·ÐµÐ¼Ð»ÐµÐ½Ð¸Ñ (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for friendly grounding totem nameplates"] = "УÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки дÑÑжеÑÑвенного ÑоÑема заземлениÑ" |
--[[ ruRU ]] oL["Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)"] = "ÐднознаÑно показÑÐ²Ð°ÐµÑ ÑаблиÑки дÑÑжеÑÑвенного ÑоÑема оков земли (Ñ ÑвеÑовÑм вÑделением)" |
--[[ ruRU ]] oL["Sets the dedicated color for friendly earthbind totem nameplates"] = "УÑÑановка ÑвеÑа вÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑаблиÑки дÑÑжеÑÑвенного eÑоÑема оков земли" |
--[[ ruRU ]] oL["Use Nameplate Alpha In Combat"] = "Use Nameplate Alpha In Combat" |
--[[ ruRU ]] oL["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"] = "Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)" |
--[[ ruRU ]] oL["Hide Unit Names"] = "Hide Unit Names" |
--[[ ruRU ]] oL["Hide nameplates by unit name"] = "Hide nameplates by unit name" |
--[[ ruRU ]] oL["Hide Unit Name"] = "Hide Unit Name" |
--[[ ruRU ]] oL["Hide Current Target"] = "Hide Current Target" |
--[[ ruRU ]] oL["Add current target to list of unit names to hide"] = "Add current target to list of unit names to hide" |
--[[ ruRU ]] oL["Add given name to list of unit names to hide"] = "Add given name to list of unit names to hide" |
--[[ ruRU ]] oL["Enter any unit name, then enter <return>"] = "Enter any unit name, then enter <return>" |
--[[ ruRU ]] oL["Delete Unit Name"] = "Delete Unit Name" |
--[[ ruRU ]] oL["Select from list of unit names to delete"] = "Select from list of unit names to delete" |
--[[ ruRU ]] oL["Select a unit name to delete it from the list"] = "Select a unit name to delete it from the list" |
--[[ ruRU ]] iL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] oL["All"] = "ÐÑе" |
--[[ ruRU ]] oL["Group Only"] = "ТолÑко гÑÑппа" |
--[[ ruRU ]] oL["Guild Only"] = "ТолÑко гилÑдиÑ" |
--[[ ruRU ]] oL["None"] = "ÐеÑ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftVisibility"] = "AloftVisibility" |
--[[ ruRU ]] mL["Control the visibility of various types of nameplates"] = "РазлиÑнÑе наÑÑÑойки оÑобÑажениÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Visibility"] = "è½è§åº¦" |
--[[ zhCN ]] oL["Extra visibility options"] = "é¢å¤è½è§åº¦ç¸å ³è®¾ç½®" |
--[[ zhCN ]] oL["Always Show Current Target"] = "Always Show Current Target" |
--[[ zhCN ]] oL["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"] = "Always shows the current target nameplate (overrides other visibility options, requires use of alpha)" |
--[[ zhCN ]] oL["Show Hostile Players"] = "æ¾ç¤ºæ对æ¹ç©å®¶" |
--[[ zhCN ]] oL["Shows nameplates for hostile players"] = "æ¾ç¤ºæ对æ¹ç©å®¶çå§åæ¿" |
--[[ zhCN ]] oL["Show Hostile Pets"] = "æ¾ç¤ºæ对æ¹å® ç©" |
--[[ zhCN ]] oL["Shows nameplates for hostile pets"] = "æ¾ç¤ºæ对æ¹å® ç©çå§åæ¿" |
--[[ zhCN ]] oL["Show Hostile NPCs"] = "æ¾ç¤ºæ对æ¹NPC" |
--[[ zhCN ]] oL["Show hostile NPCs"] = "æ¾ç¤ºæ对æ¹NPCçå§åæ¿" |
--[[ zhCN ]] oL["Friendly Players"] = "æ¾ç¤ºå好æ¹ç©å®¶" |
--[[ zhCN ]] oL["Selects which friendly players to show"] = "éæ©æ¾ç¤ºåªäºå好æ¹ç©å®¶" |
--[[ zhCN ]] oL["Show Pet"] = "æ¾ç¤ºå® ç©" |
--[[ zhCN ]] oL["Shows nameplates for your pets"] = "æ¾ç¤ºä½ çå® ç©çå§åæ¿" |
--[[ zhCN ]] oL["Show Group Pets"] = "æ¾ç¤ºéåå® ç©" |
--[[ zhCN ]] oL["Shows nameplates for group pets"] = "æ¾ç¤ºéåçå® ç©çå§åæ¿" |
--[[ zhCN ]] oL["Show Friendly Pets"] = "æ¾ç¤ºå好æ¹å® ç©" |
--[[ zhCN ]] oL["Shows nameplates for friendly pets"] = "æ¾ç¤ºå好æ¹å® ç©çå§åæ¿" |
--[[ zhCN ]] oL["Show Friendly NPCs"] = "æ¾ç¤ºå好æ¹NPC" |
--[[ zhCN ]] oL["Show friendly NPCs"] = "æ¾ç¤ºå好æ¹NPCçå§åæ¿" |
--[[ zhCN ]] oL["Critters"] = "Critters" |
--[[ zhCN ]] oL["Visibility options for critters"] = "Visibility options for critters" |
--[[ zhCN ]] oL["Critter Level"] = "Critter Level" |
--[[ zhCN ]] oL["Assume neutral units below this level are 'critters'"] = "Assume neutral units below this level are 'critters'" |
--[[ zhCN ]] oL["Critter Health"] = "Critter Health" |
--[[ zhCN ]] oL["Assume neutral units below this health are 'critters'"] = "Assume neutral units below this health are 'critters'" |
--[[ zhCN ]] oL["Show Critters"] = "æ¾ç¤ºå°å¨ç©" |
--[[ zhCN ]] oL["Shows nameplates for critters"] = "æ¾ç¤ºå°å¨ç©çå§åæ¿" |
--[[ zhCN ]] oL["Show Neutral Units"] = "æ¾ç¤ºä¸ç«æ¹åä½" |
--[[ zhCN ]] oL["Show neutral units"] = "æ¾ç¤ºä¸ç«æ¹åä½çå§åæ¿" |
--[[ zhCN ]] oL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] oL["Exceptions"] = "Exceptions" |
--[[ zhCN ]] oL["Enable Tremor Totem"] = "Enable Tremor Totem" |
--[[ zhCN ]] oL["Dedicated Tremor Totem Color"] = "Dedicated Tremor Totem Color" |
--[[ zhCN ]] oL["Enable Grounding Totem"] = "Enable Grounding Totem" |
--[[ zhCN ]] oL["Dedicated Grounding Totem Color"] = "Dedicated Grounding Totem Color" |
--[[ zhCN ]] oL["Enable Earthbind Totem"] = "Enable Earthbind Totem" |
--[[ zhCN ]] oL["Dedicated Earthbind Totem Color"] = "Dedicated Earthbind Totem Color" |
--[[ zhCN ]] oL["Enable Cleansing Totem"] = "Enable Cleansing Totem" |
--[[ zhCN ]] oL["Dedicated Cleansing Totem Color"] = "Dedicated Cleansing Totem Color" |
--[[ zhCN ]] oL["Enable Mana Tide Totem"] = "Enable Mana Tide Totem" |
--[[ zhCN ]] oL["Dedicated Mana Tide Totem Color"] = "Dedicated Mana Tide Totem Color" |
--[[ zhCN ]] oL["Show Hostile Totems/Trap Snakes/Bloodworms"] = "Show Hostile Totems/Trap Snakes/Bloodworms" |
--[[ zhCN ]] oL["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ zhCN ]] oL["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ zhCN ]] oL["Explicitly shows nameplates for hostile tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile tremor totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for hostile tremor totem nameplates"] = "Sets the dedicated color for hostile tremor totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for hostile grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile grounding totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for hostile grounding totem nameplates"] = "Sets the dedicated color for hostile grounding totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for hostile earthbind totem nameplates"] = "Sets the dedicated color for hostile earthbind totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for hostile cleansing totem nameplates"] = "Sets the dedicated color for hostile cleansing totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for hostile mana tide totem nameplates"] = "Sets the dedicated color for hostile mana tide totem nameplates" |
--[[ zhCN ]] oL["Show Friendly Totems/Trap Snakes/Bloodworms"] = "Show Friendly Totems/Trap Snakes/Bloodworms" |
--[[ zhCN ]] oL["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ zhCN ]] oL["Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ zhCN ]] oL["Explicitly shows nameplates for friendly tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly tremor totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for friendly tremor totem nameplates"] = "Sets the dedicated color for friendly tremor totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for friendly grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly grounding totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for friendly grounding totem nameplates"] = "Sets the dedicated color for friendly grounding totem nameplates" |
--[[ zhCN ]] oL["Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)" |
--[[ zhCN ]] oL["Sets the dedicated color for friendly earthbind totem nameplates"] = "Sets the dedicated color for friendly earthbind totem nameplates" |
--[[ zhCN ]] oL["Use Nameplate Alpha In Combat"] = "Use Nameplate Alpha In Combat" |
--[[ zhCN ]] oL["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"] = "Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhCN ]] oL["Hide Unit Names"] = "Hide Unit Names" |
--[[ zhCN ]] oL["Hide nameplates by unit name"] = "Hide nameplates by unit name" |
--[[ zhCN ]] oL["Hide Unit Name"] = "Hide Unit Name" |
--[[ zhCN ]] oL["Hide Current Target"] = "Hide Current Target" |
--[[ zhCN ]] oL["Add current target to list of unit names to hide"] = "Add current target to list of unit names to hide" |
--[[ zhCN ]] oL["Add given name to list of unit names to hide"] = "Add given name to list of unit names to hide" |
--[[ zhCN ]] oL["Enter any unit name, then enter <return>"] = "Enter any unit name, then enter <return>" |
--[[ zhCN ]] oL["Delete Unit Name"] = "Delete Unit Name" |
--[[ zhCN ]] oL["Select from list of unit names to delete"] = "Select from list of unit names to delete" |
--[[ zhCN ]] oL["Select a unit name to delete it from the list"] = "Select a unit name to delete it from the list" |
--[[ zhCN ]] oL["Color"] = "é¢è²" |
--[[ zhCN ]] oL["All"] = "å ¨é¨" |
--[[ zhCN ]] oL["Group Only"] = "ä» æ¾ç¤ºéå" |
--[[ zhCN ]] oL["Guild Only"] = "ä» æ¾ç¤ºå ¬ä¼æå" |
--[[ zhCN ]] oL["None"] = "æ " |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftVisibility"] = "å¯è§åº¦" |
--[[ zhCN ]] mL["Control the visibility of various types of nameplates"] = "Control the visibility of various types of nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Visibility"] = "è½è¦åº¦" |
--[[ zhTW ]] oL["Extra visibility options"] = "é¡å¤è½è¦åº¦é¸é " |
--[[ zhTW ]] oL["Always Show Current Target"] = "Always Show Current Target" |
--[[ zhTW ]] oL["Always shows the current target nameplate (overrides other visibility options, requires use of alpha)"] = "Always shows the current target nameplate (overrides other visibility options, requires use of alpha)" |
--[[ zhTW ]] oL["Show Hostile Players"] = "顯示æµå°ç©å®¶" |
--[[ zhTW ]] oL["Shows nameplates for hostile players"] = "顯示æµå°ç©å®¶çåç" |
--[[ zhTW ]] oL["Show Hostile Pets"] = "顯示æµå°å¯µç©" |
--[[ zhTW ]] oL["Shows nameplates for hostile pets"] = "顯示æµå°å¯µç©çåç" |
--[[ zhTW ]] oL["Show Hostile NPCs"] = "顯示æµå°NPC" |
--[[ zhTW ]] oL["Show hostile NPCs"] = "顯示æµå°NPCçåç" |
--[[ zhTW ]] oL["Friendly Players"] = "顯示å好ç©å®¶" |
--[[ zhTW ]] oL["Selects which friendly players to show"] = "é¸æ顯示åªä¸äºå好ç©å®¶" |
--[[ zhTW ]] oL["Show Pet"] = "顯示寵ç©" |
--[[ zhTW ]] oL["Shows nameplates for your pets"] = "é¡¯ç¤ºä½ ç寵ç©çåç" |
--[[ zhTW ]] oL["Show Group Pets"] = "顯示åé«å¯µç©" |
--[[ zhTW ]] oL["Shows nameplates for group pets"] = "顯示åé«å¯µç©çåç" |
--[[ zhTW ]] oL["Show Friendly Pets"] = "顯示å好寵ç©" |
--[[ zhTW ]] oL["Shows nameplates for friendly pets"] = "顯示å好寵ç©çåç" |
--[[ zhTW ]] oL["Show Friendly NPCs"] = "顯示å好NPC" |
--[[ zhTW ]] oL["Show friendly NPCs"] = "顯示å好NPCçåç" |
--[[ zhTW ]] oL["Critters"] = "Critters" |
--[[ zhTW ]] oL["Visibility options for critters"] = "Visibility options for critters" |
--[[ zhTW ]] oL["Critter Level"] = "Critter Level" |
--[[ zhTW ]] oL["Assume neutral units below this level are 'critters'"] = "Assume neutral units below this level are 'critters'" |
--[[ zhTW ]] oL["Critter Health"] = "Critter Health" |
--[[ zhTW ]] oL["Assume neutral units below this health are 'critters'"] = "Assume neutral units below this health are 'critters'" |
--[[ zhTW ]] oL["Show Critters"] = "顯示å°åç©" |
--[[ zhTW ]] oL["Shows nameplates for critters"] = "顯示å°åç©çåç" |
--[[ zhTW ]] oL["Show Neutral Units"] = "顯示ä¸ç«å®ä½" |
--[[ zhTW ]] oL["Show neutral units"] = "顯示ä¸ç«å®ä½çåç" |
--[[ zhTW ]] oL["Enable"] = "åç¨" |
--[[ zhTW ]] oL["Exceptions"] = "Exceptions" |
--[[ zhTW ]] oL["Enable Tremor Totem"] = "Enable Tremor Totem" |
--[[ zhTW ]] oL["Dedicated Tremor Totem Color"] = "Dedicated Tremor Totem Color" |
--[[ zhTW ]] oL["Enable Grounding Totem"] = "Enable Grounding Totem" |
--[[ zhTW ]] oL["Dedicated Grounding Totem Color"] = "Dedicated Grounding Totem Color" |
--[[ zhTW ]] oL["Enable Earthbind Totem"] = "Enable Earthbind Totem" |
--[[ zhTW ]] oL["Dedicated Earthbind Totem Color"] = "Dedicated Earthbind Totem Color" |
--[[ zhTW ]] oL["Enable Cleansing Totem"] = "Enable Cleansing Totem" |
--[[ zhTW ]] oL["Dedicated Cleansing Totem Color"] = "Dedicated Cleansing Totem Color" |
--[[ zhTW ]] oL["Enable Mana Tide Totem"] = "Enable Mana Tide Totem" |
--[[ zhTW ]] oL["Dedicated Mana Tide Totem Color"] = "Dedicated Mana Tide Totem Color" |
--[[ zhTW ]] oL["Show Hostile Totems/Trap Snakes/Bloodworms"] = "Show Hostile Totems/Trap Snakes/Bloodworms" |
--[[ zhTW ]] oL["Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for hostile totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ zhTW ]] oL["Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for hostile totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ zhTW ]] oL["Explicitly shows nameplates for hostile tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile tremor totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for hostile tremor totem nameplates"] = "Sets the dedicated color for hostile tremor totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for hostile grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile grounding totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for hostile grounding totem nameplates"] = "Sets the dedicated color for hostile grounding totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile earthbind totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for hostile earthbind totem nameplates"] = "Sets the dedicated color for hostile earthbind totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile cleansing totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for hostile cleansing totem nameplates"] = "Sets the dedicated color for hostile cleansing totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)"] = "Explicitly shows nameplates for hostile mana tide totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for hostile mana tide totem nameplates"] = "Sets the dedicated color for hostile mana tide totem nameplates" |
--[[ zhTW ]] oL["Show Friendly Totems/Trap Snakes/Bloodworms"] = "Show Friendly Totems/Trap Snakes/Bloodworms" |
--[[ zhTW ]] oL["Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)"] = "Shows nameplates for friendly totems/trap snakes/bloodworms (only affects nameplates while out of combat)" |
--[[ zhTW ]] oL["Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)"] = "Even if nameplates for friendly totems/trap snakes/bloodworms are hidden, display these (with a dedicated color)" |
--[[ zhTW ]] oL["Explicitly shows nameplates for friendly tremor totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly tremor totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for friendly tremor totem nameplates"] = "Sets the dedicated color for friendly tremor totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for friendly grounding totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly grounding totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for friendly grounding totem nameplates"] = "Sets the dedicated color for friendly grounding totem nameplates" |
--[[ zhTW ]] oL["Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)"] = "Explicitly shows nameplates for friendly earthbind totems (with a dedicated color)" |
--[[ zhTW ]] oL["Sets the dedicated color for friendly earthbind totem nameplates"] = "Sets the dedicated color for friendly earthbind totem nameplates" |
--[[ zhTW ]] oL["Use Nameplate Alpha In Combat"] = "Use Nameplate Alpha In Combat" |
--[[ zhTW ]] oL["Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)"] = "Controls nameplate visibility in combat or when target nameplate is always shown by setting nameplate alpha to 0 (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhTW ]] oL["Hide Unit Names"] = "Hide Unit Names" |
--[[ zhTW ]] oL["Hide nameplates by unit name"] = "Hide nameplates by unit name" |
--[[ zhTW ]] oL["Hide Unit Name"] = "Hide Unit Name" |
--[[ zhTW ]] oL["Hide Current Target"] = "Hide Current Target" |
--[[ zhTW ]] oL["Add current target to list of unit names to hide"] = "Add current target to list of unit names to hide" |
--[[ zhTW ]] oL["Add given name to list of unit names to hide"] = "Add given name to list of unit names to hide" |
--[[ zhTW ]] oL["Enter any unit name, then enter <return>"] = "Enter any unit name, then enter <return>" |
--[[ zhTW ]] oL["Delete Unit Name"] = "Delete Unit Name" |
--[[ zhTW ]] oL["Select from list of unit names to delete"] = "Select from list of unit names to delete" |
--[[ zhTW ]] oL["Select a unit name to delete it from the list"] = "Select a unit name to delete it from the list" |
--[[ zhTW ]] oL["Color"] = "é¡è²" |
--[[ zhTW ]] oL["All"] = "å ¨é¨" |
--[[ zhTW ]] oL["Group Only"] = "å¯æåé«" |
--[[ zhTW ]] oL["Guild Only"] = "å¯æå ¬æ" |
--[[ zhTW ]] oL["None"] = "ç¡" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftVisibility"] = "å¯è¦åº¦" |
--[[ zhTW ]] mL["Control the visibility of various types of nameplates"] = "Control the visibility of various types of nameplates" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftVisibility", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftVisibilityOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftVisibility = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftVisibility"], |
desc = L["Control the visibility of various types of nameplates"], |
get = function(i) return AloftModules.db.profile.AloftVisibility end, |
set = function(i, v) AloftModules.db.profile.AloftVisibility = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftStateIcon |
if not L then return end |
local AloftStateIcon = Aloft:GetModule("StateIcon", true) |
if not AloftStateIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.stateIcon = |
{ |
type = 'group', |
name = L["State Icon"], |
desc = L["State icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStateIcon:IsEnabled() or not AloftStateIcon.db or not AloftStateIcon.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable state icon display on the nameplate"], |
order = 1, |
get = function(i) return AloftStateIcon.db.profile.enable end, |
set = function(i, v) AloftStateIcon.db.profile.enable = v AloftStateIcon:UpdateAll() end, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the state icon alpha"], |
order = 2, |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftStateIcon.db.profile.enable end, |
get = function(i) return AloftStateIcon.db.profile.alpha end, |
set = function(i, v) AloftStateIcon.db.profile.alpha = v AloftStateIcon:UpdateAll() end |
}, |
reverse = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Reverse"], |
desc = L["Reverse the state icon graphic horizontally"], |
order = 3, |
disabled = function(i) return not AloftStateIcon.db.profile.enable end, |
get = function(i) return AloftStateIcon.db.profile.reverse end, |
set = function(i, v) AloftStateIcon.db.profile.reverse = v AloftStateIcon:UpdateAll() end |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Height in pixels of the state icon"], |
order = 4, |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftStateIcon.db.profile.enable end, |
get = function(i) return AloftStateIcon.db.profile.height end, |
set = function(i, v) AloftStateIcon.db.profile.height = v AloftStateIcon:UpdateAll() end |
}, |
width = |
{ |
type = 'range', |
width = 'full', |
name = L["Width"], |
desc = L["Width in pixels of the state icon"], |
order = 5, |
min = 4, |
max = 72, |
step = 1, |
disabled = function(i) return not AloftStateIcon.db.profile.enable end, |
get = function(i) return AloftStateIcon.db.profile.width end, |
set = function(i, v) AloftStateIcon.db.profile.width = v AloftStateIcon:UpdateAll() end |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust state icon position"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftStateIcon:IsEnabled() or not AloftStateIcon.db or not AloftStateIcon.db.profile or not AloftStateIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = "select", |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the state icon"], |
get = function(i) return AloftStateIcon.db.profile.point end, |
set = function(i, v) AloftStateIcon.db.profile.point = v AloftStateIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = "select", |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the state icon"], |
get = function(i) return AloftStateIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftStateIcon.db.profile.relativeToPoint = v AloftStateIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the state icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftStateIcon.db.profile.offsetX end, |
set = function(i, v) AloftStateIcon.db.profile.offsetX = v AloftStateIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the state icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftStateIcon.db.profile.offsetY end, |
set = function(i, v) AloftStateIcon.db.profile.offsetY = v AloftStateIcon:UpdateAll() end |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] L["State Icon"] = "State Icon" |
--[[ enUS ]] L["State icon placement options"] = "State icon placement options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable state icon display on the nameplate"] = "Enable state icon display on the nameplate" |
--[[ enUS ]] L["Reverse"] = "Reverse" |
--[[ enUS ]] L["Reverse the state icon graphic horizontally"] = "Reverse the state icon graphic horizontally" |
--[[ enUS ]] L["Height"] = "Height" |
--[[ enUS ]] L["Height in pixels of the state icon"] = "Height in pixels of the state icon" |
--[[ enUS ]] L["Width"] = "Width" |
--[[ enUS ]] L["Width in pixels of the state icon"] = "Width in pixels of the state icon" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust state icon position"] = "Adjust state icon position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the state icon"] = "X offset of the state icon" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the state icon"] = "Y offset of the state icon" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the state icon"] = "Sets the anchor for the state icon" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the state icon"] = "Sets the relative point on the health bar to anchor the state icon" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the state icon alpha"] = "Sets the state icon alpha" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["State Icon"] = "ë³´ì¤ ìì´ì½" |
--[[ koKR ]] L["State icon placement options"] = "ë³´ì¤ ìì´ì½ ë°°ì¹ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable state icon display on the nameplate"] = "Enable state icon display on the nameplate" |
--[[ koKR ]] L["Reverse"] = "Reverse" |
--[[ koKR ]] L["Reverse the state icon graphic horizontally"] = "Reverse the state icon graphic horizontally" |
--[[ koKR ]] L["Height"] = "í¬ê¸°" |
--[[ koKR ]] L["Height in pixels of the state icon"] = "Height in pixels of the state icon" |
--[[ koKR ]] L["Width"] = "í¬ê¸°" |
--[[ koKR ]] L["Width in pixels of the state icon"] = "Width in pixels of the state icon" |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust state icon position"] = "Adjust state icon position" |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the state icon"] = "X offset of the state icon" |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the state icon"] = "Y offset of the state icon" |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the state icon"] = "Sets the anchor for the state icon" |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the state icon"] = "Sets the relative point on the health bar to anchor the state icon" |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the state icon alpha"] = "Sets the state icon alpha" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["State Icon"] = "Ðконка ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["State icon placement options"] = "ÐаÑÑÑокий Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¸ÐºÐ¾Ð½ÐºÐ¸ ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable state icon display on the nameplate"] = "ÐклÑÑÐ°ÐµÑ Ð¾ÑобÑажение иконки ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["Reverse"] = "ÐеÑевеÑнÑÑÑ" |
--[[ ruRU ]] L["Reverse the state icon graphic horizontally"] = "ÐеÑеваÑаÑÐ¸Ð²Ð°ÐµÑ Ð¸ÐºÐ¾Ð½ÐºÑ ÑоÑÑоÑÐ½Ð¸Ñ Ð¿Ð¾ гоÑизонÑале" |
--[[ ruRU ]] L["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] L["Height in pixels of the state icon"] = "ÐÑÑоÑа иконки ÑоÑÑоÑÐ½Ð¸Ñ Ð² пикÑелÑÑ " |
--[[ ruRU ]] L["Width"] = "ШиÑина" |
--[[ ruRU ]] L["Width in pixels of the state icon"] = "ШиÑина иконки ÑоÑÑоÑÐ½Ð¸Ñ Ð² пикÑелÑÑ " |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust state icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо иконки ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the state icon"] = "СмеÑение знаÑка ÑоÑÑоÑÐ½Ð¸Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the state icon"] = "СмеÑение знаÑка ÑоÑÑоÑÐ½Ð¸Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the state icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление знаÑка ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the state icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка ÑоÑÑоÑÐ½Ð¸Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the state icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð·Ð½Ð°Ñка ÑоÑÑоÑниÑ" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["State Icon"] = "é¦é¢å¾æ " |
--[[ zhCN ]] L["State icon placement options"] = "é¦é¢å¾æ ä½ç½®ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable state icon display on the nameplate"] = "Enable state icon display on the nameplate" |
--[[ zhCN ]] L["Reverse"] = "Reverse" |
--[[ zhCN ]] L["Reverse the state icon graphic horizontally"] = "Reverse the state icon graphic horizontally" |
--[[ zhCN ]] L["Height"] = "尺寸" |
--[[ zhCN ]] L["Height in pixels of the state icon"] = "Height in pixels of the state icon" |
--[[ zhCN ]] L["Width"] = "尺寸" |
--[[ zhCN ]] L["Width in pixels of the state icon"] = "Width in pixels of the state icon" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust state icon position"] = "Adjust state icon position" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the state icon"] = "X offset of the state icon" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the state icon"] = "Y offset of the state icon" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the state icon"] = "Sets the anchor for the state icon" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the state icon"] = "Sets the relative point on the health bar to anchor the state icon" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the state icon alpha"] = "Sets the state icon alpha" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["State Icon"] = "é¦é å示" |
--[[ zhTW ]] L["State icon placement options"] = "State icon placement options" |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable state icon display on the nameplate"] = "Enable state icon display on the nameplate" |
--[[ zhTW ]] L["Reverse"] = "Reverse" |
--[[ zhTW ]] L["Reverse the state icon graphic horizontally"] = "Reverse the state icon graphic horizontally" |
--[[ zhTW ]] L["Height"] = "大å°" |
--[[ zhTW ]] L["Height in pixels of the state icon"] = "Height in pixels of the state icon" |
--[[ zhTW ]] L["Width"] = "大å°" |
--[[ zhTW ]] L["Width in pixels of the state icon"] = "Width in pixels of the state icon" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust state icon position"] = "Adjust state icon position" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the state icon"] = "X offset of the state icon" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the state icon"] = "Y offset of the state icon" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the state icon"] = "Sets the anchor for the state icon" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the state icon"] = "Sets the relative point on the health bar to anchor the state icon" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the state icon alpha"] = "Sets the state icon alpha" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftStateIcon = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftFrame |
if not L then return end |
local AloftFrame = Aloft:GetModule("Frame") |
if not AloftFrame then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.frame = |
{ |
type = 'group', |
name = L["Frame"], |
desc = L["Frame options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
args = |
{ |
enableMouse = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable Mouse"], |
desc = L["Allows left click to target and right click to interact"], |
order = 1, |
get = function(i) return AloftFrame.db.profile.enableMouse end, |
set = function(i, v) AloftFrame.db.profile.enableMouse = v AloftFrame:UpdateAll() end, |
}, |
height = |
{ |
type = 'range', |
width = "full", |
name = L["Height"], |
desc = L["Sets the height of the frame"], |
order = 2, |
min = 1, |
max = 128, |
step = 1, |
get = function(i) return AloftFrame.db.profile.height end, |
set = function(i, v) |
if AloftFrame.db.profile.height ~= v then |
AloftFrame.db.profile.height = v |
--AloftFrame.db.profile.packingHeight = v |
AloftFrame:UpdateAll() |
end |
end, |
}, |
width = |
{ |
type = 'range', |
width = "full", |
name = L["Width"], |
desc = L["Sets the width of the frame"], |
order = 3, |
min = 40, |
max = 256, |
step = 1, |
get = function(i) return AloftFrame.db.profile.width end, |
set = function(i, v) |
if AloftFrame.db.profile.width ~= v then |
AloftFrame.db.profile.width = v |
--AloftFrame.db.profile.packingWidth = v |
AloftFrame:UpdateAll() |
end |
end, |
}, |
packingHeight = |
{ |
type = 'range', |
width = "full", |
name = L["Packing Height"], |
desc = L["Sets the minimum vertical distance between frames"], |
order = 4, |
min = -10, |
max = 160, |
step = 1, |
get = function(i) return AloftFrame.db.profile.packingHeight end, |
set = function(i, v) AloftFrame.db.profile.packingHeight = v AloftFrame:UpdateAll() end, |
}, |
packingWidth = |
{ |
type = 'range', |
width = "full", |
name = L["Packing Width"], |
desc = L["Sets the minimum horizontal distance between frames"], |
order = 5, |
min = -10, |
max = 100, |
step = 1, |
get = function(i) return AloftFrame.db.profile.packingWidth end, |
set = function(i, v) AloftFrame.db.profile.packingWidth = v AloftFrame:UpdateAll() end, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust layout base and background position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
order = 6, |
args = |
{ |
offsetX = |
{ |
type = 'range', |
width = "full", |
name = L["X Offset"], |
desc = L["X offset of the layout base and background"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftFrame.db.profile.offsetX end, |
set = function(i, v) AloftFrame.db.profile.offsetX = v AloftFrame:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = "full", |
name = L["Y Offset"], |
desc = L["Y offset of the layout base and background"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftFrame.db.profile.offsetY end, |
set = function(i, v) AloftFrame.db.profile.offsetY = v AloftFrame:UpdateAll() end |
}, |
}, |
}, |
border = { |
type = 'group', |
name = L["Border"], |
desc = L["Border options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
order = 7, |
args = |
{ |
targetOnly = |
{ |
type = 'toggle', |
width = "full", |
name = L["Target Only"], |
desc = L["Enables the border on the current target only"], |
order = 1, |
get = function(i) return AloftFrame.db.profile.targetOnly end, |
set = function(i, v) AloftFrame.db.profile.targetOnly = v Aloft:DetermineDataSources() AloftFrame:UpdateAll() end, |
disabled = function(i) return AloftFrame.db.profile.border == "None" end, |
}, |
style = |
{ |
type = 'select', |
width = "full", |
name = L["Border Style"], |
desc = L["Sets the style of the nameplate border"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.frame.args.border.args.style.values) do |
if v == AloftFrame.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftFrame.db.profile.border = Aloft.Options.args.frame.args.border.args.style.values[v] |
AloftFrame:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftFrame.db.profile.borderEdgeSize end, |
set = function(i, v) AloftFrame.db.profile.borderEdgeSize = v AloftFrame:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftFrame.db.profile.borderInset end, |
set = function(i, v) AloftFrame.db.profile.borderInset = v AloftFrame:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = "full", |
name = L["Border Color"], |
desc = L["Sets the border color of the nameplate"], |
order = 3, |
get = function(i) return unpack(AloftFrame.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftFrame.db.profile.borderColor = { r, g, b, a } AloftFrame:UpdateAll() end, |
disabled = function(i) return AloftFrame.db.profile.border == "None" end, |
hasAlpha = true, |
}, |
}, |
}, |
background = { |
type = 'group', |
name = L["Background"], |
desc = L["Background options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
order = 8, |
args = |
{ |
alpha = |
{ |
type = 'range', |
width = "full", |
name = L["Background Alpha"], |
desc = L["Sets the alpha for the background of the nameplates"], |
min = 0, |
max = 1, |
step = 0.01, |
get = function(i) return AloftFrame.db.profile.backgroundAlpha end, |
set = function(i, v) |
local oldShow = (AloftFrame.db.profile.backgroundAlpha ~= 0) |
AloftFrame.db.profile.backgroundAlpha = v |
local newShow = (v ~= 0) |
if oldShow ~= newShow then |
Aloft:DetermineDataSources() |
end |
AloftFrame:UpdateAll() |
end, |
}, |
style = |
{ |
type = 'select', |
width = "full", |
name = L["Background Style"], |
desc = L["Sets the style of the nameplate background"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.frame.args.background.args.style.values) do |
if v == AloftFrame.db.profile.background then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftFrame.db.profile.background = Aloft.Options.args.frame.args.background.args.style.values[v] |
AloftFrame:UpdateAll() |
end, |
values = SML:List("background"), |
}, |
colors = |
{ |
type = 'group', |
name = L["Background Colors"], |
desc = L["Customize colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
args = |
{ |
colorByClass = |
{ |
type = 'toggle', |
width = "full", |
name = L["Color by Class"], |
desc = L["Sets the background color according to class"], |
get = function(i) return AloftFrame.db.profile.colorByClass end, |
set = function(i, v) AloftFrame.db.profile.colorByClass = v Aloft:DetermineDataSources() AloftFrame:UpdateAll() end, |
order = 1 |
}, |
colorHostileByClass = |
{ |
type = 'toggle', |
width = "full", |
name = L["Color Hostile by Class"], |
desc = L["Sets the background color of hostile players according to class"], |
get = function(i) return AloftFrame.db.profile.colorHostileByClass end, |
set = function(i, v) AloftFrame.db.profile.colorHostileByClass = v Aloft:DetermineDataSources() AloftFrame:UpdateAll() end, |
order = 2 |
}, |
setAll = |
{ |
type = 'color', |
width = "full", |
name = L["Set All"], |
desc = L["Sets the background color for all types"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyPlayer) end, |
set = function(i, r, g, b) |
AloftFrame.db.profile.backgroundColors.friendlyPlayer = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyPet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyNPC = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyBoss = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostilePlayer = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostilePet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostileNPC = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostileBoss = { r, g, b } |
AloftFrame.db.profile.backgroundColors.neutral = { r, g, b } |
AloftFrame.db.profile.backgroundColors.pet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.groupPet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.unknown = { r, g, b } |
Aloft:DetermineDataSources() |
AloftFrame:UpdateAll() end, |
order = 3 |
}, |
setAllFriendly = |
{ |
type = 'color', |
width = "full", |
name = L["Set All Friendly"], |
desc = L["Sets the background color for all friendly types"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyPlayer) end, |
set = function(i, r, g, b) |
AloftFrame.db.profile.backgroundColors.friendlyPlayer = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyPet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyNPC = { r, g, b } |
AloftFrame.db.profile.backgroundColors.friendlyBoss = { r, g, b } |
AloftFrame.db.profile.backgroundColors.pet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.groupPet = { r, g, b } |
Aloft:DetermineDataSources() |
AloftFrame:UpdateAll() end, |
order = 4 |
}, |
setAllHostile = |
{ |
type = 'color', |
width = "full", |
name = L["Set All Hostile"], |
desc = L["Sets the background color for all hostile types"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.hostileNPC) end, |
set = function(i, r, g, b) |
AloftFrame.db.profile.backgroundColors.hostilePlayer = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostilePet = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostileNPC = { r, g, b } |
AloftFrame.db.profile.backgroundColors.hostileBoss = { r, g, b } |
Aloft:DetermineDataSources() |
AloftFrame:UpdateAll() end, |
order = 5 |
}, |
friendlyPlayer = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Players"], |
desc = L["Sets the background color for friendly players"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyPlayer) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.friendlyPlayer = { r, g, b } AloftFrame:UpdateAll() end |
}, |
friendlyPet = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Pets"], |
desc = L["Sets the background color for friendly pets"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyPet) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.friendlyPet = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
friendlyNPC = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly NPCs"], |
desc = L["Sets the background color for friendly NPCs"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyNPC) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.friendlyNPC = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
friendlyBoss = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Boss"], |
desc = L["Sets the background color for friendly NPC Bosses"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.friendlyBoss) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.friendlyBoss = { r, g, b } AloftFrame:UpdateAll() end |
}, |
hostilePlayer = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Players"], |
desc = L["Sets the background color for hostile players"], |
disabled = function(i) return AloftFrame.db.profile.colorHostileByClass end, |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.hostilePlayer) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.hostilePlayer = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
hostilePet = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Pets"], |
desc = L["Sets the background color for hostile pets"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.hostilePet) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.hostilePet = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
hostileNPC = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile NPCs"], |
desc = L["Sets the background color for hostile units"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.hostileNPC) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.hostileNPC = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
hostileBoss = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Boss"], |
desc = L["Sets the background color for hostile boss units"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.hostileBoss) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.hostileBoss = { r, g, b } AloftFrame:UpdateAll() end |
}, |
neutral = |
{ |
type = 'color', |
width = "full", |
name = L["Neutral Units"], |
desc = L["Sets the background color for neutral units"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.neutral) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.neutral = { r, g, b } AloftFrame:UpdateAll() end |
}, |
pet = |
{ |
type = 'color', |
width = "full", |
name = L["Pet"], |
desc = L["Sets the background color for your pet"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.pet) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.pet = { r, g, b } AloftFrame:UpdateAll() end |
}, |
groupPet = |
{ |
type = 'color', |
width = "full", |
name = L["Group Pets"], |
desc = L["Sets the background color for group pets"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.groupPet) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.groupPet = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
unknown = |
{ |
type = 'color', |
name = L["Unknown"], |
desc = L["Sets the background color for unknown units"], |
get = function(i) return unpack(AloftFrame.db.profile.backgroundColors.unknown) end, |
set = function(i, r, g, b) AloftFrame.db.profile.backgroundColors.unknown = { r, g, b } Aloft:DetermineDataSources() AloftFrame:UpdateAll() end |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
args = |
{ |
format = |
{ |
type = 'input', |
width = "full", |
name = L["Color Format"], |
desc = L["Color tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftFrame.db.profile.colorFormat) end, |
set = function(i, v) |
AloftFrame.db.profile.colorFormat = Aloft:FixTagCasing(v) |
AloftFrame.colorMethodData = nil |
AloftFrame.colorMethod = nil |
Aloft:DetermineDataSources() |
AloftFrame:UpdateAll() |
end, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftFrame:IsEnabled() or not AloftFrame.db or not AloftFrame.db.profile end, |
} |
}, |
}, |
} |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Enable Mouse"] = "Enable Mouse" |
--[[ enUS ]] L["Allows left click to target and right click to interact"] = "Allows left click to target and right click to interact" |
--[[ enUS ]] L["Frame"] = "Frame" |
--[[ enUS ]] L["Frame options"] = "Frame options" |
--[[ enUS ]] L["Width"] = "Width" |
--[[ enUS ]] L["Sets the width of the frame"] = "Sets the width of the frame" |
--[[ enUS ]] L["Height"] = "Height" |
--[[ enUS ]] L["Sets the height of the frame"] = "Sets the height of the frame" |
--[[ enUS ]] L["Packing Width"] = "Packing Width" |
--[[ enUS ]] L["Sets the minimum horizontal distance between frames"] = "Sets the minimum horizontal distance between frames" |
--[[ enUS ]] L["Packing Height"] = "Packing Height" |
--[[ enUS ]] L["Sets the minimum vertical distance between frames"] = "Sets the minimum vertical distance between frames" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust layout base and background position"] = "Adjust layout base and background position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the layout base and background"] = "X offset of the layout base and background" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the layout base and background"] = "Y offset of the layout base and background" |
--[[ enUS ]] L["Background"] = "Background" |
--[[ enUS ]] L["Background options"] = "Background options" |
--[[ enUS ]] L["Background Alpha"] = "Background Alpha" |
--[[ enUS ]] L["Sets the alpha for the background of the nameplates"] = "Sets the alpha for the background of the nameplates" |
--[[ enUS ]] L["Background Colors"] = "Background Colors" |
--[[ enUS ]] L["Customize colors"] = "Customize colors" |
--[[ enUS ]] L["Color by Class"] = "Color by Class" |
--[[ enUS ]] L["Sets the background color according to class"] = "Sets the background color according to class" |
--[[ enUS ]] L["Color Hostile by Class"] = "Color Hostile by Class" |
--[[ enUS ]] L["Sets the background color of hostile players according to class"] = "Sets the background color of hostile players according to class" |
--[[ enUS ]] L["Set All"] = "Set All" |
--[[ enUS ]] L["Sets the background color for all types"] = "Sets the background color for all types" |
--[[ enUS ]] L["Set All Friendly"] = "Set All Friendly" |
--[[ enUS ]] L["Sets the background color for all friendly types"] = "Sets the background color for all friendly types" |
--[[ enUS ]] L["Set All Hostile"] = "Set All Hostile" |
--[[ enUS ]] L["Sets the background color for all hostile types"] = "Sets the background color for all hostile types" |
--[[ enUS ]] L["Unknown"] = "Unknown" |
--[[ enUS ]] L["Sets the background color for unknown units"] = "Sets the background color for unknown units" |
--[[ enUS ]] L["Pet"] = "Pet" |
--[[ enUS ]] L["Sets the background color for your pet"] = "Sets the background color for your pet" |
--[[ enUS ]] L["Friendly Players"] = "Friendly Players" |
--[[ enUS ]] L["Sets the background color for friendly players"] = "Sets the background color for friendly players" |
--[[ enUS ]] L["Friendly Pets"] = "Friendly Pets" |
--[[ enUS ]] L["Sets the background color for friendly pets"] = "Sets the background color for friendly pets" |
--[[ enUS ]] L["Friendly NPCs"] = "Friendly NPCs" |
--[[ enUS ]] L["Sets the background color for friendly NPC Bosses"] = "Sets the background color for friendly NPC Bosses" |
--[[ enUS ]] L["Friendly Boss"] = "Friendly Boss" |
--[[ enUS ]] L["Sets the background color for friendly NPCs"] = "Sets the background color for friendly NPCs" |
--[[ enUS ]] L["Hostile Players"] = "Hostile Players" |
--[[ enUS ]] L["Sets the background color for hostile players"] = "Sets the background color for hostile players" |
--[[ enUS ]] L["Hostile Pets"] = "Hostile Pets" |
--[[ enUS ]] L["Sets the background color for hostile pets"] = "Sets the background color for hostile pets" |
--[[ enUS ]] L["Hostile NPCs"] = "Hostile NPCs" |
--[[ enUS ]] L["Sets the background color for hostile units"] = "Sets the background color for hostile units" |
--[[ enUS ]] L["Hostile Boss"] = "Hostile Boss" |
--[[ enUS ]] L["Sets the background color for hostile boss units"] = "Sets the background color for hostile boss units" |
--[[ enUS ]] L["Neutral Units"] = "Neutral Units" |
--[[ enUS ]] L["Sets the background color for neutral units"] = "Sets the background color for neutral units" |
--[[ enUS ]] L["Group Pets"] = "Group Pets" |
--[[ enUS ]] L["Sets the background color for group pets"] = "Sets the background color for group pets" |
--[[ enUS ]] L["Advanced"] = "Advanced" |
--[[ enUS ]] L["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] L["Color Format"] = "Color Format" |
--[[ enUS ]] L["Color tag"] = "Color tag" |
--[[ enUS ]] L["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] L["Border"] = "Border" |
--[[ enUS ]] L["Border options"] = "Border options" |
--[[ enUS ]] L["Target Only"] = "Target Only" |
--[[ enUS ]] L["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ enUS ]] L["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] L["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] L["Border Inset"] = "Border Inset" |
--[[ enUS ]] L["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] L["Border Color"] = "Border Color" |
--[[ enUS ]] L["Sets the border color of the nameplate"] = "Sets the border color of the nameplate" |
--[[ enUS ]] L["Border Style"] = "Border Style" |
--[[ enUS ]] L["Sets the style of the nameplate border"] = "Sets the style of the nameplate border" |
--[[ enUS ]] L["Background Style"] = "Background Style" |
--[[ enUS ]] L["Sets the style of the nameplate background"] = "Sets the style of the nameplate background" |
--[[ enUS ]] L["NONE"] = "None" |
--[[ enUS ]] L["STANDARD"] = "Standard" |
--[[ enUS ]] L["SQUARE"] = "Square" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Enable Mouse"] = "ë§ì°ì¤ ì¬ì©" |
--[[ koKR ]] L["Allows left click to target and right click to interact"] = "íëì ìí ì°í´ë¦ê³¼ ëìì ì¢í´ë¦ì íì©í©ëë¤." |
--[[ koKR ]] L["Frame"] = "íë ì" |
--[[ koKR ]] L["Frame options"] = "íë ì ì¤ì ì ëë¤." |
--[[ koKR ]] L["Width"] = "ëë¹" |
--[[ koKR ]] L["Sets the width of the frame"] = "íë ìì ëë¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Height"] = "ëì´" |
--[[ koKR ]] L["Sets the height of the frame"] = "íë ìì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Packing Width"] = "í¨í¹ ëì´" |
--[[ koKR ]] L["Sets the minimum horizontal distance between frames"] = "íë ì ì¬ì´ì ìµì ìí 거리를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Packing Height"] = "í¨í¹ ëì´" |
--[[ koKR ]] L["Sets the minimum vertical distance between frames"] = "íë ì ì¬ì´ì ìµì ìì§ ê±°ë¦¬ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Position"] = "Position" |
--[[ koKR ]] L["Adjust layout base and background position"] = "Adjust layout base and background position" |
--[[ koKR ]] L["X Offset"] = "X Offset" |
--[[ koKR ]] L["X offset of the layout base and background"] = "X offset of the layout base and background" |
--[[ koKR ]] L["Y Offset"] = "Y Offset" |
--[[ koKR ]] L["Y offset of the layout base and background"] = "Y offset of the layout base and background" |
--[[ koKR ]] L["Background"] = "Background" |
--[[ koKR ]] L["Background options"] = "Background options" |
--[[ koKR ]] L["Background Alpha"] = "ë°°ê²½ í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha for the background of the nameplates"] = "ì´ë¦íì ë°°ê²½ì ëí í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Background Colors"] = "ë°°ê²½ ìì" |
--[[ koKR ]] L["Customize colors"] = "ì¬ì©ì ìì" |
--[[ koKR ]] L["Color by Class"] = "ì§ì ë³ ìì" |
--[[ koKR ]] L["Sets the background color according to class"] = "ì§ì ë³ ììì ë°°ê²½ ììì¼ë¡ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Color Hostile by Class"] = "ì ëì ì§ì ë³ ìì" |
--[[ koKR ]] L["Sets the background color of hostile players according to class"] = "ì§ì ë³ ììì ì ëì íë ì´ì´ì ë°°ê²½ ììì¼ë¡ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All"] = "ì ì²´ ì¤ì " |
--[[ koKR ]] L["Sets the background color for all types"] = "ì ì²´ì ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All Friendly"] = "ì ì²´ ì°í¸ì ì¤ì " |
--[[ koKR ]] L["Sets the background color for all friendly types"] = "ì ì²´ ì°í¸ì ëìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Set All Hostile"] = "ì ì²´ ì ëì ì¤ì " |
--[[ koKR ]] L["Sets the background color for all hostile types"] = "ì ì²´ ì ëì ëìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Pet"] = "ìíì" |
--[[ koKR ]] L["Sets the background color for your pet"] = "ìíìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Players"] = "ì°í¸ì íë ì´ì´" |
--[[ koKR ]] L["Sets the background color for friendly players"] = "ì°í¸ì íë ì´ì´ì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Pets"] = "ì°í¸ì ìíì" |
--[[ koKR ]] L["Sets the background color for friendly pets"] = "ì°í¸ì ìíìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly NPCs"] = "ì°í¸ì NPC" |
--[[ koKR ]] L["Sets the background color for friendly NPC Bosses"] = "ì°í¸ì NPC ë³´ì¤ì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Friendly Boss"] = "ì°í¸ì ë³´ì¤" |
--[[ koKR ]] L["Sets the background color for friendly NPCs"] = "ì°í¸ì NPCì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Players"] = "ì ëì íë ì´ì´" |
--[[ koKR ]] L["Sets the background color for hostile players"] = "ì ëì íë ì´ì´ì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Pets"] = "ì ëì ìíì" |
--[[ koKR ]] L["Sets the background color for hostile pets"] = "ì ëì ìíìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile NPCs"] = "ì ëì NPC" |
--[[ koKR ]] L["Sets the background color for hostile units"] = "ì ëì ëìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Hostile Boss"] = "ì ëì ë³´ì¤" |
--[[ koKR ]] L["Sets the background color for hostile boss units"] = "ì ëì ë³´ì¤ì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Neutral Units"] = "ì¤ë¦½ì ëì" |
--[[ koKR ]] L["Sets the background color for neutral units"] = "ì¤ë¦½ì ëìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Group Pets"] = "íí° ìíì" |
--[[ koKR ]] L["Sets the background color for group pets"] = "íí° ìíìì ëí ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Unknown"] = "Unknown" |
--[[ koKR ]] L["Sets the background color for unknown units"] = "Sets the background color for unknown units" |
--[[ koKR ]] L["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] L["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] L["Color Format"] = "ìì íì" |
--[[ koKR ]] L["Color tag"] = "ìì íê·¸" |
--[[ koKR ]] L["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] L["Border"] = "Border" |
--[[ koKR ]] L["Border options"] = "Border options" |
--[[ koKR ]] L["Target Only"] = "Target Only" |
--[[ koKR ]] L["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ koKR ]] L["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] L["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] L["Border Inset"] = "Border Inset" |
--[[ koKR ]] L["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] L["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] L["Sets the border color of the nameplate"] = "ì´ë¦íì í ë리 ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] L["Sets the style of the nameplate border"] = "ì´ë¦í í ë리ì ì¤íì¼ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Background Style"] = "ë°°ê²½ ì í" |
--[[ koKR ]] L["Sets the style of the nameplate background"] = "ì´ë¦í ë°°ê²½ì ì íì ì¤ì í©ëë¤." |
--[[ koKR ]] L["NONE"] = "ìì" |
--[[ koKR ]] L["STANDARD"] = "기본í" |
--[[ koKR ]] L["SQUARE"] = "ì¬ê°í" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Enable Mouse"] = "ÐклÑÑиÑÑ Ð¼ÑÑÑ" |
--[[ ruRU ]] L["Allows left click to target and right click to interact"] = "ÐозволÑÐµÑ ÐºÐ»Ð¸ÐºÐ¾Ð¼ левой кнопки вÑделÑÑÑ Ð¸ кликом пÑавой кнопки взаимодейÑÑвоваÑÑ" |
--[[ ruRU ]] L["Frame"] = "ФÑейм" |
--[[ ruRU ]] L["Frame options"] = "ÐаÑÑÑойки ÑÑейма" |
--[[ ruRU ]] L["Width"] = "ШиÑина" |
--[[ ruRU ]] L["Sets the width of the frame"] = "ÐÐ°Ð´Ð°ÐµÑ ÑиÑÐ¸Ð½Ñ ÑÑейма" |
--[[ ruRU ]] L["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] L["Sets the height of the frame"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑейма" |
--[[ ruRU ]] L["Packing Width"] = "ШиÑина ÑазмеÑениÑ" |
--[[ ruRU ]] L["Sets the minimum horizontal distance between frames"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¼Ð¸Ð½Ð¸Ð¼Ð°Ð»Ñное ÑаÑÑÑоÑние Ð¼ÐµÐ¶Ð´Ñ Ð´Ð²ÑÐ¼Ñ ÑÑеймами по гоÑизонÑали" |
--[[ ruRU ]] L["Packing Height"] = "ÐÑÑоÑа ÑазмеÑениÑ" |
--[[ ruRU ]] L["Sets the minimum vertical distance between frames"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¼Ð¸Ð½Ð¸Ð¼Ð°Ð»Ñное ÑаÑÑÑоÑние Ð¼ÐµÐ¶Ð´Ñ Ð´Ð²ÑÐ¼Ñ ÑÑеймами по веÑÑикали" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust layout base and background position"] = "РегÑлиÑовка ÑаÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¾Ñновного ÑÐ»Ð¾Ñ Ð¸ Ñона" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the layout base and background"] = "СмеÑение оÑновного ÑÐ»Ð¾Ñ Ð¸ Ñона по Ð¥" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the layout base and background"] = "СмеÑение оÑновного ÑÐ»Ð¾Ñ Ð¸ Ñона по Y" |
--[[ ruRU ]] L["Background"] = "Фон" |
--[[ ruRU ]] L["Background options"] = "ÐпÑии Ñона" |
--[[ ruRU ]] L["Background Alpha"] = "ÐÑозÑаÑноÑÑÑ Ñона" |
--[[ ruRU ]] L["Sets the alpha for the background of the nameplates"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ñона ÑаблиÑек" |
--[[ ruRU ]] L["Background Colors"] = "ЦвеÑа Ñона" |
--[[ ruRU ]] L["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] L["Color by Class"] = "ÐкÑаÑиваÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Sets the background color according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона в завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Color Hostile by Class"] = "ÐкÑаÑиваÑÑ Ð²ÑаждебнÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] L["Sets the background color of hostile players according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона в завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑа вÑаждебного игÑока" |
--[[ ruRU ]] L["Set All"] = "ÐадаÑÑ Ð²Ñе" |
--[[ ruRU ]] L["Sets the background color for all types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑÐµÑ " |
--[[ ruRU ]] L["Set All Friendly"] = "ÐадаÑÑ Ð²ÑÐµÑ Ð´ÑÑжеÑÑвеннÑми" |
--[[ ruRU ]] L["Sets the background color for all friendly types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑÐµÑ Ð´ÑÑжелÑбнÑÑ " |
--[[ ruRU ]] L["Set All Hostile"] = "ÐадаÑÑ Ð²ÑÐµÑ Ð²ÑаждебнÑми" |
--[[ ruRU ]] L["Sets the background color for all hostile types"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑÐµÑ Ð²ÑаждебнÑÑ " |
--[[ ruRU ]] L["Pet"] = "ÐиÑомеÑ" |
--[[ ruRU ]] L["Sets the background color for your pet"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²Ð°Ñего пиÑомÑа" |
--[[ ruRU ]] L["Friendly Players"] = "ÐÑÑжеÑÑвеннÑе игÑоки" |
--[[ ruRU ]] L["Sets the background color for friendly players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] L["Friendly Pets"] = "ÐÑÑжеÑÑвеннÑе пиÑомÑÑ" |
--[[ ruRU ]] L["Sets the background color for friendly pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] L["Friendly NPCs"] = "ÐÑÑжеÑÑвеннÑе NPC" |
--[[ ruRU ]] L["Sets the background color for friendly NPC Bosses"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов боÑÑов" |
--[[ ruRU ]] L["Friendly Boss"] = "ÐÑÑжеÑÑвеннÑй боÑÑ" |
--[[ ruRU ]] L["Sets the background color for friendly NPCs"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов" |
--[[ ruRU ]] L["Hostile Players"] = "ÐÑаждебнÑе игÑоки" |
--[[ ruRU ]] L["Sets the background color for hostile players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] L["Hostile Pets"] = "ÐÑаждебнÑе пиÑомÑÑ" |
--[[ ruRU ]] L["Sets the background color for hostile pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] L["Hostile NPCs"] = "ÐÑаждебнÑе NPC" |
--[[ ruRU ]] L["Sets the background color for hostile units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑаждебнÑÑ " |
--[[ ruRU ]] L["Hostile Boss"] = "ÐÑаждебнÑй боÑÑ" |
--[[ ruRU ]] L["Sets the background color for hostile boss units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð±Ð¾ÑÑов" |
--[[ ruRU ]] L["Neutral Units"] = "ÐейÑÑиалÑнÑе Ñели" |
--[[ ruRU ]] L["Sets the background color for neutral units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð½ÐµÐ¹ÑÑалÑнÑÑ " |
--[[ ruRU ]] L["Group Pets"] = "ÐиÑомÑÑ Ð³ÑÑппÑ" |
--[[ ruRU ]] L["Sets the background color for group pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñона Ð´Ð»Ñ Ð¿Ð¸ÑомÑев гÑÑппÑ" |
--[[ ruRU ]] L["Unknown"] = "Unknown" |
--[[ ruRU ]] L["Sets the background color for unknown units"] = "Sets the background color for unknown units" |
--[[ ruRU ]] L["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] L["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] L["Color Format"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] L["Color tag"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] L["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] L["Border"] = "ÐÑаÑ" |
--[[ ruRU ]] L["Border options"] = "ÐаÑÑÑойки кÑаев" |
--[[ ruRU ]] L["Target Only"] = "ТолÑко ÑелÑ" |
--[[ ruRU ]] L["Enables the border on the current target only"] = "ÐклÑÑиÑÑ ÐºÑÐ°Ñ ÑолÑко Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] L["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] L["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] L["Border Inset"] = "Border Inset" |
--[[ ruRU ]] L["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] L["Border Color"] = "Ð¦Ð²ÐµÑ Ñамки" |
--[[ ruRU ]] L["Sets the border color of the nameplate"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñамки ÑаблиÑки" |
--[[ ruRU ]] L["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] L["Sets the style of the nameplate border"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ Ð´Ð»Ñ Ñамки ÑаблиÑки" |
--[[ ruRU ]] L["Background Style"] = "СÑÐ¸Ð»Ñ Ñона" |
--[[ ruRU ]] L["Sets the style of the nameplate background"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ Ð´Ð»Ñ Ñона ÑаблиÑки" |
--[[ ruRU ]] L["NONE"] = "ÐеÑÑ" |
--[[ ruRU ]] L["STANDARD"] = "СÑандаÑÑ" |
--[[ ruRU ]] L["SQUARE"] = "ÐвадÑаÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Enable Mouse"] = "å¯ç¨é¼ æ " |
--[[ zhCN ]] L["Allows left click to target and right click to interact"] = "设å®å·¦é®ç¹å»ä¸ºéæ©ç®æ ï¼å³é®ç¹å»å为弹åºéå" |
--[[ zhCN ]] L["Frame"] = "æ¡æ¶" |
--[[ zhCN ]] L["Frame options"] = "æ¡æ¶ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Width"] = "宽度" |
--[[ zhCN ]] L["Sets the width of the frame"] = "设å®æ¡æ¶ç宽度" |
--[[ zhCN ]] L["Height"] = "é«åº¦" |
--[[ zhCN ]] L["Sets the height of the frame"] = "设å®æ¡æ¶çé«åº¦" |
--[[ zhCN ]] L["Packing Width"] = "é´é宽度" |
--[[ zhCN ]] L["Sets the minimum horizontal distance between frames"] = "设å®æ¡æ¶ä¹é´çæå°æ°´å¹³é´é" |
--[[ zhCN ]] L["Packing Height"] = "é´éé«åº¦" |
--[[ zhCN ]] L["Sets the minimum vertical distance between frames"] = "设å®æ¡æ¶ä¹é´çæå°åç´é´é" |
--[[ zhCN ]] L["Position"] = "Position" |
--[[ zhCN ]] L["Adjust layout base and background position"] = "Adjust layout base and background position" |
--[[ zhCN ]] L["X Offset"] = "X Offset" |
--[[ zhCN ]] L["X offset of the layout base and background"] = "X offset of the layout base and background" |
--[[ zhCN ]] L["Y Offset"] = "Y Offset" |
--[[ zhCN ]] L["Y offset of the layout base and background"] = "Y offset of the layout base and background" |
--[[ zhCN ]] L["Background"] = "Background" |
--[[ zhCN ]] L["Background options"] = "Background options" |
--[[ zhCN ]] L["Background Alpha"] = "èæ¯éæ度" |
--[[ zhCN ]] L["Sets the alpha for the background of the nameplates"] = "设å®å§åæ¿çèæ¯éæ度" |
--[[ zhCN ]] L["Background Colors"] = "èæ¯é¢è²" |
--[[ zhCN ]] L["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] L["Color by Class"] = "æ ¹æ®èä¸æ¾ç¤ºé¢è²" |
--[[ zhCN ]] L["Sets the background color according to class"] = "èæ¯é¢è²ä½¿ç¨èä¸ä»£è¡¨è²" |
--[[ zhCN ]] L["Color Hostile by Class"] = "æ对æ¹åä½æ ¹æ®èä¸æ¾ç¤ºé¢è²" |
--[[ zhCN ]] L["Sets the background color of hostile players according to class"] = "æ对æ¹ç©å®¶çèæ¯é¢è²ä½¿ç¨èä¸ä»£è¡¨è²" |
--[[ zhCN ]] L["Set All"] = "设å®å ¨é¨" |
--[[ zhCN ]] L["Sets the background color for all types"] = "设å®ææåä½çèæ¯é¢è²" |
--[[ zhCN ]] L["Set All Friendly"] = "设å®å ¨é¨å好æ¹åä½" |
--[[ zhCN ]] L["Sets the background color for all friendly types"] = "设å®å ¨é¨å好æ¹åä½çèæ¯é¢è²" |
--[[ zhCN ]] L["Set All Hostile"] = "设å®å ¨é¨æ对æ¹åä½" |
--[[ zhCN ]] L["Sets the background color for all hostile types"] = "设å®å ¨é¨æ对æ¹åä½çèæ¯é¢è²" |
--[[ zhCN ]] L["Pet"] = "å® ç©" |
--[[ zhCN ]] L["Sets the background color for your pet"] = "设å®ä½ çå® ç©çèæ¯é¢è²" |
--[[ zhCN ]] L["Friendly Players"] = "å好æ¹ç©å®¶" |
--[[ zhCN ]] L["Sets the background color for friendly players"] = "设å®å好æ¹ç©å®¶çèæ¯é¢è²" |
--[[ zhCN ]] L["Friendly Pets"] = "å好æ¹å® ç©" |
--[[ zhCN ]] L["Sets the background color for friendly pets"] = "设å®å好æ¹å® ç©çèæ¯é¢è²" |
--[[ zhCN ]] L["Friendly NPCs"] = "å好æ¹NPC" |
--[[ zhCN ]] L["Sets the background color for friendly NPC Bosses"] = "设å®å好æ¹é¦é¢çèæ¯é¢è²" |
--[[ zhCN ]] L["Friendly Boss"] = "å好æ¹é¦é¢" |
--[[ zhCN ]] L["Sets the background color for friendly NPCs"] = "设å®å好NPCçèæ¯é¢è²" |
--[[ zhCN ]] L["Hostile Players"] = "æ对æ¹ç©å®¶" |
--[[ zhCN ]] L["Sets the background color for hostile players"] = "设å®æ对æ¹ç©å®¶çèæ¯é¢è²" |
--[[ zhCN ]] L["Hostile Pets"] = "æ对æ¹å® ç©" |
--[[ zhCN ]] L["Sets the background color for hostile pets"] = "设å®æ对æ¹å® ç©çèæ¯é¢è²" |
--[[ zhCN ]] L["Hostile NPCs"] = "æ对æ¹NPC" |
--[[ zhCN ]] L["Sets the background color for hostile units"] = "设å®æ对æ¹NPCçèæ¯é¢è²" |
--[[ zhCN ]] L["Hostile Boss"] = "æ对æ¹é¦é¢" |
--[[ zhCN ]] L["Sets the background color for hostile boss units"] = "设å®æ对æ¹é¦é¢çèæ¯é¢è²" |
--[[ zhCN ]] L["Neutral Units"] = "ä¸ç«æ¹åä½" |
--[[ zhCN ]] L["Sets the background color for neutral units"] = "设å®ä¸ç«æ¹åä½çèæ¯é¢è²" |
--[[ zhCN ]] L["Group Pets"] = "éåå® ç©" |
--[[ zhCN ]] L["Sets the background color for group pets"] = "设å®éåå® ç©çèæ¯é¢è²" |
--[[ zhCN ]] L["Unknown"] = "Unknown" |
--[[ zhCN ]] L["Sets the background color for unknown units"] = "Sets the background color for unknown units" |
--[[ zhCN ]] L["Advanced"] = "é«çº§" |
--[[ zhCN ]] L["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] L["Color Format"] = "é¢è²æ ¼å¼" |
--[[ zhCN ]] L["Color tag"] = "é¢è²æ ç¾" |
--[[ zhCN ]] L["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] L["Border"] = "Border" |
--[[ zhCN ]] L["Border options"] = "Border options" |
--[[ zhCN ]] L["Target Only"] = "Target Only" |
--[[ zhCN ]] L["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhCN ]] L["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] L["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] L["Border Inset"] = "Border Inset" |
--[[ zhCN ]] L["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] L["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] L["Sets the border color of the nameplate"] = "å§åæ¿è¾¹æ¡é¢è²" |
--[[ zhCN ]] L["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] L["Sets the style of the nameplate border"] = "设å®å§åæ¿è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] L["Background Style"] = "èæ¯æ ·å¼" |
--[[ zhCN ]] L["Sets the style of the nameplate background"] = "设å®å§åçèæ¯æ ·å¼" |
--[[ zhCN ]] L["NONE"] = "æ " |
--[[ zhCN ]] L["STANDARD"] = "æ å" |
--[[ zhCN ]] L["SQUARE"] = "æ£æ¹å½¢" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Enable Mouse"] = "åç¨æ»é¼ " |
--[[ zhTW ]] L["Allows left click to target and right click to interact"] = "å 許左æé¸æç®æ¨ï¼å³æå½åºé¸å®" |
--[[ zhTW ]] L["Frame"] = "æ¡æ¶" |
--[[ zhTW ]] L["Frame options"] = "æ¡æ¶é¸é " |
--[[ zhTW ]] L["Width"] = "寬度" |
--[[ zhTW ]] L["Sets the width of the frame"] = "æ¡æ¶å¯¬åº¦" |
--[[ zhTW ]] L["Height"] = "é«åº¦" |
--[[ zhTW ]] L["Sets the height of the frame"] = "æ¡æ¶é«åº¦" |
--[[ zhTW ]] L["Packing Width"] = "éé寬度" |
--[[ zhTW ]] L["Sets the minimum horizontal distance between frames"] = "æ¡æ¶æå°æ°´å¹³éé" |
--[[ zhTW ]] L["Packing Height"] = "ééé«åº¦" |
--[[ zhTW ]] L["Sets the minimum vertical distance between frames"] = "æ¡æ¶æå°åç´éé" |
--[[ zhTW ]] L["Position"] = "Position" |
--[[ zhTW ]] L["Adjust layout base and background position"] = "Adjust layout base and background position" |
--[[ zhTW ]] L["X Offset"] = "X Offset" |
--[[ zhTW ]] L["X offset of the layout base and background"] = "X offset of the layout base and background" |
--[[ zhTW ]] L["Y Offset"] = "Y Offset" |
--[[ zhTW ]] L["Y offset of the layout base and background"] = "Y offset of the layout base and background" |
--[[ zhTW ]] L["Background"] = "Background" |
--[[ zhTW ]] L["Background options"] = "Background options" |
--[[ zhTW ]] L["Background Alpha"] = "èæ¯éæ度" |
--[[ zhTW ]] L["Sets the alpha for the background of the nameplates"] = "åçèæ¯éæ度" |
--[[ zhTW ]] L["Background Colors"] = "èæ¯é¡è²" |
--[[ zhTW ]] L["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] L["Color by Class"] = "æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] L["Sets the background color according to class"] = "èæ¯é¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] L["Color Hostile by Class"] = "æµå°å®ä½æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] L["Sets the background color of hostile players according to class"] = "æµå°ç©å®¶çèæ¯é¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] L["Set All"] = "è¨å®å ¨é¨" |
--[[ zhTW ]] L["Sets the background color for all types"] = "è¨å®å ¨é¨å®ä½çèæ¯é¡è²" |
--[[ zhTW ]] L["Set All Friendly"] = "è¨å®å ¨é¨å好" |
--[[ zhTW ]] L["Sets the background color for all friendly types"] = "è¨å®å ¨é¨å好å®ä½çèæ¯é¡è²" |
--[[ zhTW ]] L["Set All Hostile"] = "è¨å®å ¨é¨æµå°" |
--[[ zhTW ]] L["Sets the background color for all hostile types"] = "è¨å®å ¨é¨æµå°å®ä½çèæ¯é¡è²" |
--[[ zhTW ]] L["Pet"] = "寵ç©" |
--[[ zhTW ]] L["Sets the background color for your pet"] = "寵ç©çèæ¯é¡è²" |
--[[ zhTW ]] L["Friendly Players"] = "å好ç©å®¶" |
--[[ zhTW ]] L["Sets the background color for friendly players"] = "å好ç©å®¶çèæ¯é¡è²" |
--[[ zhTW ]] L["Friendly Pets"] = "å好寵ç©" |
--[[ zhTW ]] L["Sets the background color for friendly pets"] = "å好寵ç©çèæ¯é¡è²" |
--[[ zhTW ]] L["Friendly NPCs"] = "å好NPC" |
--[[ zhTW ]] L["Sets the background color for friendly NPC Bosses"] = "å好NPCçèæ¯é¡è²" |
--[[ zhTW ]] L["Friendly Boss"] = "å好é¦é " |
--[[ zhTW ]] L["Sets the background color for friendly NPCs"] = "å好é¦é çèæ¯é¡è²" |
--[[ zhTW ]] L["Hostile Players"] = "æµå°ç©å®¶" |
--[[ zhTW ]] L["Sets the background color for hostile players"] = "æµå°ç©å®¶çèæ¯é¡è²" |
--[[ zhTW ]] L["Hostile Pets"] = "æµå°å¯µç©" |
--[[ zhTW ]] L["Sets the background color for hostile pets"] = "æµå°å¯µç©çèæ¯é¡è²" |
--[[ zhTW ]] L["Hostile NPCs"] = "æµå°NPC" |
--[[ zhTW ]] L["Sets the background color for hostile units"] = "æµå°NPCçèæ¯é¡è²" |
--[[ zhTW ]] L["Hostile Boss"] = "æµå°ç©å®¶" |
--[[ zhTW ]] L["Sets the background color for hostile boss units"] = "æµå°é¦é çèæ¯é¡è²" |
--[[ zhTW ]] L["Neutral Units"] = "ä¸ç«å®ä½" |
--[[ zhTW ]] L["Sets the background color for neutral units"] = "ä¸ç«å®ä½çèæ¯é¡è²" |
--[[ zhTW ]] L["Group Pets"] = "åé«å¯µç©" |
--[[ zhTW ]] L["Sets the background color for group pets"] = "åé«å¯µç©çèæ¯é¡è²" |
--[[ zhTW ]] L["Unknown"] = "Unknown" |
--[[ zhTW ]] L["Sets the background color for unknown units"] = "Sets the background color for unknown units" |
--[[ zhTW ]] L["Advanced"] = "é²é" |
--[[ zhTW ]] L["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] L["Color Format"] = "é¡è²æ ¼å¼" |
--[[ zhTW ]] L["Color tag"] = "é¡è²æ¨ç±¤" |
--[[ zhTW ]] L["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] L["Border"] = "Border" |
--[[ zhTW ]] L["Border options"] = "Border options" |
--[[ zhTW ]] L["Target Only"] = "Target Only" |
--[[ zhTW ]] L["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhTW ]] L["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] L["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] L["Border Inset"] = "Border Inset" |
--[[ zhTW ]] L["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] L["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] L["Sets the border color of the nameplate"] = "åçéæ¡é¡è²" |
--[[ zhTW ]] L["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] L["Sets the style of the nameplate border"] = "åçéæ¡æ¨£å¼" |
--[[ zhTW ]] L["Background Style"] = "èæ¯æ¨£å¼" |
--[[ zhTW ]] L["Sets the style of the nameplate background"] = "è¨å®åçèæ¯æ¨£å¼" |
--[[ zhTW ]] L["NONE"] = "ç¡" |
--[[ zhTW ]] L["STANDARD"] = "æ¨æº" |
--[[ zhTW ]] L["SQUARE"] = "æ£æ¹å½¢" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftFrame = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftClassDataOptions |
if not L then return end |
local AloftClassData = Aloft:GetModule("ClassData") |
if not AloftClassData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.class = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Class Data"], |
desc = L["Stores player class information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassData:IsEnabled() or not AloftClassData.db or not AloftClassData.db.profile end, |
get = function(i) return AloftClassData.db.profile.save end, |
set = AloftClassData.SetSaveData |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftClassData |
if not L then return end |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Save Class Data"] = "Save Class Data" |
--[[ enUS ]] L["Stores player class information between sessions"] = "Stores player class information between sessions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Save Class Data"] = "ì§ì ë°ì´í° ì ì¥" |
--[[ koKR ]] L["Stores player class information between sessions"] = "ì ì ê° íë ì´ì´ ì§ì ì 보를 ì ì¥í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Save Class Data"] = "ÐапиÑаÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ клаÑÑÐ°Ñ " |
--[[ ruRU ]] L["Stores player class information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о клаÑÑÐ°Ñ Ð¸Ð³Ñоков Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Save Class Data"] = "å¨åèä¸ä¿¡æ¯" |
--[[ zhCN ]] L["Stores player class information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åèä¸ä¿¡æ¯" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Save Class Data"] = "å²åè·æ¥è³æ" |
--[[ zhTW ]] L["Stores player class information between sessions"] = "å²åè·æ¥è³æ" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftClassDataOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCommentDataOptions |
if not L then return end |
local AloftCommentData = Aloft:GetModule("CommentData", true) |
if not AloftCommentData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.comment = |
{ |
type = 'group', |
name = L["Comments"], |
desc = L["Comment options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentData:IsEnabled() or not AloftCommentData.db or not AloftCommentData.db.profile end, |
args = |
{ |
save = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Comment Data"], |
desc = L["Stores comment data between sessions"], |
get = function(i) return AloftCommentData.db.profile.save end, |
order = 1, |
set = AloftCommentData.SetSaveData, |
}, |
auto = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Automatic Comments"], |
desc = L["Automatically set comments from tooltip tags"], |
order = 2, |
get = function(i) return AloftCommentData.db.profile.auto end, |
set = function(i, v) |
AloftCommentData.db.profile.auto = v |
AloftCommentData:RegisterEvents() |
end, |
}, |
includeHostile = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Include Hostile Units"], |
desc = L["Include hostile units when automatically gathering comments"], |
order = 3, |
disabled = function(i) return not AloftCommentData.db.profile.auto end, |
get = function(i) return AloftCommentData.db.profile.includeHostile end, |
set = function(i, v) AloftCommentData.db.profile.includeHostile = v end, |
}, |
clear = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset Comments"], |
desc = L["Empties the comment database"], |
func = function(i) AloftCommentData:ClearAllData() end, |
order = -1, |
confirm = function(i) return L["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] end, |
}, |
} |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local oL = { } |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] oL["Comments"] = "Comments" |
--[[ enUS ]] oL["Comment options"] = "Comment options" |
--[[ enUS ]] oL["Save Comment Data"] = "Save Comment Data" |
--[[ enUS ]] oL["Stores comment data between sessions"] = "Stores comment data between sessions" |
--[[ enUS ]] oL["Automatic Comments"] = "Automatic Comments" |
--[[ enUS ]] oL["Automatically set comments from tooltip tags"] = "Automatically set comments from tooltip tags" |
--[[ enUS ]] oL["Include Hostile Units"] = "Include Hostile Units" |
--[[ enUS ]] oL["Include hostile units when automatically gathering comments"] = "Include hostile units when automatically gathering comments" |
--[[ enUS ]] oL["Reset Comments"] = "Reset Comments" |
--[[ enUS ]] oL["Empties the comment database"] = "Empties the comment database" |
--[[ enUS ]] oL["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] = "You are about to empty your comment database.\nThis action cannot be undone. Proceed?" |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Comment Text"] = "Comment Text" |
--[[ enUS ]] tL["Comment text options"] = "Comment text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show comments on nameplates"] = "Show comments on nameplates" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for comment text"] = "Sets the font for comment text" |
--[[ enUS ]] tL["Set Comment"] = "Set Comment" |
--[[ enUS ]] tL["Sets the comment for your current target"] = "Sets the comment for your current target" |
--[[ enUS ]] tL["<Any String>"] = "<Any String>" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Comment typeface options"] = "Comment typeface options" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the comment text"] = "Sets the font height of the comment text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on comment text"] = "Show font shadow on comment text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the outline for comment text"] = "Sets the outline for comment text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust comment tag position"] = "Adjust comment tag position" |
--[[ enUS ]] tL["Anchor"] = "Anchor" |
--[[ enUS ]] tL["Sets the anchor for the comment text"] = "Sets the anchor for the comment text" |
--[[ enUS ]] tL["Anchor To"] = "Anchor To" |
--[[ enUS ]] tL["Sets the relative point on the health bar to anchor the comment text"] = "Sets the relative point on the health bar to anchor the comment text" |
--[[ enUS ]] tL["X Offset"] = "X Offset" |
--[[ enUS ]] tL["X offset of the comment text"] = "X offset of the comment text" |
--[[ enUS ]] tL["Y Offset"] = "Y Offset" |
--[[ enUS ]] tL["Y offset of the comment text"] = "Y offset of the comment text" |
--[[ enUS ]] tL["Alpha"] = "Alpha" |
--[[ enUS ]] tL["Sets the alpha of the comment text"] = "Sets the alpha of the comment text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the comment text color"] = "Sets the comment text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["NoSetComment"] = "|cffff0000You must have a target to set a comment|r" |
--[[ enUS ]] tL["CommentAdded"] = "Added |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ enUS ]] tL["Advanced"] = "Advanced" |
--[[ enUS ]] tL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] tL["Format"] = "Format" |
--[[ enUS ]] tL["Comment tag"] = "Comment tag" |
--[[ enUS ]] tL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] tL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] tL["TOP"] = "TOP" |
--[[ enUS ]] tL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
--[[ enUS ]] tL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] tL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] tL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftComment"] = "AloftComment" |
--[[ enUS ]] mL["Gather and display comment text on nameplates"] = "Gather and display comment text on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Comments"] = "ë©ëª¨" |
--[[ koKR ]] oL["Comment options"] = "ë©ëª¨ ì¤ì " |
--[[ koKR ]] oL["Save Comment Data"] = "ë©ëª¨ ë°ì´í° ì ì¥" |
--[[ koKR ]] oL["Stores comment data between sessions"] = "ì ì ê° ë©ëª¨ ë°ì´í°ë¥¼ ì ì¥í©ëë¤." |
--[[ koKR ]] oL["Automatic Comments"] = "ìë ë©ëª¨" |
--[[ koKR ]] oL["Automatically set comments from tooltip tags"] = "ìëì¼ë¡ í´í í그를 ë©ëª¨ì ì¤ì í©ëë¤." |
--[[ koKR ]] oL["Include Hostile Units"] = "ì ëì ëì í¬í¨" |
--[[ koKR ]] oL["Include hostile units when automatically gathering comments"] = "ìë ë©ëª¨ ì¤ì ì ì ëì ëìë í¬í¨ìíµëë¤." |
--[[ koKR ]] oL["Reset Comments"] = "ë©ëª¨ ì´ê¸°í" |
--[[ koKR ]] oL["Empties the comment database"] = "ë©ëª¨ ë°ì´í°ë¥¼ ìì í©ëë¤." |
--[[ koKR ]] oL["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] = "ë¹ì ì ë©ëª¨ ë°ì´í°ë¥¼ ìì í©ëë¤.\nì´ ëìì ëë릴 ì ììµëë¤. ê³ì íìê² ìµëê¹?" |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Comment Text"] = "ë©ëª¨ ê¸ì" |
--[[ koKR ]] tL["Comment text options"] = "ë©ëª¨ ê¸ì ì¤ì " |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show comments on nameplates"] = "ì´ë¦íì ë©ëª¨ë¥¼ íìí©ëë¤." |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for comment text"] = "ë©ëª¨ ê¸ìì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Set Comment"] = "ë©ëª¨ ì¤ì " |
--[[ koKR ]] tL["Sets the comment for your current target"] = "íì¬ ëìì ëí ë©ëª¨ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["<Any String>"] = "<문ìì´>" |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Comment typeface options"] = "ë©ëª¨ ìì²´ ì¤ì " |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the comment text"] = "ë©ëª¨ ê¸ìì ê¸ê¼´ ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on comment text"] = "ë©ëª¨ ê¸ìì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the outline for comment text"] = "ë©ëª¨ ê¸ìì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust comment tag position"] = "ë©ëª¨ íê·¸ì ìì¹ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] tL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] tL["Sets the anchor for the comment text"] = "ë©ëª¨ ê¸ìì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] tL["Sets the relative point on the health bar to anchor the comment text"] = "ìëª ë ¥ë°ìì ë©ëª¨ ê¸ìì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["X Offset"] = "X ì¢í" |
--[[ koKR ]] tL["X offset of the comment text"] = "ë©ëª¨ ê¸ìì X ì¢íì ëë¤." |
--[[ koKR ]] tL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] tL["Y offset of the comment text"] = "ë©ëª¨ ê¸ìì Y ì¢íì ëë¤." |
--[[ koKR ]] tL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] tL["Sets the alpha of the comment text"] = "ë©ëª¨ ê¸ìì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the comment text color"] = "ë©ëª¨ ê¸ìì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "기본" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["NoSetComment"] = "|cffff0000ë©ëª¨ë¥¼ ì¤ì íë ¤ë©´ ëìì´ ìì´ì¼ í©ëë¤.|r" |
--[[ koKR ]] tL["CommentAdded"] = "|cff00ff00%s|r -> |cff00ff00%s|r ì¶ê°ë¨" |
--[[ koKR ]] tL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] tL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì " |
--[[ koKR ]] tL["Format"] = "íì" |
--[[ koKR ]] tL["Comment tag"] = "ë©ëª¨ íê·¸" |
--[[ koKR ]] tL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] tL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] tL["TOP"] = "ìë¨" |
--[[ koKR ]] tL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] tL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] tL["BOTTOM"] = "íë¨" |
--[[ koKR ]] tL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftComment"] = "AloftComment" |
--[[ koKR ]] mL["Gather and display comment text on nameplates"] = "Gather and display comment text on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Comments"] = "ÐомменÑаÑии" |
--[[ ruRU ]] oL["Comment options"] = "ÐаÑÑÑойка комменÑаÑиев" |
--[[ ruRU ]] oL["Save Comment Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе комменÑаÑиев" |
--[[ ruRU ]] oL["Stores comment data between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð±Ð°Ð·Ñ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиев Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
--[[ ruRU ]] oL["Automatic Comments"] = "ÐвÑомаÑиÑеÑкие комменÑаÑии" |
--[[ ruRU ]] oL["Automatically set comments from tooltip tags"] = "ÐвÑомаÑиÑеÑки задаваÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑии из подÑказок" |
--[[ ruRU ]] oL["Include Hostile Units"] = "ÐклÑÑÐ°Ñ Ð²ÑаждебнÑÑ " |
--[[ ruRU ]] oL["Include hostile units when automatically gathering comments"] = "ÐклÑÑаÑÑ Ð²ÑаждебнÑе Ñели пÑи авÑомаÑиÑеÑком ÑбоÑе комменÑаÑиев" |
--[[ ruRU ]] oL["Reset Comments"] = "СбÑоÑиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑии" |
--[[ ruRU ]] oL["Empties the comment database"] = "ÐÑиÑÐ°ÐµÑ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиев" |
--[[ ruRU ]] oL["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] = "ÐÑ Ñ Ð¾ÑиÑе ÑбÑоÑиÑÑ Ð±Ð°Ð·Ñ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиев.\nРезÑлÑÑÐ°Ñ Ð±ÑÐ´ÐµÑ Ð½ÐµÐ¾Ð±ÑаÑим. ÐÑодолжиÑÑ?" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Comment Text"] = "ТекÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиÑ" |
--[[ ruRU ]] tL["Comment text options"] = "ÐаÑÑÑойки ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show comments on nameplates"] = "ÐÑобÑажаÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑии на ÑаблиÑÐºÐ°Ñ " |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for comment text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа заклинаниÑ" |
--[[ ruRU ]] tL["Set Comment"] = "ÐадаÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий" |
--[[ ruRU ]] tL["Sets the comment for your current target"] = "ÐÐ°Ð´Ð°ÐµÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] tL["<Any String>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока>" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Comment typeface options"] = "ÐаÑÑÑойка ÑÑиÑÑа комменÑаÑиев" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the comment text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on comment text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the outline for comment text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust comment tag position"] = "ÐадаÑÑ Ð¼ÐµÑÑо комменÑаÑиÑ" |
--[[ ruRU ]] tL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] tL["Sets the anchor for the comment text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] tL["Sets the relative point on the health bar to anchor the comment text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа комменÑаÑÐ¸Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] tL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] tL["X offset of the comment text"] = "СмеÑение ÑекÑÑа комменÑаÑÐ¸Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] tL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] tL["Y offset of the comment text"] = "СмеÑение ÑекÑÑа комменÑаÑÐ¸Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] tL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] tL["Sets the alpha of the comment text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа комменÑаÑиÑ" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the comment text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа комменÑаÑиев" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑнÑй" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["NoSetComment"] = "|cffff0000У Ð²Ð°Ñ Ð´Ð¾Ð»Ð¶Ð½Ð° бÑÑÑ ÑÐµÐ»Ñ ÑÑÐ¾Ð±Ñ ÑÑÑановиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑии|r" |
--[[ ruRU ]] tL["CommentAdded"] = "Ðобавлено |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ ruRU ]] tL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] tL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] tL["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] tL["Comment tag"] = "Ðид комменÑаÑиÑ" |
--[[ ruRU ]] tL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] tL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] tL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] tL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftComment"] = "AloftComment" |
--[[ ruRU ]] mL["Gather and display comment text on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑекÑÑ/комменÑаÑии" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Comments"] = "å¤æ³¨" |
--[[ zhCN ]] oL["Comment options"] = "å¤æ³¨é项" |
--[[ zhCN ]] oL["Save Comment Data"] = "å¨åå¤æ³¨ä¿¡æ¯" |
--[[ zhCN ]] oL["Stores comment data between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åå¤æ³¨ä¿¡æ¯" |
--[[ zhCN ]] oL["Automatic Comments"] = "èªå¨å¤æ³¨" |
--[[ zhCN ]] oL["Automatically set comments from tooltip tags"] = "å°æ示信æ¯èªå¨è½¬ä¸ºå¤æ³¨" |
--[[ zhCN ]] oL["Include Hostile Units"] = "å æ¬æ对æ¹åä½" |
--[[ zhCN ]] oL["Include hostile units when automatically gathering comments"] = "èªå¨è®¾å®å¤æ³¨ä¿¡æ¯å æ¬æ对æ¹åä½" |
--[[ zhCN ]] oL["Reset Comments"] = "éç½®å¤æ³¨" |
--[[ zhCN ]] oL["Empties the comment database"] = "æ¸ ç©ºå¤æ³¨ä¿¡æ¯åº" |
--[[ zhCN ]] oL["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦çå¾è¦æ¸ 空å¤æ³¨ä¿¡æ¯åºï¼" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Comment Text"] = "å¤æ³¨æå" |
--[[ zhCN ]] tL["Comment text options"] = "å¤æ³¨æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show comments on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºå¤æ³¨æå" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for comment text"] = "设å®å¤æ³¨æåçåä½" |
--[[ zhCN ]] tL["Set Comment"] = "设å®å¤æ³¨" |
--[[ zhCN ]] tL["Sets the comment for your current target"] = "ä¸ºä½ çå½åç®æ 设å®å¤æ³¨" |
--[[ zhCN ]] tL["<Any String>"] = "<ä»»ææå>" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Comment typeface options"] = "å¤æ³¨æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the comment text"] = "设å®å¤æ³¨æåçåå·" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on comment text"] = "æ¾ç¤ºå¤æ³¨æåçåä½é´å½±" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the outline for comment text"] = "设å®å¤æ³¨æåçåä½è¼ªå»" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust comment tag position"] = "è°æ´å¤æ³¨æ ç¾çä½ç½®" |
--[[ zhCN ]] tL["Anchor"] = "éç¹" |
--[[ zhCN ]] tL["Sets the anchor for the comment text"] = "设å®å¤æ³¨æåçéç¹" |
--[[ zhCN ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] tL["Sets the relative point on the health bar to anchor the comment text"] = "设å®å¤æ³¨æååºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] tL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] tL["X offset of the comment text"] = "设å®å¤æ³¨æåçXè½´å移é" |
--[[ zhCN ]] tL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] tL["Y offset of the comment text"] = "设å®å¤æ³¨æåçYè½´å移é" |
--[[ zhCN ]] tL["Alpha"] = "éæ度" |
--[[ zhCN ]] tL["Sets the alpha of the comment text"] = "设å®å¤æ³¨æåçéæ度" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the comment text color"] = "设å®å¤æ³¨æåçé¢è²" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["NoSetComment"] = "|cffff0000è¦è®¾å®å¤æ³¨ï¼ä½ éè¦ä¸ä¸ªç®æ |r" |
--[[ zhCN ]] tL["CommentAdded"] = "å¢å : |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ zhCN ]] tL["Advanced"] = "é«çº§" |
--[[ zhCN ]] tL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] tL["Format"] = "æ ¼å¼" |
--[[ zhCN ]] tL["Comment tag"] = "å¤æ³¨æ ç¾" |
--[[ zhCN ]] tL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["TOP"] = "ä¸" |
--[[ zhCN ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
--[[ zhCN ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftComment"] = "注é" |
--[[ zhCN ]] mL["Gather and display comment text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºç¹å®æå" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Comments"] = "å註" |
--[[ zhTW ]] oL["Comment options"] = "å註é¸é " |
--[[ zhTW ]] oL["Save Comment Data"] = "å²åå註è³æ" |
--[[ zhTW ]] oL["Stores comment data between sessions"] = "å²åå註è³æ" |
--[[ zhTW ]] oL["Automatic Comments"] = "èªåå註" |
--[[ zhTW ]] oL["Automatically set comments from tooltip tags"] = "ç±æ示è¨æ¯èªåè¨å®å註" |
--[[ zhTW ]] oL["Include Hostile Units"] = "å æ¬æµå°å®ä½" |
--[[ zhTW ]] oL["Include hostile units when automatically gathering comments"] = "èªåè¨å®å註å æ¬æµå°å®ä½" |
--[[ zhTW ]] oL["Reset Comments"] = "éè¨å註" |
--[[ zhTW ]] oL["Empties the comment database"] = "æ¸ ç©ºå註è³æ庫" |
--[[ zhTW ]] oL["You are about to empty your comment database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦ççæ¸ ç©ºå註è³æ庫?" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Comment Text"] = "å註æå" |
--[[ zhTW ]] tL["Comment text options"] = "å註æåé¸é " |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show comments on nameplates"] = "å¨åç顯示å註" |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for comment text"] = "å註æååå" |
--[[ zhTW ]] tL["Set Comment"] = "è¨å®å註" |
--[[ zhTW ]] tL["Sets the comment for your current target"] = "è¨å®ç®åç®æ¨çå註" |
--[[ zhTW ]] tL["<Any String>"] = "<ä»»ä½æå>" |
--[[ zhTW ]] tL["Typeface"] = "åé«" |
--[[ zhTW ]] tL["Comment typeface options"] = "å註æååé«é¸é " |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the comment text"] = "å註æååå大å°" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on comment text"] = "å註æåååé°å½±" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the outline for comment text"] = "å註æååå輪å»" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust comment tag position"] = "å註æ¨ç±¤ä½ç½®" |
--[[ zhTW ]] tL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] tL["Sets the anchor for the comment text"] = "å註æåå®ä½é»" |
--[[ zhTW ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] tL["Sets the relative point on the health bar to anchor the comment text"] = "å註æååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] tL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] tL["X offset of the comment text"] = "å註æåXä½ç§»" |
--[[ zhTW ]] tL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] tL["Y offset of the comment text"] = "å註æåYä½ç§»" |
--[[ zhTW ]] tL["Alpha"] = "éæ度" |
--[[ zhTW ]] tL["Sets the alpha of the comment text"] = "å註æåéæ度" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the comment text color"] = "å註æåé¡è²" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["NoSetComment"] = "|cffff0000ä½ éè¦ä¸åç®æ¨è¨å®å註|r" |
--[[ zhTW ]] tL["CommentAdded"] = "å¢å : |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ zhTW ]] tL["Advanced"] = "é²é" |
--[[ zhTW ]] tL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] tL["Format"] = "æ ¼å¼" |
--[[ zhTW ]] tL["Comment tag"] = "å註æ¨ç±¤" |
--[[ zhTW ]] tL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["TOP"] = "ä¸" |
--[[ zhTW ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
--[[ zhTW ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftComment"] = "注é" |
--[[ zhTW ]] mL["Gather and display comment text on nameplates"] = "å¨åçä¸é¡¯ç¤ºç¹å®æå" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCommentDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
AloftLocale.AloftCommentTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftComment", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCommentTextOptions |
if not L then return end |
local AloftCommentText = Aloft:GetModule("CommentText", true) |
if not AloftCommentText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.comment = |
{ |
type = 'group', |
name = L["Comment Text"], |
desc = L["Comment text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentText:IsEnabled() or not AloftCommentText.db or not AloftCommentText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show comments on nameplates"], |
get = function(i) return AloftCommentText.db.profile.enable end, |
set = function(i, v) AloftCommentText.db.profile.enable = v AloftCommentText:UpdateTag() AloftCommentText:UpdateAll() end, |
order = 1 |
}, |
setComment = |
{ |
type = 'input', |
width = 'full', |
name = L["Set Comment"], |
desc = L["Sets the comment for your current target"], |
usage = L["<Any String>"], |
disabled = function(i) return not AloftCommentText.db.profile.enable end, |
get = function(i) return "" end, |
set = function(i, v) |
local setFor = Aloft:GetModule("CommentData"):SetCommentForTarget(v) |
if setFor then |
Aloft:Print(string.format(L["CommentAdded"], setFor, v)) |
else |
Aloft:Print(L["NoSetComment"]) |
end |
end, |
order = 2 |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Comment typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentText:IsEnabled() or not AloftCommentText.db or not AloftCommentText.db.profile or not AloftCommentText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for comment text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.comment.args.typeface.args.font.values) do |
if v == AloftCommentText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCommentText.db.profile.font = Aloft.Options.args.comment.args.typeface.args.font.values[v] |
AloftCommentText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the comment text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCommentText.db.profile.fontSize end, |
set = function(i, value) AloftCommentText.db.profile.fontSize = value AloftCommentText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on comment text"], |
get = function(i) return AloftCommentText.db.profile.shadow end, |
set = function(i, v) AloftCommentText.db.profile.shadow = v AloftCommentText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for comment text"], |
get = function(i) return AloftCommentText.db.profile.outline end, |
set = function(i, value) AloftCommentText.db.profile.outline = value AloftCommentText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust comment tag position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentText:IsEnabled() or not AloftCommentText.db or not AloftCommentText.db.profile or not AloftCommentText.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the comment text"], |
get = function(i) return AloftCommentText.db.profile.point end, |
set = function(i, v) AloftCommentText.db.profile.point = v AloftCommentText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the comment text"], |
get = function(i) return AloftCommentText.db.profile.relativeToPoint end, |
set = function(i, v) AloftCommentText.db.profile.relativeToPoint = v AloftCommentText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the comment text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCommentText.db.profile.offsetX end, |
set = function(i, v) AloftCommentText.db.profile.offsetX = v AloftCommentText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the comment text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCommentText.db.profile.offsetY end, |
set = function(i, v) AloftCommentText.db.profile.offsetY = v AloftCommentText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the comment text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftCommentText.db.profile.enable end, |
get = function(i) return AloftCommentText.db.profile.alpha end, |
set = function(i, v) AloftCommentText.db.profile.alpha = v AloftCommentText:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the comment text color"], |
disabled = function(i) return not AloftCommentText.db.profile.enable end, |
get = function(i) return unpack(AloftCommentText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCommentText.db.profile.color = { r, g, b, a } AloftCommentText:UpdateAll() end, |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentText:IsEnabled() or not AloftCommentText.db or not AloftCommentText.db.profile or not AloftCommentText.db.profile.enable end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Comment tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftCommentText.db.profile.format) end, |
set = function(i, v) |
AloftCommentText.db.profile.format = Aloft:FixTagCasing(v) |
AloftCommentText.textMethodData = nil |
AloftCommentText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftCommentText:UpdateAll() |
end, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCommentText:IsEnabled() or not AloftCommentText.db or not AloftCommentText.db.profile or not AloftCommentText.db.profile.enable end, |
} |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftComment = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftComment"], |
desc = L["Gather and display comment text on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftComment end, |
set = function(i, v) AloftModules.db.profile.AloftComment = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftRaceDataOptions |
if not L then return end |
local AloftRaceData = Aloft:GetModule("RaceData", true) |
if not AloftRaceData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.race = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Race Data"], |
desc = L["Stores race information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftRaceData:IsEnabled() or not AloftRaceData.db or not AloftRaceData.db.profile end, |
get = function(i) return AloftRaceData.db.profile.save end, |
set = AloftRaceData.SetSaveData |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local oL = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] oL["Save Race Data"] = "Save Race Data" |
--[[ enUS ]] oL["Stores race information between sessions"] = "Stores race information between sessions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Save Race Data"] = "ì¢ ì¡± ë°ì´í° ì ì¥" |
--[[ koKR ]] oL["Stores race information between sessions"] = "ì ì ê° ì¢ ì¡± ì 보를 ì ì¥í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Save Race Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о ÑаÑÐ°Ñ " |
--[[ ruRU ]] oL["Stores race information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о ÑаÑе Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
--[[ zhCN ]] oL["Save Race Data"] = "å¨åç§æä¿¡æ¯" |
--[[ zhCN ]] oL["Stores race information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åç§æä¿¡æ¯" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Save Race Data"] = "å²å種æè³æ" |
--[[ zhTW ]] oL["Stores race information between sessions"] = "å²å種æè³æ" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftRaceDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftGuildDataOptions |
if not L then return end |
local AloftGuildData = Aloft:GetModule("GuildData", true) |
if not AloftGuildData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.guild = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Guild Data"], |
desc = L["Stores guild information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGuildData:IsEnabled() or not AloftGuildData.db or not AloftGuildData.db.profile end, |
get = function(i) return AloftGuildData.db.profile.save end, |
set = AloftGuildData.SetSaveData, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftShortGuildDataOptions |
if not L then return end |
local AloftShortGuildData = Aloft:GetModule("ShortGuildData", true) |
if not AloftShortGuildData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.shortGuild = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset Short Guilds"], |
desc = L["Empties the custom short guild database"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftShortGuildData:IsEnabled() end, |
func = function(i) AloftShortGuildData:ClearAllData() end, |
confirm = function(i) return L["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] end, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local dL = { } |
local tL = { } |
local oL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] dL["Save Guild Data"] = "Save Guild Data" |
--[[ enUS ]] dL["Stores guild information between sessions"] = "Stores guild information between sessions" |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Guild Text"] = "Guild Text" |
--[[ enUS ]] tL["Guild text options"] = "Guild text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show guild information on nameplates"] = "Show guild information on nameplates" |
--[[ enUS ]] tL["Attach to Name"] = "Attach to Name" |
--[[ enUS ]] tL["Attaches guild text to name"] = "Attaches guild text to name" |
--[[ enUS ]] tL["Attach Format"] = "Attach Format" |
--[[ enUS ]] tL["Selects the text format to use"] = "Selects the text format to use" |
--[[ enUS ]] tL["HYPHEN"] = "Name - Guild" |
--[[ enUS ]] tL["SLASH"] = "Name / Guild" |
--[[ enUS ]] tL["BRACKET"] = "Name (Guild)" |
--[[ enUS ]] tL["COLON"] = "Name : Guild" |
--[[ enUS ]] tL["Short"] = "Short" |
--[[ enUS ]] tL["Use short guild names"] = "Use short guild names" |
--[[ enUS ]] tL["Set Short Name"] = "Set Short Name" |
--[[ enUS ]] tL["<Any String>"] = "<Any String>" |
--[[ enUS ]] tL["Sets the short name for your current target"] = "Sets the short name for your current target" |
--[[ enUS ]] tL["Show Own"] = "Show Own" |
--[[ enUS ]] tL["Show the guild names of your own guild members"] = "Show the guild names of your own guild members" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Guild text typeface options"] = "Guild text typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for guild text"] = "Sets the font for guild text" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the guild text"] = "Sets the font height of the guild text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on guild text"] = "Show font shadow on guild text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the outline for guild text"] = "Sets the outline for guild text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust guild text position"] = "Adjust guild text position" |
--[[ enUS ]] tL["Anchor"] = "Anchor" |
--[[ enUS ]] tL["Sets the anchor for the guild text"] = "Sets the anchor for the guild text" |
--[[ enUS ]] tL["Anchor To"] = "Anchor To" |
--[[ enUS ]] tL["Sets the relative point on the health bar to anchor the guild text"] = "Sets the relative point on the health bar to anchor the guild text" |
--[[ enUS ]] tL["X Offset"] = "X Offset" |
--[[ enUS ]] tL["X offset of the guild text"] = "X offset of the guild text" |
--[[ enUS ]] tL["Y Offset"] = "Y Offset" |
--[[ enUS ]] tL["Y offset of the guild text"] = "Y offset of the guild text" |
--[[ enUS ]] tL["Alpha"] = "Alpha" |
--[[ enUS ]] tL["Sets the alpha of the guild text"] = "Sets the alpha of the guild text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the guild text color"] = "Sets the guild text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["NoSetShortName"] = "|cffff0000You must have a target to set the short name|r" |
--[[ enUS ]] tL["ShortNameAdded"] = "Added |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ enUS ]] tL["Advanced"] = "Advanced" |
--[[ enUS ]] tL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] tL["Format"] = "Format" |
--[[ enUS ]] tL["Guild tag"] = "Guild tag" |
--[[ enUS ]] tL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] tL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] tL["TOP"] = "TOP" |
--[[ enUS ]] tL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
--[[ enUS ]] tL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] tL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] tL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
--[[ enUS ]] oL["Reset Short Guilds"] = "Reset Short Guilds" |
--[[ enUS ]] oL["Empties the custom short guild database"] = "Empties the custom short guild database" |
--[[ enUS ]] oL["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] = "You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftGuild"] = "AloftGuild" |
--[[ enUS ]] mL["Gather and display player guild names on nameplates"] = "Gather and display player guild names on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] dL["Save Guild Data"] = "길ë ë°ì´í° ì ì¥" |
--[[ koKR ]] dL["Stores guild information between sessions"] = "ì ì ê° ê¸¸ë ì 보를 ì ì¥íëë¤." |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Guild Text"] = "길ëì ë³´" |
--[[ koKR ]] tL["Guild text options"] = "길ëì ë³´ ì¤ì " |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show guild information on nameplates"] = "ì´ë¦íì 길ëì 보를 íìí©ëë¤." |
--[[ koKR ]] tL["Attach to Name"] = "ì´ë¦ì 첨ë¶" |
--[[ koKR ]] tL["Attaches guild text to name"] = "ì´ë¦ì 길ë ì 보를 ì¶ê°í©ëë¤." |
--[[ koKR ]] tL["Attach Format"] = "ì²¨ë¶ íì" |
--[[ koKR ]] tL["Selects the text format to use"] = "ì¬ì©í ì ë³´ íìì ì íí©ëë¤." |
--[[ koKR ]] tL["HYPHEN"] = "ì´ë¦ - 길ë" |
--[[ koKR ]] tL["SLASH"] = "ì´ë¦ / 길ë" |
--[[ koKR ]] tL["BRACKET"] = "ì´ë¦ (길ë)" |
--[[ koKR ]] tL["COLON"] = "ì´ë¦ : 길ë" |
--[[ koKR ]] tL["Short"] = "ê°ëµí" |
--[[ koKR ]] tL["Use short guild names"] = "짧ì 길ëëª ì ì¬ì©í©ëë¤." |
--[[ koKR ]] tL["Set Short Name"] = "짧ì ì´ë¦ ì¤ì " |
--[[ koKR ]] tL["<Any String>"] = "<문ìì´>" |
--[[ koKR ]] tL["Sets the short name for your current target"] = "íì¬ ëìì ëí´ ì§§ì ì´ë¦ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Show Own"] = "ìì íì" |
--[[ koKR ]] tL["Show the guild names of your own guild members"] = "길ëìì 길ëëª ì íìí©ëë¤." |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Guild text typeface options"] = "길ëì ë³´ ìì²´ ì¤ì " |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for guild text"] = "길ë ì ë³´ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the guild text"] = "길ë ì ë³´ ê¸ê¼´ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on guild text"] = "길ë ì ë³´ ê¸ê¼´ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the outline for guild text"] = "길ë ì ë³´ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust guild text position"] = "길ë ì ë³´ ìì¹ ì¡°ì " |
--[[ koKR ]] tL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] tL["Sets the anchor for the guild text"] = "길ë ì ë³´ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] tL["Sets the relative point on the health bar to anchor the guild text"] = "ìëª ë ¥ë°ìì 길ë ì ë³´ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["X Offset"] = "X ì¢í" |
--[[ koKR ]] tL["X offset of the guild text"] = "길ë ì ë³´ì X ì¢í ì ëë¤." |
--[[ koKR ]] tL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] tL["Y offset of the guild text"] = "길ë ì ë³´ì Y ì¢í ì ëë¤." |
--[[ koKR ]] tL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] tL["Sets the alpha of the guild text"] = "길ë ì ë³´ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the guild text color"] = "길ë ì ë³´ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "ë³´íµ" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["NoSetShortName"] = "|cffff0000ëìì ì§ì ë 짧ì ì´ë¦ì´ ììµëë¤.|r" |
--[[ koKR ]] tL["ShortNameAdded"] = "|cff00ff00%s|r -> |cff00ff00%s|r ì¶ê°ë¨" |
--[[ koKR ]] tL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] tL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] tL["Format"] = "íì" |
--[[ koKR ]] tL["Guild tag"] = "길ë íê·¸" |
--[[ koKR ]] tL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] tL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] tL["TOP"] = "ìë¨" |
--[[ koKR ]] tL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] tL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] tL["BOTTOM"] = "íë¨" |
--[[ koKR ]] tL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Reset Short Guilds"] = "짧ì 길ë ì´ê¸°í" |
--[[ koKR ]] oL["Empties the custom short guild database"] = "ì¬ì©ìì 짧ì 길ë ë°ì´í°ë² ì´ì¤ë¥¼ ìì í©ëë¤." |
--[[ koKR ]] oL["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] = "ë¹ì ì 짧ì 길ëëª ë°ì´í°ë¥¼ ìì í©ëë¤.\nì´ ëìì ëë릴 ì ììµëë¤. ê³ì íìê² ìµëê¹?" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftGuild"] = "AloftGuild" |
--[[ koKR ]] mL["Gather and display player guild names on nameplates"] = "Gather and display player guild names on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] dL["Save Guild Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о гилÑдиÑÑ " |
--[[ ruRU ]] dL["Stores guild information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о гилÑдии Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Guild Text"] = "ТекÑÑ Ð³Ð¸Ð»Ñдии" |
--[[ ruRU ]] tL["Guild text options"] = "ÐаÑÑÑойки ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show guild information on nameplates"] = "ÐÑобÑажаÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ гилÑдии на ÑаблиÑÐºÐ°Ñ " |
--[[ ruRU ]] tL["Attach to Name"] = "ÐÑиÑоединиÑÑ Ðº имени" |
--[[ ruRU ]] tL["Attaches guild text to name"] = "ÐÑиÑоединÑÐµÑ Ð³Ð¸Ð»Ñд-ÑекÑÑ Ðº имени" |
--[[ ruRU ]] tL["Attach Format"] = "СпоÑоб пÑикÑеплениÑ" |
--[[ ruRU ]] tL["Selects the text format to use"] = "ÐÑбиÑаеÑ, какой ÑоÑÐ¼Ð°Ñ Ð¸ÑполÑзоваÑÑ Ð´Ð»Ñ ÑекÑÑа" |
--[[ ruRU ]] tL["HYPHEN"] = "ÐÐ¼Ñ - ÐилÑдиÑ" |
--[[ ruRU ]] tL["SLASH"] = "ÐÐ¼Ñ / ÐилÑдиÑ" |
--[[ ruRU ]] tL["BRACKET"] = "ÐÐ¼Ñ (ÐилÑдиÑ)" |
--[[ ruRU ]] tL["COLON"] = "ÐÐ¼Ñ : ÐилÑдиÑ" |
--[[ ruRU ]] tL["Short"] = "СокÑаÑенное" |
--[[ ruRU ]] tL["Use short guild names"] = "УкоÑаÑиваÑÑ Ð¸Ð¼ÐµÐ½Ð° гилÑдий" |
--[[ ruRU ]] tL["Set Short Name"] = "ÐадаÑÑ ÐºÐ¾ÑоÑкое имÑ" |
--[[ ruRU ]] tL["<Any String>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока>" |
--[[ ruRU ]] tL["Sets the short name for your current target"] = "ÐÐ°Ð´Ð°ÐµÑ ÑокÑаÑенное Ð¸Ð¼Ñ Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] tL["Show Own"] = "ÐÑобÑажаÑÑ ÑебÑ" |
--[[ ruRU ]] tL["Show the guild names of your own guild members"] = "ÐÑобÑажаÑÑ Ð¸Ð¼Ñ Ð³Ð¸Ð»Ñдии Ð´Ð»Ñ Ñленов ваÑей гилÑдии" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Guild text typeface options"] = "ÐпÑии ÑÑиÑÑа ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for guild text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the guild text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on guild text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the outline for guild text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust guild text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] tL["Sets the anchor for the guild text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] tL["Sets the relative point on the health bar to anchor the guild text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа гилÑдии оÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] tL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] tL["X offset of the guild text"] = "СмеÑение гилÑд-ÑекÑÑа по X" |
--[[ ruRU ]] tL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] tL["Y offset of the guild text"] = "СмеÑение гилÑд-ÑекÑÑа по Y" |
--[[ ruRU ]] tL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] tL["Sets the alpha of the guild text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the guild text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа гилÑдии" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["NoSetShortName"] = "|cffff0000У Ð²Ð°Ñ Ð´Ð¾Ð»Ð¶Ð½Ð° бÑÑÑ ÑÐµÐ»Ñ ÑÑÐ¾Ð±Ñ ÑÑÑановиÑÑ ÑокÑаÑение имени|r" |
--[[ ruRU ]] tL["ShortNameAdded"] = "Ðобавлено |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ ruRU ]] tL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] tL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] tL["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] tL["Guild tag"] = "Ðид гилÑдии" |
--[[ ruRU ]] tL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] tL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] tL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] tL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Reset Short Guilds"] = "СбÑÐ¾Ñ ÑокÑаÑений Ð´Ð»Ñ Ð³Ð¸Ð»Ñдий" |
--[[ ruRU ]] oL["Empties the custom short guild database"] = "ÐÑиÑÐ°ÐµÑ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ÑокÑаÑеннÑÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ð¹ гилÑдий" |
--[[ ruRU ]] oL["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] = "ÐÑ Ñ Ð¾ÑиÑе ÑбÑоÑиÑÑ Ð±Ð°Ð·Ñ ÑокÑаÑеннÑÑ Ð¸Ð¼ÐµÐ½ гилÑдий.\nРезÑлÑÑÐ°Ñ Ð±ÑÐ´ÐµÑ Ð½ÐµÐ¾Ð±ÑаÑим. ÐÑодолжиÑÑ?" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftGuild"] = "AloftGuild" |
--[[ ruRU ]] mL["Gather and display player guild names on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ гилÑдии игÑока" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] dL["Save Guild Data"] = "å¨åå ¬ä¼ä¿¡æ¯" |
--[[ zhCN ]] dL["Stores guild information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åå ¬ä¼ä¿¡æ¯" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Guild Text"] = "å ¬ä¼å称æå" |
--[[ zhCN ]] tL["Guild text options"] = "å ¬ä¼å称æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show guild information on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºå ¬ä¼ä¿¡æ¯" |
--[[ zhCN ]] tL["Attach to Name"] = "ä¾éå§å" |
--[[ zhCN ]] tL["Attaches guild text to name"] = "å ¬ä¼å称æåä¾éå§å" |
--[[ zhCN ]] tL["Attach Format"] = "ä¾éæ ¼å¼" |
--[[ zhCN ]] tL["Selects the text format to use"] = "éæ©æåç" |
--[[ zhCN ]] tL["HYPHEN"] = "åå - å ¬ä¼" |
--[[ zhCN ]] tL["SLASH"] = "åå / å ¬ä¼" |
--[[ zhCN ]] tL["BRACKET"] = "åå (å ¬ä¼)" |
--[[ zhCN ]] tL["COLON"] = "åå : å ¬ä¼" |
--[[ zhCN ]] tL["Short"] = "缩å" |
--[[ zhCN ]] tL["Use short guild names"] = "使ç¨å ¬ä¼å称ç缩å" |
--[[ zhCN ]] tL["Set Short Name"] = "设å®å ¬ä¼å称缩å" |
--[[ zhCN ]] tL["<Any String>"] = "<ä»»ææå>" |
--[[ zhCN ]] tL["Sets the short name for your current target"] = "设å®å½åç®æ å ¬ä¼å称ç缩å" |
--[[ zhCN ]] tL["Show Own"] = "æ¾ç¤ºèªå·±" |
--[[ zhCN ]] tL["Show the guild names of your own guild members"] = "设å®èªå·±å ¬ä¼å称ç缩å" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Guild text typeface options"] = "å ¬ä¼å称æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for guild text"] = "设å®å ¬ä¼å称æåçåä½" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the guild text"] = "设å®å ¬ä¼å称æåçåå·" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on guild text"] = "æ¾ç¤ºå ¬ä¼å称æåçåä½é´å½±" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the outline for guild text"] = "设å®å ¬ä¼å称æåçè½®å»" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust guild text position"] = "è°æ´è®¾å®å ¬ä¼å称æåçä½ç½®" |
--[[ zhCN ]] tL["Anchor"] = "éç¹" |
--[[ zhCN ]] tL["Sets the anchor for the guild text"] = "设å®å ¬ä¼å称æåçéç¹" |
--[[ zhCN ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] tL["Sets the relative point on the health bar to anchor the guild text"] = "设å®å ¬ä¼å称æåçåºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] tL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] tL["X offset of the guild text"] = "å ¬ä¼å称æåçXè½´å移é" |
--[[ zhCN ]] tL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] tL["Y offset of the guild text"] = "å ¬ä¼å称æåçYè½´å移é" |
--[[ zhCN ]] tL["Alpha"] = "éæ度" |
--[[ zhCN ]] tL["Sets the alpha of the guild text"] = "设å®å ¬ä¼å称æåçéæ度" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the guild text color"] = "设å®å ¬ä¼å称æåçé¢è²" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["NoSetShortName"] = "|cffff0000è¦è®¾å®å ¬ä¼ç®ç§°ï¼ä½ é¦å éè¦ä¸ä¸ªç®æ |r" |
--[[ zhCN ]] tL["ShortNameAdded"] = "å¢å : |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ zhCN ]] tL["Advanced"] = "é«çº§" |
--[[ zhCN ]] tL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] tL["Format"] = "æ ¼å¼" |
--[[ zhCN ]] tL["Guild tag"] = "å ¬ä¼æ ç¾" |
--[[ zhCN ]] tL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["TOP"] = "ä¸" |
--[[ zhCN ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
--[[ zhCN ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Reset Short Guilds"] = "éç½®å ¬ä¼ç®ç§°" |
--[[ zhCN ]] oL["Empties the custom short guild database"] = "æ¸ ç©ºå ¬ä¼ç®ç§°çä¿¡æ¯åºã" |
--[[ zhCN ]] oL["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦çè¦æ¸ ç©ºå ¬ä¼ç®ç§°ä¿¡æ¯åºï¼" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftGuild"] = "å ¬ä¼" |
--[[ zhCN ]] mL["Gather and display player guild names on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºç©å®¶çå ¬ä¼å" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] dL["Save Guild Data"] = "å²åå ¬æè³æ" |
--[[ zhTW ]] dL["Stores guild information between sessions"] = "å²åå ¬æè³æ" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Guild Text"] = "å ¬ææå" |
--[[ zhTW ]] tL["Guild text options"] = "å ¬ææåé¸é " |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show guild information on nameplates"] = "å¨åçé¡¯ç¤ºå ¬æè³è¨" |
--[[ zhTW ]] tL["Attach to Name"] = "ä¾éåå" |
--[[ zhTW ]] tL["Attaches guild text to name"] = "å ¬ææåä¾éåå" |
--[[ zhTW ]] tL["Attach Format"] = "ä¾éæ ¼å¼" |
--[[ zhTW ]] tL["Selects the text format to use"] = "é¸ææåæ ¼å¼" |
--[[ zhTW ]] tL["HYPHEN"] = "åå - å ¬æ" |
--[[ zhTW ]] tL["SLASH"] = "åå / å ¬æ" |
--[[ zhTW ]] tL["BRACKET"] = "åå (å ¬æ)" |
--[[ zhTW ]] tL["COLON"] = "åå : å ¬æ" |
--[[ zhTW ]] tL["Short"] = "ç°¡ç" |
--[[ zhTW ]] tL["Use short guild names"] = "使ç¨ç°¡çå ¬æåå" |
--[[ zhTW ]] tL["Set Short Name"] = "è¨å®ç°¡çå ¬æåå" |
--[[ zhTW ]] tL["<Any String>"] = "<ä»»ä½æå>" |
--[[ zhTW ]] tL["Sets the short name for your current target"] = "è¨å®ç®åç®æ¨çç°¡çå ¬æåå" |
--[[ zhTW ]] tL["Show Own"] = "è¨å®èªå·±" |
--[[ zhTW ]] tL["Show the guild names of your own guild members"] = "è¨å®èªå·±çç°¡çå ¬æåå" |
--[[ zhTW ]] tL["Typeface"] = "åé«" |
--[[ zhTW ]] tL["Guild text typeface options"] = "å ¬ææååé«é¸é " |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for guild text"] = "å ¬ææååå" |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the guild text"] = "å ¬ææååå大å°" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on guild text"] = "å ¬ææåååé°å½±" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the outline for guild text"] = "å ¬ææååå輪å»" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust guild text position"] = "å ¬ææåä½ç½®" |
--[[ zhTW ]] tL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] tL["Sets the anchor for the guild text"] = "å ¬ææåå®ä½é»" |
--[[ zhTW ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] tL["Sets the relative point on the health bar to anchor the guild text"] = "å ¬ææååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] tL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] tL["X offset of the guild text"] = "å ¬ææåXä½ç§»" |
--[[ zhTW ]] tL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] tL["Y offset of the guild text"] = "å ¬ææåYä½ç§»" |
--[[ zhTW ]] tL["Alpha"] = "éæ度" |
--[[ zhTW ]] tL["Sets the alpha of the guild text"] = "å ¬ææåéæ度" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the guild text color"] = "å ¬ææåé¡è²" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["NoSetShortName"] = "|cffff0000ä½ éè¦ä¸åç®æ¨è¨å®ç°¡çå ¬æåå|r" |
--[[ zhTW ]] tL["ShortNameAdded"] = "å¢å : |cff00ff00%s|r -> |cff00ff00%s|r" |
--[[ zhTW ]] tL["Advanced"] = "é²é" |
--[[ zhTW ]] tL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] tL["Format"] = "æ ¼å¼" |
--[[ zhTW ]] tL["Guild tag"] = "å ¬ææ¨ç±¤" |
--[[ zhTW ]] tL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["TOP"] = "ä¸" |
--[[ zhTW ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
--[[ zhTW ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Reset Short Guilds"] = "éè¨ç°¡çå ¬æåå" |
--[[ zhTW ]] oL["Empties the custom short guild database"] = "æ¸ ç©ºç°¡çå ¬æååè³æ庫" |
--[[ zhTW ]] oL["You are about to empty your guild short name database.\nThis action cannot be undone. Proceed?"] = "ä½ æ¯å¦ççæ¸ ç©ºç°¡çå ¬æååè³æ庫?" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftGuild"] = "å ¬æ" |
--[[ zhTW ]] mL["Gather and display player guild names on nameplates"] = "å¨åçä¸é¡¯ç¤ºç©å®¶çå ¬æå" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftGuildDataOptions = setmetatable(dL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
dL = nil |
AloftLocale.AloftGuildTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
AloftLocale.AloftShortGuildDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftGuild", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftGuildTextOptions |
if not L then return end |
local AloftGuildText = Aloft:GetModule("GuildText", true) |
if not AloftGuildText then return end |
local AloftNameText = Aloft:GetModule("NameText", true) -- always enabled |
if not AloftNameText then return end -- always enabled |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local attachFormats = |
{ |
["HYPHEN"] = { "[Guild:Prefix(\" - \"):HideGuild]", "[ShortGuild:Prefix(\" - \"):HideGuild]", "[Guild:Prefix(\" - \")]", "[ShortGuild:Prefix(\" - \")]" }, |
["BRACKET"] = { "[Guild:HideGuild:Surround(\" (\", \")\")]", "[ShortGuild:HideGuild:Surround(\" (\", \")\")]", "[Guild:Surround(\" (\", \")\")]", "[ShortGuild:Surround(\" (\", \")\")]" }, |
["SLASH"] = { "[Guild:Prefix(\" / \"):HideGuild]", "[ShortGuild:Prefix(\" / \"):HideGuild]", "[Guild:Prefix(\" / \")]", "[ShortGuild:Prefix(\" / \")]" }, |
["COLON"] = { "[Guild:Prefix(\" : \"):HideGuild]", "[ShortGuild:Prefix(\" : \"):HideGuild]", "[Guild:Prefix(\" : \")]", "[ShortGuild:Prefix(\" : \")]" }, |
} |
local formats = { "[Guild:HideGuild]", "[ShortGuild:HideGuild]", "[Guild]", "[ShortGuild]" } |
----------------------------------------------------------------------------- |
Aloft.Options.args.guildText = |
{ |
type = 'group', |
name = L["Guild Text"], |
desc = L["Guild text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGuildText:IsEnabled() or not AloftGuildText.db or not AloftGuildText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show guild information on nameplates"], |
get = function(i) return AloftGuildText.db.profile.enable end, |
set = function(i, v) AloftGuildText.db.profile.enable = v AloftGuildText:UpdateAttachedText() Aloft:DetermineDataSources() AloftGuildText:UpdateAll() AloftNameText:UpdateAll() end, |
order = 1 |
}, |
attachToName = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Attach to Name"], |
desc = L["Attaches guild text to name"], |
disabled = function(i) return not AloftGuildText.db.profile.enable end, |
get = function(i) return AloftGuildText.db.profile.attachToName end, |
set = function(i, v) AloftGuildText.db.profile.attachToName = v AloftGuildText:UpdateAttachedText() Aloft:DetermineDataSources() AloftGuildText:UpdateAll() AloftNameText:UpdateAll() end, |
order = 2 |
}, |
attachFormat = |
{ |
type = 'select', |
width = 'full', |
name = L["Attach Format"], |
desc = L["Selects the text format to use"], |
disabled = function(i) return not AloftGuildText.db.profile.enable or not AloftGuildText.db.profile.attachToName end, |
get = function(i) return AloftGuildText.db.profile.attachFormat end, |
set = function(i, v) AloftGuildText.db.profile.attachFormat = v AloftGuildText:UpdateAttachedText() Aloft:DetermineDataSources() AloftGuildText:UpdateAll() AloftNameText:UpdateAll() end, |
values = { HYPHEN = L["HYPHEN"], SLASH = L["SLASH"], BRACKET = L["BRACKET"], COLON = L["COLON"] }, |
order = 3 |
}, |
short = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Short"], |
desc = L["Use short guild names"], |
disabled = function(i) return not AloftGuildText.db.profile.enable end, |
get = function(i) return AloftGuildText.db.profile.useShort end, |
set = function(i, v) AloftGuildText.db.profile.useShort = v AloftGuildText:UpdateAttachedText() Aloft:DetermineDataSources() AloftGuildText:UpdateAll() AloftNameText:UpdateAll() end, |
order = 4 |
}, |
setShort = |
{ |
type = 'input', |
width = 'full', |
name = L["Set Short Name"], |
desc = L["Sets the short name for your current target"], |
usage = L["<Any String>"], |
disabled = function(i) return not AloftGuildText.db.profile.enable or not AloftGuildText.db.profile.useShort end, |
get = function(i) return "" end, |
set = function(i, v) |
if UnitExists("target") then |
local targetGuild = GetGuildInfo("target") or "" |
Aloft:GetModule("ShortGuildData"):AddData(targetGuild, v) |
Aloft:Print(string.format(L["ShortNameAdded"], targetGuild, v)) |
else |
Aloft:Print(L["NoSetShortName"]) |
end |
end, |
order = 5 |
}, |
showOwn = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Show Own"], |
desc = L["Show the guild names of your own guild members"], |
disabled = function(i) return not AloftGuildText.db.profile.enable end, |
get = function(i) return AloftGuildText.db.profile.showOwn end, |
set = function(i, v) AloftGuildText.db.profile.showOwn = v AloftGuildText:UpdateAttachedText() Aloft:DetermineDataSources() AloftGuildText:UpdateAll() AloftNameText:UpdateAll() end, |
order = 6 |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Guild text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGuildText:IsEnabled() or not AloftGuildText.db or not AloftGuildText.db.profile or not AloftGuildText.db.profile.enable or AloftGuildText.db.profile.attachToName end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for guild text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.guildText.args.typeface.args.font.values) do |
if v == AloftGuildText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftGuildText.db.profile.font = Aloft.Options.args.guildText.args.typeface.args.font.values[v] |
AloftGuildText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the guild text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftGuildText.db.profile.fontSize end, |
set = function(i, value) AloftGuildText.db.profile.fontSize = value AloftGuildText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on guild text"], |
get = function(i) return AloftGuildText.db.profile.shadow end, |
set = function(i, v) AloftGuildText.db.profile.shadow = v AloftGuildText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for guild text"], |
get = function(i) return AloftGuildText.db.profile.outline end, |
set = function(i, value) AloftGuildText.db.profile.outline = value AloftGuildText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust guild text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGuildText:IsEnabled() or not AloftGuildText.db or not AloftGuildText.db.profile or not AloftGuildText.db.profile.enable or AloftGuildText.db.profile.attachToName end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the guild text"], |
get = function(i) return AloftGuildText.db.profile.point end, |
set = function(i, v) AloftGuildText.db.profile.point = v AloftGuildText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the guild text"], |
get = function(i) return AloftGuildText.db.profile.relativeToPoint end, |
set = function(i, v) AloftGuildText.db.profile.relativeToPoint = v AloftGuildText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the guild text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftGuildText.db.profile.offsetX end, |
set = function(i, v) AloftGuildText.db.profile.offsetX = v AloftGuildText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the guild text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftGuildText.db.profile.offsetY end, |
set = function(i, v) AloftGuildText.db.profile.offsetY = v AloftGuildText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the guild text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftGuildText.db.profile.enable or AloftGuildText.db.profile.attachToName end, |
get = function(i) return AloftGuildText.db.profile.alpha end, |
set = function(i, v) AloftGuildText.db.profile.alpha = v AloftGuildText:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the guild text color"], |
disabled = function(i) return not AloftGuildText.db.profile.enable or AloftGuildText.db.profile.attachToName end, |
get = function(i) return unpack(AloftGuildText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftGuildText.db.profile.color = { r, g, b, a } AloftGuildText:UpdateAll() end, |
}, |
advanced = |
{ |
type = 'group', |
width = 'full', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGuildText:IsEnabled() or not AloftGuildText.db or not AloftGuildText.db.profile or not AloftGuildText.db.profile.enable or AloftGuildText.db.profile.attachToName end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Guild tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftGuildText.db.profile.format) end, |
set = function(i, v) |
AloftGuildText.db.profile.format = Aloft:FixTagCasing(v) |
AloftGuildText.textMethodData = nil |
AloftGuildText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftGuildText:UpdateAll() |
end, |
} |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
function AloftGuildText:GetAttachFormatIndex() |
local attachFormatIndex = 1 |
if self.db.profile.useShort then attachFormatIndex = 2 end |
if self.db.profile.showOwn then attachFormatIndex = attachFormatIndex+2 end |
return attachFormatIndex |
end |
function AloftGuildText:UpdateAttachedText() |
self.db.profile.format = formats[self:GetAttachFormatIndex()] |
self.textMethodData = nil |
self.textMethod = nil |
AloftNameText:UpdateFormatTag() |
end |
----------------------------------------------------------------------------- |
function AloftGuildText:NameTextTagModifier() |
if not self.db.profile.enable or not self.db.profile.attachToName then return end |
AloftNameText.db.profile.format = AloftNameText.db.profile.format .. attachFormats[self.db.profile.attachFormat][self:GetAttachFormatIndex()] |
end |
AloftNameText:RegisterFormatTagModifier(1, AloftGuildText.NameTextTagModifier, AloftGuildText) |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftGuild = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftGuild"], |
desc = L["Gather and display player guild names on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftGuild end, |
set = function(i, v) AloftModules.db.profile.AloftGuild = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCreatureTypeDataOptions |
if not L then return end |
local AloftCreatureTypeData = Aloft:GetModule("CreatureTypeData", true) |
if not AloftCreatureTypeData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.creatureType = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Creature Type Data"], |
desc = L["Stores creature type information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCreatureTypeData:IsEnabled() or not AloftCreatureTypeData.db or not AloftCreatureTypeData.db.profile end, |
get = function(i) return AloftCreatureTypeData.db.profile.save end, |
set = AloftCreatureTypeData.SetSaveData |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local oL = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] oL["Save Creature Type Data"] = "Save Creature Type Data" |
--[[ enUS ]] oL["Stores creature type information between sessions"] = "Stores creature type information between sessions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Save Creature Type Data"] = "몹 ì¢ ë¥ ë°ì´í°ë¥¼ ì ì¥í©ëë¤." |
--[[ koKR ]] oL["Stores creature type information between sessions"] = "ì ì ê° ëª¹ ì¢ ë¥ ì 보를 ì ì¥í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (GetLocale() == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Save Creature Type Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о ÑÐ¸Ð¿Ð°Ñ ÑÑÑеÑÑв" |
--[[ ruRU ]] oL["Stores creature type information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о ÑÐ¸Ð¿Ð°Ñ ÑÑÑеÑÑв Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Save Creature Type Data"] = "ä¿åçç©ç±»åèµæ" |
--[[ zhCN ]] oL["Stores creature type information between sessions"] = "å¨æ¯æ¬¡è¿æ¥ä¹é´ä¿åçç©ç±»åæ°æ®" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Save Creature Type Data"] = "åå²çç©é¡å¥è¨æ¯" |
--[[ zhTW ]] oL["Stores creature type information between sessions"] = "å¨å ©æ¬¡ç»éééå²åçç©é¡åä¿¡æ¯" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftCreatureTypeDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftHighlight |
if not L then return end |
local AloftHighlight = Aloft:GetModule("Highlight", true) |
if not AloftHighlight then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.healthBar.args.highlight = |
{ |
type = 'group', |
name = L["Highlight"], |
desc = L["Mouseover highlight options"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHighlight:IsEnabled() or not AloftHighlight.db or not AloftHighlight.db.profile end, |
args = |
{ |
color = |
{ |
type = 'color', |
width = "full", |
name = L["Color"], |
desc = L["Sets the highlight color"], |
get = function(i) return unpack(AloftHighlight.db.profile.color) end, |
set = function(i, r, g, b, a) AloftHighlight.db.profile.color = { r, g, b, a } AloftHighlight:UpdateAll() end, |
hasAlpha = true |
}, |
texture = |
{ |
type = "select", |
width = "full", |
name = L["Texture"], |
desc = L["Sets the highlight texture"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.healthBar.args.highlight.args.texture.values) do |
if v == AloftHighlight.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftHighlight.db.profile.texture = Aloft.Options.args.healthBar.args.highlight.args.texture.values[v] |
Aloft:DetermineDataSources() |
AloftHighlight:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
mode = |
{ |
type = "select", |
width = "full", |
name = L["Blend Mode"], |
desc = L["Sets the blend mode for the highlight texture"], |
get = function(i) return AloftHighlight.db.profile.blendMode end, |
set = function(i, v) AloftHighlight.db.profile.blendMode = v AloftHighlight:UpdateAll() end, |
values = { ["BLEND"] = L["BLEND"], ["ADD"] = L["ADD"] }, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Highlight"] = "Highlight" |
--[[ enUS ]] L["Mouseover highlight options"] = "Mouseover highlight options" |
--[[ enUS ]] L["Color"] = "Color" |
--[[ enUS ]] L["Sets the highlight color"] = "Sets the highlight color" |
--[[ enUS ]] L["Texture"] = "Texture" |
--[[ enUS ]] L["Sets the highlight texture"] = "Sets the highlight texture" |
--[[ enUS ]] L["Blend Mode"] = "Blend Mode" |
--[[ enUS ]] L["Sets the blend mode for the highlight texture"] = "Sets the blend mode for the highlight texture" |
--[[ enUS ]] L["BLEND"] = "BLEND" |
--[[ enUS ]] L["ADD"] = "ADD" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Highlight"] = "ê°ì¡°" |
--[[ koKR ]] L["Mouseover highlight options"] = "ë§ì°ì¤ ì¤ë² ì ê°ì¡° ì¤ì " |
--[[ koKR ]] L["Color"] = "ìì" |
--[[ koKR ]] L["Sets the highlight color"] = "ê°ì¡° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Texture"] = "í ì¤ì³" |
--[[ koKR ]] L["Sets the highlight texture"] = "ê°ì¡° í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Blend Mode"] = "í¼í© 모ë" |
--[[ koKR ]] L["Sets the blend mode for the highlight texture"] = "ê°ì¡° í ì¤ì³ì í¼í© 모ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["BLEND"] = "í¼í©" |
--[[ koKR ]] L["ADD"] = "ì¶ê°" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Highlight"] = "ÐодÑвеÑка" |
--[[ ruRU ]] L["Mouseover highlight options"] = "ÐаÑÑÑоки подÑвеÑки Ð´Ð»Ñ Ñели под кÑÑÑоÑом" |
--[[ ruRU ]] L["Color"] = "ЦвеÑ" |
--[[ ruRU ]] L["Sets the highlight color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑвеÑа подÑвеÑки" |
--[[ ruRU ]] L["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] L["Sets the highlight texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð´ÑвеÑки" |
--[[ ruRU ]] L["Blend Mode"] = "Режим ÑмеÑиваниÑ" |
--[[ ruRU ]] L["Sets the blend mode for the highlight texture"] = "ÐÐ°Ð´Ð°ÐµÑ Ñежим ÑмеÑÐµÐ½Ð¸Ñ Ð´Ð»Ñ ÑекÑÑÑÑÑ Ð¿Ð¾Ð´ÑвеÑки" |
--[[ ruRU ]] L["BLEND"] = "СÐÐШÐÐÐТЬ" |
--[[ ruRU ]] L["ADD"] = "ÐÐÐÐÐÐТЬ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Highlight"] = "é«äº®" |
--[[ zhCN ]] L["Mouseover highlight options"] = "é¼ æ æ¬æµ®ç®æ é«äº®ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Color"] = "é¢è²" |
--[[ zhCN ]] L["Sets the highlight color"] = "设å®é«äº®çé¢è²" |
--[[ zhCN ]] L["Texture"] = "æè´¨" |
--[[ zhCN ]] L["Sets the highlight texture"] = "设å®é«äº®çæè´¨" |
--[[ zhCN ]] L["Blend Mode"] = "渲æ模å¼" |
--[[ zhCN ]] L["Sets the blend mode for the highlight texture"] = "设å®é«äº®çæ质渲æ模å¼" |
--[[ zhCN ]] L["BLEND"] = "渲æ" |
--[[ zhCN ]] L["ADD"] = "å¢å " |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Highlight"] = "é«äº®" |
--[[ zhTW ]] L["Mouseover highlight options"] = "æ»é¼ ç®æ¨é«äº®é¸é " |
--[[ zhTW ]] L["Color"] = "é¡è²" |
--[[ zhTW ]] L["Sets the highlight color"] = "é«äº®çé¡è²" |
--[[ zhTW ]] L["Texture"] = "ç´ç" |
--[[ zhTW ]] L["Sets the highlight texture"] = "é«äº®çç´ç" |
--[[ zhTW ]] L["Blend Mode"] = "交è模å¼" |
--[[ zhTW ]] L["Sets the blend mode for the highlight texture"] = "é«äº®çç´çç交è模å¼" |
--[[ zhTW ]] L["BLEND"] = "æ··å" |
--[[ zhTW ]] L["ADD"] = "å¢å " |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftHighlight = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftGlow |
if not L then return end |
local AloftGlow = Aloft:GetModule("Glow") |
if not AloftGlow then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.glow = |
{ |
type = 'group', |
name = L["Nameplate Glow"], |
desc = L["Health bar will be highlighted when unit is attacking player"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGlow:IsEnabled() or not AloftGlow.db or not AloftGlow.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable glow"], |
order = 1, |
get = function(i) return AloftGlow.db.profile.enable end, |
set = function(i, v) AloftGlow.db.profile.enable = v AloftGlow:UpdateAll() end, |
}, |
healthbar = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Use Health Bar"], |
desc = L["Indicate aggro status via health bar color (instead of glow)"], |
order = 2, |
disabled = function(i) return not AloftGlow.db.profile.enable end, |
get = function(i) return AloftGlow.db.profile.healthbar end, |
set = function(i, v) AloftGlow.db.profile.healthbar = v AloftGlow:UpdateAll() end, |
}, |
invert = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Invert"], |
desc = L["Invert glow (disable on targets with aggro, enable on targets without aggro)"], |
order = 3, |
disabled = function(i) return not AloftGlow.db.profile.enable end, |
get = function(i) return AloftGlow.db.profile.invert end, |
set = function(i, v) AloftGlow.db.profile.invert = v AloftGlow:UpdateAll() end, |
}, |
combatOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Invert Only In Combat"], |
desc = L["Display inverted glow only while in combat"], |
order = 4, |
disabled = function(i) return not AloftGlow.db.profile.enable or not AloftGlow.db.profile.invert end, |
get = function(i) return AloftGlow.db.profile.combatOnly end, |
set = function(i, v) AloftGlow.db.profile.combatOnly = v AloftGlow:UpdateAll() end, |
}, |
invertTankOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Invert Only While Tanking"], |
desc = L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"], |
order = 5, |
disabled = function(i) return not AloftGlow.db.profile.enable or not AloftGlow.db.profile.invert end, |
get = function(i) return AloftGlow.db.profile.invertTankOnly end, |
set = function(i, v) AloftGlow.db.profile.invertTankOnly = v AloftGlow:UpdateAll() end, |
}, |
explicit = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Explicit Low Threat Indicator"], |
desc = L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"], |
order = 6, |
disabled = function(i) return not AloftGlow.db.profile.enable or not AloftGlow.db.profile.override end, |
get = function(i) return AloftGlow.db.profile.explicit end, |
set = function(i, v) AloftGlow.db.profile.explicit = v AloftGlow:UpdateAll() end, |
}, |
explicitCombatOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Explicit Low Threat Indicator Only In Combat"], |
desc = L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"], |
order = 7, |
disabled = function(i) return not AloftGlow.db.profile.enable or not AloftGlow.db.profile.override or not AloftGlow.db.profile.explicit end, |
get = function(i) return AloftGlow.db.profile.explicitCombatOnly end, |
set = function(i, v) AloftGlow.db.profile.explicitCombatOnly = v AloftGlow:UpdateAll() end, |
}, |
recentlyDamagedOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Recently Damaged Only"], |
desc = L["Treat the player as 'in combat' only with 'recently damaged' targets"], |
order = 8, |
disabled = function(i) return not AloftGlow.db.profile.enable or not Aloft:GetModule("RecentlyDamagedData", true) or not Aloft:GetModule("RecentlyDamagedData"):IsEnabled() end, |
get = function(i) return AloftGlow.db.profile.recentlyDamagedOnly end, |
set = function(i, v) AloftGlow.db.profile.recentlyDamagedOnly = v AloftGlow:RegisterEvents() AloftGlow:UpdateAll() end, |
}, |
interval = |
{ |
type = 'range', |
width = 'full', |
name = L["Glow Update Interval"], |
desc = L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"], |
order = 9, |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not AloftGlow.db.profile.enable end, |
get = function(i) return AloftGlow.db.profile.interval end, |
set = function(i, v) AloftGlow.db.profile.interval = v AloftGlow:UpdateAll() end, |
}, |
override = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Override Color"], |
desc = L["Overrides the glow default color(s)"], |
order = 10, |
disabled = function(i) return not AloftGlow.db.profile.enable end, |
get = function(i) return AloftGlow.db.profile.override end, |
set = function(i, v) AloftGlow.db.profile.override = v AloftGlow:UpdateAll() end, |
}, |
threatStatusColors = |
{ |
type = 'group', |
name = L["Threat Status Colors"], |
desc = L["Customize nameplate glow threat status colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGlow:IsEnabled() or not AloftGlow.db or not AloftGlow.db.profile or not (AloftGlow.db.profile.enable and AloftGlow.db.profile.override) end, |
order = 11, |
args = |
{ |
noAggro = |
{ |
type = 'color', |
width = 'full', |
name = L["Low Threat"], |
desc = L["Low Threat"], |
order = 1, |
disabled = function(i) return not AloftGlow.db.profile.explicit end, |
get = function(i) return unpack(AloftGlow.db.profile.threatStatusColors[0]) end, |
set = function(i, r, g, b) AloftGlow.db.profile.threatStatusColors[0] = { r, g, b, 1.0, } AloftGlow:UpdateAll() end |
}, |
overNuking = |
{ |
type = 'color', |
width = 'full', |
name = L["Over-Nuking"], |
desc = L["Over-Nuking"], |
order = 2, |
get = function(i) return unpack(AloftGlow.db.profile.threatStatusColors[1]) end, |
set = function(i, r, g, b) AloftGlow.db.profile.threatStatusColors[1] = { r, g, b, 1.0, } AloftGlow:UpdateAll() end |
}, |
losingThreat = |
{ |
type = 'color', |
width = 'full', |
name = L["Losing Threat"], |
desc = L["Losing Threat"], |
order = 3, |
get = function(i) return unpack(AloftGlow.db.profile.threatStatusColors[2]) end, |
set = function(i, r, g, b) AloftGlow.db.profile.threatStatusColors[2] = { r, g, b, 1.0, } AloftGlow:UpdateAll() end |
}, |
tankingSecurely = |
{ |
type = 'color', |
width = 'full', |
name = L["Tanking Securely"], |
desc = L["Tanking Securely"], |
order = 4, |
get = function(i) return unpack(AloftGlow.db.profile.threatStatusColors[3]) end, |
set = function(i, r, g, b) AloftGlow.db.profile.threatStatusColors[3] = { r, g, b, 1.0, } AloftGlow:UpdateAll() end |
}, |
}, |
}, |
style = |
{ |
type = "select", |
width = 'full', |
name = L["Style"], |
desc = L["Sets the glow style"], |
order = 12, |
disabled = function(i) return not AloftGlow.db.profile.enable or AloftGlow.db.profile.healthbar end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.glow.args.style.values) do |
if v == AloftGlow.db.profile.style then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftGlow.db.profile.style = Aloft.Options.args.glow.args.style.values[v] |
AloftGlow:UpdateAll() |
end, |
values = SML:List("glow"), |
}, |
size = |
{ |
type = 'group', |
name = L["Size"], |
desc = L["Adjust glow size"], |
disabled = function(i) return not AloftGlow.db.profile.enable or AloftGlow.db.profile.healthbar end, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGlow:IsEnabled() or not AloftGlow.db or not AloftGlow.db.profile or not AloftGlow.db.profile.enable or AloftGlow.db.profile.healthbar end, |
order = 13, |
args = |
{ |
width = |
{ |
type = 'range', |
width = 'full', |
name = L["Width"], |
desc = L["Sets the width of the glow"], |
order = 1, |
min = 32, |
max = 768, |
step = 1, |
get = function(i) return AloftGlow.db.profile.width end, |
set = function(i, v) AloftGlow.db.profile.width = v AloftGlow:UpdateAll() end, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the glow"], |
order = 2, |
min = 4, |
max = 256, |
step = 1, |
get = function(i) return AloftGlow.db.profile.height end, |
set = function(i, v) AloftGlow.db.profile.height = v AloftGlow:UpdateAll() end, |
}, |
} |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the glow position"], |
order = 14, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftGlow:IsEnabled() or not AloftGlow.db or not AloftGlow.db.profile or not AloftGlow.db.profile.enable or AloftGlow.db.profile.healthbar end, |
args = |
{ |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the glow"], |
order = 1, |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftGlow.db.profile.offsetX end, |
set = function(i, v) AloftGlow.db.profile.offsetX = v AloftGlow:UpdateAll() end, |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the glow"], |
order = 2, |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftGlow.db.profile.offsetY end, |
set = function(i, v) AloftGlow.db.profile.offsetY = v AloftGlow:UpdateAll() end, |
}, |
}, |
}, |
mode = |
{ |
type = "select", |
width = 'full', |
name = L["Blend Mode"], |
desc = L["Sets the glow blend mode"], |
order = 15, |
get = function(i) return AloftGlow.db.profile.blendMode end, |
set = function(i, v) AloftGlow.db.profile.blendMode = v AloftGlow:UpdateAll() end, |
disabled = function(i) return not AloftGlow.db.profile.enable or AloftGlow.db.profile.healthbar end, |
values = { ["BLEND"] = L["BLEND"], ["ADD"] = L["ADD"] }, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Nameplate Glow"] = "Nameplate Glow" |
--[[ enUS ]] L["Health bar will be highlighted when unit is attacking player"] = "Health bar will be highlighted when unit is attacking player" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable glow"] = "Enable glow" |
--[[ enUS ]] L["Invert"] = "Invert" |
--[[ enUS ]] L["Invert glow (disable on targets with aggro, enable on targets without aggro)"] = "Invert glow (disable on targets with aggro, enable on targets without aggro)" |
--[[ enUS ]] L["Invert Only In Combat"] = "Invert Only In Combat" |
--[[ enUS ]] L["Display inverted glow only while in combat"] = "Display inverted glow only while in combat" |
--[[ enUS ]] L["Glow Update Interval"] = "Glow Update Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between glow updates (0.0 is as fast as possible)" |
--[[ enUS ]] L["Use Health Bar"] = "Use Health Bar" |
--[[ enUS ]] L["Indicate aggro status via health bar color (instead of glow)"] = "Indicate aggro status via health bar color (instead of glow)" |
--[[ enUS ]] L["Explicit Low Threat Indicator"] = "Explicit Low Threat Indicator" |
--[[ enUS ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)" |
--[[ enUS ]] L["Explicit Low Threat Indicator Only In Combat"] = "Explicit Low Threat Indicator Only In Combat" |
--[[ enUS ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat" |
--[[ enUS ]] L["Invert Only While Tanking"] = "Invert Only While Tanking" |
--[[ enUS ]] L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"] = "Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)" |
--[[ enUS ]] L["Recently Damaged Only"] = "Recently Damaged Only" |
--[[ enUS ]] L["Treat the player as 'in combat' only with 'recently damaged' targets"] = "Treat the player as 'in combat' only with 'recently damaged' targets" |
--[[ enUS ]] L["Size"] = "Size" |
--[[ enUS ]] L["Adjust glow size"] = "Adjust glow size" |
--[[ enUS ]] L["Width"] = "Width" |
--[[ enUS ]] L["Sets the width of the glow"] = "Sets the width of the glow" |
--[[ enUS ]] L["Height"] = "Height" |
--[[ enUS ]] L["Sets the height of the glow"] = "Sets the height of the glow" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust the glow position"] = "Adjust the glow position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the glow"] = "X offset of the glow" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the glow"] = "Y offset of the glow" |
--[[ enUS ]] L["Style"] = "Style" |
--[[ enUS ]] L["Sets the glow style"] = "Sets the glow style" |
--[[ enUS ]] L["Override Color"] = "Override Color" |
--[[ enUS ]] L["Overrides the glow default color(s)"] = "Overrides the glow default color(s)" |
--[[ enUS ]] L["Color"] = "Color" |
--[[ enUS ]] L["Sets the glow color"] = "Sets the glow color" |
--[[ enUS ]] L["Blend Mode"] = "Blend Mode" |
--[[ enUS ]] L["Sets the glow blend mode"] = "Sets the glow blend mode" |
--[[ enUS ]] L["BLEND"] = "BLEND" |
--[[ enUS ]] L["ADD"] = "ADD" |
--[[ enUS ]] L["HARD"] = "HARD" |
--[[ enUS ]] L["SOFT"] = "SOFT" |
--[[ enUS ]] L["PRTLSOFT"]= "PRTLSOFT" |
--[[ enUS ]] L["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ enUS ]] L["EXTRASOFT"] = "EXTRASOFT" |
--[[ enUS ]] L["OVAL"] = "OVAL" |
--[[ enUS ]] L["OVALGLOW"] = "OVALGLOW" |
--[[ enUS ]] L["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ enUS ]] L["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ enUS ]] L["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
--[[ enUS ]] L["Threat Status Colors"] = "Threat Status Colors" |
--[[ enUS ]] L["Customize nameplate glow threat status colors"] = "Customize nameplate glow threat status colors" |
--[[ enUS ]] L["Low Threat"] = "Low Threat" |
--[[ enUS ]] L["Over-Nuking"] = "Over-Nuking" |
--[[ enUS ]] L["Losing Threat"] = "Losing Threat" |
--[[ enUS ]] L["Tanking Securely"] = "Tanking Securely" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Nameplate Glow"] = "Nameplate Glow" |
--[[ koKR ]] L["Health bar will be highlighted when unit is attacking player"] = "Health bar will be highlighted when unit is attacking player" |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable glow"] = "Enable glow" |
--[[ koKR ]] L["Invert"] = "Invert" |
--[[ koKR ]] L["Invert glow (disable on targets with aggro, enable on targets without aggro)"] = "Invert glow (disable on targets with aggro, enable on targets without aggro)" |
--[[ koKR ]] L["Invert Only In Combat"] = "Invert Only In Combat" |
--[[ koKR ]] L["Display inverted glow only while in combat"] = "Display inverted glow only while in combat" |
--[[ koKR ]] L["Glow Update Interval"] = "Glow Update Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between glow updates (0.0 is as fast as possible)" |
--[[ koKR ]] L["Use Health Bar"] = "Use Health Bar" |
--[[ koKR ]] L["Indicate aggro status via health bar color (instead of glow)"] = "Indicate aggro status via health bar color (instead of glow)" |
--[[ koKR ]] L["Explicit Low Threat Indicator"] = "Explicit Low Threat Indicator" |
--[[ koKR ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)" |
--[[ koKR ]] L["Explicit Low Threat Indicator Only In Combat"] = "Explicit Low Threat Indicator Only In Combat" |
--[[ koKR ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat" |
--[[ koKR ]] L["Invert Only While Tanking"] = "Invert Only While Tanking" |
--[[ koKR ]] L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"] = "Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)" |
--[[ koKR ]] L["Recently Damaged Only"] = "Recently Damaged Only" |
--[[ koKR ]] L["Treat the player as 'in combat' only with 'recently damaged' targets"] = "Treat the player as 'in combat' only with 'recently damaged' targets" |
--[[ koKR ]] L["Size"] = "í¬ê¸°" |
--[[ koKR ]] L["Adjust glow size"] = "Adjust glow size" |
--[[ koKR ]] L["Width"] = "ëë¹" |
--[[ koKR ]] L["Sets the width of the glow"] = "Sets the width of the glow" |
--[[ koKR ]] L["Height"] = "ëì´" |
--[[ koKR ]] L["Sets the height of the glow"] = "Sets the height of the glow" |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust the glow position"] = "Adjust the glow position" |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the glow"] = "X offset of the glow" |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the glow"] = "Y offset of the glow" |
--[[ koKR ]] L["Style"] = "Style" |
--[[ koKR ]] L["Sets the glow style"] = "Sets the glow style" |
--[[ koKR ]] L["Override Color"] = "Override Color" |
--[[ koKR ]] L["Overrides the glow default color(s)"] = "Overrides the glow default color(s)" |
--[[ koKR ]] L["Color"] = "Color" |
--[[ koKR ]] L["Sets the glow color"] = "Sets the glow color" |
--[[ koKR ]] L["Blend Mode"] = "Blend Mode" |
--[[ koKR ]] L["Sets the glow blend mode"] = "Sets the glow blend mode" |
--[[ koKR ]] L["BLEND"] = "í¼í©" |
--[[ koKR ]] L["ADD"] = "ì¶ê°" |
--[[ koKR ]] L["HARD"] = "HARD" |
--[[ koKR ]] L["SOFT"] = "SOFT" |
--[[ koKR ]] L["PRTLSOFT"] = "PRTLSOFT" |
--[[ koKR ]] L["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ koKR ]] L["EXTRASOFT"] = "EXTRASOFT" |
--[[ koKR ]] L["OVAL"] = "OVAL" |
--[[ koKR ]] L["OVALGLOW"] = "OVALGLOW" |
--[[ koKR ]] L["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ koKR ]] L["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ koKR ]] L["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
--[[ koKR ]] L["Threat Status Colors"] = "Threat Status Colors" |
--[[ koKR ]] L["Customize nameplate glow threat status colors"] = "Customize nameplate glow threat status colors" |
--[[ koKR ]] L["Low Threat"] = "Low Threat" |
--[[ koKR ]] L["Over-Nuking"] = "Over-Nuking" |
--[[ koKR ]] L["Losing Threat"] = "Losing Threat" |
--[[ koKR ]] L["Tanking Securely"] = "Tanking Securely" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Nameplate Glow"] = "СвеÑение ÑаблиÑки" |
--[[ ruRU ]] L["Health bar will be highlighted when unit is attacking player"] = "ÐолоÑа здоÑовÑÑ Ð±ÑÐ´ÐµÑ Ð²ÑделÑÑÑÑÑ, когда пеÑÑонаж/ÑÑÑеÑÑво Ð½Ð°Ð¿Ð°Ð´Ð°ÐµÑ Ð½Ð° игÑока" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable glow"] = "ÐклÑÑиÑÑ ÑвеÑение" |
--[[ ruRU ]] L["Invert"] = "ÐнвеÑÑиÑоваÑÑ" |
--[[ ruRU ]] L["Invert glow (disable on targets with aggro, enable on targets without aggro)"] = "ÐнвеÑÑиÑоваÑÑ ÑвеÑение (оÑклÑÑиÑÑ Ð½Ð° Ñели Ñ Ð°Ð³Ð³Ñо, вклÑÑиÑÑ Ð½Ð° Ñели без аггÑо)" |
--[[ ruRU ]] L["Invert Only In Combat"] = "ÐнвеÑÑиÑоваÑÑ ÑолÑко в боÑ" |
--[[ ruRU ]] L["Display inverted glow only while in combat"] = "ÐнвеÑÑиÑоваÑÑ ÑвеÑение ÑолÑко когда Ð²Ñ Ð½Ð°Ñ Ð¾Ð´Ð¸ÑеÑÑ Ð² боÑ" |
--[[ ruRU ]] L["Glow Update Interval"] = "ÐнÑеÑвал Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ ÑвеÑениÑ" |
--[[ ruRU ]] L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"] = "ÐÑÐµÐ¼Ñ Ð² ÑекÑÐ½Ð´Ð°Ñ Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñми ÑвеÑÐµÐ½Ð¸Ñ (0.0 макÑималÑÐ½Ð°Ñ ÑкоÑоÑÑÑ)" |
--[[ ruRU ]] L["Use Health Bar"] = "ÐÑп полоÑÑ Ð·Ð´Ð¾ÑовÑÑ" |
--[[ ruRU ]] L["Indicate aggro status via health bar color (instead of glow)"] = "ÐÑобÑажение ÑÑаÑÑÑа аггÑо ÑвеÑом в полоÑе здоÑовÑÑ (вмеÑÑо оÑÑвеÑа)" |
--[[ ruRU ]] L["Explicit Low Threat Indicator"] = "ÐндикаÑÐ¾Ñ Ð½Ð¸Ð·ÐºÐ¾Ð¹ ÑгÑозÑ" |
--[[ ruRU ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"] = "ÐоказÑваÑÑ ÑÑаÑÑÑ 'Ðало ÑгÑозÑ' ÑвеÑениев в ÑвеÑе на ÑаблиÑке (или еÑли вклÑÑено 'ÐнвеÑÑиÑоваÑÑ', показÑваÑÑ ÑÑаÑÑÑ 'ÐезопаÑное Ñанкование')" |
--[[ ruRU ]] L["Explicit Low Threat Indicator Only In Combat"] = "Explicit Low Threat Indicator Only In Combat" |
--[[ ruRU ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat" |
--[[ ruRU ]] L["Invert Only While Tanking"] = "Invert Only While Tanking" |
--[[ ruRU ]] L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"] = "Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)" |
--[[ ruRU ]] L["Recently Damaged Only"] = "Recently Damaged Only" |
--[[ ruRU ]] L["Treat the player as 'in combat' only with 'recently damaged' targets"] = "Treat the player as 'in combat' only with 'recently damaged' targets" |
--[[ ruRU ]] L["Size"] = "РазмеÑ" |
--[[ ruRU ]] L["Adjust glow size"] = "ÐадаÑÑ ÑÐ°Ð·Ð¼ÐµÑ ÑвеÑениÑ" |
--[[ ruRU ]] L["Width"] = "ШиÑина" |
--[[ ruRU ]] L["Sets the width of the glow"] = "ÐÐ°Ð´Ð°ÐµÑ ÑиÑÐ¸Ð½Ñ ÑвеÑениÑ" |
--[[ ruRU ]] L["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] L["Sets the height of the glow"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑвеÑениÑ" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust the glow position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑвеÑениÑ" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the glow"] = "СмеÑение ÑвеÑÐµÐ½Ð¸Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the glow"] = "СмеÑение ÑвеÑÐµÐ½Ð¸Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["Style"] = "СÑилÑ" |
--[[ ruRU ]] L["Sets the glow style"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ ÑвеÑениÑ" |
--[[ ruRU ]] L["Override Color"] = "ÐеÑезапиÑÑ ÑвеÑа" |
--[[ ruRU ]] L["Overrides the glow default color(s)"] = "ÐеÑезапиÑÑ ÑвеÑа(ов) по ÑмолÑÐ°Ð½Ð¸Ñ Ð´Ð»Ñ ÑвеÑениÑ" |
--[[ ruRU ]] L["Color"] = "ЦвеÑ" |
--[[ ruRU ]] L["Sets the glow color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑвеÑениÑ" |
--[[ ruRU ]] L["Blend Mode"] = "Режим ÑмеÑиваниÑ" |
--[[ ruRU ]] L["Sets the glow blend mode"] = "ÐÐ°Ð´Ð°ÐµÑ Ñип ÑмеÑÐµÐ½Ð¸Ñ Ð´Ð»Ñ ÑвеÑениÑ" |
--[[ ruRU ]] L["BLEND"] = "СÐÐШÐÐÐТЬ" |
--[[ ruRU ]] L["ADD"] = "ÐÐÐÐÐÐТЬ" |
--[[ ruRU ]] L["HARD"] = "СÐÐЬÐÐÐ" |
--[[ ruRU ]] L["SOFT"] = "ÐЯÐÐÐÐ" |
--[[ ruRU ]] L["PRTLSOFT"] = "PRTLSOFT" |
--[[ ruRU ]] L["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ ruRU ]] L["EXTRASOFT"] = "СÐÐРХÐЯÐÐÐÐ" |
--[[ ruRU ]] L["OVAL"] = "ÐÐÐÐ" |
--[[ ruRU ]] L["OVALGLOW"] = "ÐÐÐÐСÐÐЧÐÐÐÐ" |
--[[ ruRU ]] L["SQUAREGLOW"] = "ÐÐÐÐÐ ÐТÐÐРСÐÐЧÐÐÐÐ" |
--[[ ruRU ]] L["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ ruRU ]] L["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
--[[ ruRU ]] L["Threat Status Colors"] = "Ð¦Ð²ÐµÑ ÑÑаÑÑÑа ÑгÑозÑ" |
--[[ ruRU ]] L["Customize nameplate glow threat status colors"] = "ÐаÑÑÑойка ÑвеÑа ÑвеÑÐµÐ½Ð¸Ñ ÑÑаÑÑÑа ÑгÑозÑ" |
--[[ ruRU ]] L["Low Threat"] = "Ðало ÑгÑозÑ" |
--[[ ruRU ]] L["Over-Nuking"] = "Over-Nuking" |
--[[ ruRU ]] L["Losing Threat"] = "Losing Threat" |
--[[ ruRU ]] L["Tanking Securely"] = "ÐезопаÑное Ñанкование" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Nameplate Glow"] = "å§åæ¿åå " |
--[[ zhCN ]] L["Health bar will be highlighted when unit is attacking player"] = "æ£å¨æ»å»ç©å®¶çåä½ççå½æ¡ä¼é«äº®æ¾ç¤º" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable glow"] = "å¯ç¨åå " |
--[[ zhCN ]] L["Invert"] = "åå" |
--[[ zhCN ]] L["Invert glow (disable on targets with aggro, enable on targets without aggro)"] = "åååå ï¼æ ä»æ¨ç®æ åå ï¼æä»æ¨åä¸åå ï¼" |
--[[ zhCN ]] L["Invert Only In Combat"] = "Invert Only In Combat" |
--[[ zhCN ]] L["Display inverted glow only while in combat"] = "Display inverted glow only while in combat" |
--[[ zhCN ]] L["Glow Update Interval"] = "åå æ´æ°é¢ç" |
--[[ zhCN ]] L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"] = "两次éªå é´çæ¶é´é´éï¼ç§ä¸ºåä½ï¼0为æå¿«ï¼" |
--[[ zhCN ]] L["Use Health Bar"] = "Use Health Bar" |
--[[ zhCN ]] L["Indicate aggro status via health bar color (instead of glow)"] = "Indicate aggro status via health bar color (instead of glow)" |
--[[ zhCN ]] L["Explicit Low Threat Indicator"] = "Explicit Low Threat Indicator" |
--[[ zhCN ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)" |
--[[ zhCN ]] L["Explicit Low Threat Indicator Only In Combat"] = "Explicit Low Threat Indicator Only In Combat" |
--[[ zhCN ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat" |
--[[ zhCN ]] L["Invert Only While Tanking"] = "Invert Only While Tanking" |
--[[ zhCN ]] L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"] = "Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)" |
--[[ zhCN ]] L["Recently Damaged Only"] = "Recently Damaged Only" |
--[[ zhCN ]] L["Treat the player as 'in combat' only with 'recently damaged' targets"] = "Treat the player as 'in combat' only with 'recently damaged' targets" |
--[[ zhCN ]] L["Size"] = "尺寸" |
--[[ zhCN ]] L["Adjust glow size"] = "è°æ´éªçèå´" |
--[[ zhCN ]] L["Width"] = "宽度" |
--[[ zhCN ]] L["Sets the width of the glow"] = "éªç宽度" |
--[[ zhCN ]] L["Height"] = "é«åº¦" |
--[[ zhCN ]] L["Sets the height of the glow"] = "éªçé«åº¦" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust the glow position"] = "è°æ´éªçä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the glow"] = "éªç横åå移" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the glow"] = "éªç纵åå移" |
--[[ zhCN ]] L["Style"] = "æ ·å¼" |
--[[ zhCN ]] L["Sets the glow style"] = "设置åå æ ·å¼" |
--[[ zhCN ]] L["Override Color"] = "强å¶ä½¿ç¨é¢è²" |
--[[ zhCN ]] L["Overrides the glow default color(s)"] = "强å¶ä½¿ç¨éªå é¢è²" |
--[[ zhCN ]] L["Color"] = "é¢è²" |
--[[ zhCN ]] L["Sets the glow color"] = "éªå é¢è²" |
--[[ zhCN ]] L["Blend Mode"] = "æ¸å模å¼" |
--[[ zhCN ]] L["Sets the glow blend mode"] = "åå 使ç¨æ¸å模å¼" |
--[[ zhCN ]] L["BLEND"] = "渲æ" |
--[[ zhCN ]] L["ADD"] = "å¢å " |
--[[ zhCN ]] L["HARD"] = "软边" |
--[[ zhCN ]] L["SOFT"] = "硬边" |
--[[ zhCN ]] L["PRTLSOFT"] = "PRTLSOFT" |
--[[ zhCN ]] L["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ zhCN ]] L["EXTRASOFT"] = "è¶ è½¯è¾¹" |
--[[ zhCN ]] L["OVAL"] = "OVAL" |
--[[ zhCN ]] L["OVALGLOW"] = "OVALGLOW" |
--[[ zhCN ]] L["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ zhCN ]] L["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ zhCN ]] L["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
--[[ zhCN ]] L["Threat Status Colors"] = "Threat Status Colors" |
--[[ zhCN ]] L["Customize nameplate glow threat status colors"] = "Customize nameplate glow threat status colors" |
--[[ zhCN ]] L["Low Threat"] = "Low Threat" |
--[[ zhCN ]] L["Over-Nuking"] = "Over-Nuking" |
--[[ zhCN ]] L["Losing Threat"] = "Losing Threat" |
--[[ zhCN ]] L["Tanking Securely"] = "Tanking Securely" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Nameplate Glow"] = "å§åæ¿ç¼å " |
--[[ zhTW ]] L["Health bar will be highlighted when unit is attacking player"] = "æ£å¨æ»æç©å®¶çå®ä½ççå½æ¢æé«äº®é¡¯ç¤º" |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable glow"] = "åç¨ç¼å " |
--[[ zhTW ]] L["Invert"] = "åå" |
--[[ zhTW ]] L["Invert glow (disable on targets with aggro, enable on targets without aggro)"] = "ååç¼å ï¼ç¡ä»æ¨ç®æ¨ç¼å ï¼æä»æ¨åä¸ç¼å ï¼" |
--[[ zhTW ]] L["Invert Only In Combat"] = "Invert Only In Combat" |
--[[ zhTW ]] L["Display inverted glow only while in combat"] = "Display inverted glow only while in combat" |
--[[ zhTW ]] L["Glow Update Interval"] = "ç¼å æ´æ°é »ç" |
--[[ zhTW ]] L["The amount of time, in seconds, between glow updates (0.0 is as fast as possible)"] = "å ©æ¬¡éå éçæéééï¼ç§çºå®ä½ï¼0çºæå¿«ï¼" |
--[[ zhTW ]] L["Use Health Bar"] = "Use Health Bar" |
--[[ zhTW ]] L["Indicate aggro status via health bar color (instead of glow)"] = "Indicate aggro status via health bar color (instead of glow)" |
--[[ zhTW ]] L["Explicit Low Threat Indicator"] = "Explicit Low Threat Indicator" |
--[[ zhTW ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color (or if 'Invert' is enabled, indicate 'Securely Tanking' status explicitly)" |
--[[ zhTW ]] L["Explicit Low Threat Indicator Only In Combat"] = "Explicit Low Threat Indicator Only In Combat" |
--[[ zhTW ]] L["Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat"] = "Indicate 'Low Threat' status explicitly as a glow or nameplate color only in combat" |
--[[ zhTW ]] L["Invert Only While Tanking"] = "Invert Only While Tanking" |
--[[ zhTW ]] L["Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)"] = "Invert glow only while tanking (Warrior/Defensive Stance, Death Knight/Frost Presence, Druid/Bear Form, Paladin/Righteous Fury)" |
--[[ zhTW ]] L["Recently Damaged Only"] = "Recently Damaged Only" |
--[[ zhTW ]] L["Treat the player as 'in combat' only with 'recently damaged' targets"] = "Treat the player as 'in combat' only with 'recently damaged' targets" |
--[[ zhTW ]] L["Size"] = "尺寸" |
--[[ zhTW ]] L["Adjust glow size"] = "調æ´éçç¯å" |
--[[ zhTW ]] L["Width"] = "寬度" |
--[[ zhTW ]] L["Sets the width of the glow"] = "éç寬度" |
--[[ zhTW ]] L["Height"] = "é«åº¦" |
--[[ zhTW ]] L["Sets the height of the glow"] = "éçé«åº¦" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust the glow position"] = "調æ´éçä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "X軸å移" |
--[[ zhTW ]] L["X offset of the glow"] = "éçæ©«åå移" |
--[[ zhTW ]] L["Y Offset"] = "Y軸å移" |
--[[ zhTW ]] L["Y offset of the glow"] = "éç縱åå移" |
--[[ zhTW ]] L["Style"] = "樣å¼" |
--[[ zhTW ]] L["Sets the glow style"] = "è¨ç½®ç¼å 樣å¼" |
--[[ zhTW ]] L["Override Color"] = "å¼·å¶ä½¿ç¨é¡è²" |
--[[ zhTW ]] L["Overrides the glow default color(s)"] = "å¼·å¶ä½¿ç¨éå é¡è²" |
--[[ zhTW ]] L["Color"] = "é¡è²" |
--[[ zhTW ]] L["Sets the glow color"] = "éå é¡è²" |
--[[ zhTW ]] L["Blend Mode"] = "漸è®æ¨¡å¼" |
--[[ zhTW ]] L["Sets the glow blend mode"] = "ç¼å 使ç¨æ¼¸è®æ¨¡å¼" |
--[[ zhTW ]] L["BLEND"] = "渲æ" |
--[[ zhTW ]] L["ADD"] = "å¢å " |
--[[ zhTW ]] L["HARD"] = "è»é" |
--[[ zhTW ]] L["SOFT"] = "硬é" |
--[[ zhTW ]] L["PRTLSOFT"] = "PRTLSOFT" |
--[[ zhTW ]] L["THRQTRSOFT"] = "THRQTRSOFT" |
--[[ zhTW ]] L["EXTRASOFT"] = "è¶ è»é" |
--[[ zhTW ]] L["OVAL"] = "OVAL" |
--[[ zhTW ]] L["OVALGLOW"] = "OVALGLOW" |
--[[ zhTW ]] L["SQUAREGLOW"] = "SQUAREGLOW" |
--[[ zhTW ]] L["PRTLSQUAREGLOW"] = "PRTLSQUAREGLOW" |
--[[ zhTW ]] L["THRQTRSQUAREGLOW"] = "THRQTRSQUAREGLOW" |
--[[ zhTW ]] L["Threat Status Colors"] = "Threat Status Colors" |
--[[ zhTW ]] L["Customize nameplate glow threat status colors"] = "Customize nameplate glow threat status colors" |
--[[ zhTW ]] L["Low Threat"] = "Low Threat" |
--[[ zhTW ]] L["Over-Nuking"] = "Over-Nuking" |
--[[ zhTW ]] L["Losing Threat"] = "Losing Threat" |
--[[ zhTW ]] L["Tanking Securely"] = "Tanking Securely" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftGlow = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftAutoShow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftAutoShow"], |
desc = L["Automatically show/hide nameplates based on various events and conditions"], |
get = function(i) return AloftModules.db.profile.AloftAutoShow end, |
set = function(i, v) AloftModules.db.profile.AloftAutoShow = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
-- local version, build, date, tocversion = GetBuildInfo() |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftAutoShowOptions |
if not L then return end |
local AloftAutoShow = Aloft:GetModule("AutoShow", true) |
if not AloftAutoShow then return end |
----------------------------------------------------------------------------- |
-- magic values from the Blizzard default UI CVars for "Nameplate Motion Type" |
local motionValues = { } |
motionValues[1] = "STACK" |
motionValues[2] = "SPREAD" |
----------------------------------------------------------------------------- |
Aloft.Options.args.motion = |
{ |
type = 'group', |
name = L["Name Plate Motion"], |
desc = L["Motion of nameplates when they might overlap"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
order = 2, |
args = |
{ |
styleHeader = |
{ |
type = "header", |
name = L["Name Plate Motion"], |
desc = L["Motion of nameplates when they might overlap"], |
order = 1, |
}, |
bounce = |
{ |
type = 'toggle', |
name = L["Bounce Nameplates on Motion Change"], |
desc = L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
get = function(i) return AloftAutoShow.db.profile.bounceMotion end, |
set = function(i, v) AloftAutoShow.db.profile.bounceMotion = v end, |
}, |
all = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Set All"], |
desc = L["Automate all nameplate motion"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
get = function(i) return AloftAutoShow.db.profile.allMotion end, |
set = function(i, v) AloftAutoShow.db.profile.allMotion = v AloftAutoShow:SetAllNameplateMotion(v) AloftAutoShow:ApplyNameplateDisplay() end, |
}, |
motionStyle = |
{ |
type = 'select', |
style = 'radio', |
width = 'full', |
name = L["Motion Style"], |
desc = L["Motion Style"], |
order = 4, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.motion.args.motionStyle.values) do |
if k == AloftAutoShow.db.profile.motionStyle then |
-- ChatFrame7:AddMessage("Aloft.Options.args.motion.args.motionStyle.get(): " .. tostring(k) .. "/" .. tostring(v) .. "/" .. tostring(AloftAutoShow.db.profile.motionStyle)) |
return k |
end |
end |
end, |
set = function(i, v) |
-- ChatFrame7:AddMessage("Aloft.Options.args.motion.args.motionStyle.set(): " .. tostring(v)) |
AloftAutoShow.db.profile.motionStyle = v |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
values = motionValues, |
}, |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Nameplate motion based on player state (subject to Visibility options)"], |
order = 10, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Nameplate motion on entering/exiting combat (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 13, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 14, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Nameplate motion by default (subject to Visibility options)"], |
order = 15, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Nameplate motion based on player location (subject to Visibility options)"], |
order = 20, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Nameplate motion on entering/exiting the world (subject to Visibility options)"], |
order = 21, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 22, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"], |
order = 23, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 24, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"], |
order = 25, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.motion end, |
get = function(i) return AloftAutoShow.db.profile.motion.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allMotion then AloftAutoShow:SetAllNameplateMotion(v) else AloftAutoShow.db.profile.motion.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.show = |
{ |
type = 'group', |
name = L["Show Neutral/Enemy Name Plates"], |
desc = L["Show nameplates for neutral or hostile units"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
order = 3, |
args = |
{ |
all = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Set All"], |
desc = L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"], |
order = 1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
get = function(i) return AloftAutoShow.db.profile.allEnemyEnable end, |
set = function(i, v) AloftAutoShow.db.profile.allEnemyEnable = v AloftAutoShow:SetAllEnemyNameplateDisplay(v) AloftAutoShow:ApplyNameplateDisplay() end, |
}, |
default = |
{ |
type = 'group', |
name = L["All Nameplates"], |
desc = L["All nameplates"], |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemy end, |
get = function(i) return AloftAutoShow.db.profile.enemy.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemy.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
}, |
}, |
} |
Aloft.Options.args.show.args.pet = |
{ |
type = 'group', |
name = L["Pet Nameplates"], |
desc = L["Pet nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyPet end, |
get = function(i) return AloftAutoShow.db.profile.enemyPet.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyPet.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.show.args.guardian = |
{ |
type = 'group', |
name = L["Guardian Nameplates"], |
desc = L["Guardian nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.enemyGuardian.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyGuardian.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.show.args.totem = |
{ |
type = 'group', |
name = L["Totem Nameplates"], |
desc = L["Totem nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.enemyTotem end, |
get = function(i) return AloftAutoShow.db.profile.enemyTotem.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allEnemyEnable then AloftAutoShow:SetAllEnemyNameplateDisplay(v) else AloftAutoShow.db.profile.enemyTotem.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.showFriendly = |
{ |
type = 'group', |
name = L["Show Friendly Name Plates"], |
desc = L["Show nameplates for friendly units"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
order = 4, |
args = |
{ |
all = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Set All"], |
desc = L["Auto-show/hide all friendly nameplates (subject to Visibility options)"], |
order = 1, |
get = function(i) return AloftAutoShow.db.profile.allFriendEnable end, |
set = function(i, v) AloftAutoShow.db.profile.allFriendEnable = v AloftAutoShow:SetAllFriendNameplateDisplay(v) AloftAutoShow:ApplyNameplateDisplay() end, |
}, |
default = |
{ |
type = 'group', |
width = 'full', |
name = L["All Nameplates"], |
desc = L["All nameplates"], |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendly end, |
get = function(i) return AloftAutoShow.db.profile.friendly.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendly.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
}, |
}, |
} |
Aloft.Options.args.showFriendly.args.pet = |
{ |
type = 'group', |
name = L["Pet Nameplates"], |
desc = L["Pet nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyPet end, |
get = function(i) return AloftAutoShow.db.profile.friendlyPet.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyPet.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.showFriendly.args.guardian = |
{ |
type = 'group', |
name = L["Guardian Nameplates"], |
desc = L["Guardian nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyGuardian end, |
get = function(i) return AloftAutoShow.db.profile.friendlyGuardian.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyGuardian.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
Aloft.Options.args.showFriendly.args.totem = |
{ |
type = 'group', |
name = L["Totem Nameplates"], |
desc = L["Totem nameplates"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile end, |
args = |
{ |
stateHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player State"], |
desc = L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"], |
order = 1, |
}, |
combat = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Combat"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"], |
order = 2, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.combat end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.combat = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
flagged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Flagged/PvP"], |
desc = L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.flagged end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.flagged = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
resting = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Resting"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"], |
order = 4, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.resting end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.resting = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
group = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Group"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.group end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.group = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
default = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default"], |
desc = L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.state.default end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.state.default = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
placeHeader = |
{ |
type = 'header', |
width = 'full', |
name = L["Player Location"], |
desc = L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"], |
order = 7, |
}, |
world = |
{ |
type = 'toggle', |
width = 'full', |
name = L["World"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"], |
order = 8, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.world end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.world = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
battleground = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Battleground"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"], |
order = 9, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.battleground end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.battleground = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
arena = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Arena"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.arena end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.arena = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
party = |
{ |
type = 'toggle', |
width = 'full', |
name = L["5-Man Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"], |
order = 11, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.party end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.party = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
raid = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Raid Instance"], |
desc = L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAutoShow:IsEnabled() or not AloftAutoShow.db or not AloftAutoShow.db.profile or not AloftAutoShow.db.profile.friendlyTotem end, |
get = function(i) return AloftAutoShow.db.profile.friendlyTotem.place.raid end, |
set = function(i, v) |
if AloftAutoShow.db.profile.allFriendEnable then AloftAutoShow:SetAllFriendNameplateDisplay(v) else AloftAutoShow.db.profile.friendlyTotem.place.raid = v end |
AloftAutoShow:ApplyNameplateDisplay() |
end, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
-- some of these duplicate labels for keybindings; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ enUS ]] L["Show Neutral/Enemy Name Plates"] = "Show Neutral/Enemy Name Plates" |
--[[ enUS ]] L["Show nameplates for neutral or hostile units"] = "Show nameplates for neutral or hostile units" |
--[[ enUS ]] L["Show Friendly Name Plates"] = "Show Friendly Name Plates" |
--[[ enUS ]] L["Show nameplates for friendly units"] = "Show nameplates for friendly units" |
--[[ enUS ]] L["Show All Name Plates"] = "Show All Name Plates" |
--[[ enUS ]] L["Show Nameplates"] = "Show Nameplates" |
-- player states; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ enUS ]] L["Player State"] = "Player State" |
--[[ enUS ]] L["Combat"] = "Combat" |
--[[ enUS ]] L["Flagged/PvP"] = "Flagged/PvP" |
--[[ enUS ]] L["Resting"] = "Resting" |
--[[ enUS ]] L["Group"] = "Group" |
--[[ enUS ]] L["Default"] = "Default" |
-- player locations; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ enUS ]] L["Player Location"] = "Player Location" |
--[[ enUS ]] L["World"] = "World" |
--[[ enUS ]] L["Battleground"] = "Battleground" |
--[[ enUS ]] L["Arena"] = "Arena" |
--[[ enUS ]] L["5-Man Instance"] = "5-Man Instance" |
--[[ enUS ]] L["Raid Instance"] = "Raid Instance" |
--[[ enUS ]] L["Set All"] = "Set All" |
--[[ enUS ]] L["Name Plate Motion"] = "Name Plate Motion" |
--[[ enUS ]] L["Motion of nameplates when they might overlap"] = "Motion of nameplates when they might overlap" |
--[[ enUS ]] L["Motion Style"] = "Motion Style" |
--[[ enUS ]] L["STACK"] = "Stack" |
--[[ enUS ]] L["SPREAD"] = "Spread" |
--[[ enUS ]] L["Automate all nameplate motion"] = "Automate all nameplate motion" |
--[[ enUS ]] L["Motion Options"] = "Motion Options" |
--[[ enUS ]] L["Options controlling nameplate motion"] = "Options controlling nameplate motion" |
--[[ enUS ]] L["Bounce Nameplates on Motion Change"] = "Bounce Nameplates on Motion Change" |
--[[ enUS ]] L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"] = "Quicky toggle nameplates (bounce) when motion settings are automatically changed" |
--[[ enUS ]] L["Nameplate motion based on player state (subject to Visibility options)"] = "Nameplate motion based on player state (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting combat (subject to Visibility options)"] = "Nameplate motion on entering/exiting combat (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion by default (subject to Visibility options)"] = "Nameplate motion by default (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion based on player location (subject to Visibility options)"] = "Nameplate motion based on player location (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting the world (subject to Visibility options)"] = "Nameplate motion on entering/exiting the world (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"] = "Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"] = "Nameplate motion on entering/exiting arenas (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ enUS ]] L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting raid instances (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates by default (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ enUS ]] L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ enUS ]] L["All Nameplates"] = "All Nameplates" |
--[[ enUS ]] L["All nameplates"] = "All nameplates" |
--[[ enUS ]] L["Pet Nameplates"] = "Pet Nameplates" |
--[[ enUS ]] L["Pet nameplates"] = "Pet nameplates" |
--[[ enUS ]] L["Guardian Nameplates"] = "Guardian Nameplates" |
--[[ enUS ]] L["Guardian nameplates"] = "Guardian nameplates" |
--[[ enUS ]] L["Totem Nameplates"] = "Totem Nameplates" |
--[[ enUS ]] L["Totem nameplates"] = "Totem nameplates" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftAutoShow"] = "AloftAutoShow" |
--[[ enUS ]] mL["Automatically show/hide nameplates based on various events and conditions"] = "Automatically show/hide nameplates based on various events and conditions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
-- some of these duplicate labels for keybindings; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ koKR ]] L["Show Neutral/Enemy Name Plates"] = "Show Neutral/Enemy Name Plates" |
--[[ koKR ]] L["Show nameplates for neutral or hostile units"] = "ì¤ë¦½ì í¹ì ì ëì ëìì ëí ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] L["Show Friendly Name Plates"] = "Show Friendly Name Plates" |
--[[ koKR ]] L["Show nameplates for friendly units"] = "ì°í¸ì ëìì ëí ì´ë¦í를 íìí©ëë¤." |
--[[ koKR ]] L["Show All Name Plates"] = "Show All Name Plates" |
--[[ koKR ]] L["Show Nameplates"] = "ì´ë¦í íì" |
-- player states; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ koKR ]] L["Combat"] = "Combat" |
--[[ koKR ]] L["Flagged/PvP"] = "Flagged/PvP" |
--[[ koKR ]] L["Resting"] = "Resting" |
--[[ koKR ]] L["Group"] = "Group" |
--[[ koKR ]] L["Default"] = "Default" |
-- player locations; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ koKR ]] L["Player Location"] = "Player Location" |
--[[ koKR ]] L["World"] = "World" |
--[[ koKR ]] L["Battleground"] = "Battleground" |
--[[ koKR ]] L["Arena"] = "Arena" |
--[[ koKR ]] L["5-Man Instance"] = "5-Man Instance" |
--[[ koKR ]] L["Raid Instance"] = "Raid Instance" |
--[[ koKR ]] L["Set All"] = "Set All" |
--[[ koKR ]] L["Name Plate Motion"] = "Name Plate Motion" |
--[[ koKR ]] L["Motion of nameplates when they might overlap"] = "Motion of nameplates when they might overlap" |
--[[ koKR ]] L["Motion Style"] = "Motion Style" |
--[[ koKR ]] L["STACK"] = "Stack" |
--[[ koKR ]] L["SPREAD"] = "Spread" |
--[[ koKR ]] L["Automate all nameplate motion"] = "Automate all nameplate motion" |
--[[ koKR ]] L["Motion Options"] = "Motion Options" |
--[[ koKR ]] L["Options controlling nameplate motion"] = "Options controlling nameplate motion" |
--[[ koKR ]] L["Bounce Nameplates on Motion Change"] = "Bounce Nameplates on Motion Change" |
--[[ koKR ]] L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"] = "Quicky toggle nameplates (bounce) when motion settings are automatically changed" |
--[[ koKR ]] L["Nameplate motion based on player state (subject to Visibility options)"] = "Nameplate motion based on player state (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting combat (subject to Visibility options)"] = "Nameplate motion on entering/exiting combat (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion by default (subject to Visibility options)"] = "Nameplate motion by default (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion based on player location (subject to Visibility options)"] = "Nameplate motion based on player location (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting the world (subject to Visibility options)"] = "Nameplate motion on entering/exiting the world (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"] = "Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"] = "Nameplate motion on entering/exiting arenas (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ koKR ]] L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting raid instances (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates by default (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ koKR ]] L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ koKR ]] L["All Nameplates"] = "All Nameplates" |
--[[ koKR ]] L["All nameplates"] = "All nameplates" |
--[[ koKR ]] L["Pet Nameplates"] = "Pet Nameplates" |
--[[ koKR ]] L["Pet nameplates"] = "Pet nameplates" |
--[[ koKR ]] L["Guardian Nameplates"] = "Guardian Nameplates" |
--[[ koKR ]] L["Guardian nameplates"] = "Guardian nameplates" |
--[[ koKR ]] L["Totem Nameplates"] = "Totem Nameplates" |
--[[ koKR ]] L["Totem nameplates"] = "Totem nameplates" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftAutoShow"] = "AloftAutoShow" |
--[[ koKR ]] mL["Automatically show/hide nameplates based on various events and conditions"] = "Automatically show/hide nameplates based on various events and conditions" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
-- some of these duplicate labels for keybindings; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ ruRU ]] L["Show Neutral/Enemy Name Plates"] = "ÐÑобÑажаÑÑ ÑаблиÑки нейÑÑалÑнÑÑ /вÑаждебнÑÑ " |
--[[ ruRU ]] L["Show nameplates for neutral or hostile units"] = "ÐÑобÑажаÑÑ ÑаблиÑки Ð´Ð»Ñ Ð½ÐµÐ¹ÑÑалÑнÑÑ Ð¸Ð»Ð¸ вÑаждебнÑÑ " |
--[[ ruRU ]] L["Show Friendly Name Plates"] = "ÐÑобÑажаÑÑ ÑаблиÑки дÑÑжеÑÑвеннÑÑ " |
--[[ ruRU ]] L["Show nameplates for friendly units"] = "ÐÑобÑажаÑÑ ÑаблиÑки Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ " |
--[[ ruRU ]] L["Show All Name Plates"] = "ÐÑобÑажаÑÑ Ð²Ñе ÑаблиÑки" |
--[[ ruRU ]] L["Show Nameplates"] = "ÐÑобÑажаÑÑ ÑаблиÑки" |
-- player states; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ ruRU ]] L["Player State"] = "СоÑÑоÑние игÑока" |
--[[ ruRU ]] L["Combat"] = "Ðой" |
--[[ ruRU ]] L["Flagged/PvP"] = "Флаг/PvP" |
--[[ ruRU ]] L["Resting"] = "ÐÑдÑÑ " |
--[[ ruRU ]] L["Group"] = "ÐÑÑппа" |
--[[ ruRU ]] L["Default"] = "Ðо ÑмолÑаниÑ" |
-- player locations; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ ruRU ]] L["Player Location"] = "ÐеÑÑÐ¾Ð½Ð°Ñ Ð¾Ð¶Ð´ÐµÐ½Ð¸Ðµ игÑока" |
--[[ ruRU ]] L["World"] = "ÐиÑ" |
--[[ ruRU ]] L["Battleground"] = "ÐÐ¾Ð»Ñ ÑÑажений" |
--[[ ruRU ]] L["Arena"] = "ÐÑена" |
--[[ ruRU ]] L["5-Man Instance"] = "ÐнÑÑанÑÑ Ð½Ð° 5-Ñел" |
--[[ ruRU ]] L["Raid Instance"] = "РейдовÑе инÑÑанÑÑe" |
--[[ ruRU ]] L["Set All"] = "ÐÑбÑаÑÑ Ð²ÑÑ" |
--[[ ruRU ]] L["Name Plate Motion"] = "Name Plate Motion" |
--[[ ruRU ]] L["Motion of nameplates when they might overlap"] = "Motion of nameplates when they might overlap" |
--[[ ruRU ]] L["Motion Style"] = "Motion Style" |
--[[ ruRU ]] L["STACK"] = "Stack" |
--[[ ruRU ]] L["SPREAD"] = "Spread" |
--[[ ruRU ]] L["Automate all nameplate motion"] = "Automate all nameplate motion" |
--[[ ruRU ]] L["Motion Options"] = "Motion Options" |
--[[ ruRU ]] L["Options controlling nameplate motion"] = "Options controlling nameplate motion" |
--[[ ruRU ]] L["Bounce Nameplates on Motion Change"] = "Bounce Nameplates on Motion Change" |
--[[ ruRU ]] L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"] = "Quicky toggle nameplates (bounce) when motion settings are automatically changed" |
--[[ ruRU ]] L["Nameplate motion based on player state (subject to Visibility options)"] = "Nameplate motion based on player state (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting combat (subject to Visibility options)"] = "Nameplate motion on entering/exiting combat (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion by default (subject to Visibility options)"] = "Nameplate motion by default (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion based on player location (subject to Visibility options)"] = "Nameplate motion based on player location (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting the world (subject to Visibility options)"] = "Nameplate motion on entering/exiting the world (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"] = "Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"] = "Nameplate motion on entering/exiting arenas (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ ruRU ]] L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting raid instances (subject to Visibility options)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¾ÑнавÑваÑÑ Ð½Ð° ÑоÑÑаÑнии игÑока (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ð±Ð¾Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи пÑиÑÑÑÑÑвии/оÑÑÑÑÑÑвии меÑки PvP (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² боÑ; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из ÑоÑÑоÑÐ½Ð¸Ñ Ð¾ÑдÑÑ Ð° (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² Ð±Ð¾Ñ Ð¸Ð»Ð¸ помеÑеннÑм; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð²ÑÑÑпаÑ/вÑÑ Ð¾Ð´Ñ Ð¸Ð· гÑÑÐ¿Ð¿Ñ (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² боÑ, помеÑеннÑм, или оÑдÑÑ Ð°Ñ; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ð¾ ÑмолÑÐ°Ð½Ð¸Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¾ÑновÑваÑÑÑ Ð½Ð° меÑÑÐ¾Ð½Ð°Ñ Ð¾Ð¶Ð´ÐµÐ½Ð¸Ðµ игÑока (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из миÑа (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ð¿Ð¾Ð»Ñ Ð±Ð¾Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из аÑÐµÐ½Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из подземелÑÑ Ð½Ð° 5-Ñел (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе ÑаблиÑки нейÑÑалÑнÑÑ Ð¸ вÑаждебнÑÑ Ð¿Ñи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ñейдового подземелÑÑ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки оÑновÑваÑÑÑ Ð½Ð° ÑоÑÑоÑнии игÑока (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðидаs)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ð±Ð¾Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи пÑиÑÑÑÑÑвии/оÑÑÑÑÑÑвии меÑки PvP (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² боÑ; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из ÑоÑÑоÑÐ½Ð¸Ñ Ð¾ÑдÑÑ Ð° (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² Ð±Ð¾Ñ Ð¸Ð»Ð¸ помеÑеннÑм; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки вÑÑÑпаÑ/вÑÑ Ð¾Ð´Ñ Ð¸Ð· гÑÑÐ¿Ð¿Ñ (и не Ð½Ð°Ñ Ð¾Ð´ÑÑÑ Ð² боÑ, помеÑеннÑм, или оÑдÑÑ Ð°Ñ; оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки по ÑмолÑÐ°Ð½Ð¸Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки оÑновÑваÑÑÑ Ð½Ð° меÑÑÐ¾Ð½Ð°Ñ Ð¾Ð¶Ð´ÐµÐ½Ð¸Ðµ игÑока (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из миÑа (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ð¿Ð¾Ð»Ñ Ð±Ð¾Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из аÑÐµÐ½Ñ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из подземелÑÑ Ð½Ð° 5-Ñел (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"] = "ÐвÑо-показаÑÑ/ÑкÑÑÑÑ Ð²Ñе дÑÑжеÑÑвеннÑе ÑаблиÑки пÑи Ð²Ñ Ð¾Ð´Ðµ/вÑÑ Ð¾Ð´Ðµ из Ñейдового подземелÑÑ (оÑноÑиÑÑÑ Ðº наÑÑÑойкам Ðида)" |
--[[ ruRU ]] L["All Nameplates"] = "All Nameplates" |
--[[ ruRU ]] L["All nameplates"] = "All nameplates" |
--[[ ruRU ]] L["Pet Nameplates"] = "Pet Nameplates" |
--[[ ruRU ]] L["Pet nameplates"] = "Pet nameplates" |
--[[ ruRU ]] L["Guardian Nameplates"] = "Guardian Nameplates" |
--[[ ruRU ]] L["Guardian nameplates"] = "Guardian nameplates" |
--[[ ruRU ]] L["Totem Nameplates"] = "Totem Nameplates" |
--[[ ruRU ]] L["Totem nameplates"] = "Totem nameplates" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftAutoShow"] = "AloftAutoShow" |
--[[ ruRU ]] mL["Automatically show/hide nameplates based on various events and conditions"] = "ÐвÑомаÑиÑеÑки показÑваеÑ/ÑкÑÑÐ²Ð°ÐµÑ ÑаблиÑки оÑновÑваÑÑÑ Ð½Ð° ÑазлиÑнÑÑ ÐºÑиÑеÑиÑÑ Ð¸ ÑобÑÑиÑÑ " |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
-- some of these duplicate labels for keybindings; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ zhCN ]] L["Show Neutral/Enemy Name Plates"] = "Show Neutral/Enemy Name Plates" |
--[[ zhCN ]] L["Show nameplates for neutral or hostile units"] = "æ¾ç¤ºä¸ç«ææ对åä½çå§åæ¿" |
--[[ zhCN ]] L["Show Friendly Name Plates"] = "Show Friendly Name Plates" |
--[[ zhCN ]] L["Show nameplates for friendly units"] = "æ¾ç¤ºåæ¹åä½çå§åæ¿" |
--[[ zhCN ]] L["Show All Name Plates"] = "Show All Name Plates" |
--[[ zhCN ]] L["Show Nameplates"] = "æ¾ç¤ºå§åæ¿" |
--[[ zhCN ]] L["Combat"] = "ææ" |
--[[ zhCN ]] L["Flagged/PvP"] = "Flagged/PvP" |
--[[ zhCN ]] L["Resting"] = "ä¼æ¯" |
--[[ zhCN ]] L["Group"] = "å°é" |
--[[ zhCN ]] L["Default"] = "é»è®¤" |
-- player locations; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ zhCN ]] L["Player Location"] = "Player Location" |
--[[ zhCN ]] L["World"] = "World" |
--[[ zhCN ]] L["Battleground"] = "Battleground" |
--[[ zhCN ]] L["Arena"] = "Arena" |
--[[ zhCN ]] L["5-Man Instance"] = "5-Man Instance" |
--[[ zhCN ]] L["Raid Instance"] = "Raid Instance" |
--[[ zhCN ]] L["Set All"] = "å ¨é¨" |
--[[ zhCN ]] L["Name Plate Motion"] = "Name Plate Motion" |
--[[ zhCN ]] L["Motion of nameplates when they might overlap"] = "Motion of nameplates when they might overlap" |
--[[ zhCN ]] L["Motion Style"] = "Motion Style" |
--[[ zhCN ]] L["STACK"] = "Stack" |
--[[ zhCN ]] L["SPREAD"] = "Spread" |
--[[ zhCN ]] L["Automate all nameplate motion"] = "Automate all nameplate motion" |
--[[ zhCN ]] L["Motion Options"] = "Motion Options" |
--[[ zhCN ]] L["Options controlling nameplate motion"] = "Options controlling nameplate motion" |
--[[ zhCN ]] L["Bounce Nameplates on Motion Change"] = "Bounce Nameplates on Motion Change" |
--[[ zhCN ]] L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"] = "Quicky toggle nameplates (bounce) when motion settings are automatically changed" |
--[[ zhCN ]] L["Nameplate motion based on player state (subject to Visibility options)"] = "Nameplate motion based on player state (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting combat (subject to Visibility options)"] = "Nameplate motion on entering/exiting combat (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion by default (subject to Visibility options)"] = "Nameplate motion by default (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion based on player location (subject to Visibility options)"] = "Nameplate motion based on player location (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting the world (subject to Visibility options)"] = "Nameplate motion on entering/exiting the world (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"] = "Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"] = "Nameplate motion on entering/exiting arenas (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhCN ]] L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"] = "èªå¨æ¾ç¤º/éèææä¸ç«åæ对å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"] = "è¿å ¥/离å¼æææ¶èªå¨æ¾ç¤º/éèææä¸ç«åæ对å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"] = "é»è®¤èªå¨æ¾ç¤º/éèææä¸ç«åæ对å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates (subject to Visibility options)"] = "èªå¨æ¾ç¤º/éèææåæ¹å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"] = "è¿å ¥/离å¼æææ¶èªå¨æ¾ç¤º/éèææåæ¹å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"] = "é»è®¤èªå¨æ¾ç¤º/éèææåæ¹å§åæ¿ï¼åæ§äºå¯è§åº¦é项ï¼" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhCN ]] L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhCN ]] L["All Nameplates"] = "All Nameplates" |
--[[ zhCN ]] L["All nameplates"] = "All nameplates" |
--[[ zhCN ]] L["Pet Nameplates"] = "Pet Nameplates" |
--[[ zhCN ]] L["Pet nameplates"] = "Pet nameplates" |
--[[ zhCN ]] L["Guardian Nameplates"] = "Guardian Nameplates" |
--[[ zhCN ]] L["Guardian nameplates"] = "Guardian nameplates" |
--[[ zhCN ]] L["Totem Nameplates"] = "Totem Nameplates" |
--[[ zhCN ]] L["Totem nameplates"] = "Totem nameplates" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftAutoShow"] = "èªå¨æ¾ç¤º" |
--[[ zhCN ]] mL["Automatically show/hide nameplates based on various events and conditions"] = "å¨ç¹å®äºä»¶åç¶æä¸èªå¨æ¾ç¤º/éèå§åæ¿" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
-- some of these duplicate labels for keybindings; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ zhTW ]] L["Show Neutral/Enemy Name Plates"] = "Show Neutral/Enemy Name Plates" |
--[[ zhTW ]] L["Show nameplates for neutral or hostile units"] = "顯示ä¸ç«ææµå°å®ä½çåç" |
--[[ zhTW ]] L["Show Friendly Name Plates"] = "Show Friendly Name Plates" |
--[[ zhTW ]] L["Show nameplates for friendly units"] = "顯示å好å®ä½çåç" |
--[[ zhTW ]] L["Show All Name Plates"] = "Show All Name Plates" |
--[[ zhTW ]] L["Show Nameplates"] = "顯示åç" |
--[[ zhTW ]] L["Combat"] = "æ°æ" |
--[[ zhTW ]] L["Flagged/PvP"] = "Flagged/PvP" |
--[[ zhTW ]] L["Resting"] = "ä¼æ¯" |
--[[ zhTW ]] L["Group"] = "å°é" |
--[[ zhTW ]] L["Default"] = "é»èª" |
-- player locations; should match strings in Aloft/Aloft.lua and Aloft localizations |
--[[ zhTW ]] L["Player Location"] = "Player Location" |
--[[ zhTW ]] L["World"] = "World" |
--[[ zhTW ]] L["Battleground"] = "Battleground" |
--[[ zhTW ]] L["Arena"] = "Arena" |
--[[ zhTW ]] L["5-Man Instance"] = "5-Man Instance" |
--[[ zhTW ]] L["Raid Instance"] = "Raid Instance" |
--[[ zhTW ]] L["Set All"] = "å ¨é¨" |
--[[ zhTW ]] L["Name Plate Motion"] = "Name Plate Motion" |
--[[ zhTW ]] L["Motion of nameplates when they might overlap"] = "Motion of nameplates when they might overlap" |
--[[ zhTW ]] L["Motion Style"] = "Motion Style" |
--[[ zhTW ]] L["STACK"] = "Stack" |
--[[ zhTW ]] L["SPREAD"] = "Spread" |
--[[ zhTW ]] L["Automate all nameplate motion"] = "Automate all nameplate motion" |
--[[ zhTW ]] L["Motion Options"] = "Motion Options" |
--[[ zhTW ]] L["Options controlling nameplate motion"] = "Options controlling nameplate motion" |
--[[ zhTW ]] L["Bounce Nameplates on Motion Change"] = "Bounce Nameplates on Motion Change" |
--[[ zhTW ]] L["Quicky toggle nameplates (bounce) when motion settings are automatically changed"] = "Quicky toggle nameplates (bounce) when motion settings are automatically changed" |
--[[ zhTW ]] L["Nameplate motion based on player state (subject to Visibility options)"] = "Nameplate motion based on player state (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting combat (subject to Visibility options)"] = "Nameplate motion on entering/exiting combat (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Nameplate motion on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Nameplate motion on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Nameplate motion on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion by default (subject to Visibility options)"] = "Nameplate motion by default (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion based on player location (subject to Visibility options)"] = "Nameplate motion based on player location (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting the world (subject to Visibility options)"] = "Nameplate motion on entering/exiting the world (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)"] = "Nameplate motion on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting arenas (subject to Visibility options)"] = "Nameplate motion on entering/exiting arenas (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhTW ]] L["Nameplate motion on entering/exiting raid instances (subject to Visibility options)"] = "Nameplate motion on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates (subject to Visibility options)"] = "èªå顯示/é±èææä¸ç«åæµå°åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player state (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting combat (subject to Visibility options)"] = "é²å ¥/é¢éæ°é¬¥æèªå顯示/é±èææä¸ç«åæµå°åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates by default (subject to Visibility options)"] = "é è¨èªå顯示/é±èææä¸ç«åæµå°åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates based on player location (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all neutral and hostile nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates (subject to Visibility options)"] = "èªå顯示/é±èææåæ¹åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player state (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting combat (subject to Visibility options)"] = "é²å ¥/é¢éæ°é¬¥æèªå顯示/é±èææåæ¹åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on flagging/unflagging for PvP (and not in combat; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting resting state (and not in combat or flagged; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting groups (and not in combat, flagged, or resting; subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates by default (subject to Visibility options)"] = "é è¨èªå顯示/é±èææåæ¹åçï¼åæ§æ¼å¯è¦åº¦é¸é ï¼" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates based on player location (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting the world (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting battlegrounds (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting arenas (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting 5-man instances (subject to Visibility options)" |
--[[ zhTW ]] L["Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)"] = "Auto-show/hide all friendly nameplates on entering/exiting raid instances (subject to Visibility options)" |
--[[ zhTW ]] L["All Nameplates"] = "All Nameplates" |
--[[ zhTW ]] L["All nameplates"] = "All nameplates" |
--[[ zhTW ]] L["Pet Nameplates"] = "Pet Nameplates" |
--[[ zhTW ]] L["Pet nameplates"] = "Pet nameplates" |
--[[ zhTW ]] L["Guardian Nameplates"] = "Guardian Nameplates" |
--[[ zhTW ]] L["Guardian nameplates"] = "Guardian nameplates" |
--[[ zhTW ]] L["Totem Nameplates"] = "Totem Nameplates" |
--[[ zhTW ]] L["Totem nameplates"] = "Totem nameplates" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftAutoShow"] = "èªå顯示" |
--[[ zhTW ]] mL["Automatically show/hide nameplates based on various events and conditions"] = "èªåå¨ç¹å®çäºä»¶åçæ ä¸é¡¯ç¤º/é±èåç" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAutoShow", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftAutoShowOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCombatText |
if not L then return end |
local AloftCombatText = Aloft:GetModule("CombatText", true) |
if not AloftCombatText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
-- needs to be maintained to match the definitions in AloftCombatTextOptions.lua; these are lifted loosely from Blizzard(tm); Interface\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua (i.e. Blizzard combat log processing) |
local SPELL_COLOR_NONE = { 1.00, 1.00, 1.00, } -- this is an imaginary color for spells with no known school (a medium gray) |
local SPELL_COLOR_PHYSICAL = { 0.80, 0.60, 0.40, } -- basically the warrior class color |
local SPELL_COLOR_HOLY = { 1.00, 0.90, 0.50, } |
local SPELL_COLOR_FIRE = { 1.00, 0.00, 0.00, } -- red |
local SPELL_COLOR_NATURE = { 0.30, 1.00, 0.30, } |
local SPELL_COLOR_FROST = { 0.50, 1.00, 1.00, } |
local SPELL_COLOR_SHADOW = { 0.50, 0.50, 1.00, } -- basically the warlock class color |
local SPELL_COLOR_ARCANE = { 1.00, 0.50, 1.00, } |
local SPELL_COLOR_HEAL = { 1.00, 0.50, 0.00, } -- this is an imaginary catch-all color for healing spells (yellow-orange) |
local SPELL_COLOR_ENERGIZE = { 0.41, 0.80, 0.94, } -- for energize activity |
----------------------------------------------------------------------------- |
Aloft.Options.args.combatText = |
{ |
type = 'group', |
name = L["Combat Text"], |
desc = L["Combat text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCombatText:IsEnabled() or not AloftCombatText.db or not AloftCombatText.db.profile end, |
args = |
{ |
enableTarget = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable Target"], |
desc = L["Show combat text on target nameplates"], |
get = function(i) return AloftCombatText.db.profile.enableTarget end, |
set = function(i, v) AloftCombatText.db.profile.enableTarget = v AloftCombatText:UpdateAll() end, |
order = 1 |
}, |
enableGroup = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable Group"], |
desc = L["Show combat text on group member nameplates"], |
get = function(i) return AloftCombatText.db.profile.enableGroup end, |
set = function(i, v) AloftCombatText.db.profile.enableGroup = v AloftCombatText:UpdateAll() end, |
order = 2 |
}, |
enableOther = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable Other"], |
desc = L["Show combat text on other nameplates"], |
get = function(i) return AloftCombatText.db.profile.enableOther end, |
set = function(i, v) AloftCombatText.db.profile.enableOther = v AloftCombatText:UpdateAll() end, |
order = 3 |
}, |
effectPlayer = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Damage/Healing By Player"], |
desc = L["Show combat text for damage/healing done by the player"], |
disabled = function(i) return not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
get = function(i) return AloftCombatText.db.profile.effectPlayer end, |
set = function(i, v) AloftCombatText.db.profile.effectPlayer = v AloftCombatText:UpdateAll() end, |
order = 4 |
}, |
effectGroup = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Damage/Healing By Group"], |
desc = L["Show combat text for damage/healing done by group members (including pets)"], |
disabled = function(i) return not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
get = function(i) return AloftCombatText.db.profile.effectGroup end, |
set = function(i, v) AloftCombatText.db.profile.effectGroup = v AloftCombatText:UpdateAll() end, |
order = 5 |
}, |
effectOther = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Damage/Healing By Other"], |
desc = L["Show combat text for damage/healing done by other units"], |
disabled = function(i) return not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
get = function(i) return AloftCombatText.db.profile.effectOther end, |
set = function(i, v) AloftCombatText.db.profile.effectOther = v AloftCombatText:UpdateAll() end, |
order = 6 |
}, |
overHealing = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Include Overhealing"], |
desc = L["Show combat text for healing that includes overhealing"], |
disabled = function(i) return not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
get = function(i) return AloftCombatText.db.profile.overHealing end, |
set = function(i, v) AloftCombatText.db.profile.overHealing = v AloftCombatText:UpdateAll() end, |
order = 7 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Combat text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCombatText:IsEnabled() or not AloftCombatText.db or not AloftCombatText.db.profile or not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for combat text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.combatText.args.typeface.args.font.values) do |
if v == AloftCombatText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCombatText.db.profile.font = Aloft.Options.args.combatText.args.typeface.args.font.values[v] |
AloftCombatText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the combat text"], |
max = 40, |
min = 5, |
step = 1, |
get = function(i) return AloftCombatText.db.profile.fontSize end, |
set = function(i, value) AloftCombatText.db.profile.fontSize = value AloftCombatText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on combat text"], |
get = function(i) return AloftCombatText.db.profile.shadow end, |
set = function(i, v) AloftCombatText.db.profile.shadow = v AloftCombatText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for combat text"], |
get = function(i) return AloftCombatText.db.profile.outline end, |
set = function(i, value) AloftCombatText.db.profile.outline = value AloftCombatText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust combat text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCombatText:IsEnabled() or not AloftCombatText.db or not AloftCombatText.db.profile or not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the combat text"], |
get = function(i) return AloftCombatText.db.profile.point end, |
set = function(i, v) AloftCombatText.db.profile.point = v AloftCombatText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the combat text"], |
get = function(i) return AloftCombatText.db.profile.relativeToPoint end, |
set = function(i, v) AloftCombatText.db.profile.relativeToPoint = v AloftCombatText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the combat text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCombatText.db.profile.offsetX end, |
set = function(i, v) AloftCombatText.db.profile.offsetX = v AloftCombatText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the combat text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCombatText.db.profile.offsetY end, |
set = function(i, v) AloftCombatText.db.profile.offsetY = v AloftCombatText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the combat text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
get = function(i) return AloftCombatText.db.profile.alpha end, |
set = function(i, v) AloftCombatText.db.profile.alpha = v AloftCombatText:UpdateAll() end |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCombatText:IsEnabled() or not AloftCombatText.db or not AloftCombatText.db.profile or not (AloftCombatText.db.profile.enableTarget or AloftCombatText.db.profile.enableGroup or AloftCombatText.db.profile.enableOther) end, |
args = |
{ |
physical = |
{ |
type = 'color', |
width = 'full', |
name = L["Physical"], |
desc = L["Sets the color for physical damage"], |
order = 1, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[1]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[1] = { r, g, b } end, |
}, |
holy = |
{ |
type = 'color', |
width = 'full', |
name = L["Holy"], |
desc = L["Sets the color for holy damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[2]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[2] = { r, g, b } end, |
}, |
fire = |
{ |
type = 'color', |
width = 'full', |
name = L["Fire"], |
desc = L["Sets the color for fire damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[4]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[4] = { r, g, b } end, |
}, |
nature = |
{ |
type = 'color', |
width = 'full', |
name = L["Nature"], |
desc = L["Sets the color for nature damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[8]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[8] = { r, g, b } end, |
}, |
frost = |
{ |
type = 'color', |
width = 'full', |
name = L["Frost"], |
desc = L["Sets the color for frost damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[16]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[16] = { r, g, b } end, |
}, |
shadow = |
{ |
type = 'color', |
width = 'full', |
name = L["Shadow"], |
desc = L["Sets the color for shadow damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[32]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[32] = { r, g, b } end, |
}, |
arcane = |
{ |
type = 'color', |
width = 'full', |
name = L["Arcane"], |
desc = L["Sets the color for arcane damage"], |
order = 2, |
get = function(i) return unpack(AloftCombatText.db.profile.colors[64]) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors[64] = { r, g, b } end, |
}, |
heal = |
{ |
type = 'color', |
width = 'full', |
name = L["Heal"], |
desc = L["Sets the color for healing"], |
order = 3, |
get = function(i) return unpack(AloftCombatText.db.profile.colors.heal) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors.heal = { r, g, b } end, |
}, |
text = |
{ |
type = 'color', |
width = 'full', |
name = L["Text"], |
desc = L["Sets the color for text feedback"], |
order = 3, |
get = function(i) return unpack(AloftCombatText.db.profile.colors.text) end, |
set = function(i, r, g, b) AloftCombatText.db.profile.colors.text = { r, g, b } end, |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset"], |
desc = L["Resets all of the colors to default"], |
order = -1, |
func = function(i) |
AloftCombatText.db.profile.colors[1] = SPELL_COLOR_PHYSICAL -- Physical |
AloftCombatText.db.profile.colors[2] = SPELL_COLOR_HOLY -- Holy |
AloftCombatText.db.profile.colors[4] = SPELL_COLOR_FIRE -- Fire |
AloftCombatText.db.profile.colors[8] = SPELL_COLOR_NATURE -- Nature |
AloftCombatText.db.profile.colors[16] = SPELL_COLOR_FROST -- Frost |
AloftCombatText.db.profile.colors[32] = SPELL_COLOR_SHADOW -- Shadow |
AloftCombatText.db.profile.colors[64] = SPELL_COLOR_ARCANE -- Arcane |
AloftCombatText.db.profile.colors.energize = SPELL_COLOR_ENERGIZE |
AloftCombatText.db.profile.colors.text = SPELL_COLOR_NONE |
AloftCombatText.db.profile.colors.heal = SPELL_COLOR_HEAL |
end |
}, |
setAll = |
{ |
type = 'color', |
width = 'full', |
name = L["Set All"], |
desc = L["Sets all of the colors"], |
get = function(i) return unpack(AloftCombatText.db.profile.colors[1]) end, |
set = function(i, r, g, b) |
AloftCombatText.db.profile.colors[1] = { r, g, b, } -- Physical |
AloftCombatText.db.profile.colors[2] = { r, g, b, } -- Holy |
AloftCombatText.db.profile.colors[4] = { r, g, b, } -- Fire |
AloftCombatText.db.profile.colors[8] = { r, g, b, } -- Nature |
AloftCombatText.db.profile.colors[16] = { r, g, b, } -- Frost |
AloftCombatText.db.profile.colors[32] = { r, g, b, } -- Shadow |
AloftCombatText.db.profile.colors[64] = { r, g, b, } -- Arcane |
AloftCombatText.db.profile.colors.energize = { r, g, b, } |
AloftCombatText.db.profile.colors.text = { r, g, b, } |
AloftCombatText.db.profile.colors.heal = { r, g, b, } |
end, |
order = -1, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Combat Text"] = "Combat Text" |
--[[ enUS ]] L["Combat text options"] = "Combat text options" |
--[[ enUS ]] L["Enable Target"] = "Enable Target" |
--[[ enUS ]] L["Show combat text on target nameplates"] = "Show combat text on target nameplates" |
--[[ enUS ]] L["Enable Group"] = "Enable Group" |
--[[ enUS ]] L["Show combat text on group member nameplates"] = "Show combat text on group member nameplates" |
--[[ enUS ]] L["Enable Other"] = "Enable Other" |
--[[ enUS ]] L["Show combat text on other nameplates"] = "Show combat text on other nameplates" |
--[[ enUS ]] L["Damage/Healing By Player"] = "Damage/Healing By Player" |
--[[ enUS ]] L["Show combat text for damage/healing done by the player"] = "Show combat text for damage/healing done by the player" |
--[[ enUS ]] L["Damage/Healing By Group"] = "Damage/Healing By Group" |
--[[ enUS ]] L["Show combat text for damage/healing done by group members (including pets)"] = "Show combat text for damage/healing done by group members (including pets)" |
--[[ enUS ]] L["Damage/Healing By Other"] = "Damage/Healing By Other" |
--[[ enUS ]] L["Show combat text for damage/healing done by other units"] = "Show combat text for damage/healing done by other units" |
--[[ enUS ]] L["Include Overhealing"] = "Include Overhealing" |
--[[ enUS ]] L["Show combat text for healing that includes overhealing"] = "Show combat text for healing that includes overhealing" |
--[[ enUS ]] L["Typeface"] = "Typeface" |
--[[ enUS ]] L["Combat text typeface options"] = "Combat text typeface options" |
--[[ enUS ]] L["Font"] = "Font" |
--[[ enUS ]] L["Sets the font for combat text"] = "Sets the font for combat text" |
--[[ enUS ]] L["Font Size"] = "Font Size" |
--[[ enUS ]] L["Sets the font height of the combat text"] = "Sets the font height of the combat text" |
--[[ enUS ]] L["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] L["Show font shadow on combat text"] = "Show font shadow on combat text" |
--[[ enUS ]] L["Outline"] = "Outline" |
--[[ enUS ]] L["Sets the outline for combat text"] = "Sets the outline for combat text" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust combat text position"] = "Adjust combat text position" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the combat text"] = "Sets the anchor for the combat text" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the combat text"] = "Sets the relative point on the health bar to anchor the combat text" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the combat text"] = "X offset of the combat text" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the combat text"] = "Y offset of the combat text" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the alpha of the combat text"] = "Sets the alpha of the combat text" |
--[[ enUS ]] L["None"] = "None" |
--[[ enUS ]] L["Normal"] = "Normal" |
--[[ enUS ]] L["Thick"] = "Thick" |
--[[ enUS ]] L["Colors"] = "Colors" |
--[[ enUS ]] L["Customize colors"] = "Customize colors" |
--[[ enUS ]] L["Physical"] = "Physical" |
--[[ enUS ]] L["Sets the color for physical damage"] = "Sets the color for physical damage" |
--[[ enUS ]] L["Holy"] = "Holy" |
--[[ enUS ]] L["Sets the color for holy damage"] = "Sets the color for holy damage" |
--[[ enUS ]] L["Fire"] = "Fire" |
--[[ enUS ]] L["Sets the color for fire damage"] = "Sets the color for fire damage" |
--[[ enUS ]] L["Nature"] = "Nature" |
--[[ enUS ]] L["Sets the color for nature damage"] = "Sets the color for nature damage" |
--[[ enUS ]] L["Frost"] = "Frost" |
--[[ enUS ]] L["Sets the color for frost damage"] = "Sets the color for frost damage" |
--[[ enUS ]] L["Shadow"] = "Shadow" |
--[[ enUS ]] L["Sets the color for shadow damage"] = "Sets the color for shadow damage" |
--[[ enUS ]] L["Arcane"] = "Arcane" |
--[[ enUS ]] L["Sets the color for arcane damage"] = "Sets the color for arcane damage" |
--[[ enUS ]] L["Heal"] = "Heal" |
--[[ enUS ]] L["Sets the color for healing"] = "Sets the color for healing" |
--[[ enUS ]] L["Text"] = "Text" |
--[[ enUS ]] L["Sets the color for text feedback"] = "Sets the color for text feedback" |
--[[ enUS ]] L["Default"] = "Default" |
--[[ enUS ]] L["Sets the default combat text color"] = "Sets the default combat text color" |
--[[ enUS ]] L["Reset"] = "Reset" |
--[[ enUS ]] L["Resets all of the colors to default"] = "Resets all of the colors to default" |
--[[ enUS ]] L["Set All"] = "Set All" |
--[[ enUS ]] L["Sets all of the colors"] = "Sets all of the colors" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCombatText"] = "AloftCombatText" |
--[[ enUS ]] mL["Display combat text on group member nameplates"] = "Display combat text on group member nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Combat Text"] = "ì í¬ í ì¤í¸" |
--[[ koKR ]] L["Combat text options"] = "ì í¬ í ì¤í¸ ì¤ì " |
--[[ koKR ]] L["Enable Target"] = "ëì ì¬ì©" |
--[[ koKR ]] L["Show combat text on target nameplates"] = "ëìì ì´ë¦íì ì í¬ í ì¤í¸ë¥¼ ì¬ì©í©ëë¤." |
--[[ koKR ]] L["Enable Group"] = "íí° ì¬ì©" |
--[[ koKR ]] L["Show combat text on group member nameplates"] = "íí°ìì ì´ë¦íì ì í¬ í ì¤í¸ë¥¼ íìí©ëë¤." |
--[[ koKR ]] L["Enable Other"] = "Enable Other" |
--[[ koKR ]] L["Show combat text on other nameplates"] = "Show combat text on other nameplates" |
--[[ koKR ]] L["Damage/Healing By Player"] = "Damage/Healing By Player" |
--[[ koKR ]] L["Show combat text for damage/healing done by the player"] = "Show combat text for damage/healing done by the player" |
--[[ koKR ]] L["Damage/Healing By Group"] = "Damage/Healing By Group" |
--[[ koKR ]] L["Show combat text for damage/healing done by group members (including pets)"] = "Show combat text for damage/healing done by group members (including pets)" |
--[[ koKR ]] L["Damage/Healing By Other"] = "Damage/Healing By Other" |
--[[ koKR ]] L["Show combat text for damage/healing done by other units"] = "Show combat text for damage/healing done by other units" |
--[[ koKR ]] L["Include Overhealing"] = "Include Overhealing" |
--[[ koKR ]] L["Show combat text for healing that includes overhealing"] = "Show combat text for healing that includes overhealing" |
--[[ koKR ]] L["Typeface"] = "ìì²´" |
--[[ koKR ]] L["Combat text typeface options"] = "ì í¬ í ì¤í¸ ìì²´ ì¤ì " |
--[[ koKR ]] L["Font"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for combat text"] = "ì í¬ í ì¤í¸ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the font height of the combat text"] = "ì í¬ í ì¤í¸ì ê¸ê¼´ ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] L["Show font shadow on combat text"] = "ì í¬ í ì¤í¸ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] L["Outline"] = "í ë리" |
--[[ koKR ]] L["Sets the outline for combat text"] = "ì í¬ í ì¤í¸ì ëí í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust combat text position"] = "ì í¬ í ì¤í¸ ìì¹ ì¡°ì " |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the combat text"] = "ì í¬ í ì¤í¸ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the combat text"] = "ìëª ë ¥ ë°ìì ì í¬ í ì¤í¸ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the combat text"] = "ì í¬ í ì¤í¸ì X ì¢íì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the combat text"] = "ì í¬ í ì¤í¸ì Y ì¢íì ëë¤." |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha of the combat text"] = "ì í¬ í ì¤í¸ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["None"] = "ìì" |
--[[ koKR ]] L["Normal"] = "기본" |
--[[ koKR ]] L["Thick"] = "êµµê²" |
--[[ koKR ]] L["Colors"] = "ìì" |
--[[ koKR ]] L["Customize colors"] = "ì¬ì©ì ì§ì ìì" |
--[[ koKR ]] L["Physical"] = "물리" |
--[[ koKR ]] L["Sets the color for physical damage"] = "물리ì í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Holy"] = "ì ì±" |
--[[ koKR ]] L["Sets the color for holy damage"] = "ì ì± í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Fire"] = "íì¼" |
--[[ koKR ]] L["Sets the color for fire damage"] = "íì¼ í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Nature"] = "ìì°" |
--[[ koKR ]] L["Sets the color for nature damage"] = "ìì° í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Frost"] = "ë기" |
--[[ koKR ]] L["Sets the color for frost damage"] = "ë기 í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Shadow"] = "ìí" |
--[[ koKR ]] L["Sets the color for shadow damage"] = "ìí í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Arcane"] = "ë¹ì " |
--[[ koKR ]] L["Sets the color for arcane damage"] = "ë¹ì í¼í´ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Heal"] = "ì¹ì " |
--[[ koKR ]] L["Sets the color for healing"] = "ì¹ì ëì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Text"] = "ê¸ì" |
--[[ koKR ]] L["Sets the color for text feedback"] = "í¼ëë°± ê¸ìì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Default"] = "Default" |
--[[ koKR ]] L["Sets the default combat text color"] = "Sets the default combat text color" |
--[[ koKR ]] L["Reset"] = "ì´ê¸°í" |
--[[ koKR ]] L["Resets all of the colors to default"] = "기본 ììì¼ë¡ 모ë ì´ê¸°íí©ëë¤." |
--[[ koKR ]] L["Set All"] = "ì ì²´ ì¤ì " |
--[[ koKR ]] L["Sets all of the colors"] = "ì ì²´ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCombatText"] = "AloftCombatText" |
--[[ koKR ]] mL["Display combat text on group member nameplates"] = "Display combat text on group member nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Combat Text"] = "ТекÑÑ Ð±Ð¾Ñ" |
--[[ ruRU ]] L["Combat text options"] = "ÐаÑÑÑойка ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Enable Target"] = "ÐклÑÑиÑÑ ÑелÑ" |
--[[ ruRU ]] L["Show combat text on target nameplates"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð±Ð¾Ñ Ð½Ð° ÑаблиÑке Ñели" |
--[[ ruRU ]] L["Enable Group"] = "ÐклÑÑиÑÑ Ð³ÑÑппÑ" |
--[[ ruRU ]] L["Show combat text on group member nameplates"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð±Ð¾Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÑÑаÑÑников гÑÑппÑ" |
--[[ ruRU ]] L["Enable Other"] = "Enable Other" |
--[[ ruRU ]] L["Show combat text on other nameplates"] = "Show combat text on other nameplates" |
--[[ ruRU ]] L["Damage/Healing By Player"] = "Damage/Healing By Player" |
--[[ ruRU ]] L["Show combat text for damage/healing done by the player"] = "Show combat text for damage/healing done by the player" |
--[[ ruRU ]] L["Damage/Healing By Group"] = "Damage/Healing By Group" |
--[[ ruRU ]] L["Show combat text for damage/healing done by group members (including pets)"] = "Show combat text for damage/healing done by group members (including pets)" |
--[[ ruRU ]] L["Damage/Healing By Other"] = "Damage/Healing By Other" |
--[[ ruRU ]] L["Show combat text for damage/healing done by other units"] = "Show combat text for damage/healing done by other units" |
--[[ ruRU ]] L["Include Overhealing"] = "Include Overhealing" |
--[[ ruRU ]] L["Show combat text for healing that includes overhealing"] = "Show combat text for healing that includes overhealing" |
--[[ ruRU ]] L["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Combat text typeface options"] = "ÐаÑÑÑойка ÑÑиÑÑа ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Sets the font for combat text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the font height of the combat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] L["Show font shadow on combat text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] L["Sets the outline for combat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust combat text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the combat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа боÑ" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the combat text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа Ð±Ð¾Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the combat text"] = "СмеÑение ÑекÑÑа Ð±Ð¾Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the combat text"] = "СмеÑение ÑекÑÑа Ð±Ð¾Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the alpha of the combat text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа боÑ" |
--[[ ruRU ]] L["None"] = "ÐеÑ" |
--[[ ruRU ]] L["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] L["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] L["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] L["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] L["Physical"] = "ФизиÑеÑкое" |
--[[ ruRU ]] L["Sets the color for physical damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑизиÑеÑкого ÑÑона" |
--[[ ruRU ]] L["Holy"] = "СвÑÑÐµÐ½Ð½Ð°Ñ Ð¼Ð°Ð³Ð¸Ñ" |
--[[ ruRU ]] L["Sets the color for holy damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ ÑвÑÑенной магии" |
--[[ ruRU ]] L["Fire"] = "ÐгонÑ" |
--[[ ruRU ]] L["Sets the color for fire damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ Ð¼Ð°Ð³Ð¸Ð¸ огнÑ" |
--[[ ruRU ]] L["Nature"] = "ÐÑиÑÐ¾Ð´Ð½Ð°Ñ Ð¼Ð°Ð³Ð¸Ñ" |
--[[ ruRU ]] L["Sets the color for nature damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ Ð¼Ð°Ð³Ð¸Ð¸ пÑиÑодÑ" |
--[[ ruRU ]] L["Frost"] = "Ðед" |
--[[ ruRU ]] L["Sets the color for frost damage"] = "ÐадаÑÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ Ð¼Ð°Ð³Ð¸Ð¸ лÑда" |
--[[ ruRU ]] L["Shadow"] = "ТенÑ" |
--[[ ruRU ]] L["Sets the color for shadow damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ Ñеневой магии" |
--[[ ruRU ]] L["Arcane"] = "Ð¢Ð°Ð¹Ð½Ð°Ñ Ð¼Ð°Ð³Ð¸Ñ" |
--[[ ruRU ]] L["Sets the color for arcane damage"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑÑона Ð¾Ñ Ñайной магии" |
--[[ ruRU ]] L["Heal"] = "ÐеÑение" |
--[[ ruRU ]] L["Sets the color for healing"] = "ÐадаÑÑ ÑÐ²ÐµÑ Ð´Ð»Ñ Ð¸Ð·Ð»ÐµÑениÑ" |
--[[ ruRU ]] L["Text"] = "ТекÑÑ" |
--[[ ruRU ]] L["Sets the color for text feedback"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ ÑекÑÑа оÑзÑва" |
--[[ ruRU ]] L["Default"] = "Ðо ÑмолÑаниÑ" |
--[[ ruRU ]] L["Sets the default combat text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа Ð±Ð¾Ñ Ð¿Ð¾ ÑмолÑаниÑ" |
--[[ ruRU ]] L["Reset"] = "СбÑоÑ" |
--[[ ruRU ]] L["Resets all of the colors to default"] = "СбÑаÑÑÐ²Ð°ÐµÑ Ð²Ñе ÑвеÑа в наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] L["Set All"] = "ÐадаÑÑ Ð²Ñе" |
--[[ ruRU ]] L["Sets all of the colors"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²Ñе ÑвеÑа" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCombatText"] = "AloftCombatText" |
--[[ ruRU ]] mL["Display combat text on group member nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑекÑÑ Ð±Ð¾Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÑÑаÑÑников гÑÑппÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Combat Text"] = "ææä¿¡æ¯æå" |
--[[ zhCN ]] L["Combat text options"] = "ææä¿¡æ¯æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable Target"] = "å¯ç¨ç®æ " |
--[[ zhCN ]] L["Show combat text on target nameplates"] = "å¨ç®æ çå§åæ¿ä¸æ¾ç¤ºææä¿¡æ¯æå" |
--[[ zhCN ]] L["Enable Group"] = "å¯ç¨éå" |
--[[ zhCN ]] L["Show combat text on group member nameplates"] = "å¨éåçå§åæ¿ä¸æ¾ç¤ºææä¿¡æ¯æå" |
--[[ zhCN ]] L["Enable Other"] = "Enable Other" |
--[[ zhCN ]] L["Show combat text on other nameplates"] = "Show combat text on other nameplates" |
--[[ zhCN ]] L["Damage/Healing By Player"] = "Damage/Healing By Player" |
--[[ zhCN ]] L["Show combat text for damage/healing done by the player"] = "Show combat text for damage/healing done by the player" |
--[[ zhCN ]] L["Damage/Healing By Group"] = "Damage/Healing By Group" |
--[[ zhCN ]] L["Show combat text for damage/healing done by group members (including pets)"] = "Show combat text for damage/healing done by group members (including pets)" |
--[[ zhCN ]] L["Damage/Healing By Other"] = "Damage/Healing By Other" |
--[[ zhCN ]] L["Show combat text for damage/healing done by other units"] = "Show combat text for damage/healing done by other units" |
--[[ zhCN ]] L["Include Overhealing"] = "Include Overhealing" |
--[[ zhCN ]] L["Show combat text for healing that includes overhealing"] = "Show combat text for healing that includes overhealing" |
--[[ zhCN ]] L["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] L["Combat text typeface options"] = "ææä¿¡æ¯æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] L["Font"] = "åä½" |
--[[ zhCN ]] L["Sets the font for combat text"] = "设å®ææä¿¡æ¯æåçåä½" |
--[[ zhCN ]] L["Font Size"] = "åå·" |
--[[ zhCN ]] L["Sets the font height of the combat text"] = "设å®ææä¿¡æ¯æåçåå·" |
--[[ zhCN ]] L["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] L["Show font shadow on combat text"] = "æ¾ç¤ºææä¿¡æ¯æåçåä½é´å½±" |
--[[ zhCN ]] L["Outline"] = "è½®å»" |
--[[ zhCN ]] L["Sets the outline for combat text"] = "设å®ææä¿¡æ¯æåçåä½è½®å»" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust combat text position"] = "è°æ´ææä¿¡æ¯æåçä½ç½®" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the combat text"] = "设å®ææä¿¡æ¯æåçéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the combat text"] = "设å®ææä¿¡æ¯æååºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the combat text"] = "ææä¿¡æ¯æåçXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the combat text"] = "ææä¿¡æ¯æåçYè½´å移é" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the alpha of the combat text"] = "设å®ææä¿¡æ¯æåçéæ度" |
--[[ zhCN ]] L["None"] = "æ " |
--[[ zhCN ]] L["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] L["Thick"] = "ç²" |
--[[ zhCN ]] L["Colors"] = "é¢è²" |
--[[ zhCN ]] L["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] L["Physical"] = "ç©ç" |
--[[ zhCN ]] L["Sets the color for physical damage"] = "设å®ç©ç伤害çé¢è²" |
--[[ zhCN ]] L["Holy"] = "ç¥å£" |
--[[ zhCN ]] L["Sets the color for holy damage"] = "设å®ç¥å£ä¼¤å®³çé¢è²" |
--[[ zhCN ]] L["Fire"] = "ç«ç°" |
--[[ zhCN ]] L["Sets the color for fire damage"] = "设å®ç«ç°ä¼¤å®³çé¢è²" |
--[[ zhCN ]] L["Nature"] = "èªç¶" |
--[[ zhCN ]] L["Sets the color for nature damage"] = "设å®èªç¶ä¼¤å®³çé¢è²" |
--[[ zhCN ]] L["Frost"] = "å°é" |
--[[ zhCN ]] L["Sets the color for frost damage"] = "设å®å°é伤害çé¢è²" |
--[[ zhCN ]] L["Shadow"] = "æå½±" |
--[[ zhCN ]] L["Sets the color for shadow damage"] = "设å®æ影伤害çé¢è²" |
--[[ zhCN ]] L["Arcane"] = "奥æ¯" |
--[[ zhCN ]] L["Sets the color for arcane damage"] = "设å®å¥¥æ¯ä¼¤å®³çé¢è²" |
--[[ zhCN ]] L["Heal"] = "æ²»ç" |
--[[ zhCN ]] L["Sets the color for healing"] = "设å®æ²»ççé¢è²" |
--[[ zhCN ]] L["Text"] = "æå" |
--[[ zhCN ]] L["Sets the color for text feedback"] = "设å®ååºæåçé¢è²" |
--[[ zhCN ]] L["Default"] = "Default" |
--[[ zhCN ]] L["Sets the default combat text color"] = "Sets the default combat text color" |
--[[ zhCN ]] L["Reset"] = "éç½®" |
--[[ zhCN ]] L["Resets all of the colors to default"] = "å°ææé¢è²è®¾å®é置为é»è®¤" |
--[[ zhCN ]] L["Set All"] = "设å®å ¨é¨" |
--[[ zhCN ]] L["Sets all of the colors"] = "设å®å ¨é¨é¢è²" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCombatText"] = "æææå" |
--[[ zhCN ]] mL["Display combat text on group member nameplates"] = "å¨å°éæåçå§åæ¿ä¸æ¾ç¤ºæææå" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Combat Text"] = "æ°é¬¥æå" |
--[[ zhTW ]] L["Combat text options"] = "æ°é¬¥æåé¸é " |
--[[ zhTW ]] L["Enable Target"] = "åç¨ç®æ¨" |
--[[ zhTW ]] L["Show combat text on target nameplates"] = "å¨ç®æ¨åç顯示æ°é¬¥æå" |
--[[ zhTW ]] L["Enable Group"] = "åç¨åé«" |
--[[ zhTW ]] L["Show combat text on group member nameplates"] = "å¨åé«æå¡åç顯示æ°é¬¥æå" |
--[[ zhTW ]] L["Enable Other"] = "Enable Other" |
--[[ zhTW ]] L["Show combat text on other nameplates"] = "Show combat text on other nameplates" |
--[[ zhTW ]] L["Damage/Healing By Player"] = "Damage/Healing By Player" |
--[[ zhTW ]] L["Show combat text for damage/healing done by the player"] = "Show combat text for damage/healing done by the player" |
--[[ zhTW ]] L["Damage/Healing By Group"] = "Damage/Healing By Group" |
--[[ zhTW ]] L["Show combat text for damage/healing done by group members (including pets)"] = "Show combat text for damage/healing done by group members (including pets)" |
--[[ zhTW ]] L["Damage/Healing By Other"] = "Damage/Healing By Other" |
--[[ zhTW ]] L["Show combat text for damage/healing done by other units"] = "Show combat text for damage/healing done by other units" |
--[[ zhTW ]] L["Include Overhealing"] = "Include Overhealing" |
--[[ zhTW ]] L["Show combat text for healing that includes overhealing"] = "Show combat text for healing that includes overhealing" |
--[[ zhTW ]] L["Typeface"] = "åé«" |
--[[ zhTW ]] L["Combat text typeface options"] = "æ°é¬¥æååé«é¸é " |
--[[ zhTW ]] L["Font"] = "åå" |
--[[ zhTW ]] L["Sets the font for combat text"] = "æ°é¬¥æååå" |
--[[ zhTW ]] L["Font Size"] = "åå大å°" |
--[[ zhTW ]] L["Sets the font height of the combat text"] = "æ°é¬¥æååå大å°" |
--[[ zhTW ]] L["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] L["Show font shadow on combat text"] = "æ°é¬¥æåååé°å½±" |
--[[ zhTW ]] L["Outline"] = "輪å»" |
--[[ zhTW ]] L["Sets the outline for combat text"] = "æ°é¬¥æååå輪å»" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust combat text position"] = "æ°é¬¥æåä½ç½®" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the combat text"] = "æ°é¬¥æåå®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the combat text"] = "æ°é¬¥æååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the combat text"] = "æ°é¬¥æåXä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the combat text"] = "æ°é¬¥æåYä½ç§»" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the alpha of the combat text"] = "æ°é¬¥æåéæ度" |
--[[ zhTW ]] L["None"] = "ç¡" |
--[[ zhTW ]] L["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] L["Thick"] = "ç²" |
--[[ zhTW ]] L["Colors"] = "é¡è²" |
--[[ zhTW ]] L["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] L["Physical"] = "ç©ç" |
--[[ zhTW ]] L["Sets the color for physical damage"] = "ç©çå·å®³é¡è²" |
--[[ zhTW ]] L["Holy"] = "ç¥è" |
--[[ zhTW ]] L["Sets the color for holy damage"] = "ç¥èå·å®³é¡è²" |
--[[ zhTW ]] L["Fire"] = "ç«ç°" |
--[[ zhTW ]] L["Sets the color for fire damage"] = "ç«ç°å·å®³é¡è²" |
--[[ zhTW ]] L["Nature"] = "èªç¶" |
--[[ zhTW ]] L["Sets the color for nature damage"] = "èªç¶å·å®³é¡è²" |
--[[ zhTW ]] L["Frost"] = "å°é" |
--[[ zhTW ]] L["Sets the color for frost damage"] = "å°éå·å®³é¡è²" |
--[[ zhTW ]] L["Shadow"] = "æå½±" |
--[[ zhTW ]] L["Sets the color for shadow damage"] = "æå½±å·å®³é¡è²" |
--[[ zhTW ]] L["Arcane"] = "ç§æ³" |
--[[ zhTW ]] L["Sets the color for arcane damage"] = "ç§æ³å·å®³é¡è²" |
--[[ zhTW ]] L["Heal"] = "æ²»ç" |
--[[ zhTW ]] L["Sets the color for healing"] = "æ²»çé¡è²" |
--[[ zhTW ]] L["Text"] = "æå" |
--[[ zhTW ]] L["Sets the color for text feedback"] = "åææåé¡è²" |
--[[ zhTW ]] L["Default"] = "Default" |
--[[ zhTW ]] L["Sets the default combat text color"] = "Sets the default combat text color" |
--[[ zhTW ]] L["Reset"] = "éè¨" |
--[[ zhTW ]] L["Resets all of the colors to default"] = "éè¨å ¨é¨é¡è²åé è¨å¼" |
--[[ zhTW ]] L["Set All"] = "è¨å®å ¨é¨" |
--[[ zhTW ]] L["Sets all of the colors"] = "è¨å®å ¨é¨é¡è²" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCombatText"] = "æ°é¬¥æå" |
--[[ zhTW ]] mL["Display combat text on group member nameplates"] = "å¨å°éæå¡çåçä¸é¡¯ç¤ºæ°é¬¥æå" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCombatText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCombatText = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCombatText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCombatText"], |
desc = L["Display combat text on group member nameplates"], |
get = function(i) return AloftModules.db.profile.AloftCombatText end, |
set = function(i, v) AloftModules.db.profile.AloftCombatText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftHealthText |
if not L then return end |
local AloftHealthText = Aloft:GetModule("HealthText") |
if not AloftHealthText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local healthTags = |
{ |
NONE = "", |
PERCENT = "[HealthFraction:Percent]", |
GROUPHEALTH = "[IsGroup:HealthBarValue:Short]", |
GROUPHEALTHDEFICIT = "[IsGroup:HealthBarDeficit:HideZero:Negate:Short]", |
HEALTH = "[Select(Health, Health:Short, HealthFraction:Percent)]", |
HEALTHANDPERCENT = "[Health:Short:Suffix(\" (\")][HealthFraction:Percent][Health:\")\"]", |
FULL = "[Health:Short:Suffix(\"/\")][MaxHealth:Short:Suffix(\" \")][Health:\"(\"][HealthFraction:Percent][Health:\")\"]", |
SMART = "[Select(IsFriendly, HealthDeficit:Negate:HideZero:Short:HexColor(\"ff8080\"), Select(Health, Health:Short, HealthFraction:Percent))]", |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.healthBar.args.healthText = |
{ |
type = 'group', |
name = L["Health Text"], |
desc = L["Health text options"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthText:IsEnabled() or not AloftHealthText.db or not AloftHealthText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show health text on nameplates"], |
get = function(i) return AloftHealthText.db.profile.enable end, |
set = function(i, v) AloftHealthText.db.profile.enable = v AloftHealthText:UpdateTag() AloftHealthText:UpdateAll() end, |
order = 1 |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Health text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthText:IsEnabled() or not AloftHealthText.db or not AloftHealthText.db.profile or not AloftHealthText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for health text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.healthBar.args.healthText.args.typeface.args.font.values) do |
if v == AloftHealthText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftHealthText.db.profile.font = Aloft.Options.args.healthBar.args.healthText.args.typeface.args.font.values[v] |
AloftHealthText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the health text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftHealthText.db.profile.fontSize end, |
set = function(i, value) AloftHealthText.db.profile.fontSize = value AloftHealthText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on health text"], |
get = function(i) return AloftHealthText.db.profile.shadow end, |
set = function(i, v) AloftHealthText.db.profile.shadow = v AloftHealthText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for health text"], |
get = function(i) return AloftHealthText.db.profile.outline end, |
set = function(i, value) AloftHealthText.db.profile.outline = value AloftHealthText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
mode = |
{ |
type = 'select', |
width = 'full', |
name = L["Mode"], |
desc = L["Choose what to show for health text"], |
disabled = function(i) return not AloftHealthText.db.profile.enable end, |
get = function(i) return AloftHealthText.db.profile.mode end, |
set = function(i, value) AloftHealthText.db.profile.mode = value AloftHealthText:UpdateTag() AloftHealthText:UpdateAll() end, |
values = { PERCENT = L["Percent"], GROUPHEALTH = L["Group Health"], GROUPHEALTHDEFICIT = L["Group Health Deficit"], HEALTH = L["Health"], HEALTHANDPERCENT = L["Health & Percent"], FULL = L["Full"], SMART = L["Smart"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust health text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthText:IsEnabled() or not AloftHealthText.db or not AloftHealthText.db.profile or not AloftHealthText.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the health text"], |
get = function(i) return AloftHealthText.db.profile.point end, |
set = function(i, v) AloftHealthText.db.profile.point = v AloftHealthText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the health text"], |
get = function(i) return AloftHealthText.db.profile.relativeToPoint end, |
set = function(i, v) AloftHealthText.db.profile.relativeToPoint = v AloftHealthText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the health text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthText.db.profile.offsetX end, |
set = function(i, v) AloftHealthText.db.profile.offsetX = v AloftHealthText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the health text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthText.db.profile.offsetY end, |
set = function(i, v) AloftHealthText.db.profile.offsetY = v AloftHealthText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the health text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftHealthText.db.profile.enable end, |
get = function(i) return AloftHealthText.db.profile.alpha end, |
set = function(i, v) AloftHealthText.db.profile.alpha = v AloftHealthText:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the health text color"], |
disabled = function(i) return not AloftHealthText.db.profile.enable end, |
get = function(i) return unpack(AloftHealthText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftHealthText.db.profile.color = { r, g, b, a } AloftHealthText:UpdateAll() end, |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthText:IsEnabled() or not AloftHealthText.db or not AloftHealthText.db.profile or not AloftHealthText.db.profile.enable end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Health tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftHealthText.db.profile.format) end, |
set = function(i, v) |
AloftHealthText.db.profile.format = Aloft:FixTagCasing(v) |
AloftHealthText.textMethodData = nil |
AloftHealthText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftHealthText:UpdateAll() |
end, |
} |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
function AloftHealthText:UpdateTag() |
local tag = self.db.profile.mode |
if not self.db.profile.enable then tag = "NONE" end |
self.db.profile.format = healthTags[tag] |
self.textMethodData = nil |
self.textMethod = nil |
Aloft:DetermineDataSources() |
end |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
if not AloftLocale or not AloftLocale.AloftModules then return end |
----------------------------------------------------------------------------- |
local L = { } |
local mL = AloftLocale.AloftModules |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
-- TODO: on the surface, this wastes space in the enUS locale; the metatable could just return the canonical string as the localization; |
-- BUT, this serves as a default locale, and also will permit the metatable to check/notify on missing locale strings |
--[[ enUS ]] L["Health Text"] = "Health Text" |
--[[ enUS ]] L["Health text options"] = "Health text options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Show health text on nameplates"] = "Show health text on nameplates" |
--[[ enUS ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ enUS ]] L["Typeface"] = "Typeface" |
--[[ enUS ]] L["Health text typeface options"] = "Health text typeface options" |
--[[ enUS ]] L["Font"] = "Font" |
--[[ enUS ]] L["Sets the font for health text"] = "Sets the font for health text" |
--[[ enUS ]] L["Font Size"] = "Font Size" |
--[[ enUS ]] L["Sets the font height of the health text"] = "Sets the font height of the health text" |
--[[ enUS ]] L["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] L["Show font shadow on health text"] = "Show font shadow on health text" |
--[[ enUS ]] L["Outline"] = "Outline" |
--[[ enUS ]] L["Sets the outline for health text"] = "Sets the outline for health text" |
--[[ enUS ]] L["Mode"] = "Mode" |
--[[ enUS ]] L["Choose what to show for health text"] = "Choose what to show for health text" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust health text position"] = "Adjust health text position" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the health text"] = "Sets the anchor for the health text" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the health text"] = "Sets the relative point on the health bar to anchor the health text" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the health text"] = "X offset of the health text" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the health text"] = "Y offset of the health text" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the alpha of the health text"] = "Sets the alpha of the health text" |
--[[ enUS ]] L["Color"] = "Color" |
--[[ enUS ]] L["Sets the health text color"] = "Sets the health text color" |
--[[ enUS ]] L["None"] = "None" |
--[[ enUS ]] L["Normal"] = "Normal" |
--[[ enUS ]] L["Thick"] = "Thick" |
--[[ enUS ]] L["Percent"] = "Percent" |
--[[ enUS ]] L["Group Health"] = "Group Health" |
--[[ enUS ]] L["Group Health Deficit"] = "Group Health Deficit" |
--[[ enUS ]] L["Health"] = "Health" |
--[[ enUS ]] L["Health & Percent"] = "Health & Percent" |
--[[ enUS ]] L["Full"] = "Full" |
--[[ enUS ]] L["Smart"] = "Smart" |
--[[ enUS ]] L["Advanced"] = "Advanced" |
--[[ enUS ]] L["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] L["Format"] = "Format" |
--[[ enUS ]] L["Health tag"] = "Health tag" |
--[[ enUS ]] L["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftHealthText"] = "AloftHealthText" |
--[[ enUS ]] mL["Display health data and text on nameplates"] = "Display health data and text on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Health Text"] = "ìëª ë ¥ ìì¹" |
--[[ koKR ]] L["Health text options"] = "ìëª ë ¥ ìì¹ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Show health text on nameplates"] = "ì´ë¦íì ìëª ë ¥ ìì¹ë¥¼ íìí©ëë¤." |
--[[ koKR ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ koKR ]] L["Typeface"] = "ìì²´" |
--[[ koKR ]] L["Health text typeface options"] = "ìëª ë ¥ ìì¹ ìì²´ ì¤ì " |
--[[ koKR ]] L["Font"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for health text"] = "ìëª ë ¥ ìì¹ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the font height of the health text"] = "ìëª ë ¥ ìì¹ì í¬ê¸°ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] L["Show font shadow on health text"] = "ìëª ë ¥ ìì¹ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] L["Outline"] = "í ë리" |
--[[ koKR ]] L["Sets the outline for health text"] = "ìëª ë ¥ ìì¹ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Mode"] = "모ë" |
--[[ koKR ]] L["Choose what to show for health text"] = "ìëª ë ¥ ìì¹ì íì ë°©ë²ì ì íí©ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust health text position"] = "ìëª ë ¥ ìì¹ ìì¹ ì¡°ì " |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the health text"] = "ìëª ë ¥ ìì¹ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the health text"] = "ìëª ë ¥ ë°ìì ìëª ë ¥ ìì¹ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the health text"] = "ìëª ë ¥ ìì¹ì X ì¢í ì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the health text"] = "ìëª ë ¥ ìì¹ì Y ì¢í ì ëë¤." |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha of the health text"] = "ìëª ë ¥ ìì¹ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Color"] = "ìì" |
--[[ koKR ]] L["Sets the health text color"] = "ìëª ë ¥ ìì¹ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] L["None"] = "ìì" |
--[[ koKR ]] L["Normal"] = "기본" |
--[[ koKR ]] L["Thick"] = "êµµê²" |
--[[ koKR ]] L["Percent"] = "ë°±ë¶ì¨" |
--[[ koKR ]] L["Group Health"] = "íí° ìëª ë ¥" |
--[[ koKR ]] L["Group Health Deficit"] = "íí° ìëª ë ¥ ê²°ìì¹" |
--[[ koKR ]] L["Health"] = "ìëª ë ¥" |
--[[ koKR ]] L["Health & Percent"] = "ìëª ë ¥ & ë°±ë¶ì¨" |
--[[ koKR ]] L["Full"] = "ê°ë" |
--[[ koKR ]] L["Smart"] = "ìë" |
--[[ koKR ]] L["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] L["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] L["Format"] = "íì" |
--[[ koKR ]] L["Health tag"] = "ìëª ë ¥ íê·¸" |
--[[ koKR ]] L["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftHealthText"] = "AloftHealthText" |
--[[ koKR ]] mL["Display health data and text on nameplates"] = "Display health data and text on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Health Text"] = "ТекÑÑ Ð·Ð´Ð¾ÑовÑÑ" |
--[[ ruRU ]] L["Health text options"] = "ÐаÑÑÑойка ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Show health text on nameplates"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð·Ð´Ð¾ÑовÑÑ Ð½Ð° ÑаблиÑÐºÐ°Ñ " |
--[[ ruRU ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ ruRU ]] L["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Health text typeface options"] = "ÐаÑÑÑойка ÑÑиÑÑа ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Sets the font for health text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the font height of the health text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] L["Show font shadow on health text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] L["Sets the outline for health text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Mode"] = "Режим" |
--[[ ruRU ]] L["Choose what to show for health text"] = "ÐÑбÑаÑÑ, ÑÑо показÑваÑÑ Ð² ÑекÑÑе здоÑовÑÑ" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust health text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the health text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the health text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа здоÑовÑÑ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the health text"] = "СмеÑение ÑекÑÑа здоÑовÑÑ Ð¿Ð¾ X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the health text"] = "СмеÑение полоÑки здоÑовÑÑ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the alpha of the health text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["Color"] = "ЦвеÑ" |
--[[ ruRU ]] L["Sets the health text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа здоÑовÑÑ" |
--[[ ruRU ]] L["None"] = "ÐеÑ" |
--[[ ruRU ]] L["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] L["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] L["Percent"] = "ÐÑоÑенÑÑ" |
--[[ ruRU ]] L["Group Health"] = "ÐдоÑовÑе гÑÑппÑ" |
--[[ ruRU ]] L["Group Health Deficit"] = "ÐеÑиÑÐ¸Ñ Ð·Ð´Ð¾ÑовÑÑ Ð³ÑÑппÑ" |
--[[ ruRU ]] L["Health"] = "ÐдоÑовÑе" |
--[[ ruRU ]] L["Health & Percent"] = "ÐдоÑовÑе & ÐÑоÑенÑÑ" |
--[[ ruRU ]] L["Full"] = "Ðолное" |
--[[ ruRU ]] L["Smart"] = "Умное" |
--[[ ruRU ]] L["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] L["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] L["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] L["Health tag"] = "Ðид здоÑовÑÑ" |
--[[ ruRU ]] L["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftHealthText"] = "AloftHealthText" |
--[[ ruRU ]] mL["Display health data and text on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð´Ð°Ð½Ð½Ñе/ÑÐµÐºÑ Ð·Ð´Ð¾ÑовÑÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Health Text"] = "çå½å¼æ示æå" |
--[[ zhCN ]] L["Health text options"] = "çå½å¼æ示æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Show health text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºçå½å¼æ示æå" |
--[[ zhCN ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ zhCN ]] L["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] L["Health text typeface options"] = "çå½å¼æ示æåçå¼æ ·è®¾ç½®" |
--[[ zhCN ]] L["Font"] = "åä½" |
--[[ zhCN ]] L["Sets the font for health text"] = "设å®çå½å¼æ示æåçåä½" |
--[[ zhCN ]] L["Font Size"] = "åå·" |
--[[ zhCN ]] L["Sets the font height of the health text"] = "设å®çå½å¼æ示æåçåå·" |
--[[ zhCN ]] L["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] L["Show font shadow on health text"] = "æ¾ç¤ºçå½å¼æ示æåçåä½é´å½±" |
--[[ zhCN ]] L["Outline"] = "è½®å»" |
--[[ zhCN ]] L["Sets the outline for health text"] = "设å®çå½å¼æ示æåçåä½è½®å»" |
--[[ zhCN ]] L["Mode"] = "模å¼" |
--[[ zhCN ]] L["Choose what to show for health text"] = "éæ©çå½å¼æ示æåçæ¾ç¤ºæ¹å¼" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust health text position"] = "è°æ´çå½å¼æ示æåçä½ç½®" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the health text"] = "设å®çå½å¼æ示æåçéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the health text"] = "设å®çå½å¼æ示æååºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the health text"] = "çå½å¼æ示æåçXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the health text"] = "çå½å¼æ示æåçYè½´å移é" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the alpha of the health text"] = "设å®çå½å¼æ示æåçéæ度" |
--[[ zhCN ]] L["Color"] = "é¢è²" |
--[[ zhCN ]] L["Sets the health text color"] = "设å®çå½å¼æ示æåçé¢è²" |
--[[ zhCN ]] L["None"] = "æ " |
--[[ zhCN ]] L["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] L["Thick"] = "ç²" |
--[[ zhCN ]] L["Percent"] = "ç¾åæ¯" |
--[[ zhCN ]] L["Group Health"] = "éåçå½å¼" |
--[[ zhCN ]] L["Group Health Deficit"] = "éåçå½å¼ä¸è¶³é¢" |
--[[ zhCN ]] L["Health"] = "çå½å¼" |
--[[ zhCN ]] L["Health & Percent"] = "çå½å¼åç¾åæ¯" |
--[[ zhCN ]] L["Full"] = "å®å ¨" |
--[[ zhCN ]] L["Smart"] = "æºè½" |
--[[ zhCN ]] L["Advanced"] = "é«çº§" |
--[[ zhCN ]] L["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] L["Format"] = "æ ¼å¼" |
--[[ zhCN ]] L["Health tag"] = "çå½å¼æ ç¾" |
--[[ zhCN ]] L["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftHealthText"] = "çå½å¼" |
--[[ zhCN ]] mL["Display health data and text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºçå½å¼æ°æ®åæå" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Health Text"] = "çå½åæå" |
--[[ zhTW ]] L["Health text options"] = "çå½åæåé¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Show health text on nameplates"] = "å¨åç顯示çå½åæå" |
--[[ zhTW ]] L["Unknown"] = "Unknown" -- unit name for "Unknown" units |
--[[ zhTW ]] L["Typeface"] = "åé«" |
--[[ zhTW ]] L["Health text typeface options"] = "çå½åæååé«é¸é " |
--[[ zhTW ]] L["Font"] = "åå" |
--[[ zhTW ]] L["Sets the font for health text"] = "çå½åæååå" |
--[[ zhTW ]] L["Font Size"] = "åå大å°" |
--[[ zhTW ]] L["Sets the font height of the health text"] = "çå½åæååå大å°" |
--[[ zhTW ]] L["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] L["Show font shadow on health text"] = "çå½åæåååé°å½±" |
--[[ zhTW ]] L["Outline"] = "輪å»" |
--[[ zhTW ]] L["Sets the outline for health text"] = "çå½åæååå輪å»" |
--[[ zhTW ]] L["Mode"] = "模å¼" |
--[[ zhTW ]] L["Choose what to show for health text"] = "é¸æå¨çå½åæå顯示ä»éº¼" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust health text position"] = "çå½åæåä½ç½®" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the health text"] = "çå½åæåå®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the health text"] = "çå½åæååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the health text"] = "çå½åæåXä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the health text"] = "çå½åæåYä½ç§»" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the alpha of the health text"] = "çå½åæåéæ度" |
--[[ zhTW ]] L["Color"] = "é¡è²" |
--[[ zhTW ]] L["Sets the health text color"] = "çå½åæåé¡è²" |
--[[ zhTW ]] L["None"] = "ç¡" |
--[[ zhTW ]] L["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] L["Thick"] = "ç²" |
--[[ zhTW ]] L["Percent"] = "ç¾åæ¯" |
--[[ zhTW ]] L["Group Health"] = "åé«çå½å" |
--[[ zhTW ]] L["Group Health Deficit"] = "åé«çå½åä¸è¶³é¡" |
--[[ zhTW ]] L["Health"] = "çå½å" |
--[[ zhTW ]] L["Health & Percent"] = "çå½ååç¾åæ¯" |
--[[ zhTW ]] L["Full"] = "å®å ¨" |
--[[ zhTW ]] L["Smart"] = "ç²¾æ" |
--[[ zhTW ]] L["Advanced"] = "é²é" |
--[[ zhTW ]] L["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] L["Format"] = "æ ¼å¼" |
--[[ zhTW ]] L["Health tag"] = "çå½åæ¨ç±¤" |
--[[ zhTW ]] L["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftHealthText"] = "çå½å¼" |
--[[ zhTW ]] mL["Display health data and text on nameplates"] = "å¨åçä¸é¡¯ç¤ºçå½å¼æ¸æåæå" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftHealthText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftHealthText = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftHealthText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftHealthText"], |
desc = L["Display health data and text on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftHealthText end, |
set = function(i, v) AloftModules.db.profile.AloftHealthText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftLevelText |
if not L then return end |
local AloftLevelText = Aloft:GetModule("LevelText") |
if not AloftLevelText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local LEVELTEXT_FORMAT_BASE = "[Level]" |
local LEVELTEXT_FORMAT_CREATURETYPE = "[ShortCreatureType]" |
local LEVELTEXT_FORMAT_CLASSIFICATION = "[Select(Level, ShortClassification, Classification)]" |
local LEVELTEXT_FORMAT_RACE = "[Race:Prefix(\" \"):Cyan]" |
Aloft.Options.args.levelText = |
{ |
type = 'group', |
name = L["Level Text"], |
desc = L["Level text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftLevelText:IsEnabled() or not AloftLevelText.db or not AloftLevelText.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable"], |
desc = L["Enable level text display on the nameplate"], |
get = function(i) return AloftLevelText.db.profile.enable end, |
set = function(i, v) AloftLevelText.db.profile.enable = v AloftLevelText:UpdateTag() Aloft:DetermineDataSources() AloftLevelText:UpdateAll() end, |
order = 1 |
}, |
showCreatureType = |
{ |
type = 'toggle', |
width = "full", |
name = L["Show Creature Type"], |
desc = L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"], |
disabled = function(i) return not AloftLevelText.db.profile.enable end, |
get = function(i) return AloftLevelText.db.profile.showCreatureType end, |
set = function(i, v) |
AloftLevelText.db.profile.showCreatureType = v |
AloftLevelText:UpdateTag() |
Aloft:DetermineDataSources() |
AloftLevelText:UpdateAll() |
end, |
order = 2, |
}, |
showClassification = |
{ |
type = 'toggle', |
width = "full", |
name = L["Show Classification"], |
desc = L["Shows +,r,b for elite, rare and bosses after the level"], |
disabled = function(i) return not AloftLevelText.db.profile.enable end, |
get = function(i) return AloftLevelText.db.profile.showClassification end, |
set = function(i, v) |
AloftLevelText.db.profile.showClassification = v |
AloftLevelText:UpdateTag() |
Aloft:DetermineDataSources() |
AloftLevelText:UpdateAll() |
end, |
order = 3, |
}, |
showRace = |
{ |
type = 'toggle', |
width = "full", |
name = L["Show Race"], |
desc = L["Shows unit race after the level"], |
disabled = function(i) return not AloftLevelText.db.profile.enable end, |
get = function(i) return AloftLevelText.db.profile.showRace end, |
set = function(i, v) |
AloftLevelText.db.profile.showRace = v |
AloftLevelText:UpdateTag() |
Aloft:DetermineDataSources() |
AloftLevelText:UpdateAll() |
end, |
order = 4, |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Level text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftLevelText:IsEnabled() or not AloftLevelText.db or not AloftLevelText.db.profile or not AloftLevelText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = "select", |
width = "full", |
name = L["Font"], |
desc = L["Sets the font for level text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.levelText.args.typeface.args.font.values) do |
if v == AloftLevelText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftLevelText.db.profile.font = Aloft.Options.args.levelText.args.typeface.args.font.values[v] |
AloftLevelText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = "full", |
name = L["Font Size"], |
desc = L["Sets the font height of the level text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftLevelText.db.profile.fontSize end, |
set = function(i, value) AloftLevelText.db.profile.fontSize = value AloftLevelText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = "full", |
name = L["Font Shadow"], |
desc = L["Show font shadow on level text"], |
get = function(i) return AloftLevelText.db.profile.shadow end, |
set = function(i, v) AloftLevelText.db.profile.shadow = v AloftLevelText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = "full", |
name = L["Outline"], |
desc = L["Sets the font outline of the level text"], |
get = function(i) return AloftLevelText.db.profile.outline end, |
set = function(i, value) AloftLevelText.db.profile.outline = value AloftLevelText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust level text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftLevelText:IsEnabled() or not AloftLevelText.db or not AloftLevelText.db.profile or not AloftLevelText.db.profile.enable end, |
args = |
{ |
anchor = { |
type = "select", |
width = "full", |
name = L["Anchor"], |
desc = L["Sets the anchor for the level text"], |
get = function(i) return AloftLevelText.db.profile.point end, |
set = function(i, v) AloftLevelText.db.profile.point = v AloftLevelText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = "select", |
width = "full", |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the level text"], |
get = function(i) return AloftLevelText.db.profile.relativeToPoint end, |
set = function(i, v) AloftLevelText.db.profile.relativeToPoint = v AloftLevelText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = "full", |
name = L["X Offset"], |
desc = L["X offset of the level text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftLevelText.db.profile.offsetX end, |
set = function(i, v) AloftLevelText.db.profile.offsetX = v AloftLevelText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = "full", |
name = L["Y Offset"], |
desc = L["Y offset of the level text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftLevelText.db.profile.offsetY end, |
set = function(i, v) AloftLevelText.db.profile.offsetY = v AloftLevelText:UpdateAll() end |
}, |
}, |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftLevelText:IsEnabled() or not AloftLevelText.db or not AloftLevelText.db.profile or not AloftLevelText.db.profile.enable end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = "full", |
name = L["Override Text"], |
desc = L["Override level text"], |
get = function(i) return AloftLevelText.db.profile.overrideText end, |
set = function(i, v) AloftLevelText.db.profile.overrideText = v if v then AloftLevelText:UpdateTag() end Aloft:DetermineDataSources() AloftLevelText:UpdateAll() end, |
order = 1 |
}, |
format = |
{ |
type = 'input', |
width = "full", |
name = L["Format"], |
desc = L["Level tag"], |
usage = L["<Any tag string>"], |
disabled = function(i) return not AloftLevelText.db.profile.overrideText end, |
get = function(i) return Aloft:HighlightTagSyntax(AloftLevelText.db.profile.format) end, |
set = function(i, v) |
AloftLevelText.db.profile.format = Aloft:FixTagCasing(v) |
AloftLevelText.textMethodData = nil |
AloftLevelText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftLevelText:UpdateAll() |
end, |
} |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
function AloftLevelText:UpdateTag() |
AloftLevelText.textMethodData = nil |
AloftLevelText.textMethod = nil |
if not self.db.profile.enable or (not self.db.profile.showCreatureType and not self.db.profile.showClassification and not self.db.profile.showRace) then |
self.db.profile.overrideText = false |
else |
self.db.profile.overrideText = true |
self.db.profile.format = LEVELTEXT_FORMAT_BASE.. |
(self.db.profile.showCreatureType and LEVELTEXT_FORMAT_CREATURETYPE or "").. |
(self.db.profile.showClassification and LEVELTEXT_FORMAT_CLASSIFICATION or "").. |
(self.db.profile.showRace and LEVELTEXT_FORMAT_RACE or "") |
end |
end |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Level Text"] = "Level Text" |
--[[ enUS ]] L["Level text options"] = "Level text options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable level text display on the nameplate"] = "Enable level text display on the nameplate" |
--[[ enUS ]] L["Show Creature Type"] = "Show Creature Type" |
--[[ enUS ]] L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"] = "Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures" |
--[[ enUS ]] L["Show Classification"] = "Show Classification" |
--[[ enUS ]] L["Shows +,r,b for elite, rare and bosses after the level"] = "Shows +,r,b for elite, rare and bosses after the level" |
--[[ enUS ]] L["Show Race"] = "Show Race" |
--[[ enUS ]] L["Shows unit race after the level"] = "Shows unit race after the level" |
--[[ enUS ]] L["Typeface"] = "Typeface" |
--[[ enUS ]] L["Level text typeface options"] = "Level text typeface options" |
--[[ enUS ]] L["Font"] = "Font" |
--[[ enUS ]] L["Sets the font for level text"] = "Sets the font for level text" |
--[[ enUS ]] L["Font Size"] = "Font Size" |
--[[ enUS ]] L["Sets the font height of the level text"] = "Sets the font height of the level text" |
--[[ enUS ]] L["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] L["Show font shadow on level text"] = "Show font shadow on level text" |
--[[ enUS ]] L["Outline"] = "Outline" |
--[[ enUS ]] L["Sets the font outline of the level text"] = "Sets the font outline of the level text" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust level text position"] = "Adjust level text position" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the level text"] = "Sets the anchor for the level text" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the level text"] = "Sets the relative point on the health bar to anchor the level text" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the level text"] = "X offset of the level text" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the level text"] = "Y offset of the level text" |
--[[ enUS ]] L["None"] = "None" |
--[[ enUS ]] L["Normal"] = "Normal" |
--[[ enUS ]] L["Thick"] = "Thick" |
--[[ enUS ]] L["Advanced"] = "Advanced" |
--[[ enUS ]] L["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] L["Override Text"] = "Override Text" |
--[[ enUS ]] L["Override level text"] = "Override level text" |
--[[ enUS ]] L["Format"] = "Format" |
--[[ enUS ]] L["Level tag"] = "Level tag" |
--[[ enUS ]] L["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
--[[ koKR ]] L["Level Text"] = "ë 벨" |
--[[ koKR ]] L["Level text options"] = "ë 벨 ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable level text display on the nameplate"] = "ì´ë¦íì ë 벨ì íìí©ëë¤." |
--[[ koKR ]] L["Show Creature Type"] = "몹 ì¢ ë¥ íì" |
--[[ koKR ]] L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"] = "ì¼ì, ì ë§, ì©ì¡±, ì ë ¹, ì¸ê°í ë° ì¸ë°ëë±ì 몹 ì¢ ë¥ë¥¼ B,D,K,E,H,Uë±ì¼ë¡ íìí©ëë¤." |
--[[ koKR ]] L["Show Classification"] = "êµ¬ë¶ íì" |
--[[ koKR ]] L["Shows +,r,b for elite, rare and bosses after the level"] = "ë 벨 ë¤ì ì ì, í¬ê·, ë³´ì¤ë±ì +, r, b ë¡ íìí©ëë¤." |
--[[ koKR ]] L["Show Race"] = "ì¢ ì¡± íì" |
--[[ koKR ]] L["Shows unit race after the level"] = "ë 벨 ë¤ì ëìì ì¢ ì¡±ì íìí©ëë¤." |
--[[ koKR ]] L["Typeface"] = "ìì²´" |
--[[ koKR ]] L["Level text typeface options"] = "ë 벨 ìì²´ ì¤ì " |
--[[ koKR ]] L["Font"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for level text"] = "ë 벨ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the font height of the level text"] = "ë 벨ì ê¸ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] L["Show font shadow on level text"] = "ë 벨ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] L["Outline"] = "í ë리" |
--[[ koKR ]] L["Sets the font outline of the level text"] = "ë 벨ì ê¸ìì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust level text position"] = "ë 벨 ìì¹ ì¡°ì " |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the level text"] = "ë 벨ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the level text"] = "ìëª ë ¥ ë°ìì ë 벨ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the level text"] = "ë 벨ì X ì¢í ì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the level text"] = "ë 벨ì Y ì¢í ì ëë¤." |
--[[ koKR ]] L["None"] = "ìì" |
--[[ koKR ]] L["Normal"] = "기본" |
--[[ koKR ]] L["Thick"] = "êµµê²" |
--[[ koKR ]] L["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] L["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] L["Override Text"] = "í ì¤í¸ ì¤ë²ë¼ì´ë" |
--[[ koKR ]] L["Override level text"] = "ë 벨 í ì¤í¸ ì¤ë²ë¼ì´ë" |
--[[ koKR ]] L["Format"] = "íì" |
--[[ koKR ]] L["Level tag"] = "ë 벨 íê·¸" |
--[[ koKR ]] L["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
--[[ ruRU ]] L["Level Text"] = "ТекÑÑ ÑÑовнÑ" |
--[[ ruRU ]] L["Level text options"] = "ÐаÑÑÑойки ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable level text display on the nameplate"] = "ÐклÑÑиÑÑ ÑекÑÑ ÑÑÐ¾Ð²Ð½Ñ Ð½Ð° ÑаблиÑке" |
--[[ ruRU ]] L["Show Creature Type"] = "ÐÑобÑажаÑÑ Ñип ÑÑÑеÑÑва" |
--[[ ruRU ]] L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð,Ð,Ð,Ð,Ð Ð´Ð»Ñ ÐвеÑей(Ð), Ðемонов(Ð), ÐÑаконов(Ð), ÐлеменÑалей(Ð), ÐÑманоидов(Ð) и ÐежиÑи(Ð)" |
--[[ ruRU ]] L["Show Classification"] = "ÐÑобÑажаÑÑ ÐºÐ»Ð°ÑÑиÑикаÑиÑ" |
--[[ ruRU ]] L["Shows +,r,b for elite, rare and bosses after the level"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ +,п,б Ð´Ð»Ñ ÑлиÑнÑÑ , ÑÐµÐ´ÐºÐ¸Ñ Ð¸ боÑÑов за ÑÑовнем" |
--[[ ruRU ]] L["Show Race"] = "ÐÑобÑажаÑÑ ÑаÑÑ" |
--[[ ruRU ]] L["Shows unit race after the level"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑаÑÑ Ð·Ð° ÑÑовнем" |
--[[ ruRU ]] L["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Level text typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] L["Sets the font for level text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the font height of the level text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] L["Show font shadow on level text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] L["Sets the font outline of the level text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust level text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the level text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the level text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа ÑÑÐ¾Ð²Ð½Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the level text"] = "СмеÑение ÑекÑÑа ÑÑÐ¾Ð²Ð½Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the level text"] = "СмеÑение ÑекÑÑа ÑÑÐ¾Ð²Ð½Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] L["None"] = "ÐеÑ" |
--[[ ruRU ]] L["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] L["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] L["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] L["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] L["Override Text"] = "ÐеÑезапиÑÑ ÑекÑÑа" |
--[[ ruRU ]] L["Override level text"] = "ÐеÑезапиÑÑ ÑекÑÑа ÑÑовнÑ" |
--[[ ruRU ]] L["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] L["Level tag"] = "Ðид ÑÑовнÑ" |
--[[ ruRU ]] L["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
--[[ zhCN ]] L["Level Text"] = "ç级æå" |
--[[ zhCN ]] L["Level text options"] = "ç级æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable level text display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºç级æå" |
--[[ zhCN ]] L["Show Creature Type"] = "æ¾ç¤ºçç©ç±»å" |
--[[ zhCN ]] L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"] = "使ç¨çç©ç±»å缩å" |
--[[ zhCN ]] L["Show Classification"] = "æ¾ç¤ºåç±»" |
--[[ zhCN ]] L["Shows +,r,b for elite, rare and bosses after the level"] = "使ç¨å类缩å" |
--[[ zhCN ]] L["Show Race"] = "æ¾ç¤ºç§æ" |
--[[ zhCN ]] L["Shows unit race after the level"] = "å°ç§æå称æ¾ç¤ºå¨ç级ä¹å" |
--[[ zhCN ]] L["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] L["Level text typeface options"] = "ç级æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] L["Font"] = "åä½" |
--[[ zhCN ]] L["Sets the font for level text"] = "设å®ç级æåçåä½" |
--[[ zhCN ]] L["Font Size"] = "åå·" |
--[[ zhCN ]] L["Sets the font height of the level text"] = "设å®ç级æåçåå·" |
--[[ zhCN ]] L["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] L["Show font shadow on level text"] = "设å®ç级æåçåä½é´å½±" |
--[[ zhCN ]] L["Outline"] = "è½®å»" |
--[[ zhCN ]] L["Sets the font outline of the level text"] = "设å®ç级æåçåä½è½®å»" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust level text position"] = "è°æ´çç´æåçä½ç½®" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the level text"] = "设å®ç级æåçéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the level text"] = "设å®çç´æååºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the level text"] = "ç级æåçXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the level text"] = "ç级æåçYè½´å移é" |
--[[ zhCN ]] L["None"] = "æ " |
--[[ zhCN ]] L["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] L["Thick"] = "ç²" |
--[[ zhCN ]] L["Advanced"] = "é«çº§" |
--[[ zhCN ]] L["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] L["Override Text"] = "ç½®æ¢æå" |
--[[ zhCN ]] L["Override level text"] = "ç½®æ¢ç级æå" |
--[[ zhCN ]] L["Format"] = "æ ¼å¼" |
--[[ zhCN ]] L["Level tag"] = "ç级æ ç¾" |
--[[ zhCN ]] L["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
--[[ zhTW ]] L["Level Text"] = "çç´æå" |
--[[ zhTW ]] L["Level text options"] = "çç´æåé¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable level text display on the nameplate"] = "å¨åç顯示çç´æå" |
--[[ zhTW ]] L["Show Creature Type"] = "顯示çç©é¡å" |
--[[ zhTW ]] L["Shows B,D,K,E,H,U for Beast, Demon, Dragonkin, Elemental, Humanoid and Undead creatures"] = "使ç¨ç°¡ççç©é¡å" |
--[[ zhTW ]] L["Show Classification"] = "顯示åé¡" |
--[[ zhTW ]] L["Shows +,r,b for elite, rare and bosses after the level"] = "使ç¨ç°¡çåé¡" |
--[[ zhTW ]] L["Show Race"] = "顯示種æ" |
--[[ zhTW ]] L["Shows unit race after the level"] = "顯示種ææ¼çç´æåä¹å¾" |
--[[ zhTW ]] L["Typeface"] = "åé«" |
--[[ zhTW ]] L["Level text typeface options"] = "çç´æååé«é¸é " |
--[[ zhTW ]] L["Font"] = "åå" |
--[[ zhTW ]] L["Sets the font for level text"] = "çç´æååå" |
--[[ zhTW ]] L["Font Size"] = "åå大å°" |
--[[ zhTW ]] L["Sets the font height of the level text"] = "çç´æååå大å°" |
--[[ zhTW ]] L["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] L["Show font shadow on level text"] = "çç´æåååé°å½±" |
--[[ zhTW ]] L["Outline"] = "輪å»" |
--[[ zhTW ]] L["Sets the font outline of the level text"] = "çç´æååå輪å»" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust level text position"] = "çç´æåä½ç½®" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the level text"] = "çç´æåå®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the level text"] = "çç´æååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the level text"] = "çç´æåXä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the level text"] = "çç´æåYä½ç§»" |
--[[ zhTW ]] L["None"] = "ç¡" |
--[[ zhTW ]] L["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] L["Thick"] = "ç²" |
--[[ zhTW ]] L["Advanced"] = "é²é" |
--[[ zhTW ]] L["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] L["Override Text"] = "ç½®ææå" |
--[[ zhTW ]] L["Override level text"] = "ç½®æçç´æå" |
--[[ zhTW ]] L["Format"] = "æ ¼å¼" |
--[[ zhTW ]] L["Level tag"] = "çç´æ¨ç±¤" |
--[[ zhTW ]] L["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftLevelText = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftManaBarOptions |
if not L then return end |
local AloftManaBar = Aloft:GetModule("ManaBar", true) |
if not AloftManaBar then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.manaBar = |
{ |
type = 'group', |
name = L["Mana Bar"], |
desc = L["Mana Bar options"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaBar:IsEnabled() or not AloftManaBar.db or not AloftManaBar.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show mana bars on group member nameplates"], |
order = 1, |
get = function(i) return AloftManaBar.db.profile.enable end, |
set = function(i, v) AloftManaBar.db.profile.enable = v Aloft:DetermineDataSources() AloftManaBar:UpdateAll() end, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the mana bar"], |
order = 2, |
min = 1, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftManaBar.db.profile.enable end, |
get = function(i) return AloftManaBar.db.profile.height end, |
set = function(i, v) AloftManaBar.db.profile.height = v AloftManaBar:UpdateAll() end |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the mana bar's position"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaBar:IsEnabled() or not AloftManaBar.db or not AloftManaBar.db.profile or not AloftManaBar.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the mana bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftManaBar.db.profile.offsets.left end, |
set = function(i, v) AloftManaBar.db.profile.offsets.left = v AloftManaBar:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the mana bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftManaBar.db.profile.offsets.right end, |
set = function(i, v) AloftManaBar.db.profile.offsets.right = v AloftManaBar:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the mana bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftManaBar.db.profile.offsets.vertical end, |
set = function(i, v) AloftManaBar.db.profile.offsets.vertical = v AloftManaBar:UpdateAll() end |
}, |
}, |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the mana bar texture"], |
order = 4, |
disabled = function(i) return not AloftManaBar.db.profile.enable end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.manaBar.args.texture.values) do |
if v == AloftManaBar.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftManaBar.db.profile.texture = Aloft.Options.args.manaBar.args.texture.values[v] |
Aloft:DetermineDataSources() |
AloftManaBar:UpdateAll() |
end, |
values = SML:List("statusbar") |
}, |
border = { |
type = 'group', |
name = L["Border"], |
desc = L["Border options"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaBar:IsEnabled() or not AloftManaBar.db or not AloftManaBar.db.profile or not AloftManaBar.db.profile.enable end, |
args = |
{ |
targetOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Target Only"], |
desc = L["Enables the border on the current target only"], |
order = 1, |
get = function(i) return AloftManaBar.db.profile.targetOnly end, |
set = function(i, v) AloftManaBar.db.profile.targetOnly = v Aloft:DetermineDataSources() AloftManaBar:UpdateAll() end, |
disabled = function(i) return AloftManaBar.db.profile.border == "None" end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the mana bar border"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.manaBar.args.border.args.style.values) do |
if v == AloftManaBar.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftManaBar.db.profile.border = Aloft.Options.args.manaBar.args.border.args.style.values[v] |
AloftManaBar:UpdateAll() |
end, |
values = SML:List("border") |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftManaBar.db.profile.borderEdgeSize end, |
set = function(i, v) AloftManaBar.db.profile.borderEdgeSize = v AloftManaBar:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftManaBar.db.profile.borderInset end, |
set = function(i, v) AloftManaBar.db.profile.borderInset = v AloftManaBar:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the mana bar"], |
order = 3, |
get = function(i) return unpack(AloftManaBar.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.borderColor = { r, g, b, a } AloftManaBar:UpdateAll() end, |
disabled = function(i) return AloftManaBar.db.profile.border == "None" end, |
hasAlpha = true, |
}, |
}, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize colors"], |
order = 6, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaBar:IsEnabled() or not AloftManaBar.db or not AloftManaBar.db.profile or not AloftManaBar.db.profile.enable end, |
args = |
{ |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the mana bar"], |
get = function(i) return unpack(AloftManaBar.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.backdropColor = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
mana = |
{ |
type = 'color', |
width = 'full', |
name = L["Mana Color"], |
desc = L["Sets the color for mana bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[0]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[0] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
rage = |
{ |
type = 'color', |
width = 'full', |
name = L["Rage Color"], |
desc = L["Sets the color for rage bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[1]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[1] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
focus = |
{ |
type = 'color', |
width = 'full', |
name = L["Focus Color"], |
desc = L["Sets the color for focus bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[2]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[2] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
energy = |
{ |
type = 'color', |
width = 'full', |
name = L["Energy Color"], |
desc = L["Sets the color for energy bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[3]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[3] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
happiness = |
{ |
type = 'color', |
width = 'full', |
name = L["Happiness Color"], |
desc = L["Sets the color for happiness bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[4]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[4] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
rune = |
{ |
type = 'color', |
width = 'full', |
name = L["Rune Color"], |
desc = L["Sets the color for rune bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[5]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[5] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
runic = |
{ |
type = 'color', |
width = 'full', |
name = L["Runic Power Color"], |
desc = L["Sets the color for runic power bars"], |
get = function(i) return unpack(AloftManaBar.db.profile.powerTypeColors[6]) end, |
set = function(i, r, g, b, a) AloftManaBar.db.profile.powerTypeColors[6] = { r, g, b, a } AloftManaBar:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset to Defaults"], |
desc = L["Resets all colors to their defaults"], |
order = -1, |
func = function(i) |
AloftManaBar.db.profile.backdropColor = { 0.25, 0.25, 0.25, 0.5 } |
AloftManaBar.db.profile.powerTypeColors = |
{ |
[0] = { 0.28, 0.52, 0.84, 1}, -- Mana |
[1] = { 0.89, 0.18, 0.29, 1}, -- Rage |
[2] = { 1, 0.82, 0, 1}, -- Focus |
[3] = { 1, 0.86, 0.10, 1}, -- Energy |
[4] = { 0, 1, 1, 1}, -- Happiness |
[5] = { 0.50, 0.50, 0.50, 1}, -- Runes |
[6] = { 0.92, 0.92, 0.92, 1}, -- Runic Power |
}, |
AloftManaBar:UpdateAll() |
end, |
}, |
} |
}, |
--[[ |
always = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Always Show Target"], |
desc = L["Always show mana bar on active targets in combat"], |
get = function(i) return AloftManaBar.db.profile.always end, |
set = function(i, v) AloftManaBar.db.profile.always = v Aloft:DetermineDataSources() AloftManaBar:UpdateAll() end, |
disabled = function(i) return not AloftManaBar.db.profile.enable end, |
order = 2, |
}, |
]] |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftManaTextOptions |
if not L then return end |
local AloftManaText = Aloft:GetModule("ManaText", true) |
if not AloftManaText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local manaTags = |
{ |
NONE = { "", "" }, |
PERCENT = { "[ManaFraction:Percent]", "[ManaFraction:Percent:PowerTypeColor]" }, |
MANA = { "[Mana:Short]", "[Mana:Short:PowerTypeColor]" }, |
MANAANDPERCENT = { |
"[Mana:Short][ManaFraction:Percent:Surround(\" (\", \")\")]", |
"[Mana:Short:PowerTypeColor][ManaFraction:Percent:Surround(\" (\", \")\"):PowerTypeColor]", |
}, |
DEFICIT = { "[ManaDeficit:HideZero:Short]", "[ManaDeficit:HideZero:Short:PowerTypeColor]" }, |
FULL = { |
"[Mana:Short:Suffix(\"/\")][MaxMana:Short:Suffix(\" (\")][ManaFraction:Percent:Surround(\" (\", \")\")]", |
"[Mana:Short:Suffix(\"/\"):PowerTypeColor][MaxMana:Short:PowerTypeColor][ManaFraction:Percent:Surround(\" (\", \")\"):PowerTypeColor]" |
}, |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.manaBar.args.manaText = |
{ |
type = 'group', |
name = L["Mana Text"], |
desc = L["Mana text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaText:IsEnabled() or not AloftManaText.db or not AloftManaText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show mana text on group member nameplates"], |
get = function(i) return AloftManaText.db.profile.enable end, |
set = function(i, v) AloftManaText.db.profile.enable = v AloftManaText:UpdateTag() AloftManaText:UpdateAll() end, |
order = 1 |
}, |
typeface = |
{ |
type = "group", |
name = L["Typeface"], |
desc = L["Mana text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaText:IsEnabled() or not AloftManaText.db or not AloftManaText.db.profile or not AloftManaText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for mana text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.manaBar.args.manaText.args.typeface.args.font.values) do |
if v == AloftManaText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftManaText.db.profile.font = Aloft.Options.args.manaBar.args.manaText.args.typeface.args.font.values[v] |
AloftManaText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the mana text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftManaText.db.profile.fontSize end, |
set = function(i, value) AloftManaText.db.profile.fontSize = value AloftManaText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on mana text"], |
get = function(i) return AloftManaText.db.profile.shadow end, |
set = function(i, v) AloftManaText.db.profile.shadow = v AloftManaText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the outline for mana text"], |
get = function(i) return AloftManaText.db.profile.outline end, |
set = function(i, value) AloftManaText.db.profile.outline = value AloftManaText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
colorByType = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Color by type"], |
desc = L["Color text differently for mana, energy, rage"], |
disabled = function(i) return not AloftManaText.db.profile.enable end, |
get = function(i) return AloftManaText.db.profile.colorByType end, |
set = function(i, value) AloftManaText.db.profile.colorByType = value AloftManaText:UpdateTag() AloftManaText:UpdateAll() end, |
}, |
mode = |
{ |
type = 'select', |
width = 'full', |
name = L["Mode"], |
desc = L["Choose what to show for mana text"], |
disabled = function(i) return not AloftManaText.db.profile.enable end, |
get = function(i) return AloftManaText.db.profile.mode end, |
set = function(i, value) AloftManaText.db.profile.mode = value AloftManaText:UpdateTag() AloftManaText:UpdateAll() end, |
values = { PERCENT = L["Percent"], MANA = L["Mana"], MANAANDPERCENT = L["Mana & Percent"], DEFICIT = L["Deficit"], FULL = L["Full"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust mana text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaText:IsEnabled() or not AloftManaText.db or not AloftManaText.db.profile or not AloftManaText.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the mana text"], |
get = function(i) return AloftManaText.db.profile.point end, |
set = function(i, v) AloftManaText.db.profile.point = v AloftManaText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the mana text"], |
get = function(i) return AloftManaText.db.profile.relativeToPoint end, |
set = function(i, v) AloftManaText.db.profile.relativeToPoint = v AloftManaText:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the mana text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftManaText.db.profile.offsetX end, |
set = function(i, v) AloftManaText.db.profile.offsetX = v AloftManaText:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the mana text"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftManaText.db.profile.offsetY end, |
set = function(i, v) AloftManaText.db.profile.offsetY = v AloftManaText:UpdateAll() end |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the alpha of the mana text"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftManaText.db.profile.enable end, |
get = function(i) return AloftManaText.db.profile.alpha end, |
set = function(i, v) AloftManaText.db.profile.alpha = v AloftManaText:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the mana text color"], |
disabled = function(i) return not AloftManaText.db.profile.enable end, |
get = function(i) return unpack(AloftManaText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftManaText.db.profile.color = { r, g, b, a } AloftManaText:UpdateAll() end, |
}, |
advanced = |
{ |
type = 'group', |
width = 'full', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not (Aloft:GetModule("ManaData", true) and Aloft:GetModule("ManaData"):IsEnabled()) or not AloftManaText:IsEnabled() or not AloftManaText.db or not AloftManaText.db.profile or not AloftManaText.db.profile.enable end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = 'full', |
name = L["Format"], |
desc = L["Mana tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftManaText.db.profile.format) end, |
set = function(i, v) |
AloftManaText.db.profile.format = Aloft:FixTagCasing(v) |
AloftManaText.textMethodData = nil |
AloftManaText.textMethod = nil |
Aloft:DetermineDataSources() |
AloftManaText:UpdateAll() |
end, |
} |
}, |
}, |
--[[ |
always = |
{ |
type = 'toggle', |
name = L["Always Show Target"], |
desc = L["Always show mana text on active targets in combat"], |
get = function(i) return AloftManaText.db.profile.always end, |
set = function(i, v) AloftManaText.db.profile.always = v Aloft:DetermineDataSources() AloftManaText:UpdateAll() end, |
disabled = function(i) return not AloftManaText.db.profile.enable end, |
order = 2, |
}, |
]] |
}, |
} |
----------------------------------------------------------------------------- |
function AloftManaText:UpdateTag() |
local tag = self.db.profile.mode |
local index = 1 |
if self.db.profile.colorByType then |
index = 2 |
end |
if not self.db.profile.enable then tag = "NONE" end |
self.db.profile.format = manaTags[tag][index] |
self.textMethodData = nil |
self.textMethod = nil |
Aloft:DetermineDataSources() |
end |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftMana = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftMana"], |
desc = L["Display mana data, bars, and text on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftMana end, |
set = function(i, v) AloftModules.db.profile.AloftMana = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local bL = { } |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] bL["Mana Bar"] = "Mana Bar" |
--[[ enUS ]] bL["Mana Bar options"] = "Mana Bar options" |
--[[ enUS ]] bL["Enable"] = "Enable" |
--[[ enUS ]] bL["Show mana bars on group member nameplates"] = "Show mana bars on group member nameplates" |
--[[ enUS ]] bL["Texture"] = "Texture" |
--[[ enUS ]] bL["Sets the mana bar texture"] = "Sets the mana bar texture" |
--[[ enUS ]] bL["Alpha"] = "Alpha" |
--[[ enUS ]] bL["Sets the mana bar alpha"] = "Sets the mana bar alpha" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the mana bar"] = "Sets the height of the mana bar" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust the mana bar's position"] = "Adjust the mana bar's position" |
--[[ enUS ]] bL["Left Offset"] = "Left Offset" |
--[[ enUS ]] bL["Sets the offset of the left of the mana bar"] = "Sets the offset of the left of the mana bar" |
--[[ enUS ]] bL["Right Offset"] = "Right Offset" |
--[[ enUS ]] bL["Sets the offset of the right of the mana bar"] = "Sets the offset of the right of the mana bar" |
--[[ enUS ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] bL["Sets the vertical offset of the mana bar"] = "Sets the vertical offset of the mana bar" |
--[[ enUS ]] bL["Colors"] = "Colors" |
--[[ enUS ]] bL["Customize colors"] = "Customize colors" |
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] bL["Sets the backdrop color of the mana bar"] = "Sets the backdrop color of the mana bar" |
--[[ enUS ]] bL["Mana Color"] = "Mana Color" |
--[[ enUS ]] bL["Sets the color for mana bars"] = "Sets the color for mana bars" |
--[[ enUS ]] bL["Rage Color"] = "Rage Color" |
--[[ enUS ]] bL["Sets the color for rage bars"] = "Sets the color for rage bars" |
--[[ enUS ]] bL["Focus Color"] = "Focus Color" |
--[[ enUS ]] bL["Sets the color for focus bars"] = "Sets the color for focus bars" |
--[[ enUS ]] bL["Energy Color"] = "Energy Color" |
--[[ enUS ]] bL["Sets the color for energy bars"] = "Sets the color for energy bars" |
--[[ enUS ]] bL["Happiness Color"] = "Happiness Color" |
--[[ enUS ]] bL["Sets the color for happiness bars"] = "Sets the color for happiness bars" |
--[[ enUS ]] bL["Rune Color"] = "Rune Color" |
--[[ enUS ]] bL["Sets the color for rune bars"] = "Sets the color for rune bars" |
--[[ enUS ]] bL["Runic Power Color"] = "Runic Power Color" |
--[[ enUS ]] bL["Sets the color for runic power bars"] = "Sets the color for runic power bars" |
--[[ enUS ]] bL["Reset to Defaults"] = "Reset to Defaults" |
--[[ enUS ]] bL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
--[[ enUS ]] bL["Border"] = "Border" |
--[[ enUS ]] bL["Border options"] = "Border options" |
--[[ enUS ]] bL["Target Only"] = "Target Only" |
--[[ enUS ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] bL["Border Inset"] = "Border Inset" |
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] bL["Border Color"] = "Border Color" |
--[[ enUS ]] bL["Sets the border color of the mana bar"] = "Sets the border color of the mana bar" |
--[[ enUS ]] bL["Border Style"] = "Border Style" |
--[[ enUS ]] bL["Sets the style of the mana bar border"] = "Sets the style of the mana bar border" |
--[[ enUS ]] --bL["Always Show Target"] = "Always Show Target" |
--[[ enUS ]] --bL["Always show mana bar on active targets in combat"] = "Always show mana bar on active targets in combat" |
--[[ enUS ]] bL["Advanced"] = "Advanced" |
--[[ enUS ]] bL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] bL["Color Format"] = "Color Format" |
--[[ enUS ]] bL["Color tag"] = "Color tag" |
--[[ enUS ]] bL["<Any tag string>"] = "<Any tag string>" |
----------------------------------------------------------------------------- |
-- leave "enUS" active at all times, as a default locale |
--[[ enUS ]] tL["Mana Text"] = "Mana Text" |
--[[ enUS ]] tL["Mana text options"] = "Mana text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show mana text on group member nameplates"] = "Show mana text on group member nameplates" |
--[[ enUS ]] tL["Color by type"] = "Color by type" |
--[[ enUS ]] tL["Color text differently for mana, energy, rage"] = "Color text differently for mana, energy, rage" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Mana text typeface options"] = "Mana text typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for mana text"] = "Sets the font for mana text" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the mana text"] = "Sets the font height of the mana text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on mana text"] = "Show font shadow on mana text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the outline for mana text"] = "Sets the outline for mana text" |
--[[ enUS ]] tL["Mode"] = "Mode" |
--[[ enUS ]] tL["Choose what to show for mana text"] = "Choose what to show for mana text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust mana text position"] = "Adjust mana text position" |
--[[ enUS ]] tL["Anchor"] = "Anchor" |
--[[ enUS ]] tL["Sets the anchor for the mana text"] = "Sets the anchor for the mana text" |
--[[ enUS ]] tL["Anchor To"] = "Anchor To" |
--[[ enUS ]] tL["Sets the relative point on the health bar to anchor the mana text"] = "Sets the relative point on the health bar to anchor the mana text" |
--[[ enUS ]] tL["X Offset"] = "X Offset" |
--[[ enUS ]] tL["X offset of the mana text"] = "X offset of the mana text" |
--[[ enUS ]] tL["Y Offset"] = "Y Offset" |
--[[ enUS ]] tL["Y offset of the mana text"] = "Y offset of the mana text" |
--[[ enUS ]] tL["Alpha"] = "Alpha" |
--[[ enUS ]] tL["Sets the alpha of the mana text"] = "Sets the alpha of the mana text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the mana text color"] = "Sets the mana text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["Percent"] = "Percent" |
--[[ enUS ]] tL["Mana"] = "Mana" |
--[[ enUS ]] tL["Mana & Percent"] = "Mana & Percent" |
--[[ enUS ]] tL["Deficit"] = "Deficit" |
--[[ enUS ]] tL["Full"] = "Full" |
--[[ enUS ]] tL["Always Show Target"] = "Always Show Target" |
--[[ enUS ]] tL["Always show mana text on active targets in combat"] = "Always show mana text on active targets in combat" |
--[[ enUS ]] tL["Advanced"] = "Advanced" |
--[[ enUS ]] tL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] tL["Format"] = "Format" |
--[[ enUS ]] tL["Mana tag"] = "Mana tag" |
--[[ enUS ]] tL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] tL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] tL["TOP"] = "TOP" |
--[[ enUS ]] tL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
--[[ enUS ]] tL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] tL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] tL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftMana"] = "AloftMana" |
--[[ enUS ]] mL["Display mana data, bars, and text on nameplates"] = "Display mana data, bars, and text on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] bL["Mana Bar"] = "ë§ëë°" |
--[[ koKR ]] bL["Mana Bar options"] = "ë§ëë° ì¤ì " |
--[[ koKR ]] bL["Enable"] = "ì¬ì©" |
--[[ koKR ]] bL["Show mana bars on group member nameplates"] = "íí°ìì ì´ë¦íì ë§ëë°ë¥¼ íìí©ëë¤." |
--[[ koKR ]] bL["Texture"] = "í ì¤ì³" |
--[[ koKR ]] bL["Sets the mana bar texture"] = "ë§ëë°ì í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] bL["Sets the mana bar alpha"] = "ë§ëë°ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the mana bar"] = "ë§ëë°ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust the mana bar's position"] = "ë§ëë°ì ìì¹ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] bL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the left of the mana bar"] = "ë§ëë°ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the right of the mana bar"] = "ë§ëë°ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] bL["Sets the vertical offset of the mana bar"] = "ë§ëë°ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Colors"] = "ìì" |
--[[ koKR ]] bL["Customize colors"] = "ì¬ì©ì ìì" |
--[[ koKR ]] bL["Backdrop Color"] = "ë°°ê²½ ìì" |
--[[ koKR ]] bL["Sets the backdrop color of the mana bar"] = "ë§ëë°ì ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Mana Color"] = "ë§ë ìì" |
--[[ koKR ]] bL["Sets the color for mana bars"] = "ë§ëë°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Rage Color"] = "ë¶ë ¸ ìì" |
--[[ koKR ]] bL["Sets the color for rage bars"] = "ë¶ë ¸ë°ì ììì ì¤ì í©ëë¤" |
--[[ koKR ]] bL["Focus Color"] = "ì§ì ìì" |
--[[ koKR ]] bL["Sets the color for focus bars"] = "ì§ì ë°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Energy Color"] = "ê¸°ë ¥ ìì" |
--[[ koKR ]] bL["Sets the color for energy bars"] = "ê¸°ë ¥ë°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Happiness Color"] = "ë§ì¡±ë ìì" |
--[[ koKR ]] bL["Sets the color for happiness bars"] = "ë§ì¡±ëë°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Rune Color"] = "Rune Color" |
--[[ koKR ]] bL["Sets the color for rune bars"] = "Sets the color for rune bars" |
--[[ koKR ]] bL["Runic Power Color"] = "Runic Power Color" |
--[[ koKR ]] bL["Sets the color for runic power bars"] = "Sets the color for runic power bars" |
--[[ koKR ]] bL["Reset to Defaults"] = "ê¸°ë³¸ê° ì´ê¸°í" |
--[[ koKR ]] bL["Resets all colors to their defaults"] = "모ë ììì 기본ê°ì¼ë¡ ì´ê¸°íí©ëë¤." |
--[[ koKR ]] bL["Border"] = "Border" |
--[[ koKR ]] bL["Border options"] = "Border options" |
--[[ koKR ]] bL["Target Only"] = "Target Only" |
--[[ koKR ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] bL["Border Inset"] = "Border Inset" |
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] bL["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] bL["Sets the border color of the mana bar"] = "Sets the border color of the mana bar" |
--[[ koKR ]] bL["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] bL["Sets the style of the mana bar border"] = "Sets the style of the mana bar border" |
--[[ koKR ]] --bL["Always Show Target"] = "Always Show Target" |
--[[ koKR ]] --bL["Always show mana bar on active targets in combat"] = "Always show mana bar on active targets in combat" |
--[[ koKR ]] bL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] bL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì " |
--[[ koKR ]] bL["Color Format"] = "ìì íì" |
--[[ koKR ]] bL["Color tag"] = "ìì íê·¸" |
--[[ koKR ]] bL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Mana Text"] = "ë§ë ìì¹" |
--[[ koKR ]] tL["Mana text options"] = "ë§ë ìì¹ ì¤ì " |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show mana text on group member nameplates"] = "íí°ìì ì´ë¦íì ë§ë ìì¹ë¥¼ íìí©ëë¤." |
--[[ koKR ]] tL["Color by type"] = "ì¢ ë¥ë³ ìì" |
--[[ koKR ]] tL["Color text differently for mana, energy, rage"] = "ê°ê°ì ë§ë, ê¸°ë ¥, ë¶ë ¸ì ë°ë¥¸ ìì¹ ìì" |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Mana text typeface options"] = "ë§ë ìì¹ ìì²´ ì¤ì " |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for mana text"] = "ë§ë ìì¹ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the mana text"] = "ë§ë ìì¹ì ê¸ê¼´ ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on mana text"] = "ë§ë ìì¹ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the outline for mana text"] = "ë§ë ìì¹ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Mode"] = "모ë" |
--[[ koKR ]] tL["Choose what to show for mana text"] = "ë§ë ìì¹ì íì ë°©ë²ì ì íí©ëë¤." |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust mana text position"] = "ë§ë ìì¹ì ìì¹ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] tL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] tL["Sets the anchor for the mana text"] = "ë§ë ìì¹ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] tL["Sets the relative point on the health bar to anchor the mana text"] = "ìëª ë ¥ë°ì ë§ë ìì¹ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["X Offset"] = "X ì¢í" |
--[[ koKR ]] tL["X offset of the mana text"] = "ë§ë ìì¹ì X ì¢íì ëë¤." |
--[[ koKR ]] tL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] tL["Y offset of the mana text"] = "ë§ë ìì¹ì Y ì¢íì ëë¤." |
--[[ koKR ]] tL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] tL["Sets the alpha of the mana text"] = "ë§ë ìì¹ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the mana text color"] = "ë§ë ìì¹ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "기본" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["Percent"] = "ë°±ë¶ì¨" |
--[[ koKR ]] tL["Mana"] = "ë§ë" |
--[[ koKR ]] tL["Mana & Percent"] = "Mana & Percent" |
--[[ koKR ]] tL["Deficit"] = "ê²°ìì¹" |
--[[ koKR ]] tL["Full"] = "ê°ë" |
--[[ koKR ]] tL["Always Show Target"] = "Always Show Target" |
--[[ koKR ]] tL["Always show mana text on active targets in combat"] = "Always show mana text on active targets in combat" |
--[[ koKR ]] tL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] tL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì " |
--[[ koKR ]] tL["Format"] = "íì" |
--[[ koKR ]] tL["Mana tag"] = "ë§ë íê·¸" |
--[[ koKR ]] tL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] tL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] tL["TOP"] = "ìë¨" |
--[[ koKR ]] tL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] tL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] tL["BOTTOM"] = "íë¨" |
--[[ koKR ]] tL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftMana"] = "AloftMana" |
--[[ koKR ]] mL["Display mana data, bars, and text on nameplates"] = "Show mana data, bars, and text on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] bL["Mana Bar"] = "ÐолоÑка манÑ" |
--[[ ruRU ]] bL["Mana Bar options"] = "ÐаÑÑÑойки полоÑки манÑ" |
--[[ ruRU ]] bL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] bL["Show mana bars on group member nameplates"] = "ÐÑобÑажаÑÑ Ð¿Ð¾Ð»Ð¾Ñки Ð¼Ð°Ð½Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÑÑаÑÑников гÑÑппÑ" |
--[[ ruRU ]] bL["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] bL["Sets the mana bar texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки манÑ" |
--[[ ruRU ]] bL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] bL["Sets the mana bar alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки манÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the mana bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð¿Ð¾Ð»Ð¾Ñки манÑ" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust the mana bar's position"] = "ÐадаÑÑ Ð¼ÐµÑÑо полоÑки манÑ" |
--[[ ruRU ]] bL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] bL["Sets the offset of the left of the mana bar"] = "СмеÑение полоÑки Ð¼Ð°Ð½Ñ Ð²Ð»ÐµÐ²Ð¾" |
--[[ ruRU ]] bL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] bL["Sets the offset of the right of the mana bar"] = "СмеÑение полоÑки Ð¼Ð°Ð½Ñ Ð²Ð¿Ñаво" |
--[[ ruRU ]] bL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] bL["Sets the vertical offset of the mana bar"] = "СмеÑение полоÑки Ð¼Ð°Ð½Ñ Ð¿Ð¾ веÑÑикале" |
--[[ ruRU ]] bL["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] bL["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] bL["Backdrop Color"] = "Ð¦Ð²ÐµÑ Ñени" |
--[[ ruRU ]] bL["Sets the backdrop color of the mana bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñени полоÑки манÑ" |
--[[ ruRU ]] bL["Mana Color"] = "Ð¦Ð²ÐµÑ Ð¼Ð°Ð½Ñ" |
--[[ ruRU ]] bL["Sets the color for mana bars"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñок манÑ" |
--[[ ruRU ]] bL["Rage Color"] = "Ð¦Ð²ÐµÑ ÑÑоÑÑи" |
--[[ ruRU ]] bL["Sets the color for rage bars"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñок ÑÑоÑÑи" |
--[[ ruRU ]] bL["Focus Color"] = "Ð¦Ð²ÐµÑ ÑокÑÑа" |
--[[ ruRU ]] bL["Sets the color for focus bars"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñок ÑонÑÑа" |
--[[ ruRU ]] bL["Energy Color"] = "Ð¦Ð²ÐµÑ ÑнеÑгии" |
--[[ ruRU ]] bL["Sets the color for energy bars"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñок ÑнеÑгии" |
--[[ ruRU ]] bL["Happiness Color"] = "Ð¦Ð²ÐµÑ ÑÑаÑÑÑÑ Ð¿Ð¸ÑомÑа" |
--[[ ruRU ]] bL["Sets the color for happiness bars"] = "ÐадаÑÑ ÑÐ²ÐµÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñок ÑÑаÑÑÑÑ" |
--[[ ruRU ]] bL["Rune Color"] = "Ð¦Ð²ÐµÑ ÑÑн" |
--[[ ruRU ]] bL["Sets the color for rune bars"] = "УÑÑановка ÑвеÑа Ð¿Ð¾Ð»Ð¾Ñ ÑÑн" |
--[[ ruRU ]] bL["Runic Power Color"] = "Ð¦Ð²ÐµÑ ÑÐ¸Ð»Ñ ÑÑн" |
--[[ ruRU ]] bL["Sets the color for runic power bars"] = "УÑÑановка ÑвеÑа Ð¿Ð¾Ð»Ð¾Ñ ÑÑÐ»Ñ ÑÑн" |
--[[ ruRU ]] bL["Reset to Defaults"] = "СбÑоÑиÑÑ Ð½Ð°ÑÑÑойки" |
--[[ ruRU ]] bL["Resets all colors to their defaults"] = "СбÑаÑÑÐ²Ð°ÐµÑ Ð²Ñе ÑвеÑа в наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Border"] = "ÐÑаÑ" |
--[[ ruRU ]] bL["Border options"] = "ÐаÑÑÑойка кÑаÑв" |
--[[ ruRU ]] bL["Target Only"] = "ТолÑко ÑелÑ" |
--[[ ruRU ]] bL["Enables the border on the current target only"] = "ÐкклÑÑиÑÑ ÐºÑÐ°Ñ ÑолÑко на ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] bL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] bL["Border Color"] = "Ð¦Ð²ÐµÑ ÐºÑаÑ" |
--[[ ruRU ]] bL["Sets the border color of the mana bar"] = "УÑÑановка ÑвеÑа кÑÐ°Ñ Ð¿Ð¾Ð»Ð¾Ñки манÑ" |
--[[ ruRU ]] bL["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] bL["Sets the style of the mana bar border"] = "УÑÑановка ÑÑÐ¸Ð»Ñ ÐºÑаÑв полоÑки манÑ" |
--[[ ruRU ]] --bL["Always Show Target"] = "ÐÑегда показÑваÑÑ ÑелÑ" |
--[[ ruRU ]] --bL["Always show mana bar on active targets in combat"] = "Ð Ð±Ð¾Ñ Ð²Ñегда показÑваÑÑ Ð¿Ð¾Ð»Ð¾ÑÐºÑ Ð¼Ð°Ð½Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] bL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] bL["Color Format"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] bL["Color tag"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] bL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Mana Text"] = "ТекÑÑ Ð¼Ð°Ð½Ñ" |
--[[ ruRU ]] tL["Mana text options"] = "ÐаÑÑÑойки ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show mana text on group member nameplates"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð¼Ð°Ð½Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÑÑаÑÑников гÑÑппÑ" |
--[[ ruRU ]] tL["Color by type"] = "ÐкÑаÑиваÑÑ Ð² ÑÐ²ÐµÑ Ñипа" |
--[[ ruRU ]] tL["Color text differently for mana, energy, rage"] = "РаÑÑвеÑиваÑÑ Ð¿Ð¾ ÑÐ°Ð·Ð½Ð¾Ð¼Ñ ÑекÑÑ Ð´Ð»Ñ Ð¼Ð°Ð½Ñ, ÑÑоÑÑи и ÑнеÑгии" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Mana text typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for mana text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the mana text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on mana text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the outline for mana text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Mode"] = "Режим" |
--[[ ruRU ]] tL["Choose what to show for mana text"] = "ÐÑбÑаÑÑ, ÑÑо показÑваÑÑ Ð² ÑекÑÑе манÑ" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust mana text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо знаÑÐµÐ½Ð¸Ñ Ð¼Ð°Ð½Ñ" |
--[[ ruRU ]] tL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] tL["Sets the anchor for the mana text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] tL["Sets the relative point on the health bar to anchor the mana text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа Ð¼Ð°Ð½Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] tL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] tL["X offset of the mana text"] = "СмеÑение ÑекÑÑа Ð¼Ð°Ð½Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] tL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] tL["Y offset of the mana text"] = "СмеÑение ÑекÑÑа Ð¼Ð°Ð½Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] tL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] tL["Sets the alpha of the mana text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the mana text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа манÑ" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["Percent"] = "ÐÑоÑенÑÑ" |
--[[ ruRU ]] tL["Mana"] = "Ðана" |
--[[ ruRU ]] tL["Mana & Percent"] = "Ðана & ÐÑоÑенÑÑ" |
--[[ ruRU ]] tL["Deficit"] = "ÐеÑиÑиÑ" |
--[[ ruRU ]] tL["Full"] = "Ðолное" |
--[[ ruRU ]] tL["Always Show Target"] = "ÐÑегда показÑваÑÑ ÑелÑ" |
--[[ ruRU ]] tL["Always show mana text on active targets in combat"] = "Ð Ð±Ð¾Ñ Ð²Ñегда показÑваÑÑ ÑекÑÑ Ð¼Ð°Ð½Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] tL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] tL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] tL["Format"] = "ФоÑмаÑ" |
--[[ ruRU ]] tL["Mana tag"] = "Ðид манÑ" |
--[[ ruRU ]] tL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] tL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] tL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] tL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] tL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] tL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftMana"] = "AloftMana" |
--[[ ruRU ]] mL["Display mana data, bars, and text on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð´Ð°Ð½Ð½Ñе/ÑекÑ/полоÑÑ Ð¼Ð°Ð½Ñ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] bL["Mana Bar"] = "æ³åå¼æ¾ç¤ºæ¡" |
--[[ zhCN ]] bL["Mana Bar options"] = "æ³åå¼æ¾ç¤ºæ¡ç¸å ³è®¾ç½®" |
--[[ zhCN ]] bL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] bL["Show mana bars on group member nameplates"] = "å¨éåçå§åæ¿ä¸æ¾ç¤ºæ³åå¼æ¾ç¤ºæ¡" |
--[[ zhCN ]] bL["Texture"] = "æè´¨" |
--[[ zhCN ]] bL["Sets the mana bar texture"] = "设å®æ³åå¼æ¾ç¤ºæ¡çæè´¨" |
--[[ zhCN ]] bL["Alpha"] = "éæ度" |
--[[ zhCN ]] bL["Sets the mana bar alpha"] = "设å®æ³åå¼æ¾ç¤ºæ¡çéæ度" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the mana bar"] = "设å®æ³åå¼æ¾ç¤ºæ¡çé«åº¦" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust the mana bar's position"] = "è°æ´æ³åå¼æ¾ç¤ºæ¡çä½ç½®" |
--[[ zhCN ]] bL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] bL["Sets the offset of the left of the mana bar"] = "设å®æ³åå¼æ¾ç¤ºæ¡çåå·¦å移é" |
--[[ zhCN ]] bL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] bL["Sets the offset of the right of the mana bar"] = "设å®æ³åå¼æ¾ç¤ºæ¡çåå³å移é" |
--[[ zhCN ]] bL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] bL["Sets the vertical offset of the mana bar"] = "设å®æ³åå¼æ¾ç¤ºæ¡çåç´å移é" |
--[[ zhCN ]] bL["Colors"] = "é¢è²" |
--[[ zhCN ]] bL["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] bL["Backdrop Color"] = "èæ¯é¢è²" |
--[[ zhCN ]] bL["Sets the backdrop color of the mana bar"] = "设å®æ³åå¼æ¾ç¤ºæ¡çèæ¯é¢è²" |
--[[ zhCN ]] bL["Mana Color"] = "æ³åé¢è²" |
--[[ zhCN ]] bL["Sets the color for mana bars"] = "设å®æ³åæ¡çé¢è²" |
--[[ zhCN ]] bL["Rage Color"] = "ææ°é¢è²" |
--[[ zhCN ]] bL["Sets the color for rage bars"] = "设å®ææ°æ¡çé¢è²" |
--[[ zhCN ]] bL["Focus Color"] = "éä¸å¼é¢è²" |
--[[ zhCN ]] bL["Sets the color for focus bars"] = "设å®éä¸å¼æ¾ç¤ºæ¡çé¢è²" |
--[[ zhCN ]] bL["Energy Color"] = "è½éé¢è²" |
--[[ zhCN ]] bL["Sets the color for energy bars"] = "设å®è½éæ¡çé¢è²" |
--[[ zhCN ]] bL["Happiness Color"] = "å¿«ä¹å¼é¢è²" |
--[[ zhCN ]] bL["Sets the color for happiness bars"] = "设å®å¿«ä¹å¼æ¾ç¤ºæ¡çé¢è²" |
--[[ zhCN ]] bL["Rune Color"] = "Rune Color" |
--[[ zhCN ]] bL["Sets the color for rune bars"] = "Sets the color for rune bars" |
--[[ zhCN ]] bL["Runic Power Color"] = "Runic Power Color" |
--[[ zhCN ]] bL["Sets the color for runic power bars"] = "Sets the color for runic power bars" |
--[[ zhCN ]] bL["Reset to Defaults"] = "é置为é»è®¤å¼" |
--[[ zhCN ]] bL["Resets all colors to their defaults"] = "å°å ¨é¨é¢è²è®¾å®é置为é»è®¤" |
--[[ zhCN ]] bL["Border"] = "Border" |
--[[ zhCN ]] bL["Border options"] = "Border options" |
--[[ zhCN ]] bL["Target Only"] = "Target Only" |
--[[ zhCN ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] bL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] bL["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the border color of the mana bar"] = "Sets the border color of the mana bar" |
--[[ zhCN ]] bL["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Sets the style of the mana bar border"] = "Sets the style of the mana bar border" |
--[[ zhCN ]] --bL["Always Show Target"] = "å§ç»æ¾ç¤ºç®æ " |
--[[ zhCN ]] --bL["Always show mana bar on active targets in combat"] = "å¨ææä¸å§ç»æ¾ç¤ºå½åç®æ çæ³åå¼" |
--[[ zhCN ]] bL["Advanced"] = "é«çº§" |
--[[ zhCN ]] bL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] bL["Color Format"] = "é¢è²æ ¼å¼" |
--[[ zhCN ]] bL["Color tag"] = "é¢è²æ ç¾" |
--[[ zhCN ]] bL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Mana Text"] = "æ³åæ示æå" |
--[[ zhCN ]] tL["Mana text options"] = "æ³åæ示æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show mana text on group member nameplates"] = "å¨éåçå§åæ¿ä¸æ¾ç¤ºæ³åæå" |
--[[ zhCN ]] tL["Color by type"] = "æ ¹æ®ç±»åæ¾ç¤ºé¢è²" |
--[[ zhCN ]] tL["Color text differently for mana, energy, rage"] = "æ ¹æ®ä¸åçç±»åï¼æ³åãè½éæææ°ï¼æ¾ç¤ºé¢è²" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Mana text typeface options"] = "æ³åæ示æåçå¼æ ·è®¾ç½®" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for mana text"] = "设å®æ³åæ示æåçåä½" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the mana text"] = "设å®æ³åæ示æåçåå·" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on mana text"] = "设å®æ³åæ示æåçåä½é´å½±" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the outline for mana text"] = "设å®æ³åæ示æåçåä½è½®å»" |
--[[ zhCN ]] tL["Mode"] = "模å¼" |
--[[ zhCN ]] tL["Choose what to show for mana text"] = "éæ©å¨æ³åæ示æåçæ¾ç¤ºå 容" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust mana text position"] = "设å®æ³åæ示æåçä½ç½®" |
--[[ zhCN ]] tL["Anchor"] = "éç¹" |
--[[ zhCN ]] tL["Sets the anchor for the mana text"] = "设å®æ³åæ示æåçéç¹" |
--[[ zhCN ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] tL["Sets the relative point on the health bar to anchor the mana text"] = "设å®æ³åæ示æååºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] tL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] tL["X offset of the mana text"] = "设å®æ³åæ示æåçXè½´å移é" |
--[[ zhCN ]] tL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] tL["Y offset of the mana text"] = "设å®æ³åæ示æåçYè½´å移é" |
--[[ zhCN ]] tL["Alpha"] = "éæ度" |
--[[ zhCN ]] tL["Sets the alpha of the mana text"] = "设å®æ³åæ示æåçéæ度" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the mana text color"] = "设å®æ³åæ示æåçé¢è²" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["Percent"] = "ç¾åæ¯" |
--[[ zhCN ]] tL["Mana"] = "æ³å" |
--[[ zhCN ]] tL["Mana & Percent"] = "æ³åå¼åç¾åæ¯" |
--[[ zhCN ]] tL["Deficit"] = "ä¸è¶³é¢" |
--[[ zhCN ]] tL["Full"] = "å®å ¨" |
--[[ zhCN ]] tL["Always Show Target"] = "å§ç»æ¾ç¤ºç®æ " |
--[[ zhCN ]] tL["Always show mana text on active targets in combat"] = "ææä¸å§ç»æ¾ç¤ºå½åç®æ çæ³åæå" |
--[[ zhCN ]] tL["Advanced"] = "é«çº§" |
--[[ zhCN ]] tL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] tL["Format"] = "æ ¼å¼" |
--[[ zhCN ]] tL["Mana tag"] = "æ³åæ ç¾" |
--[[ zhCN ]] tL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["TOP"] = "ä¸" |
--[[ zhCN ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
--[[ zhCN ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] tL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftMana"] = "æ³åå¼" |
--[[ zhCN ]] mL["Display mana data, bars, and text on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºæ³åå¼æ°æ®åæ³åæ¡" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] bL["Mana Bar"] = "è½åæ¢" |
--[[ zhTW ]] bL["Mana Bar options"] = "è½åæ¢é¸é " |
--[[ zhTW ]] bL["Enable"] = "åç¨" |
--[[ zhTW ]] bL["Show mana bars on group member nameplates"] = "å¨åé«åç顯示è½åæ¢" |
--[[ zhTW ]] bL["Texture"] = "ç´ç" |
--[[ zhTW ]] bL["Sets the mana bar texture"] = "è½åæ¢ç´ç" |
--[[ zhTW ]] bL["Alpha"] = "éæ度" |
--[[ zhTW ]] bL["Sets the mana bar alpha"] = "è½åæ¢éæ度" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the mana bar"] = "è½åæ¢é«åº¦" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust the mana bar's position"] = "è½åæ¢ä½ç½®" |
--[[ zhTW ]] bL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the left of the mana bar"] = "è½åæ¢å·¦ä½ç§»" |
--[[ zhTW ]] bL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the right of the mana bar"] = "è½åæ¢å³ä½ç§»" |
--[[ zhTW ]] bL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] bL["Sets the vertical offset of the mana bar"] = "è½åæ¢åç´ä½ç§»" |
--[[ zhTW ]] bL["Colors"] = "é¡è²" |
--[[ zhTW ]] bL["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] bL["Backdrop Color"] = "èæ¯é¡è²" |
--[[ zhTW ]] bL["Sets the backdrop color of the mana bar"] = "è½åæ¢èæ¯é¡è²" |
--[[ zhTW ]] bL["Mana Color"] = "æ³åé¡è²" |
--[[ zhTW ]] bL["Sets the color for mana bars"] = "æ³åæ¢é¡è²" |
--[[ zhTW ]] bL["Rage Color"] = "ææ°£é¡è²" |
--[[ zhTW ]] bL["Sets the color for rage bars"] = "ææ°£æ¢é¡è²" |
--[[ zhTW ]] bL["Focus Color"] = "éä¸å¼é¡è²" |
--[[ zhTW ]] bL["Sets the color for focus bars"] = "éä¸å¼æ¢é¡è²" |
--[[ zhTW ]] bL["Energy Color"] = "è½éé¡è²" |
--[[ zhTW ]] bL["Sets the color for energy bars"] = "è½éæ¢é¡è²" |
--[[ zhTW ]] bL["Happiness Color"] = "å¿«æ¨å¼é¡è²" |
--[[ zhTW ]] bL["Sets the color for happiness bars"] = "å¿«æ¨å¼æ¢é¡è²" |
--[[ zhTW ]] bL["Rune Color"] = "Rune Color" |
--[[ zhTW ]] bL["Sets the color for rune bars"] = "Sets the color for rune bars" |
--[[ zhTW ]] bL["Runic Power Color"] = "Runic Power Color" |
--[[ zhTW ]] bL["Sets the color for runic power bars"] = "Sets the color for runic power bars" |
--[[ zhTW ]] bL["Reset to Defaults"] = "éè¨åé è¨å¼" |
--[[ zhTW ]] bL["Resets all colors to their defaults"] = "éè¨å ¨é¨é¡è²åé è¨å¼" |
--[[ zhTW ]] bL["Border"] = "Border" |
--[[ zhTW ]] bL["Border options"] = "Border options" |
--[[ zhTW ]] bL["Target Only"] = "Target Only" |
--[[ zhTW ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] bL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] bL["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] bL["Sets the border color of the mana bar"] = "Sets the border color of the mana bar" |
--[[ zhTW ]] bL["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Sets the style of the mana bar border"] = "Sets the style of the mana bar border" |
--[[ zhTW ]] --bL["Always Show Target"] = "å§çµé¡¯ç¤ºç®æ¨" |
--[[ zhTW ]] --bL["Always show mana bar on active targets in combat"] = "å¨æ°æä¸å§çµé¡¯ç¤ºç¶åç®æ¨çæ³å" |
--[[ zhTW ]] bL["Advanced"] = "é²é" |
--[[ zhTW ]] bL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] bL["Color Format"] = "é¡è²æ ¼å¼" |
--[[ zhTW ]] bL["Color tag"] = "é¡è²æ¨ç±¤" |
--[[ zhTW ]] bL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Mana Text"] = "æ³åæå" |
--[[ zhTW ]] tL["Mana text options"] = "æ³åæåé¸é " |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show mana text on group member nameplates"] = "å¨åé«åç顯示æ³åæå" |
--[[ zhTW ]] tL["Color by type"] = "æ ¹æé¡åä¸è²" |
--[[ zhTW ]] tL["Color text differently for mana, energy, rage"] = "æ ¹æä¸åé¡å (æ³åï¼è½éï¼ææ°£) è¨å®é¡è²" |
--[[ zhTW ]] tL["Typeface"] = "åé«" |
--[[ zhTW ]] tL["Mana text typeface options"] = "æ³åæååé«é¸é " |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for mana text"] = "æ³åæååå" |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the mana text"] = "æ³åæååå大å°" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on mana text"] = "æ³åæåååé°å½±" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the outline for mana text"] = "æ³åæååå輪å»" |
--[[ zhTW ]] tL["Mode"] = "模å¼" |
--[[ zhTW ]] tL["Choose what to show for mana text"] = "é¸æå¨æ³åæå顯示ä»éº¼" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust mana text position"] = "æ³åæåä½ç½®" |
--[[ zhTW ]] tL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] tL["Sets the anchor for the mana text"] = "æ³åæåå®ä½é»" |
--[[ zhTW ]] tL["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] tL["Sets the relative point on the health bar to anchor the mana text"] = "æ³åæååºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] tL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] tL["X offset of the mana text"] = "æ³åæåXä½ç§»" |
--[[ zhTW ]] tL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] tL["Y offset of the mana text"] = "æ³åæåYä½ç§»" |
--[[ zhTW ]] tL["Alpha"] = "éæ度" |
--[[ zhTW ]] tL["Sets the alpha of the mana text"] = "æ³åæåéæ度" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the mana text color"] = "æ³åæåé¡è²" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["Percent"] = "ç¾åæ¯" |
--[[ zhTW ]] tL["Mana"] = "æ³å" |
--[[ zhTW ]] tL["Mana & Percent"] = "æ³åå¼åç¾åæ¯" |
--[[ zhTW ]] tL["Deficit"] = "ä¸è¶³é¡" |
--[[ zhTW ]] tL["Full"] = "å®å ¨" |
--[[ zhTW ]] tL["Always Show Target"] = "å§çµé¡¯ç¤ºç®æ¨" |
--[[ zhTW ]] tL["Always show mana text on active targets in combat"] = "æ°æä¸å§çµé¡¯ç¤ºç¶åç®æ¨çæ³åæå" |
--[[ zhTW ]] tL["Advanced"] = "é²é" |
--[[ zhTW ]] tL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] tL["Format"] = "æ ¼å¼" |
--[[ zhTW ]] tL["Mana tag"] = "è½åæ¨ç±¤" |
--[[ zhTW ]] tL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] tL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["TOP"] = "ä¸" |
--[[ zhTW ]] tL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
--[[ zhTW ]] tL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] tL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] tL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftMana"] = "æ³åå¼" |
--[[ zhTW ]] mL["Display mana data, bars, and text on nameplates"] = "å¨åçä¸é¡¯ç¤ºæ³åå¼è³æåæ³åæ¢" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftMana", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftManaBarOptions = setmetatable(bL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
bL = nil |
AloftLocale.AloftManaTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftClassIcon |
if not L then return end |
local AloftClassIcon = Aloft:GetModule("ClassIcon") |
if not AloftClassIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.classIcon = |
{ |
type = 'group', |
name = L["Class Icon"], |
desc = L["Class icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassIcon:IsEnabled() or not AloftClassIcon.db or not AloftClassIcon.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable class icon display on the nameplate"], |
get = function(i) return AloftClassIcon.db.profile.enable end, |
set = function(i, v) AloftClassIcon.db.profile.enable = v AloftClassIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust class icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassIcon:IsEnabled() or not AloftClassIcon.db or not AloftClassIcon.db.profile or not AloftClassIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the class icon"], |
get = function(i) return AloftClassIcon.db.profile.point end, |
set = function(i, v) AloftClassIcon.db.profile.point = v AloftClassIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the class icon"], |
get = function(i) return AloftClassIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftClassIcon.db.profile.relativeToPoint = v AloftClassIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the class icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftClassIcon.db.profile.offsetX end, |
set = function(i, v) AloftClassIcon.db.profile.offsetX = v AloftClassIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the class icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftClassIcon.db.profile.offsetY end, |
set = function(i, v) AloftClassIcon.db.profile.offsetY = v AloftClassIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the class icon"], |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.size end, |
set = function(i, v) AloftClassIcon.db.profile.size = v AloftClassIcon:UpdateAll() end |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the class icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.alpha end, |
set = function(i, v) AloftClassIcon.db.profile.alpha = v AloftClassIcon:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
-- TODO: on the surface, this wastes space in the enUS locale; the metatable could just return the canonical string as the localization; |
-- BUT, this serves as a default locale, and also will permit the metatable to check/notify on missing locale strings |
--[[ enUS ]] L["Class Icon"] = "Class Icon" |
--[[ enUS ]] L["Class icon placement options"] = "Class icon placement options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable class icon display on the nameplate"] = "Enable class icon display on the nameplate" |
--[[ enUS ]] L["Size"] = "Size" |
--[[ enUS ]] L["Size in pixels of the class icon"] = "Size in pixels of the class icon" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust class icon position"] = "Adjust class icon position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the class icon"] = "X offset of the class icon" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the class icon"] = "Y offset of the class icon" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the class icon"] = "Sets the anchor for the class icon" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the class icon"] = "Sets the relative point on the health bar to anchor the class icon" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the class icon alpha"] = "Sets the class icon alpha" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
--[[ enUS ]] mL["AloftClassIcon"] = "AloftClassIcon" |
--[[ enUS ]] mL["Display class icons on nameplates"] = "Display class icons on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Class Icon"] = "Class Icon" |
--[[ koKR ]] L["Class icon placement options"] = "Class icon placement options" |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable class icon display on the nameplate"] = "Enable class icon display on the nameplate" |
--[[ koKR ]] L["Size"] = "í¬ê¸°" |
--[[ koKR ]] L["Size in pixels of the class icon"] = "Size in pixels of the class icon" |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust class icon position"] = "Adjust class icon position" |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the class icon"] = "X offset of the class icon" |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the class icon"] = "Y offset of the class icon" |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the class icon"] = "Sets the anchor for the class icon" |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the class icon"] = "Sets the relative point on the health bar to anchor the class icon" |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the class icon alpha"] = "Sets the class icon alpha" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
end) |
--[[ koKR ]] mL["AloftClassIcon"] = "AloftClassIcon" |
--[[ koKR ]] mL["Display class icons on nameplates"] = "Display class icons on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Class Icon"] = "ÐнаÑок клаÑÑа" |
--[[ ruRU ]] L["Class icon placement options"] = "ÐаÑÑÑойка ÑазмеÑÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка клаÑÑа" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable class icon display on the nameplate"] = "ÐклÑÑиÑÑ Ð¾ÑобÑажение знаÑка клаÑÑа на ÑаблиÑке" |
--[[ ruRU ]] L["Size"] = "РазмеÑ" |
--[[ ruRU ]] L["Size in pixels of the class icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ð·Ð½Ð°Ñка клаÑÑа в пикÑелÑÑ " |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust class icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо знаÑка клаÑÑа" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the class icon"] = "СмеÑение знаÑка клаÑÑа по X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the class icon"] = "СмеÑение знаÑка клаÑÑа по Y" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the class icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление знаÑка клаÑÑа" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the class icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка клаÑÑа оÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the class icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð·Ð½Ð°Ñка клаÑÑа" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
--[[ ruRU ]] mL["AloftClassIcon"] = "AloftClassIcon" |
--[[ ruRU ]] mL["Display class icons on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð¸ÐºÐ¾Ð½ÐºÑ ÐºÐ»Ð°ÑÑа на ÑаблиÑке" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Class Icon"] = "èä¸å¾æ " |
--[[ zhCN ]] L["Class icon placement options"] = "èä¸å¾æ ä½ç½®é项" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable class icon display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºèä¸å¾æ " |
--[[ zhCN ]] L["Size"] = "尺寸" |
--[[ zhCN ]] L["Size in pixels of the class icon"] = "èä¸å¾æ ç大å°ï¼åä½ä¸ºåç´ ï¼" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust class icon position"] = "èä¸å¾æ ä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the class icon"] = "èä¸å¾æ 横轴å移" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the class icon"] = "èä¸å¾æ 纵轴å移" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the class icon"] = "èä¸å¾æ éç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the class icon"] = "设置èä¸å¾æ è¦ä¾éå°çå½æ¡çåªä¸ªä½ç½®" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the class icon alpha"] = "设置èä¸å¾æ éæ度" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
--[[ zhCN ]] mL["AloftClassIcon"] = "èä¸å¾æ " |
--[[ zhCN ]] mL["Display class icons on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºèä¸å¾æ " |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Class Icon"] = "è·æ¥å示" |
--[[ zhTW ]] L["Class icon placement options"] = "è·æ¥å示ä½ç½®é¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable class icon display on the nameplate"] = "å¨å§åæ¿ä¸é¡¯ç¤ºè·æ¥å示" |
--[[ zhTW ]] L["Size"] = "尺寸" |
--[[ zhTW ]] L["Size in pixels of the class icon"] = "è·æ¥å示ç大å°ï¼å®ä½çºåå ï¼" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust class icon position"] = "è·æ¥å示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "X軸å移" |
--[[ zhTW ]] L["X offset of the class icon"] = "è·æ¥å示橫軸å移" |
--[[ zhTW ]] L["Y Offset"] = "Y軸å移" |
--[[ zhTW ]] L["Y offset of the class icon"] = "è·æ¥å示縱軸å移" |
--[[ zhTW ]] L["Anchor"] = "é¨é»" |
--[[ zhTW ]] L["Sets the anchor for the class icon"] = "è·æ¥å示é¨é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the class icon"] = "è¨ç½®è·æ¥å示è¦ä¾éå°çå½æ¢çåªåä½ç½®" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the class icon alpha"] = "è¨ç½®è·æ¥å示éæ度" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
--[[ zhTW ]] mL["AloftClassIcon"] = "è·æ¥å示" |
--[[ zhTW ]] mL["Display class icons on nameplates"] = "å¨åçä¸é¡¯ç¤ºè·æ¥å示" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftClassIcon", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftClassIcon = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftClassIcon = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftClassIcon"], |
desc = L["Display class icons on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftClassIcon end, |
set = function(i, v) AloftModules.db.profile.AloftClassIcon = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftIsPetDataOptions |
if not L then return end |
local AloftIsPetData = Aloft:GetModule("IsPetData") |
if not AloftIsPetData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.pet = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Pet Data"], |
desc = L["Stores pet information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftIsPetData:IsEnabled() or not AloftIsPetData.db or not AloftIsPetData.db.profile end, |
get = function(i) return AloftIsPetData.db.profile.save end, |
set = AloftIsPetData.SetSaveData |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Save Pet Data"] = "Save Pet Data" |
--[[ enUS ]] L["Stores pet information between sessions"] = "Stores pet information between sessions" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Save Pet Data"] = "ìíì ë°ì´í° ì ì¥" |
--[[ koKR ]] L["Stores pet information between sessions"] = "ì ì ê° ìíì ì 보를 ì ì¥í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Save Pet Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о пиÑомÑÐ°Ñ " |
--[[ ruRU ]] L["Stores pet information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о пиÑомÑÐ°Ñ Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Save Pet Data"] = "å¨åå® ç©ä¿¡æ¯" |
--[[ zhCN ]] L["Stores pet information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éå¨åå® ç©ä¿¡æ¯" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Save Pet Data"] = "å²å寵ç©è³æ" |
--[[ zhTW ]] L["Stores pet information between sessions"] = "å²å寵ç©è³æ" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftIsPetDataOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
## Interface: 40100 |
## Version: 4.3.2 |
## Title: AloftOptions (Ace3) |
## Notes: Options for Aloft |
## Notes-deDE: Need translation, seeking volunteers |
## Notes-esES: Need translation, seeking volunteers |
## Notes-frFR: Need translation, seeking volunteers |
## Notes-koKR: Need translation, seeking volunteers |
## Notes-ruRU: Need translation, seeking volunteers |
## Notes-zhTW: Need translation, seeking volunteers |
## Notes-zhCN: Need translation, seeking volunteers |
## Author: Acapela (legacy: Roartindon\Silvermoon) |
## LoadOnDemand: 1 |
## Dependencies: Aloft |
## OptionalDeps: Ace3, LibStub, LibSharedMedia-3.0 |
## X-Category: Interface Enhancements |
## X-Embeds: |
## SavedVariables: |
## X-License: LGPL v2.1 or later |
## |
Aloft\AloftLocale.lua |
Aloft\Aloft.lua |
Aloft\AloftOptions.lua |
## AloftModules is included out of alphabetic order because several other things depend on it |
AloftModules\AloftModulesLocale.lua |
AloftModules\AloftModulesOptions.lua |
## NOTE: AloftTargetTrackingData is included out of alphabetic order because several other things depend on it |
AloftTargetTrackingData\AloftTargetTrackingDataLocale.lua |
AloftTargetTrackingData\AloftTargetTrackingDataOptions.lua |
## |
AloftAliasData\AloftAliasDataLocale.lua |
AloftAliasData\AloftAliasDataOptions.lua |
## |
AloftAlpha\AloftAlphaLocale.lua |
AloftAlpha\AloftAlphaModuleOptions.lua |
AloftAlpha\AloftAlphaOptions.lua |
## |
AloftAutoShow\AloftAutoShowLocale.lua |
AloftAutoShow\AloftAutoShowModuleOptions.lua |
AloftAutoShow\AloftAutoShowOptions.lua |
## |
AloftBossIcon\AloftBossIconLocale.lua |
AloftBossIcon\AloftBossIconOptions.lua |
## |
AloftBroker\AloftBrokerLocale.lua |
AloftBroker\AloftBrokerModuleOptions.lua |
## |
AloftCastBar\AloftCastBarLocale.lua |
AloftCastBar\AloftCastBarOptions.lua |
AloftCastBar\AloftSpellIconOptions.lua |
AloftCastBar\AloftCastBarTimeTextModuleOptions.lua |
AloftCastBar\AloftCastBarTimeTextOptions.lua |
AloftCastBar\AloftSpellNameTextModuleOptions.lua |
AloftCastBar\AloftSpellNameTextOptions.lua |
## |
AloftClassData\AloftClassDataLocale.lua |
AloftClassData\AloftClassDataOptions.lua |
## |
AloftClassIcon\AloftClassIconLocale.lua |
AloftClassIcon\AloftClassIconModuleOptions.lua |
AloftClassIcon\AloftClassIconOptions.lua |
## |
AloftClassificationData\AloftClassificationDataLocale.lua |
AloftClassificationData\AloftClassificationDataOptions.lua |
## |
AloftCombatText\AloftCombatTextLocale.lua |
AloftCombatText\AloftCombatTextModuleOptions.lua |
AloftCombatText\AloftCombatTextOptions.lua |
## |
AloftComment\AloftCommentLocale.lua |
AloftComment\AloftCommentModuleOptions.lua |
AloftComment\AloftCommentDataOptions.lua |
AloftComment\AloftCommentTextOptions.lua |
## |
AloftCreatureTypeData\AloftCreatureTypeDataLocale.lua |
AloftCreatureTypeData\AloftCreatureTypeDataOptions.lua |
## |
AloftCrowdControl\AloftCrowdControlLocale.lua |
AloftCrowdControl\AloftCrowdControlModuleOptions.lua |
AloftCrowdControl\AloftCrowdControlOptions.lua |
AloftCrowdControl\AloftCrowdControlSpellIconOptions.lua |
AloftCrowdControl\AloftCrowdControlSpellNameTextOptions.lua |
AloftCrowdControl\AloftCrowdControlTimeTextOptions.lua |
## |
AloftFaction\AloftFactionLocale.lua |
AloftFaction\AloftFactionModuleOptions.lua |
AloftFaction\AloftFactionDataOptions.lua |
## |
AloftFrame\AloftFrameLocale.lua |
AloftFrame\AloftFrameOptions.lua |
## |
AloftFu\AloftFuLocale.lua |
AloftFu\AloftFuModuleOptions.lua |
## |
AloftGuild\AloftGuildLocale.lua |
AloftGuild\AloftGuildModuleOptions.lua |
AloftGuild\AloftGuildDataOptions.lua |
AloftGuild\AloftGuildTextOptions.lua |
AloftGuild\AloftShortGuildDataOptions.lua |
## |
AloftHealthBar\AloftHealthBarLocale.lua |
AloftHealthBar\AloftHealthBarOptions.lua |
## NOTE: AloftGlow is included out of alphabetic order because it is dependent on AloftHealthBar |
## NOTE: AloftThreat now depends on SharedMedia textures registered by AloftGlow; make sure AloftThreat always loads after AloftGlow |
AloftGlow\AloftGlowLocale.lua |
AloftGlow\AloftGlowOptions.lua |
## |
AloftHealthText\AloftHealthTextLocale.lua |
AloftHealthText\AloftHealthTextModuleOptions.lua |
AloftHealthText\AloftHealthTextOptions.lua |
## |
AloftHighlight\AloftHighlightLocale.lua |
AloftHighlight\AloftHighlightOptions.lua |
## |
AloftIsPetData\AloftIsPetDataLocale.lua |
AloftIsPetData\AloftIsPetDataOptions.lua |
## |
AloftLevelText\AloftLevelTextLocale.lua |
AloftLevelText\AloftLevelTextOptions.lua |
## |
AloftMana\AloftManaLocale.lua |
AloftMana\AloftManaModuleOptions.lua |
AloftMana\AloftManaBarOptions.lua |
AloftMana\AloftManaTextOptions.lua |
## |
AloftNameText\AloftNameTextLocale.lua |
AloftNameText\AloftNameTextOptions.lua |
## |
AloftPetOwnersNameData\AloftPetOwnersNameDataLocale.lua |
AloftPetOwnersNameData\AloftPetOwnersNameDataModuleOptions.lua |
AloftPetOwnersNameData\AloftPetOwnersNameDataOptions.lua |
## |
AloftPlayerTitleData\AloftPlayerTitleDataLocale.lua |
AloftPlayerTitleData\AloftPlayerTitleDataModuleOptions.lua |
AloftPlayerTitleData\AloftPlayerTitleDataOptions.lua |
## |
AloftPresets\AloftPresetsLocale.lua |
AloftPresets\AloftPresetsModuleOptions.lua |
AloftPresets\AloftPresetsOptions.lua |
## |
AloftRaceData\AloftRaceDataLocale.lua |
AloftRaceData\AloftRaceDataOptions.lua |
## |
AloftRaidIcon\AloftRaidIconLocale.lua |
AloftRaidIcon\AloftRaidIconOptions.lua |
## |
AloftRecentlyDamaged\AloftRecentlyDamagedLocale.lua |
AloftRecentlyDamaged\AloftRecentlyDamagedModuleOptions.lua |
AloftRecentlyDamaged\AloftRecentlyDamagedIconOptions.lua |
## |
AloftReportStatusChanges\AloftReportStatusChangesLocale.lua |
AloftReportStatusChanges\AloftReportStatusChangesOptions.lua |
## |
AloftSetAll\AloftSetAllLocale.lua |
AloftSetAll\AloftSetAll.lua |
## |
AloftStackedPointsText\AloftStackedPointsTextLocale.lua |
AloftStackedPointsText\AloftStackedPointsTextModuleOptions.lua |
AloftStackedPointsText\AloftStackedPointsTextOptions.lua |
## |
AloftStateIcon\AloftStateIconLocale.lua |
AloftStateIcon\AloftStateIconOptions.lua |
## |
AloftTarget\AloftTargetLocale.lua |
AloftTarget\AloftTargetModuleOptions.lua |
AloftTarget\AloftTargetNameDataOptions.lua |
## NOTE: AloftThreat now depends on SharedMedia textures registered by AloftGlow; make sure AloftThreat always loads after AloftGlow |
AloftThreat\AloftThreatLocale.lua |
AloftThreat\AloftThreatModuleOptions.lua |
AloftThreat\AloftThreatDataOptions.lua |
AloftThreat\AloftThreatBarOptions.lua |
AloftThreat\AloftThreatTextOptions.lua |
## |
AloftVisibility\AloftVisibilityLocale.lua |
AloftVisibility\AloftVisibilityModuleOptions.lua |
AloftVisibility\AloftVisibilityOptions.lua |
## NOTE: AloftCastWarning depends on several things, including AloftCastBar and AloftVisibility; load AloftCastWarning last |
AloftCastWarning\AloftCastWarningLocale.lua |
AloftCastWarning\AloftCastWarningModuleOptions.lua |
AloftCastWarning\AloftCastWarningOptions.lua |
AloftCastWarning\AloftCastWarningSpellIconOptions.lua |
AloftCastWarning\AloftCastWarningTimeTextOptions.lua |
AloftCastWarning\AloftCastWarningSpellNameTextOptions.lua |
## |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
----------------------------------------------------------------------------- |
local bL = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] bL["Cast Bar"] = "Cast Bar" |
--[[ enUS ]] bL["Cast bar options"] = "Cast bar options" |
--[[ enUS ]] bL["Enable"] = "Enable" |
--[[ enUS ]] bL["Shows the current target's casting bar"] = "Shows the current target's casting bar" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust cast bar position"] = "Adjust cast bar position" |
--[[ enUS ]] bL["Left Offset"] = "Left Offset" |
--[[ enUS ]] bL["Sets the offset of the left of the cast bar"] = "Sets the offset of the left of the cast bar" |
--[[ enUS ]] bL["Right Offset"] = "Right Offset" |
--[[ enUS ]] bL["Sets the offset of the right of the cast bar"] = "Sets the offset of the right of the cast bar" |
--[[ enUS ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] bL["Sets the vertical offset of the cast bar"] = "Sets the vertical offset of the cast bar" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the cast bar"] = "Sets the height of the cast bar" |
--[[ enUS ]] bL["Interruptable Cast Bar"] = "Interruptable Cast Bar" |
--[[ enUS ]] bL["Cast bar appearance for interruptable spells"] = "Cast bar appearance for interruptable spells" |
--[[ enUS ]] bL["Uninterruptable Cast Bar"] = "Uninterruptable Cast Bar" |
--[[ enUS ]] bL["Cast bar appearance for uninterruptable spells"] = "Cast bar appearance for uninterruptable spells" |
--[[ enUS ]] bL["Cast Bar Color"] = "Cast Bar Color" |
--[[ enUS ]] bL["Sets the color of the cast bar"] = "Sets the color of the cast bar" |
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] bL["Sets the backdrop color of the cast bar"] = "Sets the backdrop color of the cast bar" |
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] bL["Border Inset"] = "Border Inset" |
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] bL["Border Color"] = "Border Color" |
--[[ enUS ]] bL["Sets the border color of the cast bar"] = "Sets the border color of the cast bar" |
--[[ enUS ]] bL["Border Style"] = "Border Style" |
--[[ enUS ]] bL["Sets the style of the cast bar border"] = "Sets the style of the cast bar border" |
--[[ enUS ]] bL["Texture"] = "Texture" |
--[[ enUS ]] bL["Sets the cast bar texture"] = "Sets the cast bar texture" |
----------------------------------------------------------------------------- |
local iL = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] iL["Spell Icon"] = "Spell Icon" |
--[[ enUS ]] iL["Spell icon placement options"] = "Spell icon placement options" |
--[[ enUS ]] iL["Enable"] = "Enable" |
--[[ enUS ]] iL["Enable spell icon display on the nameplate"] = "Enable spell icon display on the nameplate" |
--[[ enUS ]] iL["Position"] = "Position" |
--[[ enUS ]] iL["Adjust spell icon position"] = "Adjust spell icon position" |
--[[ enUS ]] iL["Anchor"] = "Anchor" |
--[[ enUS ]] iL["Sets the anchor for the spell icon"] = "Sets the anchor for the spell icon" |
--[[ enUS ]] iL["Anchor To"] = "Anchor To" |
--[[ enUS ]] iL["Sets the relative point on the cast bar to anchor the spell icon"] = "Sets the relative point on the cast bar to anchor the spell icon" |
--[[ enUS ]] iL["Size"] = "Size" |
--[[ enUS ]] iL["Size in pixels of the spell icon"] = "Size in pixels of the spell icon" |
--[[ enUS ]] iL["X Offset"] = "X Offset" |
--[[ enUS ]] iL["X offset of the spell icon"] = "X offset of the spell icon" |
--[[ enUS ]] iL["Y Offset"] = "Y Offset" |
--[[ enUS ]] iL["Y offset of the spell icon"] = "Y offset of the spell icon" |
--[[ enUS ]] iL["Shield"] = "Shield" |
--[[ enUS ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ enUS ]] iL["Enable"] = "Enable" |
--[[ enUS ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ enUS ]] iL["Style"] = "Style" |
--[[ enUS ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ enUS ]] iL["Scale"] = "Scale" |
--[[ enUS ]] iL["Scale of the shield graphic"] = "Scale of the shield graphic" |
--[[ enUS ]] iL["Color"] = "Color" |
--[[ enUS ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ enUS ]] iL["X Offset"] = "X Offset" |
--[[ enUS ]] iL["Y Offset"] = "Y Offset" |
--[[ enUS ]] iL["SQUARE"] = "SQUARE" |
--[[ enUS ]] iL["ROUND"] = "ROUND" |
--[[ enUS ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] iL["TOP"] = "TOP" |
--[[ enUS ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] iL["LEFT"] = "LEFT" |
--[[ enUS ]] iL["CENTER"] = "CENTER" |
--[[ enUS ]] iL["RIGHT"] = "RIGHT" |
--[[ enUS ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] iL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
local nL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] nL["Spell Name"] = "Spell Name" |
--[[ enUS ]] nL["Cast bar spell name text options"] = "Cast bar spell name text options" |
--[[ enUS ]] nL["Enable"] = "Enable" |
--[[ enUS ]] nL["Show spell name on cast bar"] = "Show spell name on cast bar" |
--[[ enUS ]] nL["Typeface"] = "Typeface" |
--[[ enUS ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ enUS ]] nL["Font"] = "Font" |
--[[ enUS ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ enUS ]] nL["Font Size"] = "Font Size" |
--[[ enUS ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ enUS ]] nL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ enUS ]] nL["Alignment"] = "Alignment" |
--[[ enUS ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ enUS ]] nL["Outline"] = "Outline" |
--[[ enUS ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ enUS ]] nL["Position"] = "Position" |
--[[ enUS ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ enUS ]] nL["Left Offset"] = "Left Offset" |
--[[ enUS ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] nL["Right Offset"] = "Right Offset" |
--[[ enUS ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] nL["Color"] = "Color" |
--[[ enUS ]] nL["Sets the spell name color"] = "Sets the spell name color" |
--[[ enUS ]] nL["None"] = "None" |
--[[ enUS ]] nL["Normal"] = "Normal" |
--[[ enUS ]] nL["Thick"] = "Thick" |
--[[ enUS ]] nL["LEFT"] = "LEFT" |
--[[ enUS ]] nL["CENTER"] = "CENTER" |
--[[ enUS ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastBarSpellNameText"] = "AloftCastBarSpellNameText" |
--[[ enUS ]] mL["Display spell name on cast bar"] = "Display spell name on cast bar" |
----------------------------------------------------------------------------- |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Time Text"] = "Time Text" |
--[[ enUS ]] tL["Cast bar time text options"] = "Cast bar time text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show cast bar time text"] = "Show cast bar time text" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Cast bar time text typeface options"] = "Cast bar time text typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for cast bar time text"] = "Sets the font for cast bar time text" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the cast bar time text"] = "Sets the font height of the cast bar time text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on cast bar time text"] = "Show font shadow on cast bar time text" |
--[[ enUS ]] tL["Alignment"] = "Alignment" |
--[[ enUS ]] tL["Sets the alignment of the cast bar time text"] = "Sets the alignment of the cast bar time text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the font outline for cast bar time text"] = "Sets the font outline for cast bar time text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust cast bar time text position"] = "Adjust cast bar time text position" |
--[[ enUS ]] tL["Left Offset"] = "Left Offset" |
--[[ enUS ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] tL["Right Offset"] = "Right Offset" |
--[[ enUS ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the cast bar time text color"] = "Sets the cast bar time text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastBarTimeText"] = "AloftCastBarTimeText" |
--[[ enUS ]] mL["Display cast bar time text"] = "Display cast bar time text" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] bL["Cast Bar"] = "ìì ë°" |
--[[ koKR ]] bL["Cast bar options"] = "ìì ë° ì¤ì " |
--[[ koKR ]] bL["Enable"] = "ì¬ì©" |
--[[ koKR ]] bL["Shows the current target's casting bar"] = "íì¬ ëìì ìì ë°ë¥¼ íìí©ëë¤." |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust cast bar position"] = "ìì ë° ìì¹ ì¡°ì " |
--[[ koKR ]] bL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the left of the cast bar"] = "ìì ë°ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the right of the cast bar"] = "ìì ë°ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] bL["Sets the vertical offset of the cast bar"] = "ìì ë°ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the cast bar"] = "ìì ë°ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Interruptable Cast Bar"] = "Interruptable Cast Bar" |
--[[ koKR ]] bL["Cast bar appearance for interruptable spells"] = "Cast bar appearance for interruptable spells" |
--[[ koKR ]] bL["Uninterruptable Cast Bar"] = "Uninterruptable Cast Bar" |
--[[ koKR ]] bL["Cast bar appearance for uninterruptable spells"] = "Cast bar appearance for uninterruptable spells" |
--[[ koKR ]] bL["Cast Bar Color"] = "Cast Bar Color" |
--[[ koKR ]] bL["Sets the color of the cast bar"] = "Sets the color of the cast bar" |
--[[ koKR ]] bL["Backdrop Color"] = "ë°°ê²½ ìì" |
--[[ koKR ]] bL["Sets the backdrop color of the cast bar"] = "ìì ë°ì ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] bL["Border Inset"] = "Border Inset" |
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] bL["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] bL["Sets the border color of the cast bar"] = "Sets the border color of the cast bar" |
--[[ koKR ]] bL["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] bL["Sets the style of the cast bar border"] = "Sets the style of the cast bar border" |
--[[ koKR ]] bL["Texture"] = "í ì¤ì³" |
--[[ koKR ]] bL["Sets the cast bar texture"] = "ìì ë°ì í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
----------------------------------------------------------------------------- |
--[[ koKR ]] iL["Spell Icon"] = "주문 ìì´ì½" |
--[[ koKR ]] iL["Spell icon placement options"] = "주문 ìì´ì½ ë°°ì¹ ì¤ì " |
--[[ koKR ]] iL["Enable"] = "ì¬ì©" |
--[[ koKR ]] iL["Enable spell icon display on the nameplate"] = "ì´ë¦íì 주문 ìì´ì½ì íìí©ëë¤." |
--[[ koKR ]] iL["Position"] = "ìì¹" |
--[[ koKR ]] iL["Adjust spell icon position"] = "주문 ìì´ì½ ìì¹ ì¡°ì " |
--[[ koKR ]] iL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] iL["Sets the anchor for the spell icon"] = "주문 ìì´ì½ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] iL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] iL["Sets the relative point on the cast bar to anchor the spell icon"] = "ìì ë°ìì 주문 ìì´ì½ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] iL["Size"] = "í¬ê¸°" |
--[[ koKR ]] iL["Size in pixels of the spell icon"] = "주문 ìì´ì½ì í¬ê¸°ì ëë¤." |
--[[ koKR ]] iL["X Offset"] = "X ì¢í" |
--[[ koKR ]] iL["X offset of the spell icon"] = "주문 ìì´ì½ì X ì¢í ì ëë¤." |
--[[ koKR ]] iL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] iL["Y offset of the spell icon"] = "주문 ìì´ì½ì Y ì¢í ì ëë¤." |
--[[ koKR ]] iL["Shield"] = "Shield" |
--[[ koKR ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ koKR ]] iL["Enable"] = "Enable" |
--[[ koKR ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ koKR ]] iL["Style"] = "Style" |
--[[ koKR ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ koKR ]] iL["Scale"] = "Scale" |
--[[ koKR ]] iL["Scale of the shield graphic"] = "Scale of the shield graphic" |
--[[ koKR ]] iL["Color"] = "Color" |
--[[ koKR ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ koKR ]] iL["X Offset"] = "X ì¢í" |
--[[ koKR ]] iL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] iL["SQUARE"] = "SQUARE" |
--[[ koKR ]] iL["ROUND"] = "ROUND" |
--[[ koKR ]] iL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] iL["TOP"] = "ìë¨" |
--[[ koKR ]] iL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] iL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] iL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] iL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] iL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] iL["BOTTOM"] = "íë¨" |
--[[ koKR ]] iL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] nL["Spell Name"] = "ì£¼ë¬¸ëª " |
--[[ koKR ]] nL["Cast bar spell name text options"] = "ìì ë° ì£¼ë¬¸ëª ê¸ì ì¤ì " |
--[[ koKR ]] nL["Enable"] = "ì¬ì©" |
--[[ koKR ]] nL["Show spell name on cast bar"] = "ìì ë°ì ì£¼ë¬¸ëª ì íìí©ëë¤." |
--[[ koKR ]] nL["Typeface"] = "ìì²´" |
--[[ koKR ]] nL["Spell name typeface options"] = "ì£¼ë¬¸ëª ìì²´ ì¤ì " |
--[[ koKR ]] nL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] nL["Sets the font for spell name"] = "ì£¼ë¬¸ëª ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] nL["Sets the font height of the spell name"] = "ì£¼ë¬¸ëª ê¸ìì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] nL["Show font shadow on spell name"] = "ì£¼ë¬¸ëª ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] nL["Alignment"] = "ì ë ¬" |
--[[ koKR ]] nL["Sets the alignment of the spell name"] = "ì£¼ë¬¸ëª ì ì ë ¬ì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Outline"] = "í ë리" |
--[[ koKR ]] nL["Sets the font outline for spell name"] = "ì£¼ë¬¸ëª ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Position"] = "ìì¹" |
--[[ koKR ]] nL["Adjust spell name position"] = "ì£¼ë¬¸ëª ìì¹ ì¡°ì " |
--[[ koKR ]] nL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] nL["Sets the offset of the left of the text"] = "ê¸ìì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] nL["Sets the offset of the right of the text"] = "ê¸ìì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] nL["Sets the vertical offset of the text"] = "ê¸ìì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Color"] = "ìì" |
--[[ koKR ]] nL["Sets the spell name color"] = "ì£¼ë¬¸ëª ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["None"] = "ìì" |
--[[ koKR ]] nL["Normal"] = "기본" |
--[[ koKR ]] nL["Thick"] = "êµµê²" |
--[[ koKR ]] nL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] nL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] nL["RIGHT"] = "ì°ì¸¡" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastBarSpellNameText"] = "AloftCastBarSpellNameText" |
--[[ koKR ]] mL["Display spell name on cast bar"] = "Display spell name on cast bar" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Time Text"] = "ìì ìê°" |
--[[ koKR ]] tL["Cast bar time text options"] = "ìì ìê° ì¤ì " |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show cast bar time text"] = "ìì ë°ì ìê°ì íìí©ëë¤." |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Cast bar time text typeface options"] = "ìì ìê° ìì²´ ì¤ì " |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for cast bar time text"] = "ìì ìê°ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the cast bar time text"] = "ìì ìê°ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on cast bar time text"] = "ìì ìê°ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] tL["Alignment"] = "ì ë ¬" |
--[[ koKR ]] tL["Sets the alignment of the cast bar time text"] = "ìì ìê°ì ì ë ¬ì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the font outline for cast bar time text"] = "ìì ìê°ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust cast bar time text position"] = "ìì ìê° ìì¹ ì¡°ì " |
--[[ koKR ]] tL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] tL["Sets the offset of the left of the text"] = "ìì ìê°ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] tL["Sets the offset of the right of the text"] = "ìì ìê°ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] tL["Sets the vertical offset of the text"] = "ìì ìê°ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the cast bar time text color"] = "ìì ìê°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "기본" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastBarTimeText"] = "AloftCastBarTimeText" |
--[[ koKR ]] mL["Display cast bar time text"] = "Display cast bar time text" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] bL["Cast Bar"] = "ÐолоÑка каÑÑа" |
--[[ ruRU ]] bL["Cast bar options"] = "ÐаÑÑÑойки полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] bL["Shows the current target's casting bar"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÐºÐ°ÑÑ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust cast bar position"] = "ÐадаÑÑ Ð¼ÐµÑÑо полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Left Offset"] = "СмеÑение влева" |
--[[ ruRU ]] bL["Sets the offset of the left of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение левого конÑа полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Right Offset"] = "СмеÑение впÑава" |
--[[ ruRU ]] bL["Sets the offset of the right of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение пÑавого конÑа полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] bL["Sets the vertical offset of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÐµÑÑикалÑное ÑмеÑение полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð¿Ð¾Ð»Ð¾Ñки заклинаниÑ" |
--[[ ruRU ]] bL["Interruptable Cast Bar"] = "ÐÑеÑÑваемÑе заклинаниÑ" |
--[[ ruRU ]] bL["Cast bar appearance for interruptable spells"] = "ÐÑобÑажение полоÑÑ Ð¿Ñименений Ð´Ð»Ñ Ð¿ÑеÑÑваемÑÑ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ð¹" |
--[[ ruRU ]] bL["Uninterruptable Cast Bar"] = "ÐепÑеÑÑÐ²Ð°ÐµÐ¼Ð°Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] bL["Cast bar appearance for uninterruptable spells"] = "ÐÑобÑажение полоÑÑ Ð¿Ñименений Ð´Ð»Ñ Ð½ÐµÐ¿ÑеÑÑваемÑÑ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ð¹" |
--[[ ruRU ]] bL["Cast Bar Color"] = "Ð¦Ð²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки заклинаниÑ" |
--[[ ruRU ]] bL["Sets the color of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки заклинаниÑ" |
--[[ ruRU ]] bL["Backdrop Color"] = "Ð¦Ð²ÐµÑ Ñени" |
--[[ ruRU ]] bL["Sets the backdrop color of the cast bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñени полоÑки заклинаниÑ" |
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] bL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] bL["Border Color"] = "Ð¦Ð²ÐµÑ Ñамки" |
--[[ ruRU ]] bL["Sets the border color of the cast bar"] = "УÑÑановка ÑвеÑа кÑаев полоÑÑ Ð¿ÑименениÑ" |
--[[ ruRU ]] bL["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] bL["Sets the style of the cast bar border"] = "УÑÑановка ÑÑÐ¸Ð»Ñ ÐºÑаев полоÑÑ Ð¿ÑименениÑ" |
--[[ ruRU ]] bL["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] bL["Sets the cast bar texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки заклинаниÑ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] iL["Spell Icon"] = "ÐнаÑок заклинаниÑ" |
--[[ ruRU ]] iL["Spell icon placement options"] = "ÐаÑÑÑойки Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка заклинаниÑ" |
--[[ ruRU ]] iL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] iL["Enable spell icon display on the nameplate"] = "ÐклÑÑиÑÑ Ð¾ÑобÑажение знаÑка Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð½Ð° ÑаблиÑке" |
--[[ ruRU ]] iL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] iL["Adjust spell icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо иконки заклинаниÑ" |
--[[ ruRU ]] iL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] iL["Sets the anchor for the spell icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление знаÑка заклинаниÑ" |
--[[ ruRU ]] iL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] iL["Sets the relative point on the cast bar to anchor the spell icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð¾ÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] iL["Size"] = "РазмеÑ" |
--[[ ruRU ]] iL["Size in pixels of the spell icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ð·Ð½Ð°Ñка Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð² пикÑелÑÑ " |
--[[ ruRU ]] iL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] iL["X offset of the spell icon"] = "СмеÑение знаÑка Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] iL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] iL["Y offset of the spell icon"] = "СмеÑение знаÑка Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] iL["Shield"] = "ЩиÑ" |
--[[ ruRU ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "ÐоказÑваÑÑ Ð³ÑаÑÐ¸ÐºÑ ÑиÑа около иконки непÑеÑÑваемой ÑпоÑобноÑÑи" |
--[[ ruRU ]] iL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] iL["Enables the shield graphic"] = "ÐклÑÑиÑÑ ÑиÑÑнок ÑиÑа" |
--[[ ruRU ]] iL["Style"] = "СÑилÑ" |
--[[ ruRU ]] iL["Sets the shield graphic style"] = "УÑÑановка ÑÑÐ¸Ð»Ñ ÑиÑÑнка ÑиÑа" |
--[[ ruRU ]] iL["Scale"] = "Scale" |
--[[ ruRU ]] iL["Scale of the shield graphic"] = "Scale of the shield graphic" |
--[[ ruRU ]] iL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] iL["Sets the shield graphic color"] = "УÑÑановка ÑвеÑа ÑиÑÑнка ÑиÑа" |
--[[ ruRU ]] iL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] iL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] iL["SQUARE"] = "ÐÐÐÐÐ ÐТ" |
--[[ ruRU ]] iL["ROUND"] = "ÐРУÐÐЫÐ" |
--[[ ruRU ]] iL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] iL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] iL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] iL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] iL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] iL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] iL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] iL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] iL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] nL["Spell Name"] = "ÐÐ¼Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Cast bar spell name text options"] = "ÐаÑÑÑойки Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ñке заклинаниÑ" |
--[[ ruRU ]] nL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] nL["Show spell name on cast bar"] = "ÐÑобÑажаÑÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ на полоÑке заклинаниÑ" |
--[[ ruRU ]] nL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] nL["Spell name typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа Ð´Ð»Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] nL["Sets the font for spell name"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] nL["Sets the font height of the spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] nL["Show font shadow on spell name"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Alignment"] = "ÐÑÑавнивание" |
--[[ ruRU ]] nL["Sets the alignment of the spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑавнивание Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] nL["Sets the font outline for spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] nL["Adjust spell name position"] = "ÐадаÑÑ Ð¼ÐµÑÑо Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] nL["Sets the offset of the left of the text"] = "СмеÑение ÑекÑÑа влево" |
--[[ ruRU ]] nL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] nL["Sets the offset of the right of the text"] = "СмеÑение ÑекÑÑа впÑаво" |
--[[ ruRU ]] nL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] nL["Sets the vertical offset of the text"] = "СмеÑение ÑекÑÑа по веÑÑикале" |
--[[ ruRU ]] nL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] nL["Sets the spell name color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["None"] = "ÐеÑ" |
--[[ ruRU ]] nL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] nL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] nL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] nL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] nL["RIGHT"] = "СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastBarSpellNameText"] = "AloftCastBarSpellNameText" |
--[[ ruRU ]] mL["Display spell name on cast bar"] = "ÐÑобÑажение Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ð¹ на полоÑке заклинаний" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Time Text"] = "ТекÑÑ Ð²Ñемени" |
--[[ ruRU ]] tL["Cast bar time text options"] = "ÐаÑÑÑойки оÑобÑÐ°Ð¶ÐµÐ½Ð¸Ñ Ð²Ñемени заклинаниÑ" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show cast bar time text"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð²Ñемени заклинаниÑ" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Cast bar time text typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа Ð´Ð»Ñ Ð²Ñемени на полоÑке заклинаниÑ" |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for cast bar time text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ ÑекÑÑа вÑемени заклинаниÑ" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the cast bar time text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ ÑекÑÑа вÑемени заклинаниÑ" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on cast bar time text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ ÑекÑÑа вÑемени заклинаниÑ" |
--[[ ruRU ]] tL["Alignment"] = "ÐÑÑавнивание" |
--[[ ruRU ]] tL["Sets the alignment of the cast bar time text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑавнивание ÑекÑÑа вÑемени на полоÑке заклинаниÑ" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the font outline for cast bar time text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ ÑекÑÑа вÑемени заклинаниÑ" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust cast bar time text position"] = "ÐадаÑÑ Ð¼ÐµÑÑо вÑемени заклинаниÑ" |
--[[ ruRU ]] tL["Left Offset"] = "СмеÑение в лева" |
--[[ ruRU ]] tL["Sets the offset of the left of the text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение левого конÑа ÑекÑÑа" |
--[[ ruRU ]] tL["Right Offset"] = "СмеÑение в пÑава" |
--[[ ruRU ]] tL["Sets the offset of the right of the text"] = "ÐÐ°Ð´Ð°ÐµÑ ÑмеÑение пÑавого конÑа ÑекÑÑа" |
--[[ ruRU ]] tL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] tL["Sets the vertical offset of the text"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÐµÑÑикалÑное ÑмеÑение ÑекÑÑа" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the cast bar time text color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ ÑекÑÑа полоÑки заклинаниÑ" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastBarTimeText"] = "AloftCastBarTimeText" |
--[[ ruRU ]] mL["Display cast bar time text"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ Ð²ÑÐµÐ¼Ñ Ð½Ð° полоÑке заклинаний" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] bL["Cast Bar"] = "æ½æ³æ¡" |
--[[ zhCN ]] bL["Cast bar options"] = "æ½æ³æ¡ç¸å ³è®¾ç½®" |
--[[ zhCN ]] bL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] bL["Shows the current target's casting bar"] = "æ¾ç¤ºå½åç®æ çæ½æ³æ¡" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust cast bar position"] = "è°æ´æ½æ³æ¡çä½ç½®" |
--[[ zhCN ]] bL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] bL["Sets the offset of the left of the cast bar"] = "设å®æ½æ³æ¢çåå·¦å移é" |
--[[ zhCN ]] bL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] bL["Sets the offset of the right of the cast bar"] = "设å®æ½æ³æ¡çåå³å移é" |
--[[ zhCN ]] bL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] bL["Sets the vertical offset of the cast bar"] = "设å®æ½æ³æ¡çåç´å移é" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the cast bar"] = "设置æ½æ³æ¡çé«åº¦" |
--[[ zhCN ]] bL["Interruptable Cast Bar"] = "Interruptable Cast Bar" |
--[[ zhCN ]] bL["Cast bar appearance for interruptable spells"] = "Cast bar appearance for interruptable spells" |
--[[ zhCN ]] bL["Uninterruptable Cast Bar"] = "Uninterruptable Cast Bar" |
--[[ zhCN ]] bL["Cast bar appearance for uninterruptable spells"] = "Cast bar appearance for uninterruptable spells" |
--[[ zhCN ]] bL["Cast Bar Color"] = "æ½æ³æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the color of the cast bar"] = "设置æ½æ³æ¡é¢è²" |
--[[ zhCN ]] bL["Backdrop Color"] = "èæ¯é¢è²" |
--[[ zhCN ]] bL["Sets the backdrop color of the cast bar"] = "设å®æ½æ³æ¡çèæ¯é¢è²" |
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] bL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] bL["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the border color of the cast bar"] = "设置æ½æ³æ¡è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Sets the style of the cast bar border"] = "设置æ½æ³æ¡è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Texture"] = "æè´¨" |
--[[ zhCN ]] bL["Sets the cast bar texture"] = "设å®æ½æ³æ¡çæè´¨" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] iL["Spell Icon"] = "æ³æ¯å¾æ " |
--[[ zhCN ]] iL["Spell icon placement options"] = "æ³æ¯å¾æ ç¸å ³è®¾ç½®" |
--[[ zhCN ]] iL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] iL["Enable spell icon display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºæ³æ¯å¾æ " |
--[[ zhCN ]] iL["Position"] = "ä½ç½®" |
--[[ zhCN ]] iL["Adjust spell icon position"] = "æ³æ¯å¾æ ä½ç½®" |
--[[ zhCN ]] iL["Anchor"] = "éç¹" |
--[[ zhCN ]] iL["Sets the anchor for the spell icon"] = "设å®æ³æ¯å¾æ çéç¹" |
--[[ zhCN ]] iL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] iL["Sets the relative point on the cast bar to anchor the spell icon"] = "设å®æ³æ¯å¾æ åºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] iL["Size"] = "尺寸" |
--[[ zhCN ]] iL["Size in pixels of the spell icon"] = "以åç´ å®ä¹çæ³æ¯å¾æ 尺寸" |
--[[ zhCN ]] iL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] iL["X offset of the spell icon"] = "æ³æ¯å¾æ çXè½´å移é" |
--[[ zhCN ]] iL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] iL["Y offset of the spell icon"] = "æ³æ¯å¾æ çYè½´å移é" |
--[[ zhCN ]] iL["Shield"] = "Shield" |
--[[ zhCN ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ zhCN ]] iL["Enable"] = "Enable" |
--[[ zhCN ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ zhCN ]] iL["Style"] = "Style" |
--[[ zhCN ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ zhCN ]] iL["Scale"] = "Scale" |
--[[ zhCN ]] iL["Scale of the shield graphic"] = "Scale of the shield graphic" |
--[[ zhCN ]] iL["Color"] = "Color" |
--[[ zhCN ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ zhCN ]] iL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] iL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] iL["SQUARE"] = "SQUARE" |
--[[ zhCN ]] iL["ROUND"] = "ROUND" |
--[[ zhCN ]] iL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] iL["TOP"] = "ä¸" |
--[[ zhCN ]] iL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] iL["LEFT"] = "å·¦" |
--[[ zhCN ]] iL["CENTER"] = "ä¸" |
--[[ zhCN ]] iL["RIGHT"] = "å³" |
--[[ zhCN ]] iL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] iL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] iL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] nL["Spell Name"] = "æ³æ¯å称" |
--[[ zhCN ]] nL["Cast bar spell name text options"] = "æ½æ³æ¡æ³æ¯å称æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] nL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] nL["Show spell name on cast bar"] = "å¨æ½æ³æ¡ä¸æ¾ç¤ºæ³æ¯å称" |
--[[ zhCN ]] nL["Typeface"] = "åä½" |
--[[ zhCN ]] nL["Spell name typeface options"] = "æ³æ¯å称æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] nL["Font"] = "åä½" |
--[[ zhCN ]] nL["Sets the font for spell name"] = "设å®æ³æ¯å称æåçåä½" |
--[[ zhCN ]] nL["Font Size"] = "åå·" |
--[[ zhCN ]] nL["Sets the font height of the spell name"] = "设å®æ³æ¯å称æåçåå·" |
--[[ zhCN ]] nL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] nL["Show font shadow on spell name"] = "设å®æ³æ¯å称æåçåä½é´å½±" |
--[[ zhCN ]] nL["Alignment"] = "对é½" |
--[[ zhCN ]] nL["Sets the alignment of the spell name"] = "设å®æ³æ¯å称æåçåä½ç对é½æ¹å¼" |
--[[ zhCN ]] nL["Outline"] = "è½®å»" |
--[[ zhCN ]] nL["Sets the font outline for spell name"] = "设å®æ³æ¯å称æåçåä½è½®å»" |
--[[ zhCN ]] nL["Position"] = "ä½ç½®" |
--[[ zhCN ]] nL["Adjust spell name position"] = "è°æ´æ³æ¯å称æåçä½ç½®" |
--[[ zhCN ]] nL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] nL["Sets the offset of the left of the text"] = "设å®æ³æ¯å称æåçåå·¦å移é" |
--[[ zhCN ]] nL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] nL["Sets the offset of the right of the text"] = "设å®æ³æ¯å称æåçåå³å移é" |
--[[ zhCN ]] nL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhCN ]] nL["Sets the vertical offset of the text"] = "设å®æ³æ¯å称æåçåç´å移é" |
--[[ zhCN ]] nL["Color"] = "é¢è²" |
--[[ zhCN ]] nL["Sets the spell name color"] = "设å®æ³æ¯å称æåçé¢è²" |
--[[ zhCN ]] nL["None"] = "æ " |
--[[ zhCN ]] nL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] nL["Thick"] = "ç²" |
--[[ zhCN ]] nL["LEFT"] = "å·¦" |
--[[ zhCN ]] nL["CENTER"] = "ä¸" |
--[[ zhCN ]] nL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastBarSpellNameText"] = "æ½æ³æ¡æ³æ¯å" |
--[[ zhCN ]] mL["Display spell name on cast bar"] = "å¨æ½æ³æ¡ä¸æ¾ç¤ºæ³æ¯å" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Time Text"] = "计æ¶æå" |
--[[ zhCN ]] tL["Cast bar time text options"] = "æ½æ³æ¡è®¡æ¶æåç¸å ³è®¾ç½®" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show cast bar time text"] = "æ¾ç¤ºæ½æ³æ¡è®¡æ¶æå" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Cast bar time text typeface options"] = "æ½æ³æ¡è®¡æ¶æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for cast bar time text"] = "设å®æ½æ³æ¡è®¡æ¶æåçåä½" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the cast bar time text"] = "设å®æ½æ³æ¡è®¡æ¶æåçåå·" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on cast bar time text"] = "设å®æ½æ³æ¡è®¡æ¶æåçåä½é´å½±" |
--[[ zhCN ]] tL["Alignment"] = "对é½" |
--[[ zhCN ]] tL["Sets the alignment of the cast bar time text"] = "设å®æ½æ³æ¡è®¡æ¶æåç对é½æ¹å¼" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the font outline for cast bar time text"] = "设å®æ½æ³æ¡è®¡æ¶æåçåä½è½®å»" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust cast bar time text position"] = "è°æ´æ½æ³æ¡è®¡æ¶æåçä½ç½®" |
--[[ zhCN ]] tL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] tL["Sets the offset of the left of the text"] = "设å®æåçåå·¦å移é" |
--[[ zhCN ]] tL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] tL["Sets the offset of the right of the text"] = "设å®æåçåå³å移é" |
--[[ zhCN ]] tL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] tL["Sets the vertical offset of the text"] = "设å®æåçåç´å移é" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the cast bar time text color"] = "设å®æ½æ³æ¡è®¡æ¶æåçé¢è²" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastBarTimeText"] = "æ½æ³æ¶é´" |
--[[ zhCN ]] mL["Display cast bar time text"] = "å¨æ½æ³æ¡ä¸æ¾ç¤ºæ¶é´" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] bL["Cast Bar"] = "æ½æ³æ¢" |
--[[ zhTW ]] bL["Cast bar options"] = "æ½æ³æ¢é¸é " |
--[[ zhTW ]] bL["Enable"] = "åç¨" |
--[[ zhTW ]] bL["Shows the current target's casting bar"] = "顯示ç®åç®æ¨çæ½æ³æ¢" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust cast bar position"] = "調æ´æ½æ³æ¢ä½ç½®" |
--[[ zhTW ]] bL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the left of the cast bar"] = "æ½æ³æ¢å·¦ä½ç§»" |
--[[ zhTW ]] bL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the right of the cast bar"] = "æ½æ³æ¢å³ä½ç§»" |
--[[ zhTW ]] bL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] bL["Sets the vertical offset of the cast bar"] = "æ½æ³æ¢åç´ä½ç§»" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the cast bar"] = "æ½æ³æ¢é«åº¦" |
--[[ zhTW ]] bL["Interruptable Cast Bar"] = "Interruptable Cast Bar" |
--[[ zhTW ]] bL["Cast bar appearance for interruptable spells"] = "Cast bar appearance for interruptable spells" |
--[[ zhTW ]] bL["Uninterruptable Cast Bar"] = "Uninterruptable Cast Bar" |
--[[ zhTW ]] bL["Cast bar appearance for uninterruptable spells"] = "Cast bar appearance for uninterruptable spells" |
--[[ zhTW ]] bL["Cast Bar Color"] = "æ½æ³æ¢é¡è²" |
--[[ zhTW ]] bL["Sets the color of the cast bar"] = "è¨ç½®æ½æ³æ¢é¡è²" |
--[[ zhTW ]] bL["Backdrop Color"] = "èæ¯é¡è²" |
--[[ zhTW ]] bL["Sets the backdrop color of the cast bar"] = "æ½æ³æ¢èæ¯é¡è²" |
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] bL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] bL["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] bL["Sets the border color of the cast bar"] = "è¨ç½®æ½æ³æ¢éæ¡é¡è²" |
--[[ zhTW ]] bL["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Sets the style of the cast bar border"] = "è¨ç½®æ½æ³æ¢éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Texture"] = "ç´ç" |
--[[ zhTW ]] bL["Sets the cast bar texture"] = "æ½æ³æ¢ç´ç" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] iL["Spell Icon"] = "æ³è¡å示" |
--[[ zhTW ]] iL["Spell icon placement options"] = "æ³è¡å示ä½å±é¸é " |
--[[ zhTW ]] iL["Enable"] = "åç¨" |
--[[ zhTW ]] iL["Enable spell icon display on the nameplate"] = "å¨åç顯示æ³è¡å示" |
--[[ zhTW ]] iL["Position"] = "ä½ç½®" |
--[[ zhTW ]] iL["Adjust spell icon position"] = "æ³è¡å示ä½ç½®" |
--[[ zhTW ]] iL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] iL["Sets the anchor for the spell icon"] = "æ³è¡å示å®ä½é»" |
--[[ zhTW ]] iL["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] iL["Sets the relative point on the cast bar to anchor the spell icon"] = "æ³è¡å示åºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] iL["Size"] = "大å°" |
--[[ zhTW ]] iL["Size in pixels of the spell icon"] = "æ³è¡å示大å°" |
--[[ zhTW ]] iL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] iL["X offset of the spell icon"] = "æ³è¡å示Xä½ç§»" |
--[[ zhTW ]] iL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] iL["Y offset of the spell icon"] = "æ³è¡å示Yä½ç§»" |
--[[ zhTW ]] iL["Shield"] = "Shield" |
--[[ zhTW ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ zhTW ]] iL["Enable"] = "Enable" |
--[[ zhTW ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ zhTW ]] iL["Style"] = "Style" |
--[[ zhTW ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ zhTW ]] iL["Scale"] = "Scale" |
--[[ zhTW ]] iL["Scale of the shield graphic"] = "Scale of the shield graphic" |
--[[ zhTW ]] iL["Color"] = "Color" |
--[[ zhTW ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ zhTW ]] iL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] iL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] iL["SQUARE"] = "SQUARE" |
--[[ zhTW ]] iL["ROUND"] = "ROUND" |
--[[ zhTW ]] iL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] iL["TOP"] = "ä¸" |
--[[ zhTW ]] iL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] iL["LEFT"] = "å·¦" |
--[[ zhTW ]] iL["CENTER"] = "ä¸" |
--[[ zhTW ]] iL["RIGHT"] = "å³" |
--[[ zhTW ]] iL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] iL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] iL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] nL["Spell Name"] = "æ³è¡åå" |
--[[ zhTW ]] nL["Cast bar spell name text options"] = "æ½æ³æ¢æ³è¡ååæåé¸é " |
--[[ zhTW ]] nL["Enable"] = "åç¨" |
--[[ zhTW ]] nL["Show spell name on cast bar"] = "å¨æ½æ³æ¢é¡¯ç¤ºæ³è¡åå" |
--[[ zhTW ]] nL["Typeface"] = "åé«" |
--[[ zhTW ]] nL["Spell name typeface options"] = "æ³è¡åååé«é¸é " |
--[[ zhTW ]] nL["Font"] = "åå" |
--[[ zhTW ]] nL["Sets the font for spell name"] = "æ³è¡åååå" |
--[[ zhTW ]] nL["Font Size"] = "åå大å°" |
--[[ zhTW ]] nL["Sets the font height of the spell name"] = "æ³è¡åååå大å°" |
--[[ zhTW ]] nL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] nL["Show font shadow on spell name"] = "æ³è¡ååååé°å½±" |
--[[ zhTW ]] nL["Alignment"] = "å°é½" |
--[[ zhTW ]] nL["Sets the alignment of the spell name"] = "æ³è¡ååå°é½" |
--[[ zhTW ]] nL["Outline"] = "輪å»" |
--[[ zhTW ]] nL["Sets the font outline for spell name"] = "æ³è¡åååå輪å»" |
--[[ zhTW ]] nL["Position"] = "ä½ç½®" |
--[[ zhTW ]] nL["Adjust spell name position"] = "æ³è¡ååä½ç½®" |
--[[ zhTW ]] nL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] nL["Sets the offset of the left of the text"] = "æåå·¦ä½ç§»" |
--[[ zhTW ]] nL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] nL["Sets the offset of the right of the text"] = "æåå³ä½ç§»" |
--[[ zhTW ]] nL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] nL["Sets the vertical offset of the text"] = "æååç´ä½ç§»" |
--[[ zhTW ]] nL["Color"] = "é¡è²" |
--[[ zhTW ]] nL["Sets the spell name color"] = "æ³è¡ååé¡è²" |
--[[ zhTW ]] nL["None"] = "ç¡" |
--[[ zhTW ]] nL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] nL["Thick"] = "ç²" |
--[[ zhTW ]] nL["LEFT"] = "å·¦" |
--[[ zhTW ]] nL["CENTER"] = "ä¸" |
--[[ zhTW ]] nL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastBarSpellNameText"] = "æ½æ³æ¢æ³è¡å" |
--[[ zhTW ]] mL["Display spell name on cast bar"] = "å¨æ½æ³æ¢ä¸é¡¯ç¤ºæ³è¡å" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Time Text"] = "æéæå" |
--[[ zhTW ]] tL["Cast bar time text options"] = "æ½æ³æ¢æéæåé¸é " |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show cast bar time text"] = "顯示æ½æ³æ¢æéæå" |
--[[ zhTW ]] tL["Typeface"] = "åé«" |
--[[ zhTW ]] tL["Cast bar time text typeface options"] = "æ½æ³æ¢æéæååé«é¸é " |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for cast bar time text"] = "æ½æ³æ¢æéæååå" |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the cast bar time text"] = "æ½æ³æ¢æéæååå大å°" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on cast bar time text"] = "æ½æ³æ¢æéæåååé°å½±" |
--[[ zhTW ]] tL["Alignment"] = "å°é½" |
--[[ zhTW ]] tL["Sets the alignment of the cast bar time text"] = "æ½æ³æ¢æéæåå°é½" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the font outline for cast bar time text"] = "æ½æ³æ¢æéæååå輪å»" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust cast bar time text position"] = "æ½æ³æ¢æéæåä½ç½®" |
--[[ zhTW ]] tL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] tL["Sets the offset of the left of the text"] = "æåå·¦ä½ç§»" |
--[[ zhTW ]] tL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] tL["Sets the offset of the right of the text"] = "æåå³ä½ç§»" |
--[[ zhTW ]] tL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] tL["Sets the vertical offset of the text"] = "æååç´ä½ç§»" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the cast bar time text color"] = "æ½æ³æ¢æéæåé¡è²" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastBarTimeText"] = "æ½æ³æé" |
--[[ zhTW ]] mL["Display cast bar time text"] = "å¨æ½æ³æ¢ä¸é¡¯ç¤ºæé" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastBarOptions = setmetatable(bL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
bL = nil |
----------------------------------------------------------------------------- |
AloftLocale.AloftSpellIconOptions = setmetatable(iL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
iL = nil |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftSpellNameTextOptions = setmetatable(nL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
nL = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastBarTimeTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarTimeText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastBarTimeTextOptions |
if not L then return end |
local AloftCastBarTimeText = Aloft:GetModule("CastBarTimeText", true) |
if not AloftCastBarTimeText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castBar.args.castBarTimeText = |
{ |
type = 'group', |
name = L["Time Text"], |
desc = L["Cast bar time text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBarTimeText:IsEnabled() or not AloftCastBarTimeText.db or not AloftCastBarTimeText.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show cast bar time text"], |
disabled = function(i) return not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftCastBarTimeText.db.profile.enable end, |
set = function(i, v) AloftCastBarTimeText.db.profile.enable = v AloftCastBarTimeText:Update() end, |
order = 1 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Cast bar time text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBarTimeText:IsEnabled() or not AloftCastBarTimeText.db or not AloftCastBarTimeText.db.profile or not AloftCastBarTimeText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for cast bar time text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.castBarTimeText.args.typeface.args.font.values) do |
if v == AloftCastBarTimeText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastBarTimeText.db.profile.font = Aloft.Options.args.castBar.args.castBarTimeText.args.typeface.args.font.values[v] |
AloftCastBarTimeText:Update() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the cast bar time text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCastBarTimeText.db.profile.fontSize end, |
set = function(i, value) AloftCastBarTimeText.db.profile.fontSize = value AloftCastBarTimeText:Update() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on cast bar time text"], |
get = function(i) return AloftCastBarTimeText.db.profile.shadow end, |
set = function(i, v) AloftCastBarTimeText.db.profile.shadow = v AloftCastBarTimeText:Update() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for cast bar time text"], |
get = function(i) return AloftCastBarTimeText.db.profile.outline end, |
set = function(i, value) AloftCastBarTimeText.db.profile.outline = value AloftCastBarTimeText:Update() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the cast bar time text"], |
disabled = function(i) return not AloftCastBarTimeText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftCastBarTimeText.db.profile.alignment end, |
set = function(i, value) AloftCastBarTimeText.db.profile.alignment = value AloftCastBarTimeText:Update() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust cast bar time text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBarTimeText:IsEnabled() or not AloftCastBarTimeText.db or not AloftCastBarTimeText.db.profile or not AloftCastBarTimeText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBarTimeText.db.profile.offsets.left end, |
set = function(i, v) AloftCastBarTimeText.db.profile.offsets.left = v AloftCastBarTimeText:Update() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBarTimeText.db.profile.offsets.right end, |
set = function(i, v) AloftCastBarTimeText.db.profile.offsets.right = v AloftCastBarTimeText:Update() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBarTimeText.db.profile.offsets.vertical end, |
set = function(i, v) AloftCastBarTimeText.db.profile.offsets.vertical = v AloftCastBarTimeText:Update() end |
}, |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the cast bar time text color"], |
disabled = function(i) return not AloftCastBarTimeText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return unpack(AloftCastBarTimeText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCastBarTimeText.db.profile.color = { r, g, b, a } AloftCastBarTimeText:Update() end, |
hasAlpha = true |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastBarSpellNameText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftSpellNameTextOptions |
if not L then return end |
local AloftSpellNameText = Aloft:GetModule("SpellNameText", true) |
if not AloftSpellNameText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castBar.args.spellNameText = |
{ |
type = 'group', |
name = L["Spell Name"], |
desc = L["Cast bar spell name text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftSpellNameText:IsEnabled() or not AloftSpellNameText.db or not AloftSpellNameText.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show spell name on cast bar"], |
disabled = function(i) return not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftSpellNameText.db.profile.enable end, |
set = function(i, v) AloftSpellNameText.db.profile.enable = v AloftSpellNameText:Update() end, |
order = 1 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Spell name typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftSpellNameText:IsEnabled() or not AloftSpellNameText.db or not AloftSpellNameText.db.profile or not AloftSpellNameText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for spell name"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.spellNameText.args.typeface.args.font.values) do |
if v == AloftSpellNameText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftSpellNameText.db.profile.font = Aloft.Options.args.castBar.args.spellNameText.args.typeface.args.font.values[v] |
AloftSpellNameText:Update() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the spell name"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftSpellNameText.db.profile.fontSize end, |
set = function(i, value) AloftSpellNameText.db.profile.fontSize = value AloftSpellNameText:Update() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on spell name"], |
get = function(i) return AloftSpellNameText.db.profile.shadow end, |
set = function(i, v) AloftSpellNameText.db.profile.shadow = v AloftSpellNameText:Update() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for spell name"], |
get = function(i) return AloftSpellNameText.db.profile.outline end, |
set = function(i, value) AloftSpellNameText.db.profile.outline = value AloftSpellNameText:Update() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the spell name"], |
disabled = function(i) return not AloftSpellNameText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftSpellNameText.db.profile.alignment end, |
set = function(i, value) AloftSpellNameText.db.profile.alignment = value AloftSpellNameText:Update() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust spell name position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftSpellNameText:IsEnabled() or not AloftSpellNameText.db or not AloftSpellNameText.db.profile or not AloftSpellNameText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftSpellNameText.db.profile.offsets.left end, |
set = function(i, v) AloftSpellNameText.db.profile.offsets.left = v AloftSpellNameText:Update() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftSpellNameText.db.profile.offsets.right end, |
set = function(i, v) AloftSpellNameText.db.profile.offsets.right = v AloftSpellNameText:Update() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftSpellNameText.db.profile.offsets.vertical end, |
set = function(i, v) AloftSpellNameText.db.profile.offsets.vertical = v AloftSpellNameText:Update() end |
}, |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the spell name color"], |
disabled = function(i) return not AloftSpellNameText.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return unpack(AloftSpellNameText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftSpellNameText.db.profile.color = { r, g, b, a } AloftSpellNameText:Update() end, |
hasAlpha = true |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftSpellIconOptions |
if not L then return end |
local AloftSpellIcon = Aloft:GetModule("SpellIcon", true) |
if not AloftSpellIcon then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castBar.args.spellIcon = |
{ |
type = 'group', |
name = L["Spell Icon"], |
desc = L["Spell icon placement options"], |
disabled = function(i) |
-- ChatFrame7:AddMessage("Aloft.Options.args.castBar.args.spellIcon.disabled(): " .. tostring(AloftSpellIcon:IsEnabled()) .. "/" .. tostring(AloftSpellIcon:IsEnabled()) .. "/" .. tostring(AloftSpellIcon.db and AloftSpellIcon.db.profile) .. "/" .. tostring(Aloft:GetNameplateCVar("ShowVKeyCastbar"))) |
return not Aloft:IsEnabled() or not AloftSpellIcon:IsEnabled() or not AloftSpellIcon.db or not AloftSpellIcon.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") |
end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable spell icon display on the nameplate"], |
disabled = function(i) return not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftSpellIcon.db.profile.enable end, |
set = function(i, v) AloftSpellIcon.db.profile.enable = v AloftSpellIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust spell icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftSpellIcon:IsEnabled() or not AloftSpellIcon.db or not AloftSpellIcon.db.profile or not AloftSpellIcon.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the spell icon"], |
get = function(i) return AloftSpellIcon.db.profile.point end, |
set = function(i, v) AloftSpellIcon.db.profile.point = v AloftSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the cast bar to anchor the spell icon"], |
get = function(i) return AloftSpellIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftSpellIcon.db.profile.relativeToPoint = v AloftSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftSpellIcon.db.profile.offsetX end, |
set = function(i, v) AloftSpellIcon.db.profile.offsetX = v AloftSpellIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftSpellIcon.db.profile.offsetY end, |
set = function(i, v) AloftSpellIcon.db.profile.offsetY = v AloftSpellIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the spell icon"], |
min = 4, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftSpellIcon.db.profile.size end, |
set = function(i, v) AloftSpellIcon.db.profile.size = v AloftSpellIcon:UpdateAll() end |
}, |
shield = |
{ |
type = 'group', |
width = 'full', |
name = L["Shield"], |
desc = L["Shows a shield graphic around an uninterruptable spell icon"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftSpellIcon:IsEnabled() or not AloftSpellIcon.db or not AloftSpellIcon.db.profile or not AloftSpellIcon.db.profile.enable or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enables the shield graphic"], |
get = function(i) return AloftSpellIcon.db.profile.nointerShield end, |
set = function(i, v) |
AloftSpellIcon.db.profile.nointerShield = v |
AloftSpellIcon:UpdateAll() |
end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Style"], |
desc = L["Sets the shield graphic style"], |
order = 8, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not AloftSpellIcon.db.profile.nointerShield end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.spellIcon.args.shield.args.style.values) do |
if v == AloftSpellIcon.db.profile.nointerStyle then |
-- ChatFrame7:AddMessage("Aloft.Options.args.castBar.args.spellIcon.args.shield.args.style.get(): " .. tostring(k)) |
return k |
end |
end |
end, |
set = function(i, v) |
AloftSpellIcon.db.profile.nointerStyle = Aloft.Options.args.castBar.args.spellIcon.args.shield.args.style.values[v] |
-- ChatFrame7:AddMessage("Aloft.Options.args.castBar.args.spellIcon.args.shield.args.style.set(): " .. tostring(AloftSpellIcon.db.profile.nointerStyle)) |
AloftSpellIcon:UpdateAll() |
end, |
values = SML:List("shield"), |
}, |
scale = |
{ |
type = 'range', |
width = 'full', |
name = L["Scale"], |
desc = L["Scale of the shield graphic"], |
min = 1, |
max = 8, |
step = 0.01, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not AloftSpellIcon.db.profile.nointerShield end, |
get = function(i) return AloftSpellIcon.db.profile.nointerScale end, |
set = function(i, v) AloftSpellIcon.db.profile.nointerScale = v AloftSpellIcon:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the shield graphic color"], |
order = 1, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not AloftSpellIcon.db.profile.nointerShield end, |
get = function(i) return unpack(AloftSpellIcon.db.profile.nointerColor) end, |
set = function(i, r, g, b, a) AloftSpellIcon.db.profile.nointerColor = { r, g, b, a } AloftSpellIcon:UpdateAll() end, |
hasAlpha = true, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X Offset"], |
min = -32, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not AloftSpellIcon.db.profile.nointerShield end, |
get = function(i) return AloftSpellIcon.db.profile.nointerOffsetX end, |
set = function(i, v) AloftSpellIcon.db.profile.nointerOffsetX = v AloftSpellIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y Offset"], |
min = -32, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftSpellIcon.db.profile.enable or not AloftSpellIcon.db.profile.nointerShield end, |
get = function(i) return AloftSpellIcon.db.profile.nointerOffsetY end, |
set = function(i, v) AloftSpellIcon.db.profile.nointerOffsetY = v AloftSpellIcon:UpdateAll() end |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastBarTimeText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastBarTimeText"], |
desc = L["Display cast bar time text"], |
get = function(i) return AloftModules.db.profile.AloftCastBarTimeText end, |
set = function(i, v) AloftModules.db.profile.AloftCastBarTimeText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastBarSpellNameText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastBarSpellNameText"], |
desc = L["Display spell name on cast bar"], |
get = function(i) return AloftModules.db.profile.AloftCastBarSpellNameText end, |
set = function(i, v) AloftModules.db.profile.AloftCastBarSpellNameText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastBarOptions |
if not L then return end |
local AloftCastBar = Aloft:GetModule("CastBar", true) |
if not AloftCastBar then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castBar = |
{ |
type = 'group', |
name = L["Cast Bar"], |
desc = L["Cast bar options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBar:IsEnabled() or not AloftCastBar.db or not AloftCastBar.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Shows the current target's casting bar"], |
get = function(i) |
-- ChatFrame7:AddMessage("AloftCastBarOptions:enbable.get(): " .. tostring(Aloft:GetNameplateCVar("ShowVKeyCastbar"))) |
return Aloft:GetNameplateCVar("ShowVKeyCastbar") |
end, |
set = function(i, v) |
Aloft:SetNameplateCVar("ShowVKeyCastbar", v) |
-- ChatFrame7:AddMessage("AloftCastBarOptions:enbable.set(): " .. tostring(Aloft:GetNameplateCVar("ShowVKeyCastbar"))) |
end, |
order = 1, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the cast bar"], |
min = 1, |
max = 32, |
step = 1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBar:IsEnabled() or not AloftCastBar.db or not AloftCastBar.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
get = function(i) return AloftCastBar.db.profile.height end, |
set = function(i, v) AloftCastBar.db.profile.height = v AloftCastBar:UpdateAll() end, |
order = 2, |
}, |
position = |
{ |
type = 'group', |
width = 'full', |
name = L["Position"], |
desc = L["Adjust cast bar position"], |
order = 3, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBar:IsEnabled() or not AloftCastBar.db or not AloftCastBar.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the cast bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.offsets.left end, |
set = function(i, v) AloftCastBar.db.profile.offsets.left = v AloftCastBar:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the cast bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.offsets.right end, |
set = function(i, v) AloftCastBar.db.profile.offsets.right = v AloftCastBar:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the cast bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.offsets.vertical end, |
set = function(i, v) AloftCastBar.db.profile.offsets.vertical = v AloftCastBar:UpdateAll() end |
}, |
}, |
}, |
interruptable = |
{ |
type = 'group', |
name = L["Interruptable Cast Bar"], |
desc = L["Cast bar appearance for interruptable spells"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBar:IsEnabled() or not AloftCastBar.db or not AloftCastBar.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
order = 4, |
args = |
{ |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Cast Bar Color"], |
desc = L["Sets the color of the cast bar"], |
order = 1, |
get = function(i) return unpack(AloftCastBar.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.color = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the cast bar texture"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.interruptable.args.texture.values) do |
if v == AloftCastBar.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastBar.db.profile.texture = Aloft.Options.args.castBar.args.interruptable.args.texture.values[v] |
AloftCastBar:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the cast bar"], |
order = 3, |
get = function(i) return unpack(AloftCastBar.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.backdropColor = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
border = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the cast bar border"], |
order = 4, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.interruptable.args.border.values) do |
if v == AloftCastBar.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastBar.db.profile.border = Aloft.Options.args.castBar.args.interruptable.args.border.values[v] |
AloftCastBar:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.borderEdgeSize end, |
set = function(i, v) AloftCastBar.db.profile.borderEdgeSize = v AloftCastBar:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.borderInset end, |
set = function(i, v) AloftCastBar.db.profile.borderInset = v AloftCastBar:UpdateAll() end |
}, |
borderColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the cast bar"], |
order = 5, |
disabled = function(i) return AloftCastBar.db.profile.border == "None" end, |
get = function(i) return unpack(AloftCastBar.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.borderColor = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
uninterruptable = |
{ |
type = 'group', |
name = L["Uninterruptable Cast Bar"], |
desc = L["Cast bar appearance for uninterruptable spells"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastBar:IsEnabled() or not AloftCastBar.db or not AloftCastBar.db.profile or not Aloft:GetNameplateCVar("ShowVKeyCastbar") end, |
order = 5, |
args = |
{ |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Cast Bar Color"], |
desc = L["Sets the color of the cast bar"], |
order = 1, |
get = function(i) return unpack(AloftCastBar.db.profile.nointerColor) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.nointerColor = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the cast bar texture"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.uninterruptable.args.texture.values) do |
if v == AloftCastBar.db.profile.nointerTexture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastBar.db.profile.nointerTexture = Aloft.Options.args.castBar.args.uninterruptable.args.texture.values[v] |
AloftCastBar:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the cast bar"], |
order = 3, |
get = function(i) return unpack(AloftCastBar.db.profile.nointerBackdropColor) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.nointerBackdropColor = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
border = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the cast bar border"], |
order = 4, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castBar.args.uninterruptable.args.border.values) do |
if v == AloftCastBar.db.profile.nointerBorder then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastBar.db.profile.nointerBorder = Aloft.Options.args.castBar.args.uninterruptable.args.border.values[v] |
AloftCastBar:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.nointerBorderEdgeSize end, |
set = function(i, v) AloftCastBar.db.profile.nointerBorderEdgeSize = v AloftCastBar:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftCastBar.db.profile.nointerBorderInset end, |
set = function(i, v) AloftCastBar.db.profile.nointerBorderInset = v AloftCastBar:UpdateAll() end |
}, |
borderColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the cast bar"], |
order = 5, |
disabled = function(i) return AloftCastBar.db.profile.nointerBorder == "None" end, |
get = function(i) return unpack(AloftCastBar.db.profile.nointerBorderColor) end, |
set = function(i, r, g, b, a) AloftCastBar.db.profile.nointerBorderColor = { r, g, b, a } AloftCastBar:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCrowdControlSpellIconOptions |
if not L then return end |
local AloftCrowdControl = Aloft:GetModule("CrowdControl", true) |
if not AloftCrowdControl then return end |
local AloftCrowdControlSpellIcon = Aloft:GetModule("CrowdControlSpellIcon", true) |
if not AloftCrowdControlSpellIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.crowdControl.args.crowdControlSpellIcon = |
{ |
type = 'group', |
name = L["Spell Icon"], |
desc = L["Crowd control spell icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlSpellIcon:IsEnabled() or not AloftCrowdControlSpellIcon.db or not AloftCrowdControlSpellIcon.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable crowd control spell icon display on the nameplate"], |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.enable end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.enable = v AloftCrowdControlSpellIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust crowd control spell icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlSpellIcon:IsEnabled() or not AloftCrowdControlSpellIcon.db or not AloftCrowdControlSpellIcon.db.profile or not AloftCrowdControlSpellIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the crowd control spell icon"], |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.point end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.point = v AloftCrowdControlSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the crowd control bar to anchor the spell icon"], |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.relativeToPoint = v AloftCrowdControlSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the crowd control spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.offsetX end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.offsetX = v AloftCrowdControlSpellIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the crowd control spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.offsetY end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.offsetY = v AloftCrowdControlSpellIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the crowd control spell icon"], |
min = 4, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftCrowdControlSpellIcon.db.profile.enable end, |
get = function(i) return AloftCrowdControlSpellIcon.db.profile.size end, |
set = function(i, v) AloftCrowdControlSpellIcon.db.profile.size = v AloftCrowdControlSpellIcon:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftPolymorphOptions |
if not L then return end |
local AloftCrowdControl = Aloft:GetModule("CrowdControl", true) |
if not AloftCrowdControl then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.crowdControl = |
{ |
type = 'group', |
name = L["Crowd Control"], |
desc = L["Crowd control options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Shows crowd control timers on nameplates when possible"], |
get = function(i) return AloftCrowdControl.db.profile.enable end, |
set = function(i, v) AloftCrowdControl.db.profile.enable = v AloftCrowdControl:UpdateAll() end, |
order = 1 |
}, |
speculativeAttach = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Speculative Attach"], |
desc = L["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"], |
disabled = function(i) return not AloftCrowdControl.db.profile.enable end, |
get = function(i) return AloftCrowdControl.db.profile.speculativeAttach end, |
set = function(i, v) AloftCrowdControl.db.profile.speculativeAttach = v end, |
order = 2 |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the crowd control bar texture"], |
disabled = function(i) return not AloftCrowdControl.db.profile.enable end, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.crowdControl.args.texture.values) do |
if v == AloftCrowdControl.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCrowdControl.db.profile.texture = Aloft.Options.args.crowdControl.args.texture.values[v] |
AloftCrowdControl:UpdateAll() |
end, |
values = SML:List("statusbar") |
}, |
border = { |
type = 'group', |
name = L["Border"], |
desc = L["Border options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable end, |
args = |
{ |
targetOnly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Target Only"], |
desc = L["Enables the border on the current target only"], |
order = 1, |
get = function(i) return AloftCrowdControl.db.profile.targetOnly end, |
set = function(i, v) AloftCrowdControl.db.profile.targetOnly = v Aloft:DetermineDataSources() AloftCrowdControl:UpdateAll() end, |
disabled = function(i) return AloftCrowdControl.db.profile.border == "None" end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the crowd control bar border"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.crowdControl.args.border.args.style.values) do |
if v == AloftCrowdControl.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCrowdControl.db.profile.border = Aloft.Options.args.crowdControl.args.border.args.style.values[v] |
AloftCrowdControl:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControl.db.profile.borderEdgeSize end, |
set = function(i, v) AloftCrowdControl.db.profile.borderEdgeSize = v AloftCrowdControl:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControl.db.profile.borderInset end, |
set = function(i, v) AloftCrowdControl.db.profile.borderInset = v AloftCrowdControl:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the crowd control bar"], |
order = 3, |
disabled = function(i) return AloftCrowdControl.db.profile.border == "None" end, |
get = function(i) return unpack(AloftCrowdControl.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftCrowdControl.db.profile.borderColor = { r, g, b, a } AloftCrowdControl:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Color options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable end, |
args = |
{ |
bar = |
{ |
type = 'color', |
width = 'full', |
name = L["Bar Color"], |
desc = L["Sets the crowd control bar color"], |
get = function(i) return unpack(AloftCrowdControl.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCrowdControl.db.profile.color = { r, g, b, a } AloftCrowdControl:UpdateAll() end, |
hasAlpha = true, |
order = 1 |
}, |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the crowd control backdrop color"], |
get = function(i) return unpack(AloftCrowdControl.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftCrowdControl.db.profile.backdropColor = { r, g, b, a } AloftCrowdControl:UpdateAll() end, |
hasAlpha = true, |
order = 2 |
}, |
}, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the crowd control bar's position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the crowd control bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCrowdControl.db.profile.offsets.left end, |
set = function(i, v) AloftCrowdControl.db.profile.offsets.left = v AloftCrowdControl:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the crowd control bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCrowdControl.db.profile.offsets.right end, |
set = function(i, v) AloftCrowdControl.db.profile.offsets.right = v AloftCrowdControl:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the crowd control bar"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCrowdControl.db.profile.offsets.vertical end, |
set = function(i, v) AloftCrowdControl.db.profile.offsets.vertical = v AloftCrowdControl:UpdateAll() end |
}, |
}, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the crowd control bar"], |
min = 1, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftCrowdControl.db.profile.enable end, |
get = function(i) return AloftCrowdControl.db.profile.height end, |
set = function(i, v) AloftCrowdControl.db.profile.height = v AloftCrowdControl:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local bL = { } |
local iL = { } |
local nL = { } |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] bL["Crowd Control"] = "Crowd Control" |
--[[ enUS ]] bL["Crowd control options"] = "Crowd control options" |
--[[ enUS ]] bL["Enable"] = "Enable" |
--[[ enUS ]] bL["Shows crowd control timers on nameplates when possible"] = "Shows crowd control timers on nameplates when possible" |
--[[ enUS ]] bL["Speculative Attach"] = "Speculative Attach" |
--[[ enUS ]] bL["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"] = "Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate" |
--[[ enUS ]] bL["Texture"] = "Texture" |
--[[ enUS ]] bL["Sets the crowd control bar texture"] = "Sets the crowd control bar texture" |
--[[ enUS ]] bL["Border"] = "Border" |
--[[ enUS ]] bL["Border options"] = "Border options" |
--[[ enUS ]] bL["Target Only"] = "Target Only" |
--[[ enUS ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ enUS ]] bL["Border Style"] = "Border Style" |
--[[ enUS ]] bL["Sets the style of the crowd control bar border"] = "Sets the style of the crowd control bar border" |
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] bL["Border Inset"] = "Border Inset" |
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] bL["Border Color"] = "Border Color" |
--[[ enUS ]] bL["Sets the border color of the crowd control bar"] = "Sets the border color of the crowd control bar" |
--[[ enUS ]] bL["Colors"] = "Colors" |
--[[ enUS ]] bL["Color options"] = "Color options" |
--[[ enUS ]] bL["Bar Color"] = "Bar Color" |
--[[ enUS ]] bL["Sets the crowd control bar color"] = "Sets the crowd control bar color" |
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] bL["Sets the crowd control backdrop color"] = "Sets the crowd control backdrop color" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the crowd control bar"] = "Sets the height of the crowd control bar" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust the crowd control bar's position"] = "Adjust the crowd control bar's position" |
--[[ enUS ]] bL["Left Offset"] = "Left Offset" |
--[[ enUS ]] bL["Sets the offset of the left of the crowd control bar"] = "Sets the offset of the left of the crowd control bar" |
--[[ enUS ]] bL["Right Offset"] = "Right Offset" |
--[[ enUS ]] bL["Sets the offset of the right of the crowd control bar"] = "Sets the offset of the right of the crowd control bar" |
--[[ enUS ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] bL["Sets the vertical offset of the crowd control bar"] = "Sets the vertical offset of the crowd control bar" |
--[[ enUS ]] bL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] bL["TOP"] = "TOP" |
--[[ enUS ]] bL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] bL["LEFT"] = "LEFT" |
--[[ enUS ]] bL["CENTER"] = "CENTER" |
--[[ enUS ]] bL["RIGHT"] = "RIGHT" |
--[[ enUS ]] bL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] bL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] bL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
--[[ enUS ]] iL["Spell Icon"] = "Spell Icon" |
--[[ enUS ]] iL["Crowd control spell icon placement options"] = "Crowd control spell icon placement options" |
--[[ enUS ]] iL["Enable"] = "Enable" |
--[[ enUS ]] iL["Enable crowd control spell icon display on the nameplate"] = "Enable crowd control spell icon display on the nameplate" |
--[[ enUS ]] iL["Position"] = "Position" |
--[[ enUS ]] iL["Adjust crowd control spell icon position"] = "Adjust crowd control spell icon position" |
--[[ enUS ]] iL["Anchor"] = "Anchor" |
--[[ enUS ]] iL["Sets the anchor for the crowd control spell icon"] = "Sets the anchor for the crowd control spell icon" |
--[[ enUS ]] iL["Anchor To"] = "Anchor To" |
--[[ enUS ]] iL["Sets the relative point on the crowd control bar to anchor the spell icon"] = "Sets the relative point on the crowd control bar to anchor the spell icon" |
--[[ enUS ]] iL["Size"] = "Size" |
--[[ enUS ]] iL["Size in pixels of the crowd control spell icon"] = "Size in pixels of the crowd control spell icon" |
--[[ enUS ]] iL["X Offset"] = "X Offset" |
--[[ enUS ]] iL["X offset of the crowd control spell icon"] = "X offset of the crowd control spell icon" |
--[[ enUS ]] iL["Y Offset"] = "Y Offset" |
--[[ enUS ]] iL["Y offset of the crowd control spell icon"] = "Y offset of the crowd control spell icon" |
--[[ enUS ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] iL["TOP"] = "TOP" |
--[[ enUS ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] iL["LEFT"] = "LEFT" |
--[[ enUS ]] iL["CENTER"] = "CENTER" |
--[[ enUS ]] iL["RIGHT"] = "RIGHT" |
--[[ enUS ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] iL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
--[[ enUS ]] nL["Spell Name"] = "Spell Name" |
--[[ enUS ]] nL["Crowd control bar spell name text options"] = "Crowd control bar spell name text options" |
--[[ enUS ]] nL["Enable"] = "Enable" |
--[[ enUS ]] nL["Show spell name on crowd control bar"] = "Show spell name on crowd control bar" |
--[[ enUS ]] nL["Typeface"] = "Typeface" |
--[[ enUS ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ enUS ]] nL["Font"] = "Font" |
--[[ enUS ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ enUS ]] nL["Font Size"] = "Font Size" |
--[[ enUS ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ enUS ]] nL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ enUS ]] nL["Alignment"] = "Alignment" |
--[[ enUS ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ enUS ]] nL["Outline"] = "Outline" |
--[[ enUS ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ enUS ]] nL["Position"] = "Position" |
--[[ enUS ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ enUS ]] nL["Left Offset"] = "Left Offset" |
--[[ enUS ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] nL["Right Offset"] = "Right Offset" |
--[[ enUS ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] nL["Color"] = "Color" |
--[[ enUS ]] nL["Sets the spell name color"] = "Sets the spell name color" |
--[[ enUS ]] nL["None"] = "None" |
--[[ enUS ]] nL["Normal"] = "Normal" |
--[[ enUS ]] nL["Thick"] = "Thick" |
--[[ enUS ]] nL["LEFT"] = "LEFT" |
--[[ enUS ]] nL["CENTER"] = "CENTER" |
--[[ enUS ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Time Text"] = "Time Text" |
--[[ enUS ]] tL["Crowd control bar time text options"] = "Crowd control bar time text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show crowd control bar time text"] = "Show crowd control bar time text" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Crowd control bar time text typeface options"] = "Crowd control bar time text typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for crowd control bar time text"] = "Sets the font for crowd control bar time text" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the crowd control bar time text"] = "Sets the font height of the crowd control bar time text" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on crowd control bar time text"] = "Show font shadow on crowd control bar time text" |
--[[ enUS ]] tL["Alignment"] = "Alignment" |
--[[ enUS ]] tL["Sets the alignment of the crowd control bar time text"] = "Sets the alignment of the crowd control bar time text" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the font outline for crowd control bar time text"] = "Sets the font outline for crowd control bar time text" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust crowd control bar time text position"] = "Adjust crowd control bar time text position" |
--[[ enUS ]] tL["Left Offset"] = "Left Offset" |
--[[ enUS ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] tL["Right Offset"] = "Right Offset" |
--[[ enUS ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] tL["Color"] = "Color" |
--[[ enUS ]] tL["Sets the crowd control bar time text color"] = "Sets the crowd control bar time text color" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCrowdControl"] = "AloftCrowdControl" |
--[[ enUS ]] mL["Display crowd control timers on nameplates when possible"] = "Display crowd control timers on nameplates when possible" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] bL["Crowd Control"] = "Crowd Control" |
--[[ koKR ]] bL["Crowd control options"] = "Crowd control options" |
--[[ koKR ]] bL["Enable"] = "ì¬ì©" |
--[[ koKR ]] bL["Shows crowd control timers on nameplates when possible"] = "Shows crowd control timers on nameplates when possible" |
--[[ koKR ]] bL["Speculative Attach"] = "ì¶ë¦¬ì ì¸ ë¶ì´ê¸°" |
--[[ koKR ]] bL["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"] = "Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate" |
--[[ koKR ]] bL["Texture"] = "í ì¤ì³" |
--[[ koKR ]] bL["Sets the crowd control bar texture"] = "Sets the crowd control bar texture" |
--[[ koKR ]] bL["Border"] = "Border" |
--[[ koKR ]] bL["Border options"] = "Border options" |
--[[ koKR ]] bL["Target Only"] = "Target Only" |
--[[ koKR ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] bL["Border Inset"] = "Border Inset" |
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] bL["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] bL["Sets the border color of the crowd control bar"] = "Sets the border color of the crowd control bar" |
--[[ koKR ]] bL["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] bL["Sets the style of the crowd control bar border"] = "Sets the style of the crowd control bar border" |
--[[ koKR ]] bL["Colors"] = "ìì" |
--[[ koKR ]] bL["Color options"] = "ìì ì¤ì " |
--[[ koKR ]] bL["Bar Color"] = "ë° ìì" |
--[[ koKR ]] bL["Sets the crowd control bar color"] = "Sets the crowd control bar color" |
--[[ koKR ]] bL["Backdrop Color"] = "ë°°ê²½ ìì" |
--[[ koKR ]] bL["Sets the crowd control backdrop color"] = "Sets the crowd control bar color" |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the crowd control bar"] = "Sets the height of the crowd control bar" |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust the crowd control bar's position"] = "Adjust the crowd control bar's position" |
--[[ koKR ]] bL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the left of the crowd control bar"] = "Sets the offset of the left of the crowd control bar" |
--[[ koKR ]] bL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] bL["Sets the offset of the right of the crowd control bar"] = "Sets the offset of the right of the crowd control bar" |
--[[ koKR ]] bL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] bL["Sets the vertical offset of the crowd control bar"] = "Sets the vertical offset of the crowd control bar" |
--[[ koKR ]] bL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] bL["TOP"] = "ìë¨" |
--[[ koKR ]] bL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] bL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] bL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] bL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] bL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] bL["BOTTOM"] = "íë¨" |
--[[ koKR ]] bL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
--[[ koKR ]] iL["Spell Icon"] = "주문 ìì´ì½" |
--[[ koKR ]] iL["Crowd control spell icon placement options"] = "Crowd control spell icon placement options" |
--[[ koKR ]] iL["Enable"] = "ì¬ì©" |
--[[ koKR ]] iL["Enable crowd control spell icon display on the nameplate"] = "Enable crowd control spell icon display on the nameplate" |
--[[ koKR ]] iL["Position"] = "ìì¹" |
--[[ koKR ]] iL["Adjust crowd control spell icon position"] = "Adjust crowd control spell icon position" |
--[[ koKR ]] iL["Anchor"] = "ìµì»¤" |
--[[ koKR ]] iL["Sets the anchor for the crowd control spell icon"] = "Sets the anchor for the crowd control spell icon" |
--[[ koKR ]] iL["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] iL["Sets the relative point on the crowd control bar to anchor the spell icon"] = "Sets the relative point on the crowd control bar to anchor the spell icon" |
--[[ koKR ]] iL["Size"] = "í¬ê¸°" |
--[[ koKR ]] iL["Size in pixels of the crowd control spell icon"] = "Size in pixels of the crowd control spell icon" |
--[[ koKR ]] iL["X Offset"] = "X ì¢í" |
--[[ koKR ]] iL["X offset of the crowd control spell icon"] = "X offset of the crowd control spell icon" |
--[[ koKR ]] iL["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] iL["Y offset of the crowd control spell icon"] = "Y offset of the crowd control spell icon" |
--[[ koKR ]] iL["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] iL["TOP"] = "ìë¨" |
--[[ koKR ]] iL["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] iL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] iL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] iL["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] iL["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] iL["BOTTOM"] = "íë¨" |
--[[ koKR ]] iL["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
--[[ koKR ]] nL["Spell Name"] = "ì£¼ë¬¸ëª " |
--[[ koKR ]] nL["Crowd control bar spell name text options"] = "Crowd control bar spell name text options" |
--[[ koKR ]] nL["Enable"] = "ì¬ì©" |
--[[ koKR ]] nL["Show spell name on crowd control bar"] = "Show spell name on crowd control bar" |
--[[ koKR ]] nL["Typeface"] = "ìì²´" |
--[[ koKR ]] nL["Spell name typeface options"] = "ì£¼ë¬¸ëª ìì²´ ì¤ì " |
--[[ koKR ]] nL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] nL["Sets the font for spell name"] = "ì£¼ë¬¸ëª ì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] nL["Sets the font height of the spell name"] = "ì£¼ë¬¸ëª ê¸ìì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] nL["Show font shadow on spell name"] = "ì£¼ë¬¸ëª ì 그림ì를 íìí©ëë¤." |
--[[ koKR ]] nL["Alignment"] = "ì ë ¬" |
--[[ koKR ]] nL["Sets the alignment of the spell name"] = "ì£¼ë¬¸ëª ì ì ë ¬ì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Outline"] = "í ë리" |
--[[ koKR ]] nL["Sets the font outline for spell name"] = "ì£¼ë¬¸ëª ì í ë리를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Position"] = "ìì¹" |
--[[ koKR ]] nL["Adjust spell name position"] = "ì£¼ë¬¸ëª ìì¹ ì¡°ì " |
--[[ koKR ]] nL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] nL["Sets the offset of the left of the text"] = "ê¸ìì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] nL["Sets the offset of the right of the text"] = "ê¸ìì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] nL["Sets the vertical offset of the text"] = "ê¸ìì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] nL["Color"] = "ìì" |
--[[ koKR ]] nL["Sets the spell name color"] = "ì£¼ë¬¸ëª ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] nL["None"] = "ìì" |
--[[ koKR ]] nL["Normal"] = "기본" |
--[[ koKR ]] nL["Thick"] = "êµµê²" |
--[[ koKR ]] nL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] nL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] nL["RIGHT"] = "ì°ì¸¡" |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Time Text"] = "ìì ìê°" |
--[[ koKR ]] tL["Crowd control bar time text options"] = "Crowd control bar time text options" |
--[[ koKR ]] tL["Enable"] = "ì¬ì©" |
--[[ koKR ]] tL["Show crowd control bar time text"] = "Show crowd control bar time text" |
--[[ koKR ]] tL["Typeface"] = "ìì²´" |
--[[ koKR ]] tL["Crowd control bar time text typeface options"] = "Crowd control bar time text typeface options" |
--[[ koKR ]] tL["Font"] = "ê¸ê¼´" |
--[[ koKR ]] tL["Sets the font for crowd control bar time text"] = "Sets the font for crowd control bar time text" |
--[[ koKR ]] tL["Font Size"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] tL["Sets the font height of the crowd control bar time text"] = "Sets the font height of the crowd control bar time text" |
--[[ koKR ]] tL["Font Shadow"] = "ê¸ê¼´ 그림ì" |
--[[ koKR ]] tL["Show font shadow on crowd control bar time text"] = "Show font shadow on crowd control bar time text" |
--[[ koKR ]] tL["Alignment"] = "ì ë ¬" |
--[[ koKR ]] tL["Sets the alignment of the crowd control bar time text"] = "Sets the alignment of the crowd control bar time text" |
--[[ koKR ]] tL["Outline"] = "í ë리" |
--[[ koKR ]] tL["Sets the font outline for crowd control bar time text"] = "Sets the font outline for crowd control bar time text" |
--[[ koKR ]] tL["Position"] = "ìì¹" |
--[[ koKR ]] tL["Adjust crowd control bar time text position"] = "Adjust crowd control bar time text position" |
--[[ koKR ]] tL["Left Offset"] = "ì¢ì¸¡ ì¢í" |
--[[ koKR ]] tL["Sets the offset of the left of the text"] = "ìì ìê°ì ì¢ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Right Offset"] = "ì°ì¸¡ ì¢í" |
--[[ koKR ]] tL["Sets the offset of the right of the text"] = "ìì ìê°ì ì°ì¸¡ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Vertical Offset"] = "ìì§ ì¢í" |
--[[ koKR ]] tL["Sets the vertical offset of the text"] = "ìì ìê°ì ìì§ ì¢í를 ì¤ì í©ëë¤." |
--[[ koKR ]] tL["Color"] = "ìì" |
--[[ koKR ]] tL["Sets the crowd control bar time text color"] = "Sets the crowd control bar time text color" |
--[[ koKR ]] tL["None"] = "ìì" |
--[[ koKR ]] tL["Normal"] = "기본" |
--[[ koKR ]] tL["Thick"] = "êµµê²" |
--[[ koKR ]] tL["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] tL["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] tL["RIGHT"] = "ì°ì¸¡" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCrowdControl"] = "AloftCrowdControl" |
--[[ koKR ]] mL["Display crowd control timers on nameplates when possible"] = "Display crowd control timers on nameplates when possible" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] bL["Crowd Control"] = "ÐонÑÑолÑ" |
--[[ ruRU ]] bL["Crowd control options"] = "ÐпÑии конÑÑолÑ" |
--[[ ruRU ]] bL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] bL["Shows crowd control timers on nameplates when possible"] = "ÐÑобÑажаÑÑ ÑаймеÑÑ ÐºÐ°Ð½ÑÑÐ¾Ð»Ñ Ð½Ð° ÑаблиÑÐºÐ°Ñ ÐµÑли ÑÑо возможно" |
--[[ ruRU ]] bL["Speculative Attach"] = "РиÑкованное пÑикÑепление" |
--[[ ruRU ]] bL["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"] = "ÐÑÑаÑÑÑÑ Ð¿ÑикÑепиÑÑ Ð¿Ð¾Ð»Ð¾ÑÑ ÑаймеÑа конÑÑолÑ, когда не извеÑÑно, ÑÑо ÑÑо пÑавилÑÐ½Ð°Ñ ÑаблиÑка" |
--[[ ruRU ]] bL["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] bL["Sets the crowd control bar texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки конÑÑолÑ" |
--[[ ruRU ]] bL["Border"] = "ÐÑаÑ" |
--[[ ruRU ]] bL["Border options"] = "ÐаÑÑÑойки кÑаев" |
--[[ ruRU ]] bL["Target Only"] = "ТолÑко ÑелÑ" |
--[[ ruRU ]] bL["Enables the border on the current target only"] = "ÐклÑÑиÑÑ ÐºÑÐ°Ñ ÑолÑко Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] bL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] bL["Border Color"] = "Ð¦Ð²ÐµÑ Ñамки" |
--[[ ruRU ]] bL["Sets the border color of the crowd control bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñамки полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] bL["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] bL["Sets the style of the crowd control bar border"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑÐ¸Ð»Ñ Ñамки полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] bL["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] bL["Color options"] = "ÐаÑÑÑойка ÑвеÑа" |
--[[ ruRU ]] bL["Bar Color"] = "Ð¦Ð²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки" |
--[[ ruRU ]] bL["Sets the crowd control bar color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки конÑÑолÑ" |
--[[ ruRU ]] bL["Backdrop Color"] = "Ð¦Ð²ÐµÑ Ñени" |
--[[ ruRU ]] bL["Sets the crowd control backdrop color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñени полоÑки конÑÑолÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the crowd control bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð¿Ð¾Ð»Ð¾Ñки конÑÑолÑr" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust the crowd control bar's position"] = "ÐадаÑÑ Ð¼ÐµÑÑо полоÑки конÑÑолÑ" |
--[[ ruRU ]] bL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] bL["Sets the offset of the left of the crowd control bar"] = "СмеÑение полоÑки конÑÑÐ¾Ð»Ñ Ð²Ð»ÐµÐ²Ð¾" |
--[[ ruRU ]] bL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] bL["Sets the offset of the right of the crowd control bar"] = "СмеÑение полоÑки конÑÑÐ¾Ð»Ñ Ð²Ð¿Ñаво" |
--[[ ruRU ]] bL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] bL["Sets the vertical offset of the crowd control bar"] = "СмеÑение полоÑки конÑÑÐ¾Ð»Ñ Ð¿Ð¾ веÑÑикале" |
--[[ ruRU ]] bL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] bL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] bL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] bL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] bL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] bL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] bL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] bL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] bL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] iL["Spell Icon"] = "ÐнаÑок заклинаниÑ" |
--[[ ruRU ]] iL["Crowd control spell icon placement options"] = "ÐаÑÑÑойка ÑазмеÑÐµÐ½Ð¸Ñ Ð¸ÐºÐ¾Ð½ÐºÐ¸ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] iL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] iL["Enable crowd control spell icon display on the nameplate"] = "ÐклÑÑиÑÑ Ð¾ÑобÑажение иконки Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ñ Ð½Ð° ÑаблиÑке" |
--[[ ruRU ]] iL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] iL["Adjust crowd control spell icon position"] = "РегÑлиÑовка ÑазмеÑÐµÐ½Ð¸Ñ Ð¸ÐºÐ¾Ð½ÐºÐ¸ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] iL["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] iL["Sets the anchor for the crowd control spell icon"] = "УÑÑановка ÑоÑки пÑикÑÐµÐ¿Ð»ÐµÐ½Ð¸Ñ Ð¸ÐºÐ¾Ð½ÐºÐ¸ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] iL["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] iL["Sets the relative point on the crowd control bar to anchor the spell icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð¾ÑÑ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ñ Ð¾ÑноÑиÑелÑно иконки заклинаниÑ" |
--[[ ruRU ]] iL["Size"] = "РазмеÑ" |
--[[ ruRU ]] iL["Size in pixels of the crowd control spell icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ð¸ÐºÐ¾Ð½ÐºÐ¸ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ñ Ð² пикÑелÑÑ " |
--[[ ruRU ]] iL["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] iL["X offset of the crowd control spell icon"] = "СмеÑение иконки Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ñ Ð¿Ð¾ X" |
--[[ ruRU ]] iL["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] iL["Y offset of the crowd control spell icon"] = "СмеÑение иконки Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ñ Ð¿Ð¾ Y" |
--[[ ruRU ]] iL["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] iL["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] iL["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] iL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] iL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] iL["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] iL["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] iL["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] iL["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] nL["Spell Name"] = "Ðаклинание" |
--[[ ruRU ]] nL["Crowd control bar spell name text options"] = "ÐаÑÑÑойка ÑекÑÑа Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð¿Ð¾Ð»Ð¾ÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] nL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] nL["Show spell name on crowd control bar"] = "ÐÑобÑажаÑÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ Ð² полоÑе конÑÑолÑ" |
--[[ ruRU ]] nL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] nL["Spell name typeface options"] = "ÐаÑÑÑойки ÑÑиÑÑа Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ð¹" |
--[[ ruRU ]] nL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] nL["Sets the font for spell name"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] nL["Sets the font height of the spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ ÑÑиÑÑа Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] nL["Show font shadow on spell name"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Alignment"] = "ÐÑÑавнивание" |
--[[ ruRU ]] nL["Sets the alignment of the spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑавнивание Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] nL["Sets the font outline for spell name"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¾ÐºÐ°Ð½ÑÐ¾Ð²ÐºÑ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] nL["Adjust spell name position"] = "ÐадаÑÑ Ð¼ÐµÑÑо Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] nL["Sets the offset of the left of the text"] = "СмеÑение ÑекÑÑа влево" |
--[[ ruRU ]] nL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] nL["Sets the offset of the right of the text"] = "СмеÑение ÑекÑÑа впÑаво" |
--[[ ruRU ]] nL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] nL["Sets the vertical offset of the text"] = "СмеÑение ÑекÑÑа по веÑÑикале" |
--[[ ruRU ]] nL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] nL["Sets the spell name color"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸Ñ" |
--[[ ruRU ]] nL["None"] = "ÐеÑ" |
--[[ ruRU ]] nL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] nL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] nL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] nL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] nL["RIGHT"] = "СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Time Text"] = "ТекÑÑ Ð²Ñемени" |
--[[ ruRU ]] tL["Crowd control bar time text options"] = "ÐаÑÑÑойки ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] tL["Show crowd control bar time text"] = "ÐÑобÑажаÑÑ ÑекÑÑ Ð²Ñемени в полоÑе конÑÑолÑ" |
--[[ ruRU ]] tL["Typeface"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Crowd control bar time text typeface options"] = "ÐаÑÑÑойка ÑÑиÑÑа ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Font"] = "ШÑиÑÑ" |
--[[ ruRU ]] tL["Sets the font for crowd control bar time text"] = "УÑÑановка ÑÑиÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Font Size"] = "Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Sets the font height of the crowd control bar time text"] = "УÑÑановка ÑазмеÑа ÑÑиÑÑа ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Font Shadow"] = "Ð¢ÐµÐ½Ñ ÑÑиÑÑа" |
--[[ ruRU ]] tL["Show font shadow on crowd control bar time text"] = "ÐÑобÑажаÑÑ ÑÐµÐ½Ñ ÑÑиÑÑа ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Alignment"] = "ÐÑÑавнивание" |
--[[ ruRU ]] tL["Sets the alignment of the crowd control bar time text"] = "ÐÑÑавнивание ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Outline"] = "ÐонÑÑÑ" |
--[[ ruRU ]] tL["Sets the font outline for crowd control bar time text"] = "УÑÑановка конÑÑÑа ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] tL["Adjust crowd control bar time text position"] = "РегÑлиÑовка ÑаÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] tL["Sets the offset of the left of the text"] = "СмеÑение ÑекÑÑа влево" |
--[[ ruRU ]] tL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] tL["Sets the offset of the right of the text"] = "ÐСмеÑение ÑекÑÑа впÑаво" |
--[[ ruRU ]] tL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] tL["Sets the vertical offset of the text"] = "СмеÑение ÑекÑÑа по веÑÑикале" |
--[[ ruRU ]] tL["Color"] = "ЦвеÑ" |
--[[ ruRU ]] tL["Sets the crowd control bar time text color"] = "УÑÑановка ÑвеÑа ÑекÑÑа вÑемени полоÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
--[[ ruRU ]] tL["None"] = "ÐеÑ" |
--[[ ruRU ]] tL["Normal"] = "ÐбÑÑно" |
--[[ ruRU ]] tL["Thick"] = "ÐиÑнÑй" |
--[[ ruRU ]] tL["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] tL["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] tL["RIGHT"] = "СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCrowdControl"] = "AloftCrowdControl" |
--[[ ruRU ]] mL["Display crowd control timers on nameplates when possible"] = "ÐÑли ÑÑо возможно, оÑобÑÐ°Ð¶Ð°ÐµÑ ÑаймеÑÑ ÐºÐ¾Ð½ÑÑолÑ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] bL["Crowd Control"] = "Crowd Control" |
--[[ zhCN ]] bL["Crowd control options"] = "Crowd control options" |
--[[ zhCN ]] bL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] bL["Shows crowd control timers on nameplates when possible"] = "Shows crowd control timers on nameplates when possible" |
--[[ zhCN ]] bL["Speculative Attach"] = "æ¨çä¾é" |
--[[ zhCN ]] bL["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"] = "Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate" |
--[[ zhCN ]] bL["Texture"] = "æè´¨" |
--[[ zhCN ]] bL["Sets the crowd control bar texture"] = "Sets the crowd control bar texture" |
--[[ zhCN ]] bL["Border"] = "Border" |
--[[ zhCN ]] bL["Border options"] = "Border options" |
--[[ zhCN ]] bL["Target Only"] = "Target Only" |
--[[ zhCN ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] bL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] bL["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the border color of the crowd control bar"] = "Sets the border color of the crowd control bar" |
--[[ zhCN ]] bL["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Sets the style of the crowd control bar border"] = "Sets the style of the crowd control bar border" |
--[[ zhCN ]] bL["Colors"] = "é¢è²" |
--[[ zhCN ]] bL["Color options"] = "é¢è²è®¾ç½®" |
--[[ zhCN ]] bL["Bar Color"] = "计æ¶æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the crowd control bar color"] = "Sets the crowd control bar color" |
--[[ zhCN ]] bL["Backdrop Color"] = "èæ¯é¢è²" |
--[[ zhCN ]] bL["Sets the crowd control backdrop color"] = "Sets the crowd control backdrop color" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the crowd control bar"] = "Sets the height of the crowd control bar" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust the crowd control bar's position"] = "Adjust the crowd control bar's position" |
--[[ zhCN ]] bL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] bL["Sets the offset of the left of the crowd control bar"] = "Sets the offset of the left of the crowd control bar" |
--[[ zhCN ]] bL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] bL["Sets the offset of the right of the crowd control bar"] = "Sets the offset of the right of the crowd control bar" |
--[[ zhCN ]] bL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] bL["Sets the vertical offset of the crowd control bar"] = "Sets the vertical offset of the crowd control bar" |
--[[ zhCN ]] bL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] bL["TOP"] = "ä¸" |
--[[ zhCN ]] bL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] bL["LEFT"] = "å·¦" |
--[[ zhCN ]] bL["CENTER"] = "ä¸" |
--[[ zhCN ]] bL["RIGHT"] = "å³" |
--[[ zhCN ]] bL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] bL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] bL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] iL["Spell Icon"] = "æ³æ¯å¾æ " |
--[[ zhCN ]] iL["Crowd control spell icon placement options"] = "Crowd control spell icon placement options" |
--[[ zhCN ]] iL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] iL["Enable crowd control spell icon display on the nameplate"] = "Enable crowd control spell icon display on the nameplate" |
--[[ zhCN ]] iL["Position"] = "ä½ç½®" |
--[[ zhCN ]] iL["Adjust crowd control spell icon position"] = "Adjust crowd control spell icon position" |
--[[ zhCN ]] iL["Anchor"] = "éç¹" |
--[[ zhCN ]] iL["Sets the anchor for the crowd control spell icon"] = "Sets the anchor for the crowd control spell icon" |
--[[ zhCN ]] iL["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] iL["Sets the relative point on the crowd control bar to anchor the spell icon"] = "Sets the relative point on the crowd control bar to anchor the spell icon" |
--[[ zhCN ]] iL["Size"] = "尺寸" |
--[[ zhCN ]] iL["Size in pixels of the crowd control spell icon"] = "Size in pixels of the crowd control spell icon" |
--[[ zhCN ]] iL["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] iL["X offset of the crowd control spell icon"] = "X offset of the crowd control spell icon" |
--[[ zhCN ]] iL["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] iL["Y offset of the crowd control spell icon"] = "Y offset of the crowd control spell icon" |
--[[ zhCN ]] iL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] iL["TOP"] = "ä¸" |
--[[ zhCN ]] iL["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] iL["LEFT"] = "å·¦" |
--[[ zhCN ]] iL["CENTER"] = "ä¸" |
--[[ zhCN ]] iL["RIGHT"] = "å³" |
--[[ zhCN ]] iL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] iL["BOTTOM"] = "ä¸" |
--[[ zhCN ]] iL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] nL["Spell Name"] = "æ³æ¯å称" |
--[[ zhCN ]] nL["Crowd control bar spell name text options"] = "Crowd control bar spell name text options" |
--[[ zhCN ]] nL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] nL["Show spell name on crowd control bar"] = "Show spell name on crowd control bar" |
--[[ zhCN ]] nL["Typeface"] = "åä½" |
--[[ zhCN ]] nL["Spell name typeface options"] = "æ³æ¯å称æåå¼æ ·è®¾ç½®" |
--[[ zhCN ]] nL["Font"] = "åä½" |
--[[ zhCN ]] nL["Sets the font for spell name"] = "设å®æ³æ¯å称æåçåä½" |
--[[ zhCN ]] nL["Font Size"] = "åå·" |
--[[ zhCN ]] nL["Sets the font height of the spell name"] = "设å®æ³æ¯å称æåçåå·" |
--[[ zhCN ]] nL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] nL["Show font shadow on spell name"] = "设å®æ³æ¯å称æåçåä½é´å½±" |
--[[ zhCN ]] nL["Alignment"] = "对é½" |
--[[ zhCN ]] nL["Sets the alignment of the spell name"] = "设å®æ³æ¯å称æåçåä½ç对é½æ¹å¼" |
--[[ zhCN ]] nL["Outline"] = "è½®å»" |
--[[ zhCN ]] nL["Sets the font outline for spell name"] = "设å®æ³æ¯å称æåçåä½è½®å»" |
--[[ zhCN ]] nL["Position"] = "ä½ç½®" |
--[[ zhCN ]] nL["Adjust spell name position"] = "è°æ´æ³æ¯å称æåçä½ç½®" |
--[[ zhCN ]] nL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] nL["Sets the offset of the left of the text"] = "设å®æ³æ¯å称æåçåå·¦å移é" |
--[[ zhCN ]] nL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] nL["Sets the offset of the right of the text"] = "设å®æ³æ¯å称æåçåå³å移é" |
--[[ zhCN ]] nL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhCN ]] nL["Sets the vertical offset of the text"] = "设å®æ³æ¯å称æåçåç´å移é" |
--[[ zhCN ]] nL["Color"] = "é¢è²" |
--[[ zhCN ]] nL["Sets the spell name color"] = "设å®æ³æ¯å称æåçé¢è²" |
--[[ zhCN ]] nL["None"] = "æ " |
--[[ zhCN ]] nL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] nL["Thick"] = "ç²" |
--[[ zhCN ]] nL["LEFT"] = "å·¦" |
--[[ zhCN ]] nL["CENTER"] = "ä¸" |
--[[ zhCN ]] nL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Time Text"] = "计æ¶æå" |
--[[ zhCN ]] tL["Crowd control bar time text options"] = "Crowd control bar time text options" |
--[[ zhCN ]] tL["Enable"] = "å¯ç¨" |
--[[ zhCN ]] tL["Show crowd control bar time text"] = "Show crowd control bar time text" |
--[[ zhCN ]] tL["Typeface"] = "å¼æ ·" |
--[[ zhCN ]] tL["Crowd control bar time text typeface options"] = "Crowd control bar time text typeface options" |
--[[ zhCN ]] tL["Font"] = "åä½" |
--[[ zhCN ]] tL["Sets the font for crowd control bar time text"] = "Sets the font for crowd control bar time text" |
--[[ zhCN ]] tL["Font Size"] = "åå·" |
--[[ zhCN ]] tL["Sets the font height of the crowd control bar time text"] = "Sets the font height of the crowd control bar time text" |
--[[ zhCN ]] tL["Font Shadow"] = "åä½é´å½±" |
--[[ zhCN ]] tL["Show font shadow on crowd control bar time text"] = "Show font shadow on crowd control bar time text" |
--[[ zhCN ]] tL["Alignment"] = "对é½" |
--[[ zhCN ]] tL["Sets the alignment of the crowd control bar time text"] = "Sets the alignment of the crowd control bar time text" |
--[[ zhCN ]] tL["Outline"] = "è½®å»" |
--[[ zhCN ]] tL["Sets the font outline for crowd control bar time text"] = "Sets the font outline for crowd control bar time text" |
--[[ zhCN ]] tL["Position"] = "ä½ç½®" |
--[[ zhCN ]] tL["Adjust crowd control bar time text position"] = "Adjust crowd control bar time text position" |
--[[ zhCN ]] tL["Left Offset"] = "åå·¦å移" |
--[[ zhCN ]] tL["Sets the offset of the left of the text"] = "设å®æåçåå·¦å移é" |
--[[ zhCN ]] tL["Right Offset"] = "åå³å移" |
--[[ zhCN ]] tL["Sets the offset of the right of the text"] = "设å®æåçåå³å移é" |
--[[ zhCN ]] tL["Vertical Offset"] = "åç´å移" |
--[[ zhCN ]] tL["Sets the vertical offset of the text"] = "设å®æåçåç´å移é" |
--[[ zhCN ]] tL["Color"] = "é¢è²" |
--[[ zhCN ]] tL["Sets the crowd control bar time text color"] = "Sets the crowd control bar time text color" |
--[[ zhCN ]] tL["None"] = "æ " |
--[[ zhCN ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhCN ]] tL["Thick"] = "ç²" |
--[[ zhCN ]] tL["LEFT"] = "å·¦" |
--[[ zhCN ]] tL["CENTER"] = "ä¸" |
--[[ zhCN ]] tL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCrowdControl"] = "æ§åºææ" |
--[[ zhCN ]] mL["Display crowd control timers on nameplates when possible"] = "å¯è½çæ åµå¨å§åæ¿ä¸æ¾ç¤ºæ§åºææ计æ¶å¨" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] bL["Crowd Control"] = "Crowd Control" |
--[[ zhTW ]] bL["Crowd control options"] = "Crowd control options" |
--[[ zhTW ]] bL["Enable"] = "åç¨" |
--[[ zhTW ]] bL["Shows crowd control timers on nameplates when possible"] = "Shows crowd control timers on nameplates when possible" |
--[[ zhTW ]] bL["Speculative Attach"] = "æ¨çä¾é" |
--[[ zhTW ]] bL["Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate"] = "Attempt to attach the crowd control timer bar when it is not absolutely certain if it is the correct nameplate" |
--[[ zhTW ]] bL["Texture"] = "ç´ç" |
--[[ zhTW ]] bL["Sets the crowd control bar texture"] = "Sets the crowd control bar texture" |
--[[ zhTW ]] bL["Border"] = "Border" |
--[[ zhTW ]] bL["Border options"] = "Border options" |
--[[ zhTW ]] bL["Target Only"] = "Target Only" |
--[[ zhTW ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] bL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] bL["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] bL["Sets the border color of the crowd control bar"] = "Sets the border color of the crowd control bar" |
--[[ zhTW ]] bL["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Sets the style of the crowd control bar border"] = "Sets the style of the crowd control bar border" |
--[[ zhTW ]] bL["Colors"] = "é¡è²" |
--[[ zhTW ]] bL["Color options"] = "é¡è²é¸é " |
--[[ zhTW ]] bL["Bar Color"] = "è®å½¢æ¢é¡è²" |
--[[ zhTW ]] bL["Sets the crowd control bar color"] = "Sets the crowd control bar color" |
--[[ zhTW ]] bL["Backdrop Color"] = "èæ¯é¡è²" |
--[[ zhTW ]] bL["Sets the crowd control backdrop color"] = "Sets the crowd control backdrop color" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the crowd control bar"] = "Sets the height of the crowd control bar" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust the crowd control bar's position"] = "Adjust the crowd control bar's position" |
--[[ zhTW ]] bL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the left of the crowd control bar"] = "Sets the offset of the left of the crowd control bar" |
--[[ zhTW ]] bL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] bL["Sets the offset of the right of the crowd control bar"] = "Sets the offset of the right of the crowd control bar" |
--[[ zhTW ]] bL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] bL["Sets the vertical offset of the crowd control bar"] = "Sets the vertical offset of the crowd control bar" |
--[[ zhTW ]] bL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] bL["TOP"] = "ä¸" |
--[[ zhTW ]] bL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] bL["LEFT"] = "å·¦" |
--[[ zhTW ]] bL["CENTER"] = "ä¸" |
--[[ zhTW ]] bL["RIGHT"] = "å³" |
--[[ zhTW ]] bL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] bL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] bL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] iL["Spell Icon"] = "æ³è¡å示" |
--[[ zhTW ]] iL["Crowd control spell icon placement options"] = "Crowd control spell icon placement options" |
--[[ zhTW ]] iL["Enable"] = "åç¨" |
--[[ zhTW ]] iL["Enable crowd control spell icon display on the nameplate"] = "Enable crowd control spell icon display on the nameplate" |
--[[ zhTW ]] iL["Position"] = "ä½ç½®" |
--[[ zhTW ]] iL["Adjust crowd control spell icon position"] = "Adjust crowd control spell icon position" |
--[[ zhTW ]] iL["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] iL["Sets the anchor for the crowd control spell icon"] = "Sets the anchor for the crowd control spell icon" |
--[[ zhTW ]] iL["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] iL["Sets the relative point on the crowd control bar to anchor the spell icon"] = "Sets the relative point on the crowd control bar to anchor the spell icon" |
--[[ zhTW ]] iL["Size"] = "大å°" |
--[[ zhTW ]] iL["Size in pixels of the crowd control spell icon"] = "Size in pixels of the crowd control spell icon" |
--[[ zhTW ]] iL["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] iL["X offset of the crowd control spell icon"] = "X offset of the crowd control spell icon" |
--[[ zhTW ]] iL["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] iL["Y offset of the crowd control spell icon"] = "Y offset of the crowd control spell icon" |
--[[ zhTW ]] iL["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] iL["TOP"] = "ä¸" |
--[[ zhTW ]] iL["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] iL["LEFT"] = "å·¦" |
--[[ zhTW ]] iL["CENTER"] = "ä¸" |
--[[ zhTW ]] iL["RIGHT"] = "å³" |
--[[ zhTW ]] iL["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] iL["BOTTOM"] = "ä¸" |
--[[ zhTW ]] iL["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] nL["Spell Name"] = "æ³è¡åå" |
--[[ zhTW ]] nL["Crowd control bar spell name text options"] = "Crowd control bar spell name text options" |
--[[ zhTW ]] nL["Enable"] = "åç¨" |
--[[ zhTW ]] nL["Show spell name on crowd control bar"] = "Show spell name on crowd control bar" |
--[[ zhTW ]] nL["Typeface"] = "åé«" |
--[[ zhTW ]] nL["Spell name typeface options"] = "æ³è¡åååé«é¸é " |
--[[ zhTW ]] nL["Font"] = "åå" |
--[[ zhTW ]] nL["Sets the font for spell name"] = "æ³è¡åååå" |
--[[ zhTW ]] nL["Font Size"] = "åå大å°" |
--[[ zhTW ]] nL["Sets the font height of the spell name"] = "æ³è¡åååå大å°" |
--[[ zhTW ]] nL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] nL["Show font shadow on spell name"] = "æ³è¡ååååé°å½±" |
--[[ zhTW ]] nL["Alignment"] = "å°é½" |
--[[ zhTW ]] nL["Sets the alignment of the spell name"] = "æ³è¡ååå°é½" |
--[[ zhTW ]] nL["Outline"] = "輪å»" |
--[[ zhTW ]] nL["Sets the font outline for spell name"] = "æ³è¡åååå輪å»" |
--[[ zhTW ]] nL["Position"] = "ä½ç½®" |
--[[ zhTW ]] nL["Adjust spell name position"] = "æ³è¡ååä½ç½®" |
--[[ zhTW ]] nL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] nL["Sets the offset of the left of the text"] = "æåå·¦ä½ç§»" |
--[[ zhTW ]] nL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] nL["Sets the offset of the right of the text"] = "æåå³ä½ç§»" |
--[[ zhTW ]] nL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] nL["Sets the vertical offset of the text"] = "æååç´ä½ç§»" |
--[[ zhTW ]] nL["Color"] = "é¡è²" |
--[[ zhTW ]] nL["Sets the spell name color"] = "æ³è¡ååé¡è²" |
--[[ zhTW ]] nL["None"] = "ç¡" |
--[[ zhTW ]] nL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] nL["Thick"] = "ç²" |
--[[ zhTW ]] nL["LEFT"] = "å·¦" |
--[[ zhTW ]] nL["CENTER"] = "ä¸" |
--[[ zhTW ]] nL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Time Text"] = "æéæå" |
--[[ zhTW ]] tL["Crowd control bar time text options"] = "Crowd control bar time text options" |
--[[ zhTW ]] tL["Enable"] = "åç¨" |
--[[ zhTW ]] tL["Show crowd control bar time text"] = "Show crowd control bar time text" |
--[[ zhTW ]] tL["Typeface"] = "åé«" |
--[[ zhTW ]] tL["Crowd control bar time text typeface options"] = "Crowd control bar time text typeface options" |
--[[ zhTW ]] tL["Font"] = "åå" |
--[[ zhTW ]] tL["Sets the font for crowd control bar time text"] = "Sets the font for crowd control bar time text" |
--[[ zhTW ]] tL["Font Size"] = "åå大å°" |
--[[ zhTW ]] tL["Sets the font height of the crowd control bar time text"] = "Sets the font height of the crowd control bar time text" |
--[[ zhTW ]] tL["Font Shadow"] = "ååé°å½±" |
--[[ zhTW ]] tL["Show font shadow on crowd control bar time text"] = "Show font shadow on crowd control bar time text" |
--[[ zhTW ]] tL["Alignment"] = "å°é½" |
--[[ zhTW ]] tL["Sets the alignment of the crowd control bar time text"] = "Sets the alignment of the crowd control bar time text" |
--[[ zhTW ]] tL["Outline"] = "輪å»" |
--[[ zhTW ]] tL["Sets the font outline for crowd control bar time text"] = "Sets the font outline for crowd control bar time text" |
--[[ zhTW ]] tL["Position"] = "ä½ç½®" |
--[[ zhTW ]] tL["Adjust crowd control bar time text position"] = "Adjust crowd control bar time text position" |
--[[ zhTW ]] tL["Left Offset"] = "å·¦ä½ç§»" |
--[[ zhTW ]] tL["Sets the offset of the left of the text"] = "æåå·¦ä½ç§»" |
--[[ zhTW ]] tL["Right Offset"] = "å³ä½ç§»" |
--[[ zhTW ]] tL["Sets the offset of the right of the text"] = "æåå³ä½ç§»" |
--[[ zhTW ]] tL["Vertical Offset"] = "åç´ä½ç§»" |
--[[ zhTW ]] tL["Sets the vertical offset of the text"] = "æååç´ä½ç§»" |
--[[ zhTW ]] tL["Color"] = "é¡è²" |
--[[ zhTW ]] tL["Sets the crowd control bar time text color"] = "Sets the crowd control bar time text color" |
--[[ zhTW ]] tL["None"] = "ç¡" |
--[[ zhTW ]] tL["Normal"] = "æ£å¸¸" |
--[[ zhTW ]] tL["Thick"] = "ç²" |
--[[ zhTW ]] tL["LEFT"] = "å·¦" |
--[[ zhTW ]] tL["CENTER"] = "ä¸" |
--[[ zhTW ]] tL["RIGHT"] = "å³" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCrowdControl"] = "æ§å ´ææ" |
--[[ zhTW ]] mL["Display crowd control timers on nameplates when possible"] = "å¯è½çæ æ³å¨åçä¸é¡¯ç¤ºæ§å ´ææè¨æå¨" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftPolymorphOptions = setmetatable(bL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
bL = nil |
AloftLocale.AloftCrowdControlSpellIconOptions = setmetatable(iL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
iL = nil |
AloftLocale.AloftCrowdControlSpellNameTextOptions = setmetatable(nL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
nL = nil |
AloftLocale.AloftCrowdControlTimeTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
tL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCrowdControlTimeTextOptions |
if not L then return end |
local AloftCrowdControl = Aloft:GetModule("CrowdControl", true) |
if not AloftCrowdControl then return end |
local AloftCrowdControlTimeText = Aloft:GetModule("CrowdControlTimeText", true) |
if not AloftCrowdControlTimeText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.crowdControl.args.crowdControlTimeText = |
{ |
type = 'group', |
name = L["Time Text"], |
desc = L["Crowd control bar time text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlTimeText:IsEnabled() or not AloftCrowdControlTimeText.db or not AloftCrowdControlTimeText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show crowd control bar time text"], |
get = function(i) return AloftCrowdControlTimeText.db.profile.enable end, |
set = function(i, v) AloftCrowdControlTimeText.db.profile.enable = v AloftCrowdControlTimeText:Update() end, |
order = 1 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Crowd control bar time text typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlTimeText:IsEnabled() or not AloftCrowdControlTimeText.db or not AloftCrowdControlTimeText.db.profile or not AloftCrowdControlTimeText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for crowd control bar time text"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.crowdControl.args.crowdControlTimeText.args.typeface.args.font.values) do |
if v == AloftCrowdControlTimeText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCrowdControlTimeText.db.profile.font = Aloft.Options.args.crowdControl.args.crowdControlTimeText.args.typeface.args.font.values[v] |
AloftCrowdControlTimeText:Update() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the crowd control bar time text"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCrowdControlTimeText.db.profile.fontSize end, |
set = function(i, value) AloftCrowdControlTimeText.db.profile.fontSize = value AloftCrowdControlTimeText:Update() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on crowd control bar time text"], |
get = function(i) return AloftCrowdControlTimeText.db.profile.shadow end, |
set = function(i, v) AloftCrowdControlTimeText.db.profile.shadow = v AloftCrowdControlTimeText:Update() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for crowd control bar time text"], |
get = function(i) return AloftCrowdControlTimeText.db.profile.outline end, |
set = function(i, value) AloftCrowdControlTimeText.db.profile.outline = value AloftCrowdControlTimeText:Update() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the crowd control bar time text"], |
disabled = function(i) return not AloftCrowdControlTimeText.db.profile.enable end, |
get = function(i) return AloftCrowdControlTimeText.db.profile.alignment end, |
set = function(i, value) AloftCrowdControlTimeText.db.profile.alignment = value AloftCrowdControlTimeText:Update() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust crowd control bar time text position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlTimeText:IsEnabled() or not AloftCrowdControlTimeText.db or not AloftCrowdControlTimeText.db.profile or not AloftCrowdControlTimeText.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlTimeText.db.profile.offsets.left end, |
set = function(i, v) AloftCrowdControlTimeText.db.profile.offsets.left = v AloftCrowdControlTimeText:Update() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlTimeText.db.profile.offsets.right end, |
set = function(i, v) AloftCrowdControlTimeText.db.profile.offsets.right = v AloftCrowdControlTimeText:Update() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlTimeText.db.profile.offsets.vertical end, |
set = function(i, v) AloftCrowdControlTimeText.db.profile.offsets.vertical = v AloftCrowdControlTimeText:Update() end |
}, |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the crowd control bar time text color"], |
disabled = function(i) return not AloftCrowdControlTimeText.db.profile.enable end, |
get = function(i) return unpack(AloftCrowdControlTimeText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCrowdControlTimeText.db.profile.color = { r, g, b, a } AloftCrowdControlTimeText:Update() end, |
hasAlpha = true, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCrowdControl = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCrowdControl"], |
desc = L["Display crowd control timers on nameplates when possible"], |
get = function(i) return AloftModules.db.profile.AloftCrowdControl end, |
set = function(i, v) AloftModules.db.profile.AloftCrowdControl = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCrowdControl", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCrowdControlSpellNameTextOptions |
if not L then return end |
local AloftCrowdControl = Aloft:GetModule("CrowdControl", true) |
if not AloftCrowdControl then return end |
local AloftCrowdControlSpellNameText = Aloft:GetModule("CrowdControlSpellNameText", true) |
if not AloftCrowdControlSpellNameText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.crowdControl.args.crowdControlSpellNameText = |
{ |
type = 'group', |
name = L["Spell Name"], |
desc = L["Crowd control bar spell name text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlSpellNameText:IsEnabled() or not AloftCrowdControlSpellNameText.db or not AloftCrowdControlSpellNameText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show spell name on crowd control bar"], |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.enable end, |
set = function(i, v) AloftCrowdControlSpellNameText.db.profile.enable = v AloftCrowdControlSpellNameText:Update() end, |
order = 1 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Spell name typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlSpellNameText:IsEnabled() or not AloftCrowdControlSpellNameText.db or not AloftCrowdControlSpellNameText.db.profile or not AloftCrowdControlSpellNameText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for spell name"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.crowdControl.args.crowdControlSpellNameText.args.typeface.args.font.values) do |
if v == AloftCrowdControlSpellNameText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCrowdControlSpellNameText.db.profile.font = Aloft.Options.args.crowdControl.args.crowdControlSpellNameText.args.typeface.args.font.values[v] |
AloftCrowdControlSpellNameText:Update() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the spell name"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.fontSize end, |
set = function(i, value) AloftCrowdControlSpellNameText.db.profile.fontSize = value AloftCrowdControlSpellNameText:Update() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on spell name"], |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.shadow end, |
set = function(i, v) AloftCrowdControlSpellNameText.db.profile.shadow = v AloftCrowdControlSpellNameText:Update() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for spell name"], |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.outline end, |
set = function(i, value) AloftCrowdControlSpellNameText.db.profile.outline = value AloftCrowdControlSpellNameText:Update() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the spell name"], |
disabled = function(i) return not AloftCrowdControlSpellNameText.db.profile.enable end, |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.alignment end, |
set = function(i, value) AloftCrowdControlSpellNameText.db.profile.alignment = value AloftCrowdControlSpellNameText:Update() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust spell name position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCrowdControl:IsEnabled() or not AloftCrowdControl.db or not AloftCrowdControl.db.profile or not AloftCrowdControl.db.profile.enable or not AloftCrowdControlSpellNameText:IsEnabled() or not AloftCrowdControlSpellNameText.db or not AloftCrowdControlSpellNameText.db.profile or not AloftCrowdControlSpellNameText.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.offsets.left end, |
set = function(i, v) AloftCrowdControlSpellNameText.db.profile.offsets.left = v AloftCrowdControlSpellNameText:Update() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.offsets.right end, |
set = function(i, v) AloftCrowdControlSpellNameText.db.profile.offsets.right = v AloftCrowdControlSpellNameText:Update() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCrowdControlSpellNameText.db.profile.offsets.vertical end, |
set = function(i, v) AloftCrowdControlSpellNameText.db.profile.offsets.vertical = v AloftCrowdControlSpellNameText:Update() end |
}, |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the spell name color"], |
disabled = function(i) return not AloftCrowdControlSpellNameText.db.profile.enable end, |
get = function(i) return unpack(AloftCrowdControlSpellNameText.db.profile.color) end, |
set = function(i, r, g, b, a) AloftCrowdControlSpellNameText.db.profile.color = { r, g, b, a } AloftCrowdControlSpellNameText:Update() end, |
hasAlpha = true |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
-- ChatFrame7:AddMessage("AloftCastWarningLocale: have globals") |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
-- ChatFrame7:AddMessage("AloftCastWarningLocale: have modules locale") |
local wL = { } |
local iL = { } |
local nL = { } |
local tL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] wL["Cast Warning"] = "Cast Warning" |
--[[ enUS ]] wL["Cast warning options"] = "Cast warning options" |
--[[ enUS ]] wL["Enable"] = "Enable" |
--[[ enUS ]] wL["Show cast warnings on identifiable enemy nameplates"] = "Show cast warnings on identifiable enemy nameplates" |
--[[ enUS ]] wL["Verification Interval"] = "Verification Interval" |
--[[ enUS ]] wL["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"] = "Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)" |
--[[ enUS ]] wL["Animated Cast Warning"] = "Animated Cast Warning" |
--[[ enUS ]] wL["Animate cast warnings as cast bars"] = "Animate cast warnings as cast bars" |
--[[ enUS ]] wL["Fade Duration"] = "Fade Duration" |
--[[ enUS ]] wL["Sets the fade duration of animated cast warnings (0.0 is no fade)"] = "Sets the fade duration of animated cast warnings (0.0 is no fade)" |
--[[ enUS ]] wL["Trade Skills"] = "Trade Skills" |
--[[ enUS ]] wL["Show cast warnings for trade skills"] = "Show cast warnings for trade skills" |
--[[ enUS ]] wL["Players"] = "Players" |
--[[ enUS ]] wL["Show cast warnings for players"] = "Show cast warnings for players" |
--[[ enUS ]] wL["Friendly Units"] = "Friendly Units" |
--[[ enUS ]] wL["Show cast warnings for friendly units"] = "Show cast warnings for friendly units" |
--[[ enUS ]] wL["Position"] = "Position" |
--[[ enUS ]] wL["Adjust the cast warning's position"] = "Adjust the cast warning's position" |
--[[ enUS ]] wL["Left Offset"] = "Left Offset" |
--[[ enUS ]] wL["Sets the offset of the left of the cast warning"] = "Sets the offset of the left of the cast warning" |
--[[ enUS ]] wL["Right Offset"] = "Right Offset" |
--[[ enUS ]] wL["Sets the offset of the right of the cast warning"] = "Sets the offset of the right of the cast warning" |
--[[ enUS ]] wL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] wL["Sets the vertical offset of the cast warning"] = "Sets the vertical offset of the cast warning" |
--[[ enUS ]] wL["Height"] = "Height" |
--[[ enUS ]] wL["Sets the height of the cast warning"] = "Sets the height of the cast warning" |
--[[ enUS ]] wL["Interruptable Cast Warning"] = "Interruptable Cast Warning" |
--[[ enUS ]] wL["Cast warning appearance for interruptable spells"] = "Cast warning appearance for interruptable spells" |
--[[ enUS ]] wL["Uninterruptable Cast Warning"] = "Uninterruptable Cast Warning" |
--[[ enUS ]] wL["Cast warning appearance for uninterruptable spells"] = "Cast warning appearance for uninterruptable spells" |
--[[ enUS ]] wL["Cast Warning Color"] = "Cast Warning Color" |
--[[ enUS ]] wL["Sets the color of the cast warning"] = "Sets the color of the cast warning" |
--[[ enUS ]] wL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] wL["Sets the backdrop color of the cast warning"] = "Sets the backdrop color of the cast warning" |
--[[ enUS ]] wL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] wL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] wL["Border Inset"] = "Border Inset" |
--[[ enUS ]] wL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] wL["Border Color"] = "Border Color" |
--[[ enUS ]] wL["Sets the border color of the cast warning"] = "Sets the border color of the cast warning" |
--[[ enUS ]] wL["Border Style"] = "Border Style" |
--[[ enUS ]] wL["Sets the style of the cast warning border"] = "Sets the style of the cast warning border" |
--[[ enUS ]] wL["Texture"] = "Texture" |
--[[ enUS ]] wL["Sets the cast warning texture"] = "Sets the cast warning texture" |
--[[ enUS ]] wL["Cast Warning Alpha Override Enable"] = "Cast Warning Alpha Override Enable" |
--[[ enUS ]] wL["Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ enUS ]] wL["Cast Warning Alpha Override"] = "Cast Warning Alpha Override" |
--[[ enUS ]] wL["Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ enUS ]] wL["Colors"] = "Colors" |
--[[ enUS ]] wL["Customize cast warning colors (based on spell school)"] = "Customize cast warning colors (based on spell school)" |
--[[ enUS ]] wL["Default"] = "Default" |
--[[ enUS ]] wL["Sets the default color for cast warnings from unknown schools"] = "Sets the default color for cast warnings from unknown schools" |
--[[ enUS ]] wL["Physical"] = "Physical" |
--[[ enUS ]] wL["Sets the color for physical school cast warnings"] = "Sets the color for physical school cast warnings" |
--[[ enUS ]] wL["Holy"] = "Holy" |
--[[ enUS ]] wL["Sets the color for holy school cast warnings"] = "Sets the color for holy school cast warnings" |
--[[ enUS ]] wL["Fire"] = "Fire" |
--[[ enUS ]] wL["Sets the color for fire school cast warnings"] = "Sets the color for fire school cast warnings" |
--[[ enUS ]] wL["Nature"] = "Nature" |
--[[ enUS ]] wL["Sets the color for nature school cast warnings"] = "Sets the color for nature school cast warnings" |
--[[ enUS ]] wL["Frost"] = "Frost" |
--[[ enUS ]] wL["Sets the color for frost school cast warnings"] = "Sets the color for frost school cast warnings" |
--[[ enUS ]] wL["Shadow"] = "Shadow" |
--[[ enUS ]] wL["Sets the color for shadow school cast warnings"] = "Sets the color for shadow school cast warnings" |
--[[ enUS ]] wL["Arcane"] = "Arcane" |
--[[ enUS ]] wL["Sets the color for arcane school cast warnings"] = "Sets the color for arcane school cast warnings" |
--[[ enUS ]] wL["Healing"] = "Healing" |
--[[ enUS ]] wL["Sets the color for healing school cast warnings"] = "Sets the color for healing school cast warnings" |
--[[ enUS ]] wL["Reset to Defaults"] = "Reset to Defaults" |
--[[ enUS ]] wL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastWarning"] = "AloftCastWarning" |
--[[ enUS ]] mL["Add cast warnings to Aloft unit nameplates"] = "Add cast warnings to Aloft unit nameplates" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] iL["Spell Icon"] = "Spell Icon" |
--[[ enUS ]] iL["Cast warning spell icon placement options"] = "Cast warning spell icon placement options" |
--[[ enUS ]] iL["Enable"] = "Enable" |
--[[ enUS ]] iL["Enable cast warning spell icon display on the nameplate"] = "Enable cast warning spell icon display on the nameplate" |
--[[ enUS ]] iL["Position"] = "Position" |
--[[ enUS ]] iL["Adjust cast warning spell icon position"] = "Adjust cast warning spell icon position" |
--[[ enUS ]] iL["Anchor"] = "Anchor" |
--[[ enUS ]] iL["Sets the anchor for the cast warning spell icon"] = "Sets the anchor for the cast warning spell icon" |
--[[ enUS ]] iL["Anchor To"] = "Anchor To" |
--[[ enUS ]] iL["Sets the relative point on the cast warning to anchor the spell icon"] = "Sets the relative point on the cast warning to anchor the spell icon" |
--[[ enUS ]] iL["X Offset"] = "X Offset" |
--[[ enUS ]] iL["X offset of the cast warning spell icon"] = "X offset of the cast warning spell icon" |
--[[ enUS ]] iL["Y Offset"] = "Y Offset" |
--[[ enUS ]] iL["Y offset of the cast warning spell icon"] = "Y offset of the cast warning spell icon" |
--[[ enUS ]] iL["Size"] = "Size" |
--[[ enUS ]] iL["Size in pixels of the cast warning spell icon"] = "Size in pixels of the cast warning spell icon" |
--[[ enUS ]] iL["Shield"] = "Shield" |
--[[ enUS ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ enUS ]] iL["Enable"] = "Enable" |
--[[ enUS ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ enUS ]] iL["Style"] = "Style" |
--[[ enUS ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ enUS ]] iL["Color"] = "Color" |
--[[ enUS ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ enUS ]] iL["SQUARE"] = "SQUARE" |
--[[ enUS ]] iL["ROUND"] = "ROUND" |
--[[ enUS ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] iL["TOP"] = "TOP" |
--[[ enUS ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] iL["LEFT"] = "LEFT" |
--[[ enUS ]] iL["CENTER"] = "CENTER" |
--[[ enUS ]] iL["RIGHT"] = "RIGHT" |
--[[ enUS ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] iL["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastWarningSpellIcon"] = "AloftCastWarningSpellIcon" |
--[[ enUS ]] mL["Display spell icon on cast warning"] = "Display spell icon on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] nL["Spell Name"] = "Spell Name" |
--[[ enUS ]] nL["Cast warning spell name text options"] = "Cast warning spell name text options" |
--[[ enUS ]] nL["Enable"] = "Enable" |
--[[ enUS ]] nL["Show cast warning spell name"] = "Show cast warning spell name" |
--[[ enUS ]] nL["Display Rank"] = "Display Rank" |
--[[ enUS ]] nL["Show cast warning spell rank"] = "Show cast warning spell rank" |
--[[ enUS ]] nL["Display Min/Max Range"] = "Display Min/Max Range" |
--[[ enUS ]] nL["Show cast warning spell minimum/maximum range"] = "Show cast warning spell minimum/maximum range" |
--[[ enUS ]] nL["Display Outcome"] = "Display Outcome" |
--[[ enUS ]] nL["Show cast warning spell outcome"] = "Show cast warning spell outcome" |
--[[ enUS ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ enUS ]] nL["Show cast warning spell outcome reason"] = "Show cast warning spell outcome reason" |
--[[ enUS ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ enUS ]] nL["Show cast warning spell outcome reason (failure type, interrupting spell)"] = "Show cast warning spell outcome reason (failure type, interrupting spell)" |
--[[ enUS ]] nL["Typeface"] = "Typeface" |
--[[ enUS ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ enUS ]] nL["Font"] = "Font" |
--[[ enUS ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ enUS ]] nL["Font Size"] = "Font Size" |
--[[ enUS ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ enUS ]] nL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ enUS ]] nL["Outline"] = "Outline" |
--[[ enUS ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ enUS ]] nL["Alignment"] = "Alignment" |
--[[ enUS ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ enUS ]] nL["Position"] = "Position" |
--[[ enUS ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ enUS ]] nL["Left Offset"] = "Left Offset" |
--[[ enUS ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] nL["Right Offset"] = "Right Offset" |
--[[ enUS ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] nL["Colors"] = "Colors" |
--[[ enUS ]] nL["Sets the spell name colors"] = "Sets the spell name colors" |
--[[ enUS ]] nL["Cast Color"] = "Cast Color" |
--[[ enUS ]] nL["Sets the spell name color during active casting"] = "Sets the spell name color during active casting" |
--[[ enUS ]] nL["Fade Color"] = "Fade Color" |
--[[ enUS ]] nL["Sets the spell name color during cast warning fade"] = "Sets the spell name color during cast warning fade" |
--[[ enUS ]] nL["None"] = "None" |
--[[ enUS ]] nL["Normal"] = "Normal" |
--[[ enUS ]] nL["Thick"] = "Thick" |
--[[ enUS ]] nL["LEFT"] = "LEFT" |
--[[ enUS ]] nL["CENTER"] = "CENTER" |
--[[ enUS ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastWarningSpellNameText"] = "AloftCastWarningSpellNameText" |
--[[ enUS ]] mL["Display spell name on cast warning"] = "Display spell name on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] tL["Spell Time"] = "Spell Time" |
--[[ enUS ]] tL["Cast warning spell time text options"] = "Cast warning spell time text options" |
--[[ enUS ]] tL["Enable"] = "Enable" |
--[[ enUS ]] tL["Show cast warning spell time"] = "Show cast warning spell time" |
--[[ enUS ]] tL["Typeface"] = "Typeface" |
--[[ enUS ]] tL["Spell time typeface options"] = "Spell time typeface options" |
--[[ enUS ]] tL["Font"] = "Font" |
--[[ enUS ]] tL["Sets the font for spell time"] = "Sets the font for spell time" |
--[[ enUS ]] tL["Font Size"] = "Font Size" |
--[[ enUS ]] tL["Sets the font height of the spell time"] = "Sets the font height of the spell time" |
--[[ enUS ]] tL["Font Shadow"] = "Font Shadow" |
--[[ enUS ]] tL["Show font shadow on spell time"] = "Show font shadow on spell time" |
--[[ enUS ]] tL["Outline"] = "Outline" |
--[[ enUS ]] tL["Sets the font outline for spell time"] = "Sets the font outline for spell time" |
--[[ enUS ]] tL["Alignment"] = "Alignment" |
--[[ enUS ]] tL["Sets the alignment of the spell time"] = "Sets the alignment of the spell time" |
--[[ enUS ]] tL["Position"] = "Position" |
--[[ enUS ]] tL["Adjust spell time position"] = "Adjust spell time position" |
--[[ enUS ]] tL["Left Offset"] = "Left Offset" |
--[[ enUS ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ enUS ]] tL["Right Offset"] = "Right Offset" |
--[[ enUS ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ enUS ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ enUS ]] tL["Colors"] = "Colors" |
--[[ enUS ]] tL["Sets the spell time colors"] = "Sets the spell time colors" |
--[[ enUS ]] tL["Cast Color"] = "Cast Color" |
--[[ enUS ]] tL["Sets the spell time color during active casting"] = "Sets the spell time color during active casting" |
--[[ enUS ]] tL["Fade Color"] = "Fade Color" |
--[[ enUS ]] tL["Sets the spell time color during cast warning fade"] = "Sets the spell time color during cast warning fade" |
--[[ enUS ]] tL["None"] = "None" |
--[[ enUS ]] tL["Normal"] = "Normal" |
--[[ enUS ]] tL["Thick"] = "Thick" |
--[[ enUS ]] tL["LEFT"] = "LEFT" |
--[[ enUS ]] tL["CENTER"] = "CENTER" |
--[[ enUS ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftCastWarningTimeText"] = "AloftCastWarningTimeText" |
--[[ enUS ]] mL["Display time text on cast warning"] = "Display time text on cast warning" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] wL["Cast Warning"] = "Cast Warning" |
--[[ koKR ]] wL["Cast warning options"] = "Cast warning options" |
--[[ koKR ]] wL["Enable"] = "Enable" |
--[[ koKR ]] wL["Show cast warnings on identifiable enemy nameplates"] = "Show cast warnings on identifiable enemy nameplates" |
--[[ koKR ]] wL["Verification Interval"] = "Verification Interval" |
--[[ koKR ]] wL["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"] = "Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)" |
--[[ koKR ]] wL["Animated Cast Warning"] = "Animated Cast Warning" |
--[[ koKR ]] wL["Animate cast warnings as cast bars"] = "Animate cast warnings as cast bars" |
--[[ koKR ]] wL["Fade Duration"] = "Fade Duration" |
--[[ koKR ]] wL["Sets the fade duration of animated cast warnings (0.0 is no fade)"] = "Sets the fade duration of animated cast warnings (0.0 is no fade)" |
--[[ koKR ]] wL["Trade Skills"] = "Trade Skills" |
--[[ koKR ]] wL["Show cast warnings for trade skills"] = "Show cast warnings for trade skills" |
--[[ koKR ]] wL["Players"] = "Players" |
--[[ koKR ]] wL["Show cast warnings for players"] = "Show cast warnings for players" |
--[[ koKR ]] wL["Friendly Units"] = "Friendly Units" |
--[[ koKR ]] wL["Show cast warnings for friendly units"] = "Show cast warnings for friendly units" |
--[[ koKR ]] wL["Position"] = "Position" |
--[[ koKR ]] wL["Adjust the cast warning's position"] = "Adjust the cast warning's position" |
--[[ koKR ]] wL["Left Offset"] = "Left Offset" |
--[[ koKR ]] wL["Sets the offset of the left of the cast warning"] = "Sets the offset of the left of the cast warning" |
--[[ koKR ]] wL["Right Offset"] = "Right Offset" |
--[[ koKR ]] wL["Sets the offset of the right of the cast warning"] = "Sets the offset of the right of the cast warning" |
--[[ koKR ]] wL["Vertical Offset"] = "Vertical Offset" |
--[[ koKR ]] wL["Sets the vertical offset of the cast warning"] = "Sets the vertical offset of the cast warning" |
--[[ koKR ]] wL["Height"] = "Height" |
--[[ koKR ]] wL["Sets the height of the cast warning"] = "Sets the height of the cast warning" |
--[[ koKR ]] wL["Interruptable Cast Warning"] = "Interruptable Cast Warning" |
--[[ koKR ]] wL["Cast warning appearance for interruptable spells"] = "Cast warning appearance for interruptable spells" |
--[[ koKR ]] wL["Uninterruptable Cast Warning"] = "Uninterruptable Cast Warning" |
--[[ koKR ]] wL["Cast warning appearance for uninterruptable spells"] = "Cast warning appearance for uninterruptable spells" |
--[[ koKR ]] wL["Cast Warning Color"] = "Cast Warning Color" |
--[[ koKR ]] wL["Sets the color of the cast warning"] = "Sets the color of the cast warning" |
--[[ koKR ]] wL["Backdrop Color"] = "Backdrop Color" |
--[[ koKR ]] wL["Sets the backdrop color of the cast warning"] = "Sets the backdrop color of the cast warning" |
--[[ koKR ]] wL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] wL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] wL["Border Inset"] = "Border Inset" |
--[[ koKR ]] wL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] wL["Border Color"] = "Border Color" |
--[[ koKR ]] wL["Sets the border color of the cast warning"] = "Sets the border color of the cast warning" |
--[[ koKR ]] wL["Border Style"] = "Border Style" |
--[[ koKR ]] wL["Sets the style of the cast warning border"] = "Sets the style of the cast warning border" |
--[[ koKR ]] wL["Texture"] = "Texture" |
--[[ koKR ]] wL["Sets the cast warning texture"] = "Sets the cast warning texture" |
--[[ koKR ]] wL["Cast Warning Alpha Override Enable"] = "Cast Warning Alpha Override Enable" |
--[[ koKR ]] wL["Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ koKR ]] wL["Cast Warning Alpha Override"] = "Cast Warning Alpha Override" |
--[[ koKR ]] wL["Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ koKR ]] wL["Colors"] = "Colors" |
--[[ koKR ]] wL["Customize cast warning colors (based on spell school)"] = "Customize cast warning colors (based on spell school)" |
--[[ koKR ]] wL["Default"] = "Default" |
--[[ koKR ]] wL["Sets the default color for cast warnings from unknown schools"] = "Sets the default color for cast warnings from unknown schools" |
--[[ koKR ]] wL["Physical"] = "Physical" |
--[[ koKR ]] wL["Sets the color for physical school cast warnings"] = "Sets the color for physical school cast warnings" |
--[[ koKR ]] wL["Holy"] = "Holy" |
--[[ koKR ]] wL["Sets the color for holy school cast warnings"] = "Sets the color for holy school cast warnings" |
--[[ koKR ]] wL["Fire"] = "Fire" |
--[[ koKR ]] wL["Sets the color for fire school cast warnings"] = "Sets the color for fire school cast warnings" |
--[[ koKR ]] wL["Nature"] = "Nature" |
--[[ koKR ]] wL["Sets the color for nature school cast warnings"] = "Sets the color for nature school cast warnings" |
--[[ koKR ]] wL["Frost"] = "Frost" |
--[[ koKR ]] wL["Sets the color for frost school cast warnings"] = "Sets the color for frost school cast warnings" |
--[[ koKR ]] wL["Shadow"] = "Shadow" |
--[[ koKR ]] wL["Sets the color for shadow school cast warnings"] = "Sets the color for shadow school cast warnings" |
--[[ koKR ]] wL["Arcane"] = "Arcane" |
--[[ koKR ]] wL["Sets the color for arcane school cast warnings"] = "Sets the color for arcane school cast warnings" |
--[[ koKR ]] wL["Healing"] = "Healing" |
--[[ koKR ]] wL["Sets the color for healing school cast warnings"] = "Sets the color for healing school cast warnings" |
--[[ koKR ]] wL["Reset to Defaults"] = "Reset to Defaults" |
--[[ koKR ]] wL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastWarning"] = "AloftCastWarning" |
--[[ koKR ]] mL["Add cast warnings to Aloft unit nameplates"] = "Add cast warnings to Aloft unit nameplates" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] iL["Spell Icon"] = "Spell Icon" |
--[[ koKR ]] iL["Cast warning spell icon placement options"] = "Cast warning spell icon placement options" |
--[[ koKR ]] iL["Enable"] = "Enable" |
--[[ koKR ]] iL["Enable cast warning spell icon display on the nameplate"] = "Enable cast warning spell icon display on the nameplate" |
--[[ koKR ]] iL["Position"] = "Position" |
--[[ koKR ]] iL["Adjust cast warning spell icon position"] = "Adjust cast warning spell icon position" |
--[[ koKR ]] iL["Anchor"] = "Anchor" |
--[[ koKR ]] iL["Sets the anchor for the cast warning spell icon"] = "Sets the anchor for the cast warning spell icon" |
--[[ koKR ]] iL["Anchor To"] = "Anchor To" |
--[[ koKR ]] iL["Sets the relative point on the cast warning to anchor the spell icon"] = "Sets the relative point on the cast warning to anchor the spell icon" |
--[[ koKR ]] iL["X Offset"] = "X Offset" |
--[[ koKR ]] iL["X offset of the cast warning spell icon"] = "X offset of the cast warning spell icon" |
--[[ koKR ]] iL["Y Offset"] = "Y Offset" |
--[[ koKR ]] iL["Y offset of the cast warning spell icon"] = "Y offset of the cast warning spell icon" |
--[[ koKR ]] iL["Size"] = "Size" |
--[[ koKR ]] iL["Size in pixels of the cast warning spell icon"] = "Size in pixels of the cast warning spell icon" |
--[[ koKR ]] iL["Shield"] = "Shield" |
--[[ koKR ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ koKR ]] iL["Enable"] = "Enable" |
--[[ koKR ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ koKR ]] iL["Style"] = "Style" |
--[[ koKR ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ koKR ]] iL["Color"] = "Color" |
--[[ koKR ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ koKR ]] iL["SQUARE"] = "SQUARE" |
--[[ koKR ]] iL["ROUND"] = "ROUND" |
--[[ koKR ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ koKR ]] iL["TOP"] = "TOP" |
--[[ koKR ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ koKR ]] iL["LEFT"] = "LEFT" |
--[[ koKR ]] iL["CENTER"] = "CENTER" |
--[[ koKR ]] iL["RIGHT"] = "RIGHT" |
--[[ koKR ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ koKR ]] iL["BOTTOM"] = "BOTTOM" |
--[[ koKR ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastWarningSpellIcon"] = "AloftCastWarningSpellIcon" |
--[[ koKR ]] mL["Display spell icon on cast warning"] = "Display spell icon on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] nL["Spell Name"] = "Spell Name" |
--[[ koKR ]] nL["Cast warning spell name text options"] = "Cast warning spell name text options" |
--[[ koKR ]] nL["Enable"] = "Enable" |
--[[ koKR ]] nL["Show cast warning spell name"] = "Show cast warning spell name" |
--[[ koKR ]] nL["Display Rank"] = "Display Rank" |
--[[ koKR ]] nL["Show cast warning spell rank"] = "Show cast warning spell rank" |
--[[ koKR ]] nL["Display Min/Max Range"] = "Display Min/Max Range" |
--[[ koKR ]] nL["Show cast warning spell minimum/maximum range"] = "Show cast warning spell minimum/maximum range" |
--[[ koKR ]] nL["Display Outcome"] = "Display Outcome" |
--[[ koKR ]] nL["Show cast warning spell outcome"] = "Show cast warning spell outcome" |
--[[ koKR ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ koKR ]] nL["Show cast warning spell outcome reason"] = "Show cast warning spell outcome reason" |
--[[ koKR ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ koKR ]] nL["Show cast warning spell outcome reason (failure type, interrupting spell)"] = "Show cast warning spell outcome reason (failure type, interrupting spell)" |
--[[ koKR ]] nL["Typeface"] = "Typeface" |
--[[ koKR ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ koKR ]] nL["Font"] = "Font" |
--[[ koKR ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ koKR ]] nL["Font Size"] = "Font Size" |
--[[ koKR ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ koKR ]] nL["Font Shadow"] = "Font Shadow" |
--[[ koKR ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ koKR ]] nL["Outline"] = "Outline" |
--[[ koKR ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ koKR ]] nL["Alignment"] = "Alignment" |
--[[ koKR ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ koKR ]] nL["Position"] = "Position" |
--[[ koKR ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ koKR ]] nL["Left Offset"] = "Left Offset" |
--[[ koKR ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ koKR ]] nL["Right Offset"] = "Right Offset" |
--[[ koKR ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ koKR ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ koKR ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ koKR ]] nL["Colors"] = "Colors" |
--[[ koKR ]] nL["Sets the spell name colors"] = "Sets the spell name colors" |
--[[ koKR ]] nL["Cast Color"] = "Cast Color" |
--[[ koKR ]] nL["Sets the spell name color during active casting"] = "Sets the spell name color during active casting" |
--[[ koKR ]] nL["Fade Color"] = "Fade Color" |
--[[ koKR ]] nL["Sets the spell name color during cast warning fade"] = "Sets the spell name color during cast warning fade" |
--[[ koKR ]] nL["None"] = "None" |
--[[ koKR ]] nL["Normal"] = "Normal" |
--[[ koKR ]] nL["Thick"] = "Thick" |
--[[ koKR ]] nL["LEFT"] = "LEFT" |
--[[ koKR ]] nL["CENTER"] = "CENTER" |
--[[ koKR ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastWarningSpellNameText"] = "AloftCastWarningSpellNameText" |
--[[ koKR ]] mL["Display spell name on cast warning"] = "Display spell name on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] tL["Spell Time"] = "Spell Time" |
--[[ koKR ]] tL["Cast warning spell time text options"] = "Cast warning spell time text options" |
--[[ koKR ]] tL["Enable"] = "Enable" |
--[[ koKR ]] tL["Show cast warning spell time"] = "Show cast warning spell time" |
--[[ koKR ]] tL["Typeface"] = "Typeface" |
--[[ koKR ]] tL["Spell time typeface options"] = "Spell time typeface options" |
--[[ koKR ]] tL["Font"] = "Font" |
--[[ koKR ]] tL["Sets the font for spell time"] = "Sets the font for spell time" |
--[[ koKR ]] tL["Font Size"] = "Font Size" |
--[[ koKR ]] tL["Sets the font height of the spell time"] = "Sets the font height of the spell time" |
--[[ koKR ]] tL["Font Shadow"] = "Font Shadow" |
--[[ koKR ]] tL["Show font shadow on spell time"] = "Show font shadow on spell time" |
--[[ koKR ]] tL["Outline"] = "Outline" |
--[[ koKR ]] tL["Sets the font outline for spell time"] = "Sets the font outline for spell time" |
--[[ koKR ]] tL["Alignment"] = "Alignment" |
--[[ koKR ]] tL["Sets the alignment of the spell time"] = "Sets the alignment of the spell time" |
--[[ koKR ]] tL["Position"] = "Position" |
--[[ koKR ]] tL["Adjust spell time position"] = "Adjust spell time position" |
--[[ koKR ]] tL["Left Offset"] = "Left Offset" |
--[[ koKR ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ koKR ]] tL["Right Offset"] = "Right Offset" |
--[[ koKR ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ koKR ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ koKR ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ koKR ]] tL["Colors"] = "Colors" |
--[[ koKR ]] tL["Sets the spell time colors"] = "Sets the spell time colors" |
--[[ koKR ]] tL["Cast Color"] = "Cast Color" |
--[[ koKR ]] tL["Sets the spell time color during active casting"] = "Sets the spell time color during active casting" |
--[[ koKR ]] tL["Fade Color"] = "Fade Color" |
--[[ koKR ]] tL["Sets the spell time color during cast warning fade"] = "Sets the spell time color during cast warning fade" |
--[[ koKR ]] tL["None"] = "None" |
--[[ koKR ]] tL["Normal"] = "Normal" |
--[[ koKR ]] tL["Thick"] = "Thick" |
--[[ koKR ]] tL["LEFT"] = "LEFT" |
--[[ koKR ]] tL["CENTER"] = "CENTER" |
--[[ koKR ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftCastWarningTimeText"] = "AloftCastWarningTimeText" |
--[[ koKR ]] mL["Display time text on cast warning"] = "Display time text on cast warning" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] wL["Cast Warning"] = "Cast Warning" |
--[[ ruRU ]] wL["Cast warning options"] = "Cast warning options" |
--[[ ruRU ]] wL["Enable"] = "Enable" |
--[[ ruRU ]] wL["Show cast warnings on identifiable enemy nameplates"] = "Show cast warnings on identifiable enemy nameplates" |
--[[ ruRU ]] wL["Verification Interval"] = "Verification Interval" |
--[[ ruRU ]] wL["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"] = "Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)" |
--[[ ruRU ]] wL["Animated Cast Warning"] = "Animated Cast Warning" |
--[[ ruRU ]] wL["Animate cast warnings as cast bars"] = "Animate cast warnings as cast bars" |
--[[ ruRU ]] wL["Fade Duration"] = "Fade Duration" |
--[[ ruRU ]] wL["Sets the fade duration of animated cast warnings (0.0 is no fade)"] = "Sets the fade duration of animated cast warnings (0.0 is no fade)" |
--[[ ruRU ]] wL["Trade Skills"] = "Trade Skills" |
--[[ ruRU ]] wL["Show cast warnings for trade skills"] = "Show cast warnings for trade skills" |
--[[ ruRU ]] wL["Players"] = "Players" |
--[[ ruRU ]] wL["Show cast warnings for players"] = "Show cast warnings for players" |
--[[ ruRU ]] wL["Friendly Units"] = "Friendly Units" |
--[[ ruRU ]] wL["Show cast warnings for friendly units"] = "Show cast warnings for friendly units" |
--[[ ruRU ]] wL["Position"] = "Position" |
--[[ ruRU ]] wL["Adjust the cast warning's position"] = "Adjust the cast warning's position" |
--[[ ruRU ]] wL["Left Offset"] = "Left Offset" |
--[[ ruRU ]] wL["Sets the offset of the left of the cast warning"] = "Sets the offset of the left of the cast warning" |
--[[ ruRU ]] wL["Right Offset"] = "Right Offset" |
--[[ ruRU ]] wL["Sets the offset of the right of the cast warning"] = "Sets the offset of the right of the cast warning" |
--[[ ruRU ]] wL["Vertical Offset"] = "Vertical Offset" |
--[[ ruRU ]] wL["Sets the vertical offset of the cast warning"] = "Sets the vertical offset of the cast warning" |
--[[ ruRU ]] wL["Height"] = "Height" |
--[[ ruRU ]] wL["Sets the height of the cast warning"] = "Sets the height of the cast warning" |
--[[ ruRU ]] wL["Interruptable Cast Warning"] = "Interruptable Cast Warning" |
--[[ ruRU ]] wL["Cast warning appearance for interruptable spells"] = "Cast warning appearance for interruptable spells" |
--[[ ruRU ]] wL["Uninterruptable Cast Warning"] = "Uninterruptable Cast Warning" |
--[[ ruRU ]] wL["Cast warning appearance for uninterruptable spells"] = "Cast warning appearance for uninterruptable spells" |
--[[ ruRU ]] wL["Cast Warning Color"] = "Cast Warning Color" |
--[[ ruRU ]] wL["Sets the color of the cast warning"] = "Sets the color of the cast warning" |
--[[ ruRU ]] wL["Backdrop Color"] = "Backdrop Color" |
--[[ ruRU ]] wL["Sets the backdrop color of the cast warning"] = "Sets the backdrop color of the cast warning" |
--[[ ruRU ]] wL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] wL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] wL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] wL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] wL["Border Color"] = "Border Color" |
--[[ ruRU ]] wL["Sets the border color of the cast warning"] = "Sets the border color of the cast warning" |
--[[ ruRU ]] wL["Border Style"] = "Border Style" |
--[[ ruRU ]] wL["Sets the style of the cast warning border"] = "Sets the style of the cast warning border" |
--[[ ruRU ]] wL["Texture"] = "Texture" |
--[[ ruRU ]] wL["Sets the cast warning texture"] = "Sets the cast warning texture" |
--[[ ruRU ]] wL["Cast Warning Override Enable"] = "Cast Warning Override Enable" |
--[[ ruRU ]] wL["Enable changing alpha of actively casting units"] = "Enable changing alpha of actively casting units" |
--[[ ruRU ]] wL["Cast Warning Override Alpha"] = "Cast Warning Override Alpha" |
--[[ ruRU ]] wL["Sets the alpha of actively casting units"] = "Sets the alpha of actively casting units" |
--[[ ruRU ]] wL["Colors"] = "Colors" |
--[[ ruRU ]] wL["Customize cast warning colors (based on spell school)"] = "Customize cast warning colors (based on spell school)" |
--[[ ruRU ]] wL["Default"] = "Default" |
--[[ ruRU ]] wL["Sets the default color for cast warnings from unknown schools"] = "Sets the default color for cast warnings from unknown schools" |
--[[ ruRU ]] wL["Physical"] = "Physical" |
--[[ ruRU ]] wL["Sets the color for physical school cast warnings"] = "Sets the color for physical school cast warnings" |
--[[ ruRU ]] wL["Holy"] = "Holy" |
--[[ ruRU ]] wL["Sets the color for holy school cast warnings"] = "Sets the color for holy school cast warnings" |
--[[ ruRU ]] wL["Fire"] = "Fire" |
--[[ ruRU ]] wL["Sets the color for fire school cast warnings"] = "Sets the color for fire school cast warnings" |
--[[ ruRU ]] wL["Nature"] = "Nature" |
--[[ ruRU ]] wL["Sets the color for nature school cast warnings"] = "Sets the color for nature school cast warnings" |
--[[ ruRU ]] wL["Frost"] = "Frost" |
--[[ ruRU ]] wL["Sets the color for frost school cast warnings"] = "Sets the color for frost school cast warnings" |
--[[ ruRU ]] wL["Shadow"] = "Shadow" |
--[[ ruRU ]] wL["Sets the color for shadow school cast warnings"] = "Sets the color for shadow school cast warnings" |
--[[ ruRU ]] wL["Arcane"] = "Arcane" |
--[[ ruRU ]] wL["Sets the color for arcane school cast warnings"] = "Sets the color for arcane school cast warnings" |
--[[ ruRU ]] wL["Healing"] = "Healing" |
--[[ ruRU ]] wL["Sets the color for healing school cast warnings"] = "Sets the color for healing school cast warnings" |
--[[ ruRU ]] wL["Reset to Defaults"] = "Reset to Defaults" |
--[[ ruRU ]] wL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastWarning"] = "AloftCastWarning" |
--[[ ruRU ]] mL["Add cast warnings to Aloft unit nameplates"] = "ÐобавиÑÑ Ð¿ÑедÑпÑÐµÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¾ вÑажеÑÐºÐ¸Ñ Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ð½Ð¸ÑÑ Ðº ÑаблиÑкам Aloft" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] iL["Spell Icon"] = "Spell Icon" |
--[[ ruRU ]] iL["Cast warning spell icon placement options"] = "Cast warning spell icon placement options" |
--[[ ruRU ]] iL["Enable"] = "Enable" |
--[[ ruRU ]] iL["Enable cast warning spell icon display on the nameplate"] = "Enable cast warning spell icon display on the nameplate" |
--[[ ruRU ]] iL["Position"] = "Position" |
--[[ ruRU ]] iL["Adjust cast warning spell icon position"] = "Adjust cast warning spell icon position" |
--[[ ruRU ]] iL["Anchor"] = "Anchor" |
--[[ ruRU ]] iL["Sets the anchor for the cast warning spell icon"] = "Sets the anchor for the cast warning spell icon" |
--[[ ruRU ]] iL["Anchor To"] = "Anchor To" |
--[[ ruRU ]] iL["Sets the relative point on the cast warning to anchor the spell icon"] = "Sets the relative point on the cast warning to anchor the spell icon" |
--[[ ruRU ]] iL["X Offset"] = "X Offset" |
--[[ ruRU ]] iL["X offset of the cast warning spell icon"] = "X offset of the cast warning spell icon" |
--[[ ruRU ]] iL["Y Offset"] = "Y Offset" |
--[[ ruRU ]] iL["Y offset of the cast warning spell icon"] = "Y offset of the cast warning spell icon" |
--[[ ruRU ]] iL["Size"] = "Size" |
--[[ ruRU ]] iL["Size in pixels of the cast warning spell icon"] = "Size in pixels of the cast warning spell icon" |
--[[ ruRU ]] iL["Shield"] = "Shield" |
--[[ ruRU ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ ruRU ]] iL["Enable"] = "Enable" |
--[[ ruRU ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ ruRU ]] iL["Style"] = "Style" |
--[[ ruRU ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ ruRU ]] iL["Color"] = "Color" |
--[[ ruRU ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ ruRU ]] iL["SQUARE"] = "SQUARE" |
--[[ ruRU ]] iL["ROUND"] = "ROUND" |
--[[ ruRU ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ ruRU ]] iL["TOP"] = "TOP" |
--[[ ruRU ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ ruRU ]] iL["LEFT"] = "LEFT" |
--[[ ruRU ]] iL["CENTER"] = "CENTER" |
--[[ ruRU ]] iL["RIGHT"] = "RIGHT" |
--[[ ruRU ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ ruRU ]] iL["BOTTOM"] = "BOTTOM" |
--[[ ruRU ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastWarningSpellIcon"] = "AloftCastWarningSpellIcon" |
--[[ ruRU ]] mL["Display spell icon on cast warning"] = "Display spell icon on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] nL["Spell Name"] = "Spell Name" |
--[[ ruRU ]] nL["Cast warning spell name text options"] = "Cast warning spell name text options" |
--[[ ruRU ]] nL["Enable"] = "Enable" |
--[[ ruRU ]] nL["Show cast warning spell name"] = "Show cast warning spell name" |
--[[ ruRU ]] nL["Display Rank"] = "Display Rank" |
--[[ ruRU ]] nL["Show cast warning spell rank"] = "Show cast warning spell rank" |
--[[ ruRU ]] nL["Display Min/Max Range"] = "Display Min/Max Range" |
--[[ ruRU ]] nL["Show cast warning spell minimum/maximum range"] = "Show cast warning spell minimum/maximum range" |
--[[ ruRU ]] nL["Display Outcome"] = "Display Outcome" |
--[[ ruRU ]] nL["Show cast warning spell outcome"] = "Show cast warning spell outcome" |
--[[ ruRU ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ ruRU ]] nL["Show cast warning spell outcome reason"] = "Show cast warning spell outcome reason" |
--[[ ruRU ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ ruRU ]] nL["Show cast warning spell outcome reason (failure type, interrupting spell)"] = "Show cast warning spell outcome reason (failure type, interrupting spell)" |
--[[ ruRU ]] nL["Typeface"] = "Typeface" |
--[[ ruRU ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ ruRU ]] nL["Font"] = "Font" |
--[[ ruRU ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ ruRU ]] nL["Font Size"] = "Font Size" |
--[[ ruRU ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ ruRU ]] nL["Font Shadow"] = "Font Shadow" |
--[[ ruRU ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ ruRU ]] nL["Outline"] = "Outline" |
--[[ ruRU ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ ruRU ]] nL["Alignment"] = "Alignment" |
--[[ ruRU ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ ruRU ]] nL["Position"] = "Position" |
--[[ ruRU ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ ruRU ]] nL["Left Offset"] = "Left Offset" |
--[[ ruRU ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ ruRU ]] nL["Right Offset"] = "Right Offset" |
--[[ ruRU ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ ruRU ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ ruRU ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ ruRU ]] nL["Colors"] = "Colors" |
--[[ ruRU ]] nL["Sets the spell name colors"] = "Sets the spell name colors" |
--[[ ruRU ]] nL["Cast Color"] = "Cast Color" |
--[[ ruRU ]] nL["Sets the spell name color during active casting"] = "Sets the spell name color during active casting" |
--[[ ruRU ]] nL["Fade Color"] = "Fade Color" |
--[[ ruRU ]] nL["Sets the spell name color during cast warning fade"] = "Sets the spell name color during cast warning fade" |
--[[ ruRU ]] nL["None"] = "None" |
--[[ ruRU ]] nL["Normal"] = "Normal" |
--[[ ruRU ]] nL["Thick"] = "Thick" |
--[[ ruRU ]] nL["LEFT"] = "LEFT" |
--[[ ruRU ]] nL["CENTER"] = "CENTER" |
--[[ ruRU ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastWarningSpellNameText"] = "AloftCastWarningSpellNameText" |
--[[ ruRU ]] mL["Display spell name on cast warning"] = "Display spell name on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] tL["Spell Time"] = "Spell Time" |
--[[ ruRU ]] tL["Cast warning spell time text options"] = "Cast warning spell time text options" |
--[[ ruRU ]] tL["Enable"] = "Enable" |
--[[ ruRU ]] tL["Show cast warning spell time"] = "Show cast warning spell time" |
--[[ ruRU ]] tL["Typeface"] = "Typeface" |
--[[ ruRU ]] tL["Spell time typeface options"] = "Spell time typeface options" |
--[[ ruRU ]] tL["Font"] = "Font" |
--[[ ruRU ]] tL["Sets the font for spell time"] = "Sets the font for spell time" |
--[[ ruRU ]] tL["Font Size"] = "Font Size" |
--[[ ruRU ]] tL["Sets the font height of the spell time"] = "Sets the font height of the spell time" |
--[[ ruRU ]] tL["Font Shadow"] = "Font Shadow" |
--[[ ruRU ]] tL["Show font shadow on spell time"] = "Show font shadow on spell time" |
--[[ ruRU ]] tL["Outline"] = "Outline" |
--[[ ruRU ]] tL["Sets the font outline for spell time"] = "Sets the font outline for spell time" |
--[[ ruRU ]] tL["Alignment"] = "Alignment" |
--[[ ruRU ]] tL["Sets the alignment of the spell time"] = "Sets the alignment of the spell time" |
--[[ ruRU ]] tL["Position"] = "Position" |
--[[ ruRU ]] tL["Adjust spell time position"] = "Adjust spell time position" |
--[[ ruRU ]] tL["Left Offset"] = "Left Offset" |
--[[ ruRU ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ ruRU ]] tL["Right Offset"] = "Right Offset" |
--[[ ruRU ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ ruRU ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ ruRU ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ ruRU ]] tL["Colors"] = "Colors" |
--[[ ruRU ]] tL["Sets the spell time colors"] = "Sets the spell time colors" |
--[[ ruRU ]] tL["Cast Color"] = "Cast Color" |
--[[ ruRU ]] tL["Sets the spell time color during active casting"] = "Sets the spell time color during active casting" |
--[[ ruRU ]] tL["Fade Color"] = "Fade Color" |
--[[ ruRU ]] tL["Sets the spell time color during cast warning fade"] = "Sets the spell time color during cast warning fade" |
--[[ ruRU ]] tL["None"] = "None" |
--[[ ruRU ]] tL["Normal"] = "Normal" |
--[[ ruRU ]] tL["Thick"] = "Thick" |
--[[ ruRU ]] tL["LEFT"] = "LEFT" |
--[[ ruRU ]] tL["CENTER"] = "CENTER" |
--[[ ruRU ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftCastWarningTimeText"] = "AloftCastWarningTimeText" |
--[[ ruRU ]] mL["Display time text on cast warning"] = "Display time text on cast warning" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] wL["Cast Warning"] = "Cast Warning" |
--[[ zhCN ]] wL["Cast warning options"] = "Cast warning options" |
--[[ zhCN ]] wL["Enable"] = "Enable" |
--[[ zhCN ]] wL["Show cast warnings on identifiable enemy nameplates"] = "Show cast warnings on identifiable enemy nameplates" |
--[[ zhCN ]] wL["Verification Interval"] = "Verification Interval" |
--[[ zhCN ]] wL["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"] = "Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)" |
--[[ zhCN ]] wL["Animated Cast Warning"] = "Animated Cast Warning" |
--[[ zhCN ]] wL["Animate cast warnings as cast bars"] = "Animate cast warnings as cast bars" |
--[[ zhCN ]] wL["Fade Duration"] = "Fade Duration" |
--[[ zhCN ]] wL["Sets the fade duration of animated cast warnings (0.0 is no fade)"] = "Sets the fade duration of animated cast warnings (0.0 is no fade)" |
--[[ zhCN ]] wL["Trade Skills"] = "Trade Skills" |
--[[ zhCN ]] wL["Show cast warnings for trade skills"] = "Show cast warnings for trade skills" |
--[[ zhCN ]] wL["Players"] = "Players" |
--[[ zhCN ]] wL["Show cast warnings for players"] = "Show cast warnings for players" |
--[[ zhCN ]] wL["Friendly Units"] = "Friendly Units" |
--[[ zhCN ]] wL["Show cast warnings for friendly units"] = "Show cast warnings for friendly units" |
--[[ zhCN ]] wL["Position"] = "Position" |
--[[ zhCN ]] wL["Adjust the cast warning's position"] = "Adjust the cast warning's position" |
--[[ zhCN ]] wL["Left Offset"] = "Left Offset" |
--[[ zhCN ]] wL["Sets the offset of the left of the cast warning"] = "Sets the offset of the left of the cast warning" |
--[[ zhCN ]] wL["Right Offset"] = "Right Offset" |
--[[ zhCN ]] wL["Sets the offset of the right of the cast warning"] = "Sets the offset of the right of the cast warning" |
--[[ zhCN ]] wL["Vertical Offset"] = "Vertical Offset" |
--[[ zhCN ]] wL["Sets the vertical offset of the cast warning"] = "Sets the vertical offset of the cast warning" |
--[[ zhCN ]] wL["Height"] = "Height" |
--[[ zhCN ]] wL["Sets the height of the cast warning"] = "Sets the height of the cast warning" |
--[[ zhCN ]] wL["Interruptable Cast Warning"] = "Interruptable Cast Warning" |
--[[ zhCN ]] wL["Cast warning appearance for interruptable spells"] = "Cast warning appearance for interruptable spells" |
--[[ zhCN ]] wL["Uninterruptable Cast Warning"] = "Uninterruptable Cast Warning" |
--[[ zhCN ]] wL["Cast warning appearance for uninterruptable spells"] = "Cast warning appearance for uninterruptable spells" |
--[[ zhCN ]] wL["Cast Warning Color"] = "Cast Warning Color" |
--[[ zhCN ]] wL["Sets the color of the cast warning"] = "Sets the color of the cast warning" |
--[[ zhCN ]] wL["Backdrop Color"] = "Backdrop Color" |
--[[ zhCN ]] wL["Sets the backdrop color of the cast warning"] = "Sets the backdrop color of the cast warning" |
--[[ zhCN ]] wL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] wL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] wL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] wL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] wL["Border Color"] = "Border Color" |
--[[ zhCN ]] wL["Sets the border color of the cast warning"] = "Sets the border color of the cast warning" |
--[[ zhCN ]] wL["Border Style"] = "Border Style" |
--[[ zhCN ]] wL["Sets the style of the cast warning border"] = "Sets the style of the cast warning border" |
--[[ zhCN ]] wL["Texture"] = "Texture" |
--[[ zhCN ]] wL["Sets the cast warning texture"] = "Sets the cast warning texture" |
--[[ zhCN ]] wL["Cast Warning Alpha Override Enable"] = "Cast Warning Alpha Override Enable" |
--[[ zhCN ]] wL["Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhCN ]] wL["Cast Warning Alpha Override"] = "Cast Warning Alpha Override" |
--[[ zhCN ]] wL["Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhCN ]] wL["Colors"] = "Colors" |
--[[ zhCN ]] wL["Customize cast warning colors (based on spell school)"] = "Customize cast warning colors (based on spell school)" |
--[[ zhCN ]] wL["Default"] = "Default" |
--[[ zhCN ]] wL["Sets the default color for cast warnings from unknown schools"] = "Sets the default color for cast warnings from unknown schools" |
--[[ zhCN ]] wL["Physical"] = "Physical" |
--[[ zhCN ]] wL["Sets the color for physical school cast warnings"] = "Sets the color for physical school cast warnings" |
--[[ zhCN ]] wL["Holy"] = "Holy" |
--[[ zhCN ]] wL["Sets the color for holy school cast warnings"] = "Sets the color for holy school cast warnings" |
--[[ zhCN ]] wL["Fire"] = "Fire" |
--[[ zhCN ]] wL["Sets the color for fire school cast warnings"] = "Sets the color for fire school cast warnings" |
--[[ zhCN ]] wL["Nature"] = "Nature" |
--[[ zhCN ]] wL["Sets the color for nature school cast warnings"] = "Sets the color for nature school cast warnings" |
--[[ zhCN ]] wL["Frost"] = "Frost" |
--[[ zhCN ]] wL["Sets the color for frost school cast warnings"] = "Sets the color for frost school cast warnings" |
--[[ zhCN ]] wL["Shadow"] = "Shadow" |
--[[ zhCN ]] wL["Sets the color for shadow school cast warnings"] = "Sets the color for shadow school cast warnings" |
--[[ zhCN ]] wL["Arcane"] = "Arcane" |
--[[ zhCN ]] wL["Sets the color for arcane school cast warnings"] = "Sets the color for arcane school cast warnings" |
--[[ zhCN ]] wL["Healing"] = "Healing" |
--[[ zhCN ]] wL["Sets the color for healing school cast warnings"] = "Sets the color for healing school cast warnings" |
--[[ zhCN ]] wL["Reset to Defaults"] = "Reset to Defaults" |
--[[ zhCN ]] wL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastWarning"] = "AloftCastWarning" |
--[[ zhCN ]] mL["Add cast warnings to Aloft unit nameplates"] = "Add cast warnings to Aloft unit nameplates" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] iL["Spell Icon"] = "Spell Icon" |
--[[ zhCN ]] iL["Cast warning spell icon placement options"] = "Cast warning spell icon placement options" |
--[[ zhCN ]] iL["Enable"] = "Enable" |
--[[ zhCN ]] iL["Enable cast warning spell icon display on the nameplate"] = "Enable cast warning spell icon display on the nameplate" |
--[[ zhCN ]] iL["Position"] = "Position" |
--[[ zhCN ]] iL["Adjust cast warning spell icon position"] = "Adjust cast warning spell icon position" |
--[[ zhCN ]] iL["Anchor"] = "Anchor" |
--[[ zhCN ]] iL["Sets the anchor for the cast warning spell icon"] = "Sets the anchor for the cast warning spell icon" |
--[[ zhCN ]] iL["Anchor To"] = "Anchor To" |
--[[ zhCN ]] iL["Sets the relative point on the cast warning to anchor the spell icon"] = "Sets the relative point on the cast warning to anchor the spell icon" |
--[[ zhCN ]] iL["X Offset"] = "X Offset" |
--[[ zhCN ]] iL["X offset of the cast warning spell icon"] = "X offset of the cast warning spell icon" |
--[[ zhCN ]] iL["Y Offset"] = "Y Offset" |
--[[ zhCN ]] iL["Y offset of the cast warning spell icon"] = "Y offset of the cast warning spell icon" |
--[[ zhCN ]] iL["Size"] = "Size" |
--[[ zhCN ]] iL["Size in pixels of the cast warning spell icon"] = "Size in pixels of the cast warning spell icon" |
--[[ zhCN ]] iL["Shield"] = "Shield" |
--[[ zhCN ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ zhCN ]] iL["Enable"] = "Enable" |
--[[ zhCN ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ zhCN ]] iL["Style"] = "Style" |
--[[ zhCN ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ zhCN ]] iL["Color"] = "Color" |
--[[ zhCN ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ zhCN ]] iL["SQUARE"] = "SQUARE" |
--[[ zhCN ]] iL["ROUND"] = "ROUND" |
--[[ zhCN ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ zhCN ]] iL["TOP"] = "TOP" |
--[[ zhCN ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ zhCN ]] iL["LEFT"] = "LEFT" |
--[[ zhCN ]] iL["CENTER"] = "CENTER" |
--[[ zhCN ]] iL["RIGHT"] = "RIGHT" |
--[[ zhCN ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ zhCN ]] iL["BOTTOM"] = "BOTTOM" |
--[[ zhCN ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastWarningSpellIcon"] = "AloftCastWarningSpellIcon" |
--[[ zhCN ]] mL["Display spell icon on cast warning"] = "Display spell icon on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] nL["Spell Name"] = "Spell Name" |
--[[ zhCN ]] nL["Cast warning spell name text options"] = "Cast warning spell name text options" |
--[[ zhCN ]] nL["Enable"] = "Enable" |
--[[ zhCN ]] nL["Show cast warning spell name"] = "Show cast warning spell name" |
--[[ zhCN ]] nL["Display Rank"] = "Display Rank" |
--[[ zhCN ]] nL["Show cast warning spell rank"] = "Show cast warning spell rank" |
--[[ zhCN ]] nL["Display Min/Max Range"] = "Display Min/Max Range" |
--[[ zhCN ]] nL["Show cast warning spell minimum/maximum range"] = "Show cast warning spell minimum/maximum range" |
--[[ zhCN ]] nL["Display Outcome"] = "Display Outcome" |
--[[ zhCN ]] nL["Show cast warning spell outcome"] = "Show cast warning spell outcome" |
--[[ zhCN ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ zhCN ]] nL["Show cast warning spell outcome reason"] = "Show cast warning spell outcome reason" |
--[[ zhCN ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ zhCN ]] nL["Show cast warning spell outcome reason (failure type, interrupting spell)"] = "Show cast warning spell outcome reason (failure type, interrupting spell)" |
--[[ zhCN ]] nL["Typeface"] = "Typeface" |
--[[ zhCN ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ zhCN ]] nL["Font"] = "Font" |
--[[ zhCN ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ zhCN ]] nL["Font Size"] = "Font Size" |
--[[ zhCN ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ zhCN ]] nL["Font Shadow"] = "Font Shadow" |
--[[ zhCN ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ zhCN ]] nL["Outline"] = "Outline" |
--[[ zhCN ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ zhCN ]] nL["Alignment"] = "Alignment" |
--[[ zhCN ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ zhCN ]] nL["Position"] = "Position" |
--[[ zhCN ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ zhCN ]] nL["Left Offset"] = "Left Offset" |
--[[ zhCN ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ zhCN ]] nL["Right Offset"] = "Right Offset" |
--[[ zhCN ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ zhCN ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ zhCN ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ zhCN ]] nL["Colors"] = "Colors" |
--[[ zhCN ]] nL["Sets the spell name colors"] = "Sets the spell name colors" |
--[[ zhCN ]] nL["Cast Color"] = "Cast Color" |
--[[ zhCN ]] nL["Sets the spell name color during active casting"] = "Sets the spell name color during active casting" |
--[[ zhCN ]] nL["Fade Color"] = "Fade Color" |
--[[ zhCN ]] nL["Sets the spell name color during cast warning fade"] = "Sets the spell name color during cast warning fade" |
--[[ zhCN ]] nL["None"] = "None" |
--[[ zhCN ]] nL["Normal"] = "Normal" |
--[[ zhCN ]] nL["Thick"] = "Thick" |
--[[ zhCN ]] nL["LEFT"] = "LEFT" |
--[[ zhCN ]] nL["CENTER"] = "CENTER" |
--[[ zhCN ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastWarningSpellNameText"] = "AloftCastWarningSpellNameText" |
--[[ zhCN ]] mL["Display spell name on cast warning"] = "Display spell name on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] tL["Spell Time"] = "Spell Time" |
--[[ zhCN ]] tL["Cast warning spell time text options"] = "Cast warning spell time text options" |
--[[ zhCN ]] tL["Enable"] = "Enable" |
--[[ zhCN ]] tL["Show cast warning spell time"] = "Show cast warning spell time" |
--[[ zhCN ]] tL["Typeface"] = "Typeface" |
--[[ zhCN ]] tL["Spell time typeface options"] = "Spell time typeface options" |
--[[ zhCN ]] tL["Font"] = "Font" |
--[[ zhCN ]] tL["Sets the font for spell time"] = "Sets the font for spell time" |
--[[ zhCN ]] tL["Font Size"] = "Font Size" |
--[[ zhCN ]] tL["Sets the font height of the spell time"] = "Sets the font height of the spell time" |
--[[ zhCN ]] tL["Font Shadow"] = "Font Shadow" |
--[[ zhCN ]] tL["Show font shadow on spell time"] = "Show font shadow on spell time" |
--[[ zhCN ]] tL["Outline"] = "Outline" |
--[[ zhCN ]] tL["Sets the font outline for spell time"] = "Sets the font outline for spell time" |
--[[ zhCN ]] tL["Alignment"] = "Alignment" |
--[[ zhCN ]] tL["Sets the alignment of the spell time"] = "Sets the alignment of the spell time" |
--[[ zhCN ]] tL["Position"] = "Position" |
--[[ zhCN ]] tL["Adjust spell time position"] = "Adjust spell time position" |
--[[ zhCN ]] tL["Left Offset"] = "Left Offset" |
--[[ zhCN ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ zhCN ]] tL["Right Offset"] = "Right Offset" |
--[[ zhCN ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ zhCN ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ zhCN ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ zhCN ]] tL["Colors"] = "Colors" |
--[[ zhCN ]] tL["Sets the spell time colors"] = "Sets the spell time colors" |
--[[ zhCN ]] tL["Cast Color"] = "Cast Color" |
--[[ zhCN ]] tL["Sets the spell time color during active casting"] = "Sets the spell time color during active casting" |
--[[ zhCN ]] tL["Fade Color"] = "Fade Color" |
--[[ zhCN ]] tL["Sets the spell time color during cast warning fade"] = "Sets the spell time color during cast warning fade" |
--[[ zhCN ]] tL["None"] = "None" |
--[[ zhCN ]] tL["Normal"] = "Normal" |
--[[ zhCN ]] tL["Thick"] = "Thick" |
--[[ zhCN ]] tL["LEFT"] = "LEFT" |
--[[ zhCN ]] tL["CENTER"] = "CENTER" |
--[[ zhCN ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftCastWarningTimeText"] = "AloftCastWarningTimeText" |
--[[ zhCN ]] mL["Display time text on cast warning"] = "Display time text on cast warning" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] wL["Cast Warning"] = "Cast Warning" |
--[[ zhTW ]] wL["Cast warning options"] = "Cast warning options" |
--[[ zhTW ]] wL["Enable"] = "Enable" |
--[[ zhTW ]] wL["Show cast warnings on identifiable enemy nameplates"] = "Show cast warnings on identifiable enemy nameplates" |
--[[ zhTW ]] wL["Verification Interval"] = "Verification Interval" |
--[[ zhTW ]] wL["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"] = "Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)" |
--[[ zhTW ]] wL["Animated Cast Warning"] = "Animated Cast Warning" |
--[[ zhTW ]] wL["Animate cast warnings as cast bars"] = "Animate cast warnings as cast bars" |
--[[ zhTW ]] wL["Fade Duration"] = "Fade Duration" |
--[[ zhTW ]] wL["Sets the fade duration of animated cast warnings (0.0 is no fade)"] = "Sets the fade duration of animated cast warnings (0.0 is no fade)" |
--[[ zhTW ]] wL["Trade Skills"] = "Trade Skills" |
--[[ zhTW ]] wL["Show cast warnings for trade skills"] = "Show cast warnings for trade skills" |
--[[ zhTW ]] wL["Players"] = "Players" |
--[[ zhTW ]] wL["Show cast warnings for players"] = "Show cast warnings for players" |
--[[ zhTW ]] wL["Friendly Units"] = "Friendly Units" |
--[[ zhTW ]] wL["Show cast warnings for friendly units"] = "Show cast warnings for friendly units" |
--[[ zhTW ]] wL["Position"] = "Position" |
--[[ zhTW ]] wL["Adjust the cast warning's position"] = "Adjust the cast warning's position" |
--[[ zhTW ]] wL["Left Offset"] = "Left Offset" |
--[[ zhTW ]] wL["Sets the offset of the left of the cast warning"] = "Sets the offset of the left of the cast warning" |
--[[ zhTW ]] wL["Right Offset"] = "Right Offset" |
--[[ zhTW ]] wL["Sets the offset of the right of the cast warning"] = "Sets the offset of the right of the cast warning" |
--[[ zhTW ]] wL["Vertical Offset"] = "Vertical Offset" |
--[[ zhTW ]] wL["Sets the vertical offset of the cast warning"] = "Sets the vertical offset of the cast warning" |
--[[ zhTW ]] wL["Height"] = "Height" |
--[[ zhTW ]] wL["Sets the height of the cast warning"] = "Sets the height of the cast warning" |
--[[ zhTW ]] wL["Interruptable Cast Warning"] = "Interruptable Cast Warning" |
--[[ zhTW ]] wL["Cast warning appearance for interruptable spells"] = "Cast warning appearance for interruptable spells" |
--[[ zhTW ]] wL["Uninterruptable Cast Warning"] = "Uninterruptable Cast Warning" |
--[[ zhTW ]] wL["Cast warning appearance for uninterruptable spells"] = "Cast warning appearance for uninterruptable spells" |
--[[ zhTW ]] wL["Cast Warning Color"] = "Cast Warning Color" |
--[[ zhTW ]] wL["Sets the color of the cast warning"] = "Sets the color of the cast warning" |
--[[ zhTW ]] wL["Backdrop Color"] = "Backdrop Color" |
--[[ zhTW ]] wL["Sets the backdrop color of the cast warning"] = "Sets the backdrop color of the cast warning" |
--[[ zhTW ]] wL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] wL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] wL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] wL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] wL["Border Color"] = "Border Color" |
--[[ zhTW ]] wL["Sets the border color of the cast warning"] = "Sets the border color of the cast warning" |
--[[ zhTW ]] wL["Border Style"] = "Border Style" |
--[[ zhTW ]] wL["Sets the style of the cast warning border"] = "Sets the style of the cast warning border" |
--[[ zhTW ]] wL["Texture"] = "Texture" |
--[[ zhTW ]] wL["Sets the cast warning texture"] = "Sets the cast warning texture" |
--[[ zhTW ]] wL["Cast Warning Alpha Override Enable"] = "Cast Warning Alpha Override Enable" |
--[[ zhTW ]] wL["Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhTW ]] wL["Cast Warning Alpha Override"] = "Cast Warning Alpha Override" |
--[[ zhTW ]] wL["Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)"] = "Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)" |
--[[ zhTW ]] wL["Colors"] = "Colors" |
--[[ zhTW ]] wL["Customize cast warning colors (based on spell school)"] = "Customize cast warning colors (based on spell school)" |
--[[ zhTW ]] wL["Default"] = "Default" |
--[[ zhTW ]] wL["Sets the default color for cast warnings from unknown schools"] = "Sets the default color for cast warnings from unknown schools" |
--[[ zhTW ]] wL["Physical"] = "Physical" |
--[[ zhTW ]] wL["Sets the color for physical school cast warnings"] = "Sets the color for physical school cast warnings" |
--[[ zhTW ]] wL["Holy"] = "Holy" |
--[[ zhTW ]] wL["Sets the color for holy school cast warnings"] = "Sets the color for holy school cast warnings" |
--[[ zhTW ]] wL["Fire"] = "Fire" |
--[[ zhTW ]] wL["Sets the color for fire school cast warnings"] = "Sets the color for fire school cast warnings" |
--[[ zhTW ]] wL["Nature"] = "Nature" |
--[[ zhTW ]] wL["Sets the color for nature school cast warnings"] = "Sets the color for nature school cast warnings" |
--[[ zhTW ]] wL["Frost"] = "Frost" |
--[[ zhTW ]] wL["Sets the color for frost school cast warnings"] = "Sets the color for frost school cast warnings" |
--[[ zhTW ]] wL["Shadow"] = "Shadow" |
--[[ zhTW ]] wL["Sets the color for shadow school cast warnings"] = "Sets the color for shadow school cast warnings" |
--[[ zhTW ]] wL["Arcane"] = "Arcane" |
--[[ zhTW ]] wL["Sets the color for arcane school cast warnings"] = "Sets the color for arcane school cast warnings" |
--[[ zhTW ]] wL["Healing"] = "Healing" |
--[[ zhTW ]] wL["Sets the color for healing school cast warnings"] = "Sets the color for healing school cast warnings" |
--[[ zhTW ]] wL["Reset to Defaults"] = "Reset to Defaults" |
--[[ zhTW ]] wL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastWarning"] = "AloftCastWarning" |
--[[ zhTW ]] mL["Add cast warnings to Aloft unit nameplates"] = "Add cast warnings to Aloft unit nameplates" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] iL["Spell Icon"] = "Spell Icon" |
--[[ zhTW ]] iL["Cast warning spell icon placement options"] = "Cast warning spell icon placement options" |
--[[ zhTW ]] iL["Enable"] = "Enable" |
--[[ zhTW ]] iL["Enable cast warning spell icon display on the nameplate"] = "Enable cast warning spell icon display on the nameplate" |
--[[ zhTW ]] iL["Position"] = "Position" |
--[[ zhTW ]] iL["Adjust cast warning spell icon position"] = "Adjust cast warning spell icon position" |
--[[ zhTW ]] iL["Anchor"] = "Anchor" |
--[[ zhTW ]] iL["Sets the anchor for the cast warning spell icon"] = "Sets the anchor for the cast warning spell icon" |
--[[ zhTW ]] iL["Anchor To"] = "Anchor To" |
--[[ zhTW ]] iL["Sets the relative point on the cast warning to anchor the spell icon"] = "Sets the relative point on the cast warning to anchor the spell icon" |
--[[ zhTW ]] iL["X Offset"] = "X Offset" |
--[[ zhTW ]] iL["X offset of the cast warning spell icon"] = "X offset of the cast warning spell icon" |
--[[ zhTW ]] iL["Y Offset"] = "Y Offset" |
--[[ zhTW ]] iL["Y offset of the cast warning spell icon"] = "Y offset of the cast warning spell icon" |
--[[ zhTW ]] iL["Size"] = "Size" |
--[[ zhTW ]] iL["Size in pixels of the cast warning spell icon"] = "Size in pixels of the cast warning spell icon" |
--[[ zhTW ]] iL["Shield"] = "Shield" |
--[[ zhTW ]] iL["Shows a shield graphic around an uninterruptable spell icon"] = "Shows a shield graphic around an uninterruptable spell icon" |
--[[ zhTW ]] iL["Enable"] = "Enable" |
--[[ zhTW ]] iL["Enables the shield graphic"] = "Enables the shield graphic" |
--[[ zhTW ]] iL["Style"] = "Style" |
--[[ zhTW ]] iL["Sets the shield graphic style"] = "Sets the shield graphic style" |
--[[ zhTW ]] iL["Color"] = "Color" |
--[[ zhTW ]] iL["Sets the shield graphic color"] = "Sets the shield graphic color" |
--[[ zhTW ]] iL["SQUARE"] = "SQUARE" |
--[[ zhTW ]] iL["ROUND"] = "ROUND" |
--[[ zhTW ]] iL["TOPLEFT"] = "TOPLEFT" |
--[[ zhTW ]] iL["TOP"] = "TOP" |
--[[ zhTW ]] iL["TOPRIGHT"] = "TOPRIGHT" |
--[[ zhTW ]] iL["LEFT"] = "LEFT" |
--[[ zhTW ]] iL["CENTER"] = "CENTER" |
--[[ zhTW ]] iL["RIGHT"] = "RIGHT" |
--[[ zhTW ]] iL["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ zhTW ]] iL["BOTTOM"] = "BOTTOM" |
--[[ zhTW ]] iL["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastWarningSpellIcon"] = "AloftCastWarningSpellIcon" |
--[[ zhTW ]] mL["Display spell icon on cast warning"] = "Display spell icon on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] nL["Spell Name"] = "Spell Name" |
--[[ zhTW ]] nL["Cast warning spell name text options"] = "Cast warning spell name text options" |
--[[ zhTW ]] nL["Enable"] = "Enable" |
--[[ zhTW ]] nL["Show cast warning spell name"] = "Show cast warning spell name" |
--[[ zhTW ]] nL["Display Rank"] = "Display Rank" |
--[[ zhTW ]] nL["Show cast warning spell rank"] = "Show cast warning spell rank" |
--[[ zhTW ]] nL["Display Min/Max Range"] = "Display Min/Max Range" |
--[[ zhTW ]] nL["Show cast warning spell minimum/maximum range"] = "Show cast warning spell minimum/maximum range" |
--[[ zhTW ]] nL["Display Outcome"] = "Display Outcome" |
--[[ zhTW ]] nL["Show cast warning spell outcome"] = "Show cast warning spell outcome" |
--[[ zhTW ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ zhTW ]] nL["Show cast warning spell outcome reason"] = "Show cast warning spell outcome reason" |
--[[ zhTW ]] nL["Display Outcome Reason"] = "Display Outcome Reason" |
--[[ zhTW ]] nL["Show cast warning spell outcome reason (failure type, interrupting spell)"] = "Show cast warning spell outcome reason (failure type, interrupting spell)" |
--[[ zhTW ]] nL["Typeface"] = "Typeface" |
--[[ zhTW ]] nL["Spell name typeface options"] = "Spell name typeface options" |
--[[ zhTW ]] nL["Font"] = "Font" |
--[[ zhTW ]] nL["Sets the font for spell name"] = "Sets the font for spell name" |
--[[ zhTW ]] nL["Font Size"] = "Font Size" |
--[[ zhTW ]] nL["Sets the font height of the spell name"] = "Sets the font height of the spell name" |
--[[ zhTW ]] nL["Font Shadow"] = "Font Shadow" |
--[[ zhTW ]] nL["Show font shadow on spell name"] = "Show font shadow on spell name" |
--[[ zhTW ]] nL["Outline"] = "Outline" |
--[[ zhTW ]] nL["Sets the font outline for spell name"] = "Sets the font outline for spell name" |
--[[ zhTW ]] nL["Alignment"] = "Alignment" |
--[[ zhTW ]] nL["Sets the alignment of the spell name"] = "Sets the alignment of the spell name" |
--[[ zhTW ]] nL["Position"] = "Position" |
--[[ zhTW ]] nL["Adjust spell name position"] = "Adjust spell name position" |
--[[ zhTW ]] nL["Left Offset"] = "Left Offset" |
--[[ zhTW ]] nL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ zhTW ]] nL["Right Offset"] = "Right Offset" |
--[[ zhTW ]] nL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ zhTW ]] nL["Vertical Offset"] = "Vertical Offset" |
--[[ zhTW ]] nL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ zhTW ]] nL["Colors"] = "Colors" |
--[[ zhTW ]] nL["Sets the spell name colors"] = "Sets the spell name colors" |
--[[ zhTW ]] nL["Cast Color"] = "Cast Color" |
--[[ zhTW ]] nL["Sets the spell name color during active casting"] = "Sets the spell name color during active casting" |
--[[ zhTW ]] nL["Fade Color"] = "Fade Color" |
--[[ zhTW ]] nL["Sets the spell name color during cast warning fade"] = "Sets the spell name color during cast warning fade" |
--[[ zhTW ]] nL["None"] = "None" |
--[[ zhTW ]] nL["Normal"] = "Normal" |
--[[ zhTW ]] nL["Thick"] = "Thick" |
--[[ zhTW ]] nL["LEFT"] = "LEFT" |
--[[ zhTW ]] nL["CENTER"] = "CENTER" |
--[[ zhTW ]] nL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastWarningSpellNameText"] = "AloftCastWarningSpellNameText" |
--[[ zhTW ]] mL["Display spell name on cast warning"] = "Display spell name on cast warning" |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] tL["Spell Time"] = "Spell Time" |
--[[ zhTW ]] tL["Cast warning spell time text options"] = "Cast warning spell time text options" |
--[[ zhTW ]] tL["Enable"] = "Enable" |
--[[ zhTW ]] tL["Show cast warning spell time"] = "Show cast warning spell time" |
--[[ zhTW ]] tL["Typeface"] = "Typeface" |
--[[ zhTW ]] tL["Spell time typeface options"] = "Spell time typeface options" |
--[[ zhTW ]] tL["Font"] = "Font" |
--[[ zhTW ]] tL["Sets the font for spell time"] = "Sets the font for spell time" |
--[[ zhTW ]] tL["Font Size"] = "Font Size" |
--[[ zhTW ]] tL["Sets the font height of the spell time"] = "Sets the font height of the spell time" |
--[[ zhTW ]] tL["Font Shadow"] = "Font Shadow" |
--[[ zhTW ]] tL["Show font shadow on spell time"] = "Show font shadow on spell time" |
--[[ zhTW ]] tL["Outline"] = "Outline" |
--[[ zhTW ]] tL["Sets the font outline for spell time"] = "Sets the font outline for spell time" |
--[[ zhTW ]] tL["Alignment"] = "Alignment" |
--[[ zhTW ]] tL["Sets the alignment of the spell time"] = "Sets the alignment of the spell time" |
--[[ zhTW ]] tL["Position"] = "Position" |
--[[ zhTW ]] tL["Adjust spell time position"] = "Adjust spell time position" |
--[[ zhTW ]] tL["Left Offset"] = "Left Offset" |
--[[ zhTW ]] tL["Sets the offset of the left of the text"] = "Sets the offset of the left of the text" |
--[[ zhTW ]] tL["Right Offset"] = "Right Offset" |
--[[ zhTW ]] tL["Sets the offset of the right of the text"] = "Sets the offset of the right of the text" |
--[[ zhTW ]] tL["Vertical Offset"] = "Vertical Offset" |
--[[ zhTW ]] tL["Sets the vertical offset of the text"] = "Sets the vertical offset of the text" |
--[[ zhTW ]] tL["Colors"] = "Colors" |
--[[ zhTW ]] tL["Sets the spell time colors"] = "Sets the spell time colors" |
--[[ zhTW ]] tL["Cast Color"] = "Cast Color" |
--[[ zhTW ]] tL["Sets the spell time color during active casting"] = "Sets the spell time color during active casting" |
--[[ zhTW ]] tL["Fade Color"] = "Fade Color" |
--[[ zhTW ]] tL["Sets the spell time color during cast warning fade"] = "Sets the spell time color during cast warning fade" |
--[[ zhTW ]] tL["None"] = "None" |
--[[ zhTW ]] tL["Normal"] = "Normal" |
--[[ zhTW ]] tL["Thick"] = "Thick" |
--[[ zhTW ]] tL["LEFT"] = "LEFT" |
--[[ zhTW ]] tL["CENTER"] = "CENTER" |
--[[ zhTW ]] tL["RIGHT"] = "RIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftCastWarningTimeText"] = "AloftCastWarningTimeText" |
--[[ zhTW ]] mL["Display time text on cast warning"] = "Display time text on cast warning" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastWarningOptions = setmetatable(wL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
local wL = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastWarningSpellIconOptions = setmetatable(iL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
local iL = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastWarningSpellNameTextOptions = setmetatable(nL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
local nL = nil |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftCastWarningTimeTextOptions = setmetatable(tL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
local tL = nil |
----------------------------------------------------------------------------- |
end) |
-- ChatFrame7:AddMessage("AloftCastWarningLocale: have all initializers") |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningTimeText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastWarningTimeTextOptions |
if not L then return end |
local AloftCastWarning = Aloft:GetModule("CastWarning", true) |
if not AloftCastWarning then return end |
local AloftCastWarningTimeText = Aloft:GetModule("CastWarningTimeText", true) |
if not AloftCastWarningTimeText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castWarning.args.castWarningTimeText = |
{ |
type = 'group', |
name = L["Spell Time"], |
desc = L["Cast warning spell time text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningTimeText:IsEnabled() or not AloftCastWarningTimeText.db or not AloftCastWarningTimeText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show cast warning spell time"], |
get = function(i) return AloftCastWarningTimeText.db.profile.enable end, |
set = function(i, v) AloftCastWarningTimeText.db.profile.enable = v AloftCastWarningTimeText:UpdateAll() end, |
order = 1 |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Spell time typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningTimeText:IsEnabled() or not AloftCastWarningTimeText.db or not AloftCastWarningTimeText.db.profile or not AloftCastWarningTimeText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for spell time"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.castWarningTimeText.args.typeface.args.font.values) do |
if v == AloftCastWarningTimeText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarningTimeText.db.profile.font = Aloft.Options.args.castWarning.args.castWarningTimeText.args.typeface.args.font.values[v] |
AloftCastWarningTimeText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the spell time"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCastWarningTimeText.db.profile.fontSize end, |
set = function(i, value) AloftCastWarningTimeText.db.profile.fontSize = value AloftCastWarningTimeText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on spell time"], |
get = function(i) return AloftCastWarningTimeText.db.profile.shadow end, |
set = function(i, v) AloftCastWarningTimeText.db.profile.shadow = v AloftCastWarningTimeText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for spell time"], |
get = function(i) return AloftCastWarningTimeText.db.profile.outline end, |
set = function(i, value) AloftCastWarningTimeText.db.profile.outline = value AloftCastWarningTimeText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the spell time"], |
disabled = function(i) return not AloftCastWarningTimeText.db.profile.enable end, |
get = function(i) return AloftCastWarningTimeText.db.profile.alignment end, |
set = function(i, value) AloftCastWarningTimeText.db.profile.alignment = value AloftCastWarningTimeText:UpdateAll() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust spell time position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningTimeText:IsEnabled() or not AloftCastWarningTimeText.db or not AloftCastWarningTimeText.db.profile or not AloftCastWarningTimeText.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningTimeText.db.profile.offsets.left end, |
set = function(i, v) AloftCastWarningTimeText.db.profile.offsets.left = v AloftCastWarningTimeText:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningTimeText.db.profile.offsets.right end, |
set = function(i, v) AloftCastWarningTimeText.db.profile.offsets.right = v AloftCastWarningTimeText:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningTimeText.db.profile.offsets.vertical end, |
set = function(i, v) AloftCastWarningTimeText.db.profile.offsets.vertical = v AloftCastWarningTimeText:UpdateAll() end |
}, |
}, |
}, |
color = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Sets the spell time colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningTimeText:IsEnabled() or not AloftCastWarningTimeText.db or not AloftCastWarningTimeText.db.profile or not AloftCastWarningTimeText.db.profile.enable end, |
args = |
{ |
castColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Cast Color"], |
desc = L["Sets the spell time color during active casting"], |
get = function(i) return unpack(AloftCastWarningTimeText.db.profile.castColor) end, |
set = function(i, r, g, b, a) AloftCastWarningTimeText.db.profile.castColor = { r, g, b, a } AloftCastWarningSpellNameText:UpdateAll() end, |
hasAlpha = true |
}, |
fadeColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Fade Color"], |
desc = L["Sets the spell time color during cast warning fade"], |
get = function(i) return unpack(AloftCastWarningTimeText.db.profile.fadeColor) end, |
set = function(i, r, g, b, a) AloftCastWarningTimeText.db.profile.fadeColor = { r, g, b, a } AloftCastWarningSpellNameText:UpdateAll() end, |
hasAlpha = true |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastWarning = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastWarning"], |
desc = L["Add cast warnings to Aloft unit nameplates"], |
disabled = function(i) return AloftModules.db.profile.AloftCastWarningSpellIcon or AloftModules.db.profile.AloftCastWarningSpellNameText or AloftModules.db.profile.AloftCastWarningTimeText end, |
get = function(i) return AloftModules.db.profile.AloftCastWarning end, |
set = function(i, v) AloftModules.db.profile.AloftCastWarning = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastWarningSpellIcon = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastWarningSpellIcon"], |
desc = L["Display spell icon on cast warning"], |
disabled = function(i) return not AloftModules.db.profile.AloftCastWarning end, |
get = function(i) return AloftModules.db.profile.AloftCastWarningSpellIcon end, |
set = function(i, v) AloftModules.db.profile.AloftCastWarningSpellIcon = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastWarningSpellNameText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastWarningSpellNameText"], |
desc = L["Display spell name on cast warning"], |
disabled = function(i) return not AloftModules.db.profile.AloftCastWarning end, |
get = function(i) return AloftModules.db.profile.AloftCastWarningSpellNameText end, |
set = function(i, v) AloftModules.db.profile.AloftCastWarningSpellNameText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftCastWarningTimeText = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftCastWarningTimeText"], |
desc = L["Display time text on cast warning"], |
disabled = function(i) return not AloftModules.db.profile.AloftCastWarning end, |
get = function(i) return AloftModules.db.profile.AloftCastWarningTimeText end, |
set = function(i, v) AloftModules.db.profile.AloftCastWarningTimeText = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellNameText", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastWarningSpellNameTextOptions |
if not L then return end |
local AloftCastWarning = Aloft:GetModule("CastWarning", true) |
if not AloftCastWarning then return end |
local AloftCastWarningSpellNameText = Aloft:GetModule("CastWarningSpellNameText", true) |
if not AloftCastWarningSpellNameText then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.castWarning.args.castWarningSpellNameText = |
{ |
type = 'group', |
name = L["Spell Name"], |
desc = L["Cast warning spell name text options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellNameText:IsEnabled() or not AloftCastWarningSpellNameText.db or not AloftCastWarningSpellNameText.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show cast warning spell name"], |
get = function(i) return AloftCastWarningSpellNameText.db.profile.enable end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.enable = v AloftCastWarningSpellNameText:UpdateAll() end, |
order = 1, |
}, |
rank = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Display Rank"], |
desc = L["Show cast warning spell rank"], |
disabled = function(i) return not AloftCastWarningSpellNameText.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.rank end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.rank = v AloftCastWarningSpellNameText:UpdateAll() end, |
order = 2, |
}, |
range = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Display Min/Max Range"], |
desc = L["Show cast warning spell minimum/maximum range"], |
disabled = function(i) return not AloftCastWarningSpellNameText.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.range end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.range = v AloftCastWarningSpellNameText:UpdateAll() end, |
order = 3, |
}, |
outcome = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Display Outcome"], |
desc = L["Show cast warning spell outcome"], |
disabled = function(i) return not AloftCastWarningSpellNameText.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.outcome end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.outcome = v AloftCastWarningSpellNameText:UpdateAll() end, |
order = 4, |
}, |
extra = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Display Outcome Reason"], |
desc = L["Show cast warning spell outcome reason (failure type, interrupting spell)"], |
disabled = function(i) return not AloftCastWarningSpellNameText.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.extra end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.extra = v AloftCastWarningSpellNameText:UpdateAll() end, |
order = 5, |
}, |
typeface = |
{ |
type = 'group', |
name = L["Typeface"], |
desc = L["Spell name typeface options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellNameText:IsEnabled() or not AloftCastWarningSpellNameText.db or not AloftCastWarningSpellNameText.db.profile or not AloftCastWarningSpellNameText.db.profile.enable end, |
args = |
{ |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Font"], |
desc = L["Sets the font for spell name"], |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.castWarningSpellNameText.args.typeface.args.font.values) do |
if v == AloftCastWarningSpellNameText.db.profile.font then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarningSpellNameText.db.profile.font = Aloft.Options.args.castWarning.args.castWarningSpellNameText.args.typeface.args.font.values[v] |
AloftCastWarningSpellNameText:UpdateAll() |
end, |
values = SML:List("font"), |
}, |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Size"], |
desc = L["Sets the font height of the spell name"], |
max = 16, |
min = 5, |
step = 1, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.fontSize end, |
set = function(i, value) AloftCastWarningSpellNameText.db.profile.fontSize = value AloftCastWarningSpellNameText:UpdateAll() end |
}, |
shadow = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Font Shadow"], |
desc = L["Show font shadow on spell name"], |
get = function(i) return AloftCastWarningSpellNameText.db.profile.shadow end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.shadow = v AloftCastWarningSpellNameText:UpdateAll() end |
}, |
outline = |
{ |
type = 'select', |
width = 'full', |
name = L["Outline"], |
desc = L["Sets the font outline for spell name"], |
get = function(i) return AloftCastWarningSpellNameText.db.profile.outline end, |
set = function(i, value) AloftCastWarningSpellNameText.db.profile.outline = value AloftCastWarningSpellNameText:UpdateAll() end, |
values = { [""] = L["None"], ["OUTLINE"] = L["Normal"], ["THICKOUTLINE"] = L["Thick"] }, |
}, |
}, |
}, |
alignment = |
{ |
type = 'select', |
width = 'full', |
name = L["Alignment"], |
desc = L["Sets the alignment of the spell name"], |
disabled = function(i) return not AloftCastWarningSpellNameText.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.alignment end, |
set = function(i, value) AloftCastWarningSpellNameText.db.profile.alignment = value AloftCastWarningSpellNameText:UpdateAll() end, |
values = {["LEFT"]= L["LEFT"], ["CENTER"]= L["CENTER"], ["RIGHT"]= L["RIGHT"] }, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust spell name position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellNameText:IsEnabled() or not AloftCastWarningSpellNameText.db or not AloftCastWarningSpellNameText.db.profile or not AloftCastWarningSpellNameText.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.offsets.left end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.offsets.left = v AloftCastWarningSpellNameText:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.offsets.right end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.offsets.right = v AloftCastWarningSpellNameText:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the text"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningSpellNameText.db.profile.offsets.vertical end, |
set = function(i, v) AloftCastWarningSpellNameText.db.profile.offsets.vertical = v AloftCastWarningSpellNameText:UpdateAll() end |
}, |
}, |
}, |
color = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Sets the spell name colors"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellNameText:IsEnabled() or not AloftCastWarningSpellNameText.db or not AloftCastWarningSpellNameText.db.profile or not AloftCastWarningSpellNameText.db.profile.enable end, |
args = |
{ |
castColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Cast Color"], |
desc = L["Sets the spell name color during active casting"], |
get = function(i) return unpack(AloftCastWarningSpellNameText.db.profile.castColor) end, |
set = function(i, r, g, b, a) AloftCastWarningSpellNameText.db.profile.castColor = { r, g, b, a } AloftCastWarningSpellNameText:UpdateAll() end, |
hasAlpha = true |
}, |
fadeColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Fade Color"], |
desc = L["Sets the spell name color during cast warning fade"], |
get = function(i) return unpack(AloftCastWarningSpellNameText.db.profile.fadeColor) end, |
set = function(i, r, g, b, a) AloftCastWarningSpellNameText.db.profile.fadeColor = { r, g, b, a } AloftCastWarningSpellNameText:UpdateAll() end, |
hasAlpha = true |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarningSpellIcon", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastWarningSpellIconOptions |
if not L then return end |
local AloftCastWarning = Aloft:GetModule("CastWarning", true) |
if not AloftCastWarning then return end |
local AloftCastWarningSpellIcon = Aloft:GetModule("CastWarningSpellIcon", true) |
if not AloftCastWarningSpellIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.castWarning.args.castWarningSpellIcon = |
{ |
type = 'group', |
name = L["Spell Icon"], |
desc = L["Cast warning spell icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellIcon:IsEnabled() or not AloftCastWarningSpellIcon.db or not AloftCastWarningSpellIcon.db.profile end, |
order = -1, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable cast warning spell icon display on the nameplate"], |
get = function(i) return AloftCastWarningSpellIcon.db.profile.enable end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.enable = v AloftCastWarningSpellIcon:UpdateAll() end, |
order = 1, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust cast warning spell icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellIcon:IsEnabled() or not AloftCastWarningSpellIcon.db or not AloftCastWarningSpellIcon.db.profile or not AloftCastWarningSpellIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the cast warning spell icon"], |
get = function(i) return AloftCastWarningSpellIcon.db.profile.point end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.point = v AloftCastWarningSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the cast warning to anchor the spell icon"], |
get = function(i) return AloftCastWarningSpellIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.relativeToPoint = v AloftCastWarningSpellIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the cast warning spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningSpellIcon.db.profile.offsetX end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.offsetX = v AloftCastWarningSpellIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the cast warning spell icon"], |
min = -32, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarningSpellIcon.db.profile.offsetY end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.offsetY = v AloftCastWarningSpellIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the cast warning spell icon"], |
min = 4, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftCastWarningSpellIcon.db.profile.enable end, |
get = function(i) return AloftCastWarningSpellIcon.db.profile.size end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.size = v AloftCastWarningSpellIcon:UpdateAll() end |
}, |
shield = |
{ |
type = 'group', |
name = L["Shield"], |
desc = L["Shows a shield graphic around an uninterruptable spell icon"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable or not AloftCastWarningSpellIcon:IsEnabled() or not AloftCastWarningSpellIcon.db or not AloftCastWarningSpellIcon.db.profile or not AloftCastWarningSpellIcon.db.profile.enable end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enables the shield graphic"], |
get = function(i) return AloftCastWarningSpellIcon.db.profile.nointerShield end, |
set = function(i, v) |
AloftCastWarningSpellIcon.db.profile.nointerShield = v |
AloftCastWarningSpellIcon:UpdateAll() |
end, |
}, |
style = |
{ |
type = 'select', |
width = 'full', |
name = L["Style"], |
desc = L["Sets the shield graphic style"], |
order = 8, |
disabled = function(i) return not AloftCastWarningSpellIcon.db.profile.enable or not AloftCastWarningSpellIcon.db.profile.nointerShield end, |
get = function(i) return AloftCastWarningSpellIcon.db.profile.nointerStyle end, |
set = function(i, v) AloftCastWarningSpellIcon.db.profile.nointerStyle = v AloftCastWarningSpellIcon:UpdateAll() end, |
values = |
{ |
["ROUND"] = L["ROUND"], |
["SQUARE"] = L["SQUARE"], |
}, |
}, |
color = |
{ |
type = 'color', |
width = 'full', |
name = L["Color"], |
desc = L["Sets the shield graphic color"], |
order = 1, |
disabled = function(i) return not AloftCastWarningSpellIcon.db.profile.enable or not AloftCastWarningSpellIcon.db.profile.nointerShield end, |
get = function(i) return unpack(AloftCastWarningSpellIcon.db.profile.nointerColor) end, |
set = function(i, r, g, b, a) AloftCastWarningSpellIcon.db.profile.nointerColor = { r, g, b, a } AloftCastWarningSpellIcon:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftCastWarning", function(i) |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftCastWarningOptions |
if not L then return end |
local AloftCastWarning = Aloft:GetModule("CastWarning", true) |
if not AloftCastWarning then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
-- TODO: make these all attributes of AloftCastWarning |
-- needs to be maintained to match the definitions in AloftCastWarning.lua/AloftCastWarningSpellProcess.lua; these masks are lifted from Blizzard; buried somewhere in a global table somewhere |
local SPELL_SCHOOL_NONE = SCHOOL_MASK_NONE |
local SPELL_SCHOOL_PHYSICAL = SCHOOL_MASK_PHYSICAL |
local SPELL_SCHOOL_HOLY = SCHOOL_MASK_HOLY |
local SPELL_SCHOOL_FIRE = SCHOOL_MASK_FIRE |
local SPELL_SCHOOL_NATURE = SCHOOL_MASK_NATURE |
local SPELL_SCHOOL_FROST = SCHOOL_MASK_FROST |
local SPELL_SCHOOL_SHADOW = SCHOOL_MASK_SHADOW |
local SPELL_SCHOOL_ARCANE = SCHOOL_MASK_ARCANE |
local SPELL_SCHOOL_HEAL = 0x40000000 -- this is an imaginary catch-all school for healing spells; make certain no bits are in common |
-- needs to be maintained to match the definitions in AloftCastWarning.lua; these are lifted loosely from Blizzard(tm); Interface\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua (i.e. Blizzard combat log processing) |
local SPELL_COLOR_NONE = { 1.00, 1.00, 1.00, 1.00, } -- this is an imaginary color for spells with no known school (a medium gray) |
local SPELL_COLOR_PHYSICAL = { 0.80, 0.60, 0.40, 1.00, } -- basically the warrior class color |
local SPELL_COLOR_HOLY = { 1.00, 0.90, 0.50, 1.00, } |
local SPELL_COLOR_FIRE = { 1.00, 0.00, 0.00, 1.00, } -- red |
local SPELL_COLOR_NATURE = { 0.30, 1.00, 0.30, 1.00, } |
local SPELL_COLOR_FROST = { 0.50, 1.00, 1.00, 1.00, } |
local SPELL_COLOR_SHADOW = { 0.50, 0.50, 1.00, 1.00, } -- basically the warlock class color |
local SPELL_COLOR_ARCANE = { 1.00, 0.50, 1.00, 1.00, } |
local SPELL_COLOR_HEAL = { 1.00, 0.50, 0.00, 1.00, } -- this is an imaginary catch-all color for healing spells (yellow-orange) |
----------------------------------------------------------------------------- |
Aloft.Options.args.castWarning = |
{ |
type = 'group', |
name = L["Cast Warning"], |
desc = L["Cast warning options"] .. " (" .. AloftCastWarning.version .. ")", |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Show cast warnings on identifiable enemy nameplates"], |
order = 1, |
get = function(i) return AloftCastWarning.db.profile.enable end, |
set = function(i, v) AloftCastWarning.db.profile.enable = v Aloft:DetermineDataSources() AloftCastWarning:UpdateAll() end, |
}, |
castWarningOverrideEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Cast Warning Alpha Override Enable"], |
desc = L["Enable changing alpha of actively casting units (requires AloftAlpha module to be enabled at UI load)"], |
order = 2, |
disabled = function(i) return not AloftCastWarning.db.profile.enable or not Aloft:GetModule("Alpha", true) end, |
get = function(i) return AloftCastWarning.db.profile.alphaOverrideEnable end, |
set = function(i, v) |
AloftCastWarning.db.profile.alphaOverrideEnable = v |
if Aloft:GetModule("Alpha", true) then Aloft:GetModule("Alpha"):EnableChange() end |
end, |
}, |
castWarningOverrideAlpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Cast Warning Alpha Override"], |
desc = L["Sets the alpha value of actively casting units (requires AloftAlpha module to be enabled at UI load)"], |
order = 3, |
min = 0.01, |
max = 1, |
step = 0.01, |
disabled = function(i) return not AloftCastWarning.db.profile.enable or not AloftCastWarning.db.profile.alphaOverrideEnable or not Aloft:GetModule("Alpha", true) end, |
get = function(i) return AloftCastWarning.db.profile.alphaOverride end, |
set = function(i, v) AloftCastWarning.db.profile.alphaOverride = v AloftCastWarning:AdjustOptionValues() end, |
}, |
verifyInterval = |
{ |
type = 'range', |
width = 'full', |
name = L["Verification Interval"], |
desc = L["Sets the rate at which spell cast verification is performed; this queries the casting unit regularly, after cast activity begins, to verify what spell (if any) is still being cast (0.0 is as fast as possible)"], |
order = 4, |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.verifyInterval end, |
set = function(i, v) AloftCastWarning.db.profile.verifyInterval = v AloftCastWarning:UpdateAll() end |
}, |
tradeSkill = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Trade Skills"], |
desc = L["Show cast warnings for trade skills"], |
order = 5, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.tradeSkill end, |
set = function(i, v) AloftCastWarning.db.profile.tradeSkill = v Aloft:DetermineDataSources() AloftCastWarning:UpdateAll() end, |
}, |
players = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Players"], |
desc = L["Show cast warnings for players"], |
order = 6, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.players end, |
set = function(i, v) AloftCastWarning.db.profile.players = v Aloft:DetermineDataSources() AloftCastWarning:UpdateAll() end, |
}, |
friendly = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Friendly Units"], |
desc = L["Show cast warnings for friendly units"], |
order = 7, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.friendly end, |
set = function(i, v) AloftCastWarning.db.profile.friendly = v Aloft:DetermineDataSources() AloftCastWarning:UpdateAll() end, |
}, |
animate = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Animated Cast Warning"], |
desc = L["Animate cast warnings as cast bars"], |
order = 8, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.animate end, |
set = function(i, v) AloftCastWarning.db.profile.animate = v Aloft:DetermineDataSources() AloftCastWarning:UpdateAll() end, |
}, |
fadeDuration = |
{ |
type = 'range', |
width = 'full', |
name = L["Fade Duration"], |
desc = L["Sets the fade duration of animated cast warnings (0.0 is no fade)"], |
order = 9, |
min = 0.0, |
max = 5.0, -- same as the ACTIVE_CAST_TIMEOUT constant in AloftCastWarning.lua |
step = 0.1, |
order = 7, |
disabled = function(i) return not (AloftCastWarning.db.profile.enable and AloftCastWarning.db.profile.animate) end, |
get = function(i) return AloftCastWarning.db.profile.fadeDuration end, |
set = function(i, v) AloftCastWarning.db.profile.fadeDuration = v AloftCastWarning:UpdateAll() end |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the cast warning's position"], |
order = 10, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = 'full', |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the cast warning"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.offsets.left end, |
set = function(i, v) AloftCastWarning.db.profile.offsets.left = v AloftCastWarning:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = 'full', |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the cast warning"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.offsets.right end, |
set = function(i, v) AloftCastWarning.db.profile.offsets.right = v AloftCastWarning:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = 'full', |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the cast warning"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.offsets.vertical end, |
set = function(i, v) AloftCastWarning.db.profile.offsets.vertical = v AloftCastWarning:UpdateAll() end |
}, |
}, |
}, |
height = |
{ |
type = 'range', |
width = 'full', |
name = L["Height"], |
desc = L["Sets the height of the cast warning"], |
order = 11, |
min = 2, |
max = 32, |
step = 1, |
disabled = function(i) return not AloftCastWarning.db.profile.enable end, |
get = function(i) return AloftCastWarning.db.profile.height end, |
set = function(i, v) AloftCastWarning.db.profile.height = v AloftCastWarning:UpdateAll() end |
}, |
interruptable = |
{ |
type = 'group', |
name = L["Interruptable Cast Warning"], |
desc = L["Cast warning appearance for interruptable spells"], |
order = 12, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable end, |
args = |
{ |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the cast warning texture"], |
order = 1, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.interruptable.args.texture.values) do |
if v == AloftCastWarning.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarning.db.profile.texture = Aloft.Options.args.castWarning.args.interruptable.args.texture.values[v] |
AloftCastWarning:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the cast warning"], |
order = 2, |
get = function(i) return unpack(AloftCastWarning.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.backdropColor = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
}, |
border = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the cast warning border"], |
order = 3, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.interruptable.args.border.values) do |
if v == AloftCastWarning.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarning.db.profile.border = Aloft.Options.args.castWarning.args.interruptable.args.border.values[v] |
AloftCastWarning:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.borderEdgeSize end, |
set = function(i, v) AloftCastWarning.db.profile.borderEdgeSize = v AloftCastWarning:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.borderInset end, |
set = function(i, v) AloftCastWarning.db.profile.borderInset = v AloftCastWarning:UpdateAll() end |
}, |
borderColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the cast warning"], |
order = 4, |
disabled = function(i) return AloftCastWarning.db.profile.border == "None" end, |
get = function(i) return unpack(AloftCastWarning.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.borderColor = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
uninterruptable = |
{ |
type = 'group', |
name = L["Uninterruptable Cast Warning"], |
desc = L["Cast warning appearance for uninterruptable spells"], |
order = 13, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable end, |
args = |
{ |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Texture"], |
desc = L["Sets the cast warning texture"], |
order = 1, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.uninterruptable.args.texture.values) do |
if v == AloftCastWarning.db.profile.nointerTexture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarning.db.profile.nointerTexture = Aloft.Options.args.castWarning.args.uninterruptable.args.texture.values[v] |
AloftCastWarning:UpdateAll() |
end, |
values = SML:List("statusbar"), |
}, |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the cast warning"], |
order = 2, |
get = function(i) return unpack(AloftCastWarning.db.profile.nointerBackdropColor) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.nointerBackdropColor = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
}, |
border = |
{ |
type = 'select', |
width = 'full', |
name = L["Border Style"], |
desc = L["Sets the style of the cast warning border"], |
order = 3, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.castWarning.args.uninterruptable.args.border.values) do |
if v == AloftCastWarning.db.profile.nointerBorder then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftCastWarning.db.profile.nointerBorder = Aloft.Options.args.castWarning.args.uninterruptable.args.border.values[v] |
AloftCastWarning:UpdateAll() |
end, |
values = SML:List("border"), |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.nointerBorderEdgeSize end, |
set = function(i, v) AloftCastWarning.db.profile.nointerBorderEdgeSize = v AloftCastWarning:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftCastWarning.db.profile.nointerBorderInset end, |
set = function(i, v) AloftCastWarning.db.profile.nointerBorderInset = v AloftCastWarning:UpdateAll() end |
}, |
borderColor = |
{ |
type = 'color', |
width = 'full', |
name = L["Border Color"], |
desc = L["Sets the border color of the cast warning"], |
order = 4, |
disabled = function(i) return AloftCastWarning.db.profile.nointerBorder == "None" end, |
get = function(i) return unpack(AloftCastWarning.db.profile.nointerBorderColor) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.nointerBorderColor = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
}, |
}, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize cast warning colors (based on spell school)"], |
order = 14, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftCastWarning:IsEnabled() or not AloftCastWarning.db or not AloftCastWarning.db.profile or not AloftCastWarning.db.profile.enable end, |
args = |
{ |
backdrop = |
{ |
type = 'color', |
width = 'full', |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the cast warning"], |
get = function(i) return unpack(AloftCastWarning.db.profile.backdropColor) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.backdropColor = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 1, |
}, |
default = |
{ |
type = 'color', |
width = 'full', |
name = L["Default"], |
desc = L["Sets the default color for cast warnings from unknown schools"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_NONE]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_NONE] = { r, g, b, a, } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 2, |
}, |
physical = |
{ |
type = 'color', |
width = 'full', |
name = L["Physical"], |
desc = L["Sets the color for physical school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_PHYSICAL]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_PHYSICAL] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 3, |
}, |
holy = |
{ |
type = 'color', |
width = 'full', |
name = L["Holy"], |
desc = L["Sets the color for holy school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_HOLY]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_HOLY] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 4, |
}, |
fire = |
{ |
type = 'color', |
width = 'full', |
name = L["Fire"], |
desc = L["Sets the color for fire school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_FIRE]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_FIRE] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 5, |
}, |
nature = |
{ |
type = 'color', |
width = 'full', |
name = L["Nature"], |
desc = L["Sets the color for nature school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_NATURE]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_NATURE] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 6, |
}, |
frost = |
{ |
type = 'color', |
width = 'full', |
name = L["Frost"], |
desc = L["Sets the color for frost school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_FROST]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_FROST] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 7, |
}, |
shadow = |
{ |
type = 'color', |
width = 'full', |
name = L["Shadow"], |
desc = L["Sets the color for shadow school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_SHADOW]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_SHADOW] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 8, |
}, |
arcane = |
{ |
type = 'color', |
width = 'full', |
name = L["Arcane"], |
desc = L["Sets the color for arcane school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_ARCANE]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_ARCANE] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 9, |
}, |
heal = |
{ |
type = 'color', |
width = 'full', |
name = L["Healing"], |
desc = L["Sets the color for healing school cast warnings"], |
get = function(i) return unpack(AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_HEAL]) end, |
set = function(i, r, g, b, a) AloftCastWarning.db.profile.powerTypeColors[SPELL_SCHOOL_HEAL] = { r, g, b, a } AloftCastWarning:UpdateAll() end, |
hasAlpha = true, |
order = 10, |
}, |
reset = |
{ |
type = 'execute', |
width = 'full', |
name = L["Reset to Defaults"], |
desc = L["Resets all colors to their defaults"], |
order = -1, |
func = function(i) |
AloftCastWarning.db.profile.backdropColor = { 0.25, 0.25, 0.25, 0.5 } |
AloftCastWarning.db.profile.powerTypeColors = |
{ |
[SPELL_SCHOOL_NONE] = SPELL_COLOR_NONE, |
[SPELL_SCHOOL_PHYSICAL] = SPELL_COLOR_PHYSICAL, |
[SPELL_SCHOOL_HOLY] = SPELL_COLOR_HOLY, |
[SPELL_SCHOOL_FIRE] = SPELL_COLOR_FIRE, |
[SPELL_SCHOOL_NATURE] = SPELL_COLOR_NATURE, |
[SPELL_SCHOOL_FROST] = SPELL_COLOR_FROST, |
[SPELL_SCHOOL_SHADOW] = SPELL_COLOR_SHADOW, |
[SPELL_SCHOOL_ARCANE] = SPELL_COLOR_ARCANE, |
[SPELL_SCHOOL_HEAL] = SPELL_COLOR_HEAL, |
}, |
AloftCastWarning:UpdateAll() |
end, |
}, |
} |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] mL["AloftLDB"] = "AloftLDB" |
--[[ enUS ]] mL["Provide a LibDataBroker-1.1 interface for Aloft"] = "Provide a LibDataBroker-1.1 interface for Aloft" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftLDB"] = "AloftLDB" |
--[[ koKR ]] mL["Provide a LibDataBroker-1.1 interface for Aloft"] = "Provide a LibDataBroker-1.1 interface for Aloft" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftLDB"] = "AloftLDB" |
--[[ ruRU ]] mL["Provide a LibDataBroker-1.1 interface for Aloft"] = "беÑпеÑиваÑÑ Ð¸Ð½ÑеÑÑейÑов Aloftа LibDataBroker-1.1" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftLDB"] = "LDBæ¯æ" |
--[[ zhCN ]] mL["Provide a LibDataBroker-1.1 interface for Aloft"] = "为Aloftæä¾LibDataBrokeræ¯æ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftLDB"] = "LDBæ¯æ" |
--[[ zhTW ]] mL["Provide a LibDataBroker-1.1 interface for Aloft"] = "çºAloftæä¾LibDataBrokeræ¯æ´" |
----------------------------------------------------------------------------- |
end |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.AloftLDB = |
{ |
type = 'toggle', |
width = "full", |
name = L["AloftLDB"], |
desc = L["Provide a LibDataBroker-1.1 interface for Aloft"], |
get = function(i) return AloftModules.db.profile.AloftLDB end, |
set = function(i, v) AloftModules.db.profile.AloftLDB = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftSetAll |
if not L then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
local lastSetFont = "" |
local lastSetFontSize = 10 |
local lastSetBorder = "" |
local lastSetTexture = "" |
----------------------------------------------------------------------------- |
Aloft.Options.args.setAll = |
{ |
type = 'group', |
name = L["Set All"], |
desc = L["Set all options"], |
disabled = function(i) return not Aloft:IsEnabled() end, |
order = 600, |
args = |
{ |
fontSize = |
{ |
type = 'range', |
width = 'full', |
name = L["Font Sizes"], |
desc = L["Sets the fonts size for all text in Aloft"], |
order = 1, |
max = 16, |
min = 4, |
step = 1, |
get = function(i) return lastSetFontSize end, |
set = function(i, v) if lastSetFontSize ~= v then lastSetFontSize = v Aloft:SendMessage("Aloft:SetAll", "fontSize", v) end end |
}, |
font = |
{ |
type = 'select', |
width = 'full', |
name = L["Fonts"], |
desc = L["Sets the font for all text in Aloft"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.setAll.args.font.values) do |
if v == lastSetFont then |
return k |
end |
end |
end, |
set = function(i, v) |
lastSetFont = Aloft.Options.args.setAll.args.font.values[v] |
Aloft:SendMessage("Aloft:SetAll", "font", lastSetFont) |
end, |
values = SML:List("font"), |
}, |
border = |
{ |
type = 'select', |
width = 'full', |
name = L["Borders"], |
desc = L["Sets the border for all status bars in Aloft"], |
order = 4, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.setAll.args.border.values) do |
if v == lastSetBorder then |
return k |
end |
end |
end, |
set = function(i, v) |
lastSetBorder = Aloft.Options.args.setAll.args.border.values[v] |
Aloft:SendMessage("Aloft:SetAll", "border", lastSetBorder) |
end, |
values = SML:List("border"), |
}, |
texture = |
{ |
type = 'select', |
width = 'full', |
name = L["Textures"], |
desc = L["Sets the texture for all status bars in Aloft"], |
order = 4, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.setAll.args.texture.values) do |
if v == lastSetTexture then |
return k |
end |
end |
end, |
set = function(i, v) |
lastSetTexture = Aloft.Options.args.setAll.args.texture.values[v] |
Aloft:SendMessage("Aloft:SetAll", "texture", lastSetTexture) |
end, |
values = SML:List("statusbar"), |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] L["Set All"] = "Set All" |
--[[ enUS ]] L["Set all options"] = "Set all options" |
--[[ enUS ]] L["Textures"] = "Textures" |
--[[ enUS ]] L["Sets the texture for all status bars in Aloft"] = "Sets the texture for all status bars in Aloft" |
--[[ enUS ]] L["Borders"] = "Borders" |
--[[ enUS ]] L["Sets the border for all status bars in Aloft"] = "Sets the border for all status bars in Aloft" |
--[[ enUS ]] L["Fonts"] = "Fonts" |
--[[ enUS ]] L["Sets the font for all text in Aloft"] = "Sets the font for all text in Aloft" |
--[[ enUS ]] L["Font Sizes"] = "Font Sizes" |
--[[ enUS ]] L["Sets the fonts size for all text in Aloft"] = "Sets the fonts size for all text in Aloft" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Set All"] = "ì ì²´ ì¤ì " |
--[[ koKR ]] L["Set all options"] = "ì ì²´ ì¤ì ì ë³ê²½í©ëë¤." |
--[[ koKR ]] L["Textures"] = "í ì¤ì³" |
--[[ koKR ]] L["Borders"] = "Borders" |
--[[ koKR ]] L["Sets the border for all status bars in Aloft"] = "Sets the border for all status bars in Aloft" |
--[[ koKR ]] L["Sets the texture for all status bars in Aloft"] = "모ë ìíë°ì í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Fonts"] = "ê¸ê¼´" |
--[[ koKR ]] L["Sets the font for all text in Aloft"] = "모ë ê¸ìì ê¸ê¼´ì ì¤ì í©ëë¤." |
--[[ koKR ]] L["Font Sizes"] = "ê¸ê¼´ í¬ê¸°" |
--[[ koKR ]] L["Sets the fonts size for all text in Aloft"] = "모ë ê¸ìì ê¸ê¼´ í¬ê¸°ë¥¼ ì¤ì í©ëë¤." |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Set All"] = "ÐадаÑÑ Ð²Ñе" |
--[[ ruRU ]] L["Set all options"] = "УÑÑановиÑÑ Ð²Ñе наÑÑÑойки" |
--[[ ruRU ]] L["Textures"] = "ТекÑÑÑÑÑ" |
--[[ ruRU ]] L["Sets the texture for all status bars in Aloft"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð´Ð»Ñ Ð²ÑÐµÑ Ð¿Ð¾Ð»Ð¾Ñок ÑоÑÑоÑÐ½Ð¸Ñ Ð² Aloft" |
--[[ ruRU ]] L["Borders"] = "ÐÑаÑ" |
--[[ ruRU ]] L["Sets the border for all status bars in Aloft"] = "Sets the border for all status bars in Aloft" |
--[[ ruRU ]] L["Fonts"] = "ШÑиÑÑÑ" |
--[[ ruRU ]] L["Sets the font for all text in Aloft"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÑиÑÑ Ð´Ð»Ñ Ð²Ñего ÑекÑÑа в Aloft" |
--[[ ruRU ]] L["Font Sizes"] = "РазмеÑÑ ÑÑиÑÑа" |
--[[ ruRU ]] L["Sets the fonts size for all text in Aloft"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ°Ð·Ð¼ÐµÑ ÑÑиÑÑа Ð´Ð»Ñ Ð²Ñего ÑекÑÑа Aloft" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Set All"] = "è®¾ç½®å ¨é¨" |
--[[ zhCN ]] L["Set all options"] = "设å®å ¨é¨é项" |
--[[ zhCN ]] L["Textures"] = "æè´¨" |
--[[ zhCN ]] L["Sets the texture for all status bars in Aloft"] = "设å®å ¨é¨Aloftç¶ææ¡çæè´¨" |
--[[ zhCN ]] L["Borders"] = "Borders" |
--[[ zhCN ]] L["Sets the border for all status bars in Aloft"] = "Sets the border for all status bars in Aloft" |
--[[ zhCN ]] L["Fonts"] = "åä½" |
--[[ zhCN ]] L["Sets the font for all text in Aloft"] = "设å®å ¨é¨Aloftæåçåä½" |
--[[ zhCN ]] L["Font Sizes"] = "åå·" |
--[[ zhCN ]] L["Sets the fonts size for all text in Aloft"] = "设å®å ¨é¨Aloftæåçåå·" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Set All"] = "è¨å®å ¨é¨" |
--[[ zhTW ]] L["Set all options"] = "è¨å®å ¨é¨é¸é " |
--[[ zhTW ]] L["Textures"] = "ç´ç" |
--[[ zhTW ]] L["Sets the texture for all status bars in Aloft"] = "è¨å®å ¨é¨ Aloft çæ æ¢çç´ç" |
--[[ zhTW ]] L["Borders"] = "Borders" |
--[[ zhTW ]] L["Sets the border for all status bars in Aloft"] = "Sets the border for all status bars in Aloft" |
--[[ zhTW ]] L["Fonts"] = "åå" |
--[[ zhTW ]] L["Sets the font for all text in Aloft"] = "è¨å®å ¨é¨ Aloft æåçåå" |
--[[ zhTW ]] L["Font Sizes"] = "åå大å°" |
--[[ zhTW ]] L["Sets the fonts size for all text in Aloft"] = "è¨å®å ¨é¨ Aloft æåçåå大å°" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftSetAll = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
-- TODO: on the surface, this wastes space in the enUS locale; the metatable could just return the canonical string as the localization; |
-- BUT, this serves as a default locale, and also will permit the metatable to check/notify on missing locale strings |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Various Alpha Options"] = "Various Alpha Options" |
--[[ enUS ]] L["Target Enable"] = "Target Enable" |
--[[ enUS ]] L["Enable changing alpha of target"] = "Enable changing alpha of target" |
--[[ enUS ]] L["Target Alpha"] = "Target Alpha" |
--[[ enUS ]] L["Sets the alpha of the target's nameplate"] = "Sets the alpha of the target's nameplate" |
--[[ enUS ]] L["Non-Target Enable"] = "Non-Target Enable" |
--[[ enUS ]] L["Enable changing alpha of non-target"] = "Enable changing alpha of non-target" |
--[[ enUS ]] L["Non-Target Alpha"] = "Non-Target Alpha" |
--[[ enUS ]] L["Sets the alpha of non-target nameplates"] = "Sets the alpha of non-target nameplates" |
--[[ enUS ]] L["Default Enable"] = "Default Enable" |
--[[ enUS ]] L["Enable changing alpha of default nameplates"] = "Enable changing alpha of default nameplates" |
--[[ enUS ]] L["Default Alpha"] = "Default Alpha" |
--[[ enUS ]] L["Sets the alpha of default nameplates"] = "Sets the alpha of default nameplates" |
--[[ enUS ]] L["Update Interval"] = "Update Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"] = "The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftAlpha"] = "AloftAlpha" |
--[[ enUS ]] mL["Control the relative transparency of nameplates"] = "Control the relative transparency of nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Various Alpha Options"] = "ê°ê°ì í¬ëª ë ì¤ì ì ëë¤." |
--[[ koKR ]] L["Target Enable"] = "ëì ì¬ì©" |
--[[ koKR ]] L["Enable changing alpha of target"] = "ëìì í¬ëª ë를 ë³ê²½í©ëë¤." |
--[[ koKR ]] L["Target Alpha"] = "ëì í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha of the target's nameplate"] = "ëìì ì´ë¦íì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Non-Target Enable"] = "ë¹-ëì ì¬ì©" |
--[[ koKR ]] L["Enable changing alpha of non-target"] = "ë¹-ëìì í¬ëª ë를 ë³ê²½í©ëë¤." |
--[[ koKR ]] L["Non-Target Alpha"] = "ë¹-ëì í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha of non-target nameplates"] = "ë¹-ëì ì´ë¦íì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Default Enable"] = "기본 ì¬ì©" |
--[[ koKR ]] L["Enable changing alpha of default nameplates"] = "기본 ì´ë¦íì í¬ëª ë를 ë³ê²½í©ëë¤." |
--[[ koKR ]] L["Default Alpha"] = "기본 í¬ëª ë" |
--[[ koKR ]] L["Sets the alpha of default nameplates"] = "기본 ì´ë¦íì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["Update Interval"] = "Update Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"] = "The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftAlpha"] = "AloftAlpha" |
--[[ koKR ]] mL["Control the relative transparency of nameplates"] = "Control the relative transparency of nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Various Alpha Options"] = "ÐÑоÑие наÑÑÑойки пÑозÑаÑноÑÑи" |
--[[ ruRU ]] L["Target Enable"] = "ÐклÑÑиÑÑ ÑелÑ" |
--[[ ruRU ]] L["Enable changing alpha of target"] = "ÐклÑÑиÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ðµ пÑозÑаÑноÑÑи Ñели" |
--[[ ruRU ]] L["Target Alpha"] = "ÐÑозÑаÑноÑÑÑ Ñели" |
--[[ ruRU ]] L["Sets the alpha of the target's nameplate"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑаблиÑки Ñели" |
--[[ ruRU ]] L["Non-Target Enable"] = "ÐклÑÑиÑÑ Ð½Ðµ Ñели" |
--[[ ruRU ]] L["Enable changing alpha of non-target"] = "ÐклÑÑиÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ðµ пÑозÑаÑноÑÑÑ Ð´Ð»Ñ Ð½Ðµ-Ñели" |
--[[ ruRU ]] L["Non-Target Alpha"] = "ÐÑозÑаÑноÑÑÑ Ð½Ðµ Ñелей" |
--[[ ruRU ]] L["Sets the alpha of non-target nameplates"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ ÑаблиÑек не-Ñелей" |
--[[ ruRU ]] L["Default Enable"] = "ÐклÑÑиÑÑ Ð¿Ð¾ ÑмолÑаниÑ" |
--[[ ruRU ]] L["Enable changing alpha of default nameplates"] = "ÐклÑÑиÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð¿ÑозÑаÑноÑÑи Ð´Ð»Ñ ÑÑандаÑÑнÑÑ ÑаблиÑек" |
--[[ ruRU ]] L["Default Alpha"] = "ÐÑозÑаÑноÑÑÑ Ð¿Ð¾ ÑмолÑаниÑ" |
--[[ ruRU ]] L["Sets the alpha of default nameplates"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð¾ÑигиналÑнÑÑ ÑаблиÑек" |
--[[ ruRU ]] L["Update Interval"] = "ÐÑÐµÐ¼Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ" |
--[[ ruRU ]] L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"] = "ÐÑÐµÐ¼Ñ Ð² ÑекÑÐ½Ð´Ð°Ñ Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ñми ÑÑÐ¾Ð²Ð½Ñ Ð¿ÑозÑаÑноÑÑи ÑаблиÑки (0.0 Ñак бÑÑÑÑо, как Ð¼Ð¾Ð¶ÐµÑ Ð¸Ð½ÑеÑÑейÑ)" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftAlpha"] = "AloftAlpha" |
--[[ ruRU ]] mL["Control the relative transparency of nameplates"] = "ÐаÑÑÑойки пÑозÑаÑноÑÑи ÑаблиÑек" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Various Alpha Options"] = "éæ度ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Target Enable"] = "对ç®æ å¯ç¨" |
--[[ zhCN ]] L["Enable changing alpha of target"] = "å¯ç¨ç®æ å§åæ¿çéæ度æ¹å" |
--[[ zhCN ]] L["Target Alpha"] = "ç®æ éæ度" |
--[[ zhCN ]] L["Sets the alpha of the target's nameplate"] = "设å®ç®æ å§åæ¿çéæ度" |
--[[ zhCN ]] L["Non-Target Enable"] = "对éç®æ å¯ç¨" |
--[[ zhCN ]] L["Enable changing alpha of non-target"] = "å¯ç¨éç®æ å§åæ¿çéæ度æ¹å" |
--[[ zhCN ]] L["Non-Target Alpha"] = "éç®æ éæ度" |
--[[ zhCN ]] L["Sets the alpha of non-target nameplates"] = "设å®éç®æ å§åæ¿çéæ度" |
--[[ zhCN ]] L["Default Enable"] = "对é»è®¤å¯ç¨" |
--[[ zhCN ]] L["Enable changing alpha of default nameplates"] = "å¯ç¨é»è®¤å§åæ¿çéæ度æ¹å" |
--[[ zhCN ]] L["Default Alpha"] = "é»è®¤éæ度" |
--[[ zhCN ]] L["Sets the alpha of default nameplates"] = "设å®é»è®¤å§åæ¿çéæ度" |
--[[ zhCN ]] L["Update Interval"] = "æ´æ°é¢ç" |
--[[ zhCN ]] L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"] = "å§åæ¿éæ度çæ´æ°éçï¼0.0ç§æ¯UIå¯ä»¥ä½¿ç¨çæ大å¼" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftAlpha"] = "éæ度" |
--[[ zhCN ]] mL["Control the relative transparency of nameplates"] = "æ§å¶å§åæ¿çéæ度" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Various Alpha Options"] = "éæ度é¸é " |
--[[ zhTW ]] L["Target Enable"] = "ç®æ¨åç¨" |
--[[ zhTW ]] L["Enable changing alpha of target"] = "åç¨æ¹è®ç®æ¨åççéæ度" |
--[[ zhTW ]] L["Target Alpha"] = "ç®æ¨éæ度" |
--[[ zhTW ]] L["Sets the alpha of the target's nameplate"] = "è¨å®ç®æ¨åççéæ度" |
--[[ zhTW ]] L["Non-Target Enable"] = "éç®æ¨åç¨" |
--[[ zhTW ]] L["Enable changing alpha of non-target"] = "åç¨æ¹è®éç®æ¨åççéæ度" |
--[[ zhTW ]] L["Non-Target Alpha"] = "éç®æ¨éæ度" |
--[[ zhTW ]] L["Sets the alpha of non-target nameplates"] = "è¨å®éç®æ¨åççéæ度" |
--[[ zhTW ]] L["Default Enable"] = "é è¨åç¨" |
--[[ zhTW ]] L["Enable changing alpha of default nameplates"] = "åç¨æ¹è®é è¨åççéæ度" |
--[[ zhTW ]] L["Default Alpha"] = "é è¨éæ度" |
--[[ zhTW ]] L["Sets the alpha of default nameplates"] = "è¨å®é è¨åççéæ度" |
--[[ zhTW ]] L["Update Interval"] = "æ´æ°é »ç" |
--[[ zhTW ]] L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"] = "å§åæ¿éæ度çæ´æ°éçï¼0.0ç§æ¯UIå¯ä»¥ä½¿ç¨çæ大å¼" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftAlpha"] = "éæ度" |
--[[ zhTW ]] mL["Control the relative transparency of nameplates"] = "æ§å¶åççéæ度" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftAlphaOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftAlpha = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftAlpha"], |
desc = L["Control the relative transparency of nameplates"], |
get = function(i) return AloftModules.db.profile.AloftAlpha end, |
set = function(i, v) AloftModules.db.profile.AloftAlpha = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftAlpha", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftAlphaOptions |
if not L then return end |
local AloftAlpha = Aloft:GetModule("Alpha", true) |
if not AloftAlpha then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.AloftAlpha = |
{ |
type = 'group', |
name = L["Alpha"], |
desc = L["Various Alpha Options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftAlpha:IsEnabled() or not AloftAlpha.db or not AloftAlpha.db.profile end, |
args = |
{ |
targetEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Target Enable"], |
desc = L["Enable changing alpha of target"], |
order = 1, |
get = function(i) return AloftAlpha.db.profile.targetEnable end, |
set = function(i, v) AloftAlpha.db.profile.targetEnable = v AloftAlpha:EnableChange() end, |
}, |
targetAlpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Target Alpha"], |
desc = L["Sets the alpha of the target's nameplate"], |
order = 2, |
min = 0, |
max = 1, |
step = 0.01, |
disabled = function(i) return not AloftAlpha.db.profile.targetEnable end, |
get = function(i) return AloftAlpha.db.profile.targetAlpha end, |
set = function(i, v) AloftAlpha.db.profile.targetAlpha = v AloftAlpha:AdjustOptionValues() end, |
}, |
nonTargetEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Non-Target Enable"], |
desc = L["Enable changing alpha of non-target"], |
order = 3, |
get = function(i) return AloftAlpha.db.profile.nonTargetEnable end, |
set = function(i, v) AloftAlpha.db.profile.nonTargetEnable = v AloftAlpha:EnableChange() end, |
}, |
nonTargetAlpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Non-Target Alpha"], |
desc = L["Sets the alpha of non-target nameplates"], |
order = 4, |
min = 0, |
max = 1, |
step = 0.01, |
disabled = function(i) return not AloftAlpha.db.profile.nonTargetEnable end, |
get = function(i) return AloftAlpha.db.profile.nonTargetAlpha end, |
set = function(i, v) AloftAlpha.db.profile.nonTargetAlpha = v AloftAlpha:AdjustOptionValues() end, |
}, |
defaultEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Default Enable"], |
desc = L["Enable changing alpha of default nameplates"], |
order = 5, |
get = function(i) return AloftAlpha.db.profile.defaultEnable end, |
set = function(i, v) AloftAlpha.db.profile.defaultEnable = v AloftAlpha:EnableChange() end, |
}, |
defaultAlpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Default Alpha"], |
desc = L["Sets the alpha of default nameplates"], |
order = 6, |
min = 0, |
max = 1, |
step = 0.01, |
disabled = function(i) return not AloftAlpha.db.profile.defaultEnable end, |
get = function(i) return AloftAlpha.db.profile.defaultAlpha end, |
set = function(i, v) AloftAlpha.db.profile.defaultAlpha = v AloftAlpha:AdjustOptionValues() end, |
}, |
--[[ |
interval = |
{ |
type = 'range', |
width = 'full', |
name = L["Update Interval"], |
desc = L["The amount of time, in seconds, between nameplate alpha change updates (0.0 seconds is as fast as the UI can do it)"], |
disabled = function(i) return not (AloftAlpha.db.profile.targetAlpha or AloftAlpha.db.profile.nonTargetEnable or AloftAlpha.db.profile.defaultEnable) end, |
order = 7, |
min = 0.0, |
max = 1.0, |
step = 0.01, |
get = function(i) return AloftAlpha.db.profile.interval end, |
set = function(i, v) AloftAlpha.db.profile.interval = v end, |
}, |
]] |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftPlayerTitleDataOptions |
if not L then return end |
local AloftPlayerTitleData = Aloft:GetModule("PlayerTitleData", true) |
if not AloftPlayerTitleData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.data.args.playerTitle = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Save Player Title Data"], |
desc = L["Stores player title information between sessions"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftPlayerTitleData:IsEnabled() or not AloftPlayerTitleData.db or not AloftPlayerTitleData.db.profile end, |
get = function(i) return AloftPlayerTitleData.db.profile.save end, |
set = AloftPlayerTitleData.SetSaveData |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local oL = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] oL["Save Player Title Data"] = "Save Player Title Data" |
--[[ enUS ]] oL["Stores player title information between sessions"] = "Stores player title information between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftPlayerTitle"] = "AloftPlayerTitle" |
--[[ enUS ]] mL["Gather and display player titles on nameplates"] = "Gather and display player titles on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] oL["Save Player Title Data"] = "Save Player Title Data" |
--[[ koKR ]] oL["Stores player title information between sessions"] = "Stores player title information between sessions" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] mL["AloftPlayerTitle"] = "AloftPlayerTitle" |
--[[ koKR ]] mL["Gather and display player titles on nameplates"] = "Gather and display player titles on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] oL["Save Player Title Data"] = "ÐапиÑаÑÑ Ð´Ð°Ð½Ð½Ñе о ÑиÑÑÐ»Ð°Ñ Ð¸Ð³Ñока" |
--[[ ruRU ]] oL["Stores player title information between sessions"] = "Ð¡Ð¾Ñ ÑанÑÑÑ Ð´Ð°Ð½Ð½Ñе о ÑиÑÑÐ»Ð°Ñ Ð¸Ð³Ñока Ð¼ÐµÐ¶Ð´Ñ ÑеÑÑиÑми" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftPlayerTitle"] = "AloftPlayerTitle" |
--[[ ruRU ]] mL["Gather and display player titles on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÑиÑÑл игÑока" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] oL["Save Player Title Data"] = "ä¿åç©å®¶å¤´è¡æ°æ®" |
--[[ zhCN ]] oL["Stores player title information between sessions"] = "å¨ä¸¤æ¬¡ç»å½çé´éä¿åç©å®¶å¤´è¡æ°æ®" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftPlayerTitle"] = "ç©å®¶ç§°å·" |
--[[ zhCN ]] mL["Gather and display player titles on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºç©å®¶ç§°å·" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] oL["Save Player Title Data"] = "ä¿åç©å®¶é éæ¸æ" |
--[[ zhTW ]] oL["Stores player title information between sessions"] = "ç»å ¥æéä¿åç©å®¶é éæ¸æ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftPlayerTitle"] = "ç©å®¶ç¨±è" |
--[[ zhTW ]] mL["Gather and display player titles on nameplates"] = "å¨åçä¸é¡¯ç¤ºç©å®¶ç¨±è" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftPlayerTitle", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftPlayerTitleDataOptions = setmetatable(oL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
oL = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftPlayerTitle = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftPlayerTitle"], |
desc = L["Gather and display player titles on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftPlayerTitle end, |
set = function(i, v) AloftModules.db.profile.AloftPlayerTitle = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftRaidIconOptions |
if not L then return end |
local AloftRaidIcon = Aloft:GetModule("RaidIcon", true) |
if not AloftRaidIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.raidIcon = |
{ |
type = 'group', |
name = L["Raid Icon"], |
desc = L["Raid icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftRaidIcon:IsEnabled() or not AloftRaidIcon.db or not AloftRaidIcon.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable raid icon display on the nameplate"], |
get = function(i) return AloftRaidIcon.db.profile.enable end, |
set = function(i, v) AloftRaidIcon.db.profile.enable = v AloftRaidIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust raid icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftRaidIcon:IsEnabled() or not AloftRaidIcon.db or not AloftRaidIcon.db.profile or not AloftRaidIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the raid icon"], |
get = function(i) return AloftRaidIcon.db.profile.point end, |
set = function(i, v) AloftRaidIcon.db.profile.point = v AloftRaidIcon:UpdateAll() end, |
values = { ["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"] }, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the raid icon"], |
get = function(i) return AloftRaidIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftRaidIcon.db.profile.relativeToPoint = v AloftRaidIcon:UpdateAll() end, |
values = { ["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"] }, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the raid icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftRaidIcon.db.profile.offsetX end, |
set = function(i, v) AloftRaidIcon.db.profile.offsetX = v AloftRaidIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the raid icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftRaidIcon.db.profile.offsetY end, |
set = function(i, v) AloftRaidIcon.db.profile.offsetY = v AloftRaidIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the raid icon"], |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftRaidIcon.db.profile.enable end, |
get = function(i) return AloftRaidIcon.db.profile.size end, |
set = function(i, v) AloftRaidIcon.db.profile.size = v AloftRaidIcon:UpdateAll() end |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the raid icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftRaidIcon.db.profile.enable end, |
get = function(i) return AloftRaidIcon.db.profile.alpha end, |
set = function(i, v) AloftRaidIcon.db.profile.alpha = v AloftRaidIcon:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
--[[ enUS ]] L["Raid Icon"] = "Raid Icon" |
--[[ enUS ]] L["Raid icon placement options"] = "Raid icon placement options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable raid icon display on the nameplate"] = "Enable raid icon display on the nameplate" |
--[[ enUS ]] L["Size"] = "Size" |
--[[ enUS ]] L["Size in pixels of the raid icon"] = "Size in pixels of the raid icon" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust raid icon position"] = "Adjust raid icon position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the raid icon"] = "X offset of the raid icon" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the raid icon"] = "Y offset of the raid icon" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the raid icon"] = "Sets the anchor for the raid icon" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the raid icon"] = "Sets the relative point on the health bar to anchor the raid icon" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the raid icon alpha"] = "Sets the raid icon alpha" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Raid Icon"] = "공격ë ìì´ì½" |
--[[ koKR ]] L["Raid icon placement options"] = "공격ë ìì´ì½ ë°°ì¹ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable raid icon display on the nameplate"] = "ì´ë¦íì 공격ë ìì´ì½ì íìí©ëë¤." |
--[[ koKR ]] L["Size"] = "í¬ê¸°" |
--[[ koKR ]] L["Size in pixels of the raid icon"] = "공격ë ìì´ì½ì í¬ê¸°ì ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust raid icon position"] = "공격ë ìì´ì½ ìì¹ ì¡°ì " |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the raid icon"] = "공격ë ìì´ì½ì X ì¢í ì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the raid icon"] = "공격ë ìì´ì½ì Y ì¢í ì ëë¤." |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the raid icon"] = "공격ë ìì´ì½ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the raid icon"] = "ìëª ë ¥ ë°ìì 공격ë ìì´ì½ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the raid icon alpha"] = "공격ë ìì´ì½ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Raid Icon"] = "РейдовÑй знаÑок" |
--[[ ruRU ]] L["Raid icon placement options"] = "ÐаÑÑÑойки Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ñейдового знаÑка" |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable raid icon display on the nameplate"] = "ÐклÑÑиÑÑ ÑейдовÑй знаÑок на ÑаблиÑке" |
--[[ ruRU ]] L["Size"] = "РазмеÑ" |
--[[ ruRU ]] L["Size in pixels of the raid icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ñейдового знаÑка в пикÑелÑÑ " |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust raid icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо Ñейдового знаÑка" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the raid icon"] = "СмеÑение Ñейдового знаÑка по X" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the raid icon"] = "СмеÑение Ñейдового знаÑка по Y" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the raid icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление Ñейдового знаÑка" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the raid icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ñейдового знаÑка оÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the raid icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ñейдового знаÑка" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Raid Icon"] = "å¢éå¾æ " |
--[[ zhCN ]] L["Raid icon placement options"] = "å¢éå¾æ ä½ç½®ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable raid icon display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºå¢éå¾æ " |
--[[ zhCN ]] L["Size"] = "尺寸" |
--[[ zhCN ]] L["Size in pixels of the raid icon"] = "以åç´ å®ä¹çå¢éå¾æ 尺寸" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust raid icon position"] = "è°æ´å¢éå¾æ çä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the raid icon"] = "å¢éå¾æ çXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the raid icon"] = "å¢éå¾æ çYè½´å移é" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the raid icon"] = "设å®å¢éå¾æ çéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the raid icon"] = "设å®å¢éå¾æ åºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the raid icon alpha"] = "设å®å¢éå¾æ çéæ度" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Raid Icon"] = "åéå示" |
--[[ zhTW ]] L["Raid icon placement options"] = "åéå示ä½å±é¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable raid icon display on the nameplate"] = "å¨åç顯示åéå示" |
--[[ zhTW ]] L["Size"] = "大å°" |
--[[ zhTW ]] L["Size in pixels of the raid icon"] = "åéå示大å°" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust raid icon position"] = "åéå示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the raid icon"] = "åéå示Xä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the raid icon"] = "åéå示Yä½ç§»" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the raid icon"] = "åéå示å®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the raid icon"] = "åéå示åºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the raid icon alpha"] = "åéå示éæ度" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftRaidIconOptions = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local mL = AloftLocale.AloftModules |
if not mL then return end |
local L = { } |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
--[[ enUS ]] L["Recently Damaged Icon"] = "Recently Damaged Icon" |
--[[ enUS ]] L["Recently damaged icon placement options"] = "Recently damaged icon placement options" |
--[[ enUS ]] L["Enable"] = "Enable" |
--[[ enUS ]] L["Enable recently damaged icon display on the nameplate"] = "Enable recently damaged icon display on the nameplate" |
--[[ enUS ]] L["Size"] = "Size" |
--[[ enUS ]] L["Size in pixels of the recently damaged icon"] = "Size in pixels of the recently damaged icon" |
--[[ enUS ]] L["Position"] = "Position" |
--[[ enUS ]] L["Adjust recently damaged icon position"] = "Adjust recently damaged icon position" |
--[[ enUS ]] L["X Offset"] = "X Offset" |
--[[ enUS ]] L["X offset of the recently damaged icon"] = "X offset of the recently damaged icon" |
--[[ enUS ]] L["Y Offset"] = "Y Offset" |
--[[ enUS ]] L["Y offset of the recently damaged icon"] = "Y offset of the recently damaged icon" |
--[[ enUS ]] L["Anchor"] = "Anchor" |
--[[ enUS ]] L["Sets the anchor for the recently damaged icon"] = "Sets the anchor for the recently damaged icon" |
--[[ enUS ]] L["Anchor To"] = "Anchor To" |
--[[ enUS ]] L["Sets the relative point on the health bar to anchor the recently damaged icon"] = "Sets the relative point on the health bar to anchor the recently damaged icon" |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the recently damaged icon alpha"] = "Sets the recently damaged icon alpha" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ enUS ]] L["LEFT"] = "LEFT" |
--[[ enUS ]] L["CENTER"] = "CENTER" |
--[[ enUS ]] L["RIGHT"] = "RIGHT" |
--[[ enUS ]] L["BOTTOMLEFT"] = "BOTTOMLEFT" |
--[[ enUS ]] L["BOTTOM"] = "BOTTOM" |
--[[ enUS ]] L["BOTTOMRIGHT"] = "BOTTOMRIGHT" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ enUS ]] mL["AloftRecentlyDamaged"] = "AloftRecentlyDamaged" |
--[[ enUS ]] mL["Display recently damaged icon on nameplates"] = "Display recently damaged icon on nameplates" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Recently Damaged Icon"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½" |
--[[ koKR ]] L["Recently damaged icon placement options"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ ë°°ì¹ ì¤ì " |
--[[ koKR ]] L["Enable"] = "ì¬ì©" |
--[[ koKR ]] L["Enable recently damaged icon display on the nameplate"] = "ì´ë¦íì ìµê·¼ ì í ë°ë¯¸ì§ ìì´ì½ì íìí©ëë¤." |
--[[ koKR ]] L["Size"] = "í¬ê¸°" |
--[[ koKR ]] L["Size in pixels of the recently damaged icon"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì í¬ê¸°ì ëë¤." |
--[[ koKR ]] L["Position"] = "ìì¹" |
--[[ koKR ]] L["Adjust recently damaged icon position"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ ìì¹ ì¡°ì " |
--[[ koKR ]] L["X Offset"] = "X ì¢í" |
--[[ koKR ]] L["X offset of the recently damaged icon"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì X ì¢í ì ëë¤." |
--[[ koKR ]] L["Y Offset"] = "Y ì¢í" |
--[[ koKR ]] L["Y offset of the recently damaged icon"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì Y ì¢í ì ëë¤." |
--[[ koKR ]] L["Anchor"] = "ìµì»¤" |
--[[ koKR ]] L["Sets the anchor for the recently damaged icon"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì ìµì»¤ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Anchor To"] = "ìµì»¤ ìì¹" |
--[[ koKR ]] L["Sets the relative point on the health bar to anchor the recently damaged icon"] = "ìëª ë ¥ ë°ìì ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì ìµì»¤ ìì¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the recently damaged icon alpha"] = "ìµê·¼ ë°ë¯¸ì§ ìì´ì½ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ koKR ]] L["LEFT"] = "ì¢ì¸¡" |
--[[ koKR ]] L["CENTER"] = "ê°ì´ë°" |
--[[ koKR ]] L["RIGHT"] = "ì°ì¸¡" |
--[[ koKR ]] L["BOTTOMLEFT"] = "ì¢ì¸¡ íë¨" |
--[[ koKR ]] L["BOTTOM"] = "íë¨" |
--[[ koKR ]] L["BOTTOMRIGHT"] = "ì°ì¸¡ íë¨" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["AloftRecentlyDamaged"] = "AloftRecentlyDamaged" |
--[[ koKR ]] L["Display recently damaged icon on nameplates"] = "Display recently damaged icon on nameplates" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Recently Damaged Icon"] = "ÐнаÑок недавно повÑежденнÑÑ " |
--[[ ruRU ]] L["Recently damaged icon placement options"] = "ÐаÑÑÑойки Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð·Ð½Ð°Ñка недавно повÑежденнÑÑ " |
--[[ ruRU ]] L["Enable"] = "ÐклÑÑиÑÑ" |
--[[ ruRU ]] L["Enable recently damaged icon display on the nameplate"] = "ÐклÑÑиÑÑ Ð·Ð½Ð°Ñок недавно повÑежденного на ÑаблиÑке" |
--[[ ruRU ]] L["Size"] = "РазмеÑ" |
--[[ ruRU ]] L["Size in pixels of the recently damaged icon"] = "Ð Ð°Ð·Ð¼ÐµÑ Ð·Ð½Ð°Ñка недавно повÑежденного в пикÑелÑÑ " |
--[[ ruRU ]] L["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] L["Adjust recently damaged icon position"] = "ÐадаÑÑ Ð¼ÐµÑÑо знаÑка недавно повÑежденного" |
--[[ ruRU ]] L["X Offset"] = "СмеÑение по X" |
--[[ ruRU ]] L["X offset of the recently damaged icon"] = "СмеÑение знаÑка недавно повÑежденного по Ð¥" |
--[[ ruRU ]] L["Y Offset"] = "СмеÑение по Y" |
--[[ ruRU ]] L["Y offset of the recently damaged icon"] = "СмеÑение знаÑка недавно повÑежденного по Y" |
--[[ ruRU ]] L["Anchor"] = "ТоÑка пÑикÑеплениÑ" |
--[[ ruRU ]] L["Sets the anchor for the recently damaged icon"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑикÑепление знаÑка недавно повÑежденного" |
--[[ ruRU ]] L["Anchor To"] = "ÐÑикÑепиÑÑ Ðº" |
--[[ ruRU ]] L["Sets the relative point on the health bar to anchor the recently damaged icon"] = "ÐÐ°Ð´Ð°ÐµÑ ÑоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñка недавно повÑежденного оÑноÑиÑелÑно полоÑки здоÑовÑÑ" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the recently damaged icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð·Ð½Ð°Ñка недавно повÑежденного" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["LEFT"] = "СÐÐÐÐ" |
--[[ ruRU ]] L["CENTER"] = "ÐРЦÐÐТРУ" |
--[[ ruRU ]] L["RIGHT"] = "СÐÐ ÐÐÐ" |
--[[ ruRU ]] L["BOTTOMLEFT"] = "СÐÐÐУ-СÐÐÐÐ" |
--[[ ruRU ]] L["BOTTOM"] = "СÐÐÐУ" |
--[[ ruRU ]] L["BOTTOMRIGHT"] = "СÐÐÐУ-СÐÐ ÐÐÐ" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ ruRU ]] mL["AloftRecentlyDamaged"] = "AloftRecentlyDamaged" |
--[[ ruRU ]] mL["Display recently damaged icon on nameplates"] = "ÐÑобÑÐ°Ð¶Ð°ÐµÑ ÐºÐ¾Ð½ÐºÑ Ð½ÐµÐ´Ð°Ð²Ð½ÐµÐ³Ð¾ ÑÑона" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Recently Damaged Icon"] = "æè¿å伤å¾æ " |
--[[ zhCN ]] L["Recently damaged icon placement options"] = "æè¿å伤å¾æ ä½ç½®ç¸å ³è®¾ç½®" |
--[[ zhCN ]] L["Enable"] = "å¯ç¨" |
--[[ zhCN ]] L["Enable recently damaged icon display on the nameplate"] = "å¨å§åæ¿ä¸æ¾ç¤ºæè¿å伤å¾æ " |
--[[ zhCN ]] L["Size"] = "尺寸" |
--[[ zhCN ]] L["Size in pixels of the recently damaged icon"] = "æè¿å伤å¾æ ç尺寸" |
--[[ zhCN ]] L["Position"] = "ä½ç½®" |
--[[ zhCN ]] L["Adjust recently damaged icon position"] = "è°æ´æè¿å伤å¾æ çä½ç½®" |
--[[ zhCN ]] L["X Offset"] = "Xè½´å移" |
--[[ zhCN ]] L["X offset of the recently damaged icon"] = "æè¿å伤å¾æ çXè½´å移é" |
--[[ zhCN ]] L["Y Offset"] = "Yè½´å移" |
--[[ zhCN ]] L["Y offset of the recently damaged icon"] = "æè¿å伤å¾æ çYè½´å移é" |
--[[ zhCN ]] L["Anchor"] = "éç¹" |
--[[ zhCN ]] L["Sets the anchor for the recently damaged icon"] = "设å®æè¿å伤å¾æ çéç¹" |
--[[ zhCN ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhCN ]] L["Sets the relative point on the health bar to anchor the recently damaged icon"] = "设å®æè¿å伤å¾æ åºå®å¨çå½å¼æ¾ç¤ºæ¡çç¸å¯¹ä½ç½®" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the recently damaged icon alpha"] = "设å®æè¿å伤å¾æ çéæ度" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhCN ]] L["LEFT"] = "å·¦" |
--[[ zhCN ]] L["CENTER"] = "ä¸" |
--[[ zhCN ]] L["RIGHT"] = "å³" |
--[[ zhCN ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["BOTTOM"] = "ä¸" |
--[[ zhCN ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhCN ]] mL["AloftRecentlyDamaged"] = "æè¿å伤害" |
--[[ zhCN ]] mL["Display recently damaged icon on nameplates"] = "å¨å§åæ¿ä¸æ¾ç¤ºæè¿å伤害å¾æ " |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Recently Damaged Icon"] = "æè¿åå·å示" |
--[[ zhTW ]] L["Recently damaged icon placement options"] = "æè¿åå·å示ä½å±é¸é " |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable recently damaged icon display on the nameplate"] = "å¨åç顯示æè¿åå·å示" |
--[[ zhTW ]] L["Size"] = "大å°" |
--[[ zhTW ]] L["Size in pixels of the recently damaged icon"] = "æè¿åå·å示大å°" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust recently damaged icon position"] = "æè¿åå·å示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xä½ç§»" |
--[[ zhTW ]] L["X offset of the recently damaged icon"] = "æè¿åå·å示Xä½ç§»" |
--[[ zhTW ]] L["Y Offset"] = "Yä½ç§»" |
--[[ zhTW ]] L["Y offset of the recently damaged icon"] = "æè¿åå·å示Yä½ç§»" |
--[[ zhTW ]] L["Anchor"] = "å®ä½é»" |
--[[ zhTW ]] L["Sets the anchor for the recently damaged icon"] = "æè¿åå·å示å®ä½é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the recently damaged icon"] = "æè¿åå·å示åºå®å¨çå½åæ¢çä½ç½®" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the recently damaged icon alpha"] = "æè¿åå·å示éæ度" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
end) |
----------------------------------------------------------------------------- |
--[[ zhTW ]] mL["AloftRecentlyDamaged"] = "æè¿åå·å®³" |
--[[ zhTW ]] mL["Display recently damaged icon on nameplates"] = "å¨åçä¸é¡¯ç¤ºæè¿åå·å®³å示" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
AloftLocale.AloftRecentlyDamaged = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftModules |
if not L then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.modules.args.aloftRecentlyDamaged = |
{ |
type = 'toggle', |
width = 'full', |
name = L["AloftRecentlyDamaged"], |
desc = L["Display recently damaged icon on nameplates"], |
get = function(i) return AloftModules.db.profile.AloftRecentlyDamaged end, |
set = function(i, v) AloftModules.db.profile.AloftRecentlyDamaged = v AloftModules:Initialize() AloftModules:Activate() end, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftModules = AloftModules |
if not AloftModules then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
AloftModules:AddInitializer("AloftRecentlyDamaged", function() |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftRecentlyDamaged |
if not L then return end |
local AloftRecentlyDamagedIcon = Aloft:GetModule("RecentlyDamagedIcon", true) |
if not AloftRecentlyDamagedIcon then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.recentlyDamagedIcon = |
{ |
type = 'group', |
name = L["Recently Damaged Icon"], |
desc = L["Recently damaged icon placement options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftRecentlyDamagedIcon:IsEnabled() or not AloftRecentlyDamagedIcon.db or not AloftRecentlyDamagedIcon.db.profile end, |
args = |
{ |
enable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Enable"], |
desc = L["Enable recently damaged icon display on the nameplate"], |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.enable end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.enable = v Aloft:DetermineDataSources() AloftRecentlyDamagedIcon:UpdateAll() end, |
order = 1 |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust recently damaged icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftRecentlyDamagedIcon:IsEnabled() or not AloftRecentlyDamagedIcon.db or not AloftRecentlyDamagedIcon.db.profile or not AloftRecentlyDamagedIcon.db.profile.enable end, |
args = |
{ |
anchor = { |
type = 'select', |
width = 'full', |
name = L["Anchor"], |
desc = L["Sets the anchor for the recently damaged icon"], |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.point end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.point = v AloftRecentlyDamagedIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
anchorto = { |
type = 'select', |
width = 'full', |
name = L["Anchor To"], |
desc = L["Sets the relative point on the health bar to anchor the recently damaged icon"], |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.relativeToPoint end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.relativeToPoint = v AloftRecentlyDamagedIcon:UpdateAll() end, |
values = {["TOPLEFT"] = L["TOPLEFT"], ["TOP"] = L["TOP"], ["TOPRIGHT"] = L["TOPRIGHT"], ["LEFT"] = L["LEFT"], ["CENTER"] = L["CENTER"], ["RIGHT"] = L["RIGHT"], ["BOTTOMLEFT"] = L["BOTTOMLEFT"], ["BOTTOM"] = L["BOTTOM"], ["BOTTOMRIGHT"] = L["BOTTOMRIGHT"]}, |
}, |
offsetX = |
{ |
type = 'range', |
width = 'full', |
name = L["X Offset"], |
desc = L["X offset of the recently damaged icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.offsetX end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.offsetX = v AloftRecentlyDamagedIcon:UpdateAll() end |
}, |
offsetY = |
{ |
type = 'range', |
width = 'full', |
name = L["Y Offset"], |
desc = L["Y offset of the recently damaged icon"], |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.offsetY end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.offsetY = v AloftRecentlyDamagedIcon:UpdateAll() end |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the recently damaged icon"], |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftRecentlyDamagedIcon.db.profile.enable end, |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.size end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.size = v AloftRecentlyDamagedIcon:UpdateAll() end |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the recently damaged icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftRecentlyDamagedIcon.db.profile.enable end, |
get = function(i) return AloftRecentlyDamagedIcon.db.profile.alpha end, |
set = function(i, v) AloftRecentlyDamagedIcon.db.profile.alpha = v AloftRecentlyDamagedIcon:UpdateAll() end |
}, |
}, |
} |
----------------------------------------------------------------------------- |
end) |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local bL = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] bL["Health Bar"] = "Health Bar" |
--[[ enUS ]] bL["Health Bar options"] = "Health Bar options" |
--[[ enUS ]] bL["Texture"] = "Texture" |
--[[ enUS ]] bL["Sets the health bar texture"] = "Sets the health bar texture" |
--[[ enUS ]] bL["Enable Horizontal Tiling"] = "Enable Horizontal Tiling" |
--[[ enUS ]] bL["Enable horizontal tiling of the health bar texture"] = "Enable horizontal tiling of the health bar texture" |
--[[ enUS ]] bL["Alpha"] = "Alpha" |
--[[ enUS ]] bL["Sets the health bar alpha"] = "Sets the health bar alpha" |
--[[ enUS ]] bL["Size"] = "Size" |
--[[ enUS ]] bL["Adjust health bar's size"] = "Adjust health bar's size" |
--[[ enUS ]] bL["Width"] = "Width" |
--[[ enUS ]] bL["Sets the width of the health bar"] = "Sets the width of the health bar" |
--[[ enUS ]] bL["Height"] = "Height" |
--[[ enUS ]] bL["Sets the height of the health bar"] = "Sets the height of the health bar" |
--[[ enUS ]] bL["Position"] = "Position" |
--[[ enUS ]] bL["Adjust the health bar's position"] = "Adjust the health bar's position" |
--[[ enUS ]] bL["Left Offset"] = "Left Offset" |
--[[ enUS ]] bL["Sets the offset of the left of the health bar"] = "Sets the offset of the left of the health bar" |
--[[ enUS ]] bL["Right Offset"] = "Right Offset" |
--[[ enUS ]] bL["Sets the offset of the right of the health bar"] = "Sets the offset of the right of the health bar" |
--[[ enUS ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ enUS ]] bL["Sets the vertical offset of the health bar"] = "Sets the vertical offset of the health bar" |
--[[ enUS ]] bL["Colors"] = "Colors" |
--[[ enUS ]] bL["Customize colors"] = "Customize colors" |
--[[ enUS ]] bL["Color by Class"] = "Color by Class" |
--[[ enUS ]] bL["Sets the health bar color of players according to class"] = "Sets the health bar color of players according to class" |
--[[ enUS ]] bL["Color Hostile by Class"] = "Color Hostile by Class" |
--[[ enUS ]] bL["Sets the health bar color of hostile players according to class"] = "Sets the health bar color of hostile players according to class" |
--[[ enUS ]] bL["Backdrop Color"] = "Backdrop Color" |
--[[ enUS ]] bL["Sets the backdrop color of the health bar"] = "Sets the backdrop color of the health bar" |
--[[ enUS ]] bL["Pet"] = "Pet" |
--[[ enUS ]] bL["Sets the health bar color for your pet"] = "Sets the health bar color for your pet" |
--[[ enUS ]] bL["Friendly Players"] = "Friendly Players" |
--[[ enUS ]] bL["Sets the health bar color for friendly players"] = "Sets the health bar color for friendly players" |
--[[ enUS ]] bL["Friendly Pets"] = "Friendly Pets" |
--[[ enUS ]] bL["Sets the health bar color for friendly pets"] = "Sets the health bar color for friendly pets" |
--[[ enUS ]] bL["Friendly NPCs"] = "Friendly NPCs" |
--[[ enUS ]] bL["Sets the health bar color for friendly NPC Bosses"] = "Sets the health bar color for friendly NPC Bosses" |
--[[ enUS ]] bL["Friendly Boss"] = "Friendly Boss" |
--[[ enUS ]] bL["Sets the health bar color for friendly NPCs"] = "Sets the health bar color for friendly NPCs" |
--[[ enUS ]] bL["Hostile Players"] = "Hostile Players" |
--[[ enUS ]] bL["Sets the health bar color for hostile players"] = "Sets the health bar color for hostile players" |
--[[ enUS ]] bL["Hostile Pets"] = "Hostile Pets" |
--[[ enUS ]] bL["Sets the health bar color for hostile pets"] = "Sets the health bar color for hostile pets" |
--[[ enUS ]] bL["Hostile NPCs"] = "Hostile NPCs" |
--[[ enUS ]] bL["Sets the health bar color for hostile units"] = "Sets the health bar color for hostile units" |
--[[ enUS ]] bL["Hostile Boss"] = "Hostile Boss" |
--[[ enUS ]] bL["Sets the health bar color for hostile boss units"] = "Sets the health bar color for hostile boss units" |
--[[ enUS ]] bL["Neutral Units"] = "Neutral Units" |
--[[ enUS ]] bL["Sets the health bar color for neutral units"] = "Sets the health bar color for neutral units" |
--[[ enUS ]] bL["Group Pets"] = "Group Pets" |
--[[ enUS ]] bL["Sets the health bar color for group pets"] = "Sets the health bar color for group pets" |
--[[ enUS ]] bL["Unknown"] = "Unknown" |
--[[ enUS ]] bL["Sets the health bar color for unknown units"] = "Sets the health bar color for unknown units" |
--[[ enUS ]] bL["Reset to Defaults"] = "Reset to Defaults" |
--[[ enUS ]] bL["Resets all colors to their defaults"] = "Resets all colors to their defaults" |
--[[ enUS ]] bL["Border"] = "Border" |
--[[ enUS ]] bL["Border options"] = "Border options" |
--[[ enUS ]] bL["Target Only"] = "Target Only" |
--[[ enUS ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ enUS ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ enUS ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ enUS ]] bL["Border Inset"] = "Border Inset" |
--[[ enUS ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ enUS ]] bL["Border Color"] = "Border Color" |
--[[ enUS ]] bL["Sets the border color of the health bar"] = "Sets the border color of the health bar" |
--[[ enUS ]] bL["Border Style"] = "Border Style" |
--[[ enUS ]] bL["Sets the style of the health bar border"] = "Sets the style of the health bar border" |
--[[ enUS ]] bL["Advanced"] = "Advanced" |
--[[ enUS ]] bL["Options for expert users"] = "Options for expert users" |
--[[ enUS ]] bL["Color Format"] = "Color Format" |
--[[ enUS ]] bL["Color tag"] = "Color tag" |
--[[ enUS ]] bL["<Any tag string>"] = "<Any tag string>" |
--[[ enUS ]] bL["Deficit Health Bar"] = "Deficit Health Bar" |
--[[ enUS ]] bL["Display health bar as a deficit (grows from right as health is lost)"] = "Display health bar as a deficit (grows from right as health is lost)" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] bL["Health Bar"] = "ìëª ë ¥ë°" |
--[[ koKR ]] bL["Health Bar options"] = "ìëª ë ¥ë° ì¤ì " |
--[[ koKR ]] bL["Texture"] = "í ì¤ì³" |
--[[ koKR ]] bL["Sets the health bar texture"] = "ìëª ë ¥ë°ì í ì¤ì³ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Enable Horizontal Tiling"] = "Enable Horizontal Tiling" |
--[[ koKR ]] bL["Enable horizontal tiling of the health bar texture"] = "Enable horizontal tiling of the health bar texture" |
--[[ koKR ]] bL["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] bL["Sets the health bar alpha"] = "ìëª ë ¥ë°ì í¬ëª ë를 ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Size"] = "í¬ê¸°" |
--[[ koKR ]] bL["Adjust health bar's size"] = "ìëª ë ¥ë°ì í¬ê¸°ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] bL["Width"] = "ëë¹" |
--[[ koKR ]] bL["Sets the width of the health bar"] = "ìëª ë ¥ë°ì ëë¹ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Height"] = "ëì´" |
--[[ koKR ]] bL["Sets the height of the health bar"] = "ìëª ë ¥ë°ì ëì´ë¥¼ ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Position"] = "ìì¹" |
--[[ koKR ]] bL["Adjust the health bar's position"] = "ìëª ë ¥ë°ì ìì¹ë¥¼ ì¡°ì í©ëë¤." |
--[[ koKR ]] bL["Left Offset"] = "Left Offset" |
--[[ koKR ]] bL["Sets the offset of the left of the health bar"] = "Sets the offset of the left of the health bar" |
--[[ koKR ]] bL["Right Offset"] = "Right Offset" |
--[[ koKR ]] bL["Sets the offset of the right of the health bar"] = "Sets the offset of the right of the health bar" |
--[[ koKR ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ koKR ]] bL["Sets the vertical offset of the health bar"] = "Sets the vertical offset of the health bar" |
--[[ koKR ]] bL["Colors"] = "ìì" |
--[[ koKR ]] bL["Customize colors"] = "ì¬ì©ì ìì" |
--[[ koKR ]] bL["Color by Class"] = "ì§ì ì ë°ë¥¸ ìì" |
--[[ koKR ]] bL["Sets the health bar color of players according to class"] = "íë ì´ì´ì ìëª ë ¥ë°ì ì§ì ë³ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Color Hostile by Class"] = "ì ëì ì§ì ë³ ìì" |
--[[ koKR ]] bL["Sets the health bar color of hostile players according to class"] = "ì ëì íë ì´ì´ì ìëª ë ¥ë°ì ì§ì ë³ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Backdrop Color"] = "ë°°ê²½ ìì" |
--[[ koKR ]] bL["Sets the backdrop color of the health bar"] = "ìëª ë ¥ë°ì ë°°ê²½ ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Pet"] = "ìíì" |
--[[ koKR ]] bL["Sets the health bar color for your pet"] = "ìíìì ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Friendly Players"] = "ì°í¸ì íë ì´ì´" |
--[[ koKR ]] bL["Sets the health bar color for friendly players"] = "ì°í¸ì íë ì´ì´ì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Friendly Pets"] = "ì°í¸ì ìíì" |
--[[ koKR ]] bL["Sets the health bar color for friendly pets"] = "ì°í¸ì ìíìì ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Friendly NPCs"] = "ì°í¸ì NPC" |
--[[ koKR ]] bL["Sets the health bar color for friendly NPC Bosses"] = "ì°í¸ì NPC ë³´ì¤ì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Friendly Boss"] = "ì°í¸ì ë³´ì¤" |
--[[ koKR ]] bL["Sets the health bar color for friendly NPCs"] = "ì°í¸ì NPCì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Hostile Players"] = "ì ëì íë ì´ì´" |
--[[ koKR ]] bL["Sets the health bar color for hostile players"] = "ì ëì íë ì´ì´ì ìëª ë ¥ë°ì ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Hostile Pets"] = "ì ëì ìíì" |
--[[ koKR ]] bL["Sets the health bar color for hostile pets"] = "ì ëì ìíìì ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Hostile NPCs"] = "ì ëì NPC" |
--[[ koKR ]] bL["Sets the health bar color for hostile units"] = "ì ëì ëìì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Hostile Boss"] = "ì ëì ë³´ì¤" |
--[[ koKR ]] bL["Sets the health bar color for hostile boss units"] = "ì ëì ë³´ì¤ì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Neutral Units"] = "ì¤ë¦½ì ëì" |
--[[ koKR ]] bL["Sets the health bar color for neutral units"] = "ì¤ë¦½ì ëìì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Group Pets"] = "íí° ìíì" |
--[[ koKR ]] bL["Sets the health bar color for group pets"] = "íí° ìíìì ëí ìëª ë ¥ë° ììì ì¤ì í©ëë¤." |
--[[ koKR ]] bL["Unknown"] = "Unknown" |
--[[ koKR ]] bL["Sets the health bar color for unknown units"] = "Sets the health bar color for unknown units" |
--[[ koKR ]] bL["Reset to Defaults"] = "기본ê°ì¼ë¡ ì´ê¸°í" |
--[[ koKR ]] bL["Resets all colors to their defaults"] = "모ë ììì 기본ê°ì¼ë¡ ì´ê¸°íí©ëë¤." |
--[[ koKR ]] bL["Border"] = "Border" |
--[[ koKR ]] bL["Border options"] = "Border options" |
--[[ koKR ]] bL["Target Only"] = "Target Only" |
--[[ koKR ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ koKR ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ koKR ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ koKR ]] bL["Border Inset"] = "Border Inset" |
--[[ koKR ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ koKR ]] bL["Border Color"] = "í ë리 ìì" |
--[[ koKR ]] bL["Sets the border color of the health bar"] = "Sets the border color of the health bar" |
--[[ koKR ]] bL["Border Style"] = "í ë리 ì¤íì¼" |
--[[ koKR ]] bL["Sets the style of the health bar border"] = "Sets the style of the health bar border" |
--[[ koKR ]] bL["Advanced"] = "ê³ ê¸" |
--[[ koKR ]] bL["Options for expert users"] = "ê³ ê¸ ì¬ì©ì를 ìí ì¤ì ì ëë¤." |
--[[ koKR ]] bL["Color Format"] = "ìì íì" |
--[[ koKR ]] bL["Color tag"] = "ìì íê·¸" |
--[[ koKR ]] bL["<Any tag string>"] = "<íê·¸ 문ìì´>" |
--[[ koKR ]] bL["Deficit Health Bar"] = "Deficit Health Bar" |
--[[ koKR ]] bL["Display health bar as a deficit (grows from right as health is lost)"] = "Display health bar as a deficit (grows from right as health is lost)" |
----------------------------------------------------------------------------- |
-- end) |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] bL["Health Bar"] = "ÐолоÑка здоÑовÑÑ" |
--[[ ruRU ]] bL["Health Bar options"] = "ÐаÑÑÑойка полоÑÑ Ð·Ð´Ð¾ÑовÑÑ" |
--[[ ruRU ]] bL["Texture"] = "ТекÑÑÑÑа" |
--[[ ruRU ]] bL["Sets the health bar texture"] = "ÐÐ°Ð´Ð°ÐµÑ ÑекÑÑÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ" |
--[[ ruRU ]] bL["Enable Horizontal Tiling"] = "Enable Horizontal Tiling" |
--[[ ruRU ]] bL["Enable horizontal tiling of the health bar texture"] = "Enable horizontal tiling of the health bar texture" |
--[[ ruRU ]] bL["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] bL["Sets the health bar alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ" |
--[[ ruRU ]] bL["Size"] = "РазмеÑ" |
--[[ ruRU ]] bL["Adjust health bar's size"] = "ÐадаÑÑ ÑÐ°Ð·Ð¼ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ" |
--[[ ruRU ]] bL["Width"] = "ШиÑина" |
--[[ ruRU ]] bL["Sets the width of the health bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑиÑÐ¸Ð½Ñ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ" |
--[[ ruRU ]] bL["Height"] = "ÐÑÑоÑа" |
--[[ ruRU ]] bL["Sets the height of the health bar"] = "ÐÐ°Ð´Ð°ÐµÑ Ð²ÑÑоÑÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ" |
--[[ ruRU ]] bL["Position"] = "ÐозиÑиÑ" |
--[[ ruRU ]] bL["Adjust the health bar's position"] = "ÐадаÑÑ Ð¼ÐµÑÑо полоÑки здоÑовÑÑ" |
--[[ ruRU ]] bL["Left Offset"] = "СмеÑение влево" |
--[[ ruRU ]] bL["Sets the offset of the left of the health bar"] = "СмеÑение ÑекÑÑа на полоÑе здоÑовÑÑ Ð²Ð»ÐµÐ²Ð¾" |
--[[ ruRU ]] bL["Right Offset"] = "СмеÑение впÑаво" |
--[[ ruRU ]] bL["Sets the offset of the right of the health bar"] = "СмеÑение ÑекÑÑа на полоÑе здоÑовÑÑ Ð²Ð¿Ñаво" |
--[[ ruRU ]] bL["Vertical Offset"] = "СмеÑение по веÑÑикале" |
--[[ ruRU ]] bL["Sets the vertical offset of the health bar"] = "СмеÑение ÑекÑÑа на полоÑе здоÑовÑÑ Ð¿Ð¾ веÑÑикале" |
--[[ ruRU ]] bL["Colors"] = "ЦвеÑа" |
--[[ ruRU ]] bL["Customize colors"] = "ÐаÑÑÑойка ÑвеÑов" |
--[[ ruRU ]] bL["Color by Class"] = "ÐкÑаÑиваÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] bL["Sets the health bar color of players according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð² завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] bL["Color Hostile by Class"] = "ÐкÑаÑиваÑÑ Ð²ÑаждебнÑÑ Ð² ÑÐ²ÐµÑ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] bL["Sets the health bar color of hostile players according to class"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков в завиÑимоÑÑи Ð¾Ñ ÐºÐ»Ð°ÑÑа" |
--[[ ruRU ]] bL["Backdrop Color"] = "Ð¦Ð²ÐµÑ Ñени" |
--[[ ruRU ]] bL["Sets the backdrop color of the health bar"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ñени полоÑки здоÑовÑÑ" |
--[[ ruRU ]] bL["Pet"] = "ÐиÑомеÑ" |
--[[ ruRU ]] bL["Sets the health bar color for your pet"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²Ð°Ñего пиÑомÑа" |
--[[ ruRU ]] bL["Friendly Players"] = "ÐÑÑжеÑÑвеннÑе игÑоки" |
--[[ ruRU ]] bL["Sets the health bar color for friendly players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] bL["Friendly Pets"] = "ÐÑÑжеÑÑвеннÑе пиÑомÑÑ" |
--[[ ruRU ]] bL["Sets the health bar color for friendly pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] bL["Friendly NPCs"] = "ÐÑÑжеÑÑвеннÑе NPC" |
--[[ ruRU ]] bL["Sets the health bar color for friendly NPC Bosses"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов боÑÑов" |
--[[ ruRU ]] bL["Friendly Boss"] = "ÐÑÑжеÑÑвеннÑй боÑÑ" |
--[[ ruRU ]] bL["Sets the health bar color for friendly NPCs"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð´ÑÑжеÑÑвеннÑÑ ÐÐÐов" |
--[[ ruRU ]] bL["Hostile Players"] = "ÐÑаждебнÑе игÑоки" |
--[[ ruRU ]] bL["Sets the health bar color for hostile players"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¸Ð³Ñоков" |
--[[ ruRU ]] bL["Hostile Pets"] = "ÐÑаждебнÑе пиÑомÑÑ" |
--[[ ruRU ]] bL["Sets the health bar color for hostile pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð¿Ð¸ÑомÑев" |
--[[ ruRU ]] bL["Hostile NPCs"] = "ÐÑаждебнÑе NPC" |
--[[ ruRU ]] bL["Sets the health bar color for hostile units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²ÑаждебнÑÑ ÐµÐ´Ð¸Ð½Ð¸Ñ" |
--[[ ruRU ]] bL["Hostile Boss"] = "ÐÑаждебнÑй боÑÑ" |
--[[ ruRU ]] bL["Sets the health bar color for hostile boss units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð²ÑаждебнÑÑ Ð±Ð¾ÑÑов" |
--[[ ruRU ]] bL["Neutral Units"] = "ÐейÑÑалÑнÑе Ñели" |
--[[ ruRU ]] bL["Sets the health bar color for neutral units"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð½ÐµÐ¹ÑÑалÑнÑÑ " |
--[[ ruRU ]] bL["Group Pets"] = "ÐиÑомÑÑ Ð³ÑÑппÑ" |
--[[ ruRU ]] bL["Sets the health bar color for group pets"] = "ÐÐ°Ð´Ð°ÐµÑ ÑÐ²ÐµÑ Ð¿Ð¾Ð»Ð¾Ñки здоÑовÑÑ Ð´Ð»Ñ Ð¿Ð¸ÑомÑев гÑÑппÑ" |
--[[ ruRU ]] bL["Unknown"] = "Unknown" |
--[[ ruRU ]] bL["Sets the health bar color for unknown units"] = "Sets the health bar color for unknown units" |
--[[ ruRU ]] bL["Reset to Defaults"] = "СбÑÐ¾Ñ Ð² наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Resets all colors to their defaults"] = "СбÑаÑÑÐ²Ð°ÐµÑ Ð²Ñе ÑвеÑа в наÑÑÑойки по ÑмолÑаниÑ" |
--[[ ruRU ]] bL["Border"] = "ÐÑаÑ" |
--[[ ruRU ]] bL["Border options"] = "ÐаÑÑÑойки кÑаев" |
--[[ ruRU ]] bL["Target Only"] = "ТолÑко ÑелÑ" |
--[[ ruRU ]] bL["Enables the border on the current target only"] = "ÐклÑÑиÑÑ ÐºÑÐ°Ñ ÑолÑко Ð´Ð»Ñ ÑекÑÑей Ñели" |
--[[ ruRU ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ ruRU ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ ruRU ]] bL["Border Inset"] = "Border Inset" |
--[[ ruRU ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ ruRU ]] bL["Border Color"] = "Ð¦Ð²ÐµÑ Ñамки" |
--[[ ruRU ]] bL["Sets the border color of the health bar"] = "Sets the border color of the health bar" |
--[[ ruRU ]] bL["Border Style"] = "СÑÐ¸Ð»Ñ Ñамки" |
--[[ ruRU ]] bL["Sets the style of the health bar border"] = "Sets the style of the health bar border" |
--[[ ruRU ]] bL["Advanced"] = "ÐополниÑелÑно" |
--[[ ruRU ]] bL["Options for expert users"] = "ÐаÑÑÑойки Ð´Ð»Ñ Ð¾Ð¿ÑÑнÑÑ Ð¿Ð¾Ð»ÑзоваÑелей" |
--[[ ruRU ]] bL["Color Format"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] bL["Color tag"] = "ФоÑÐ¼Ð°Ñ ÑвеÑа" |
--[[ ruRU ]] bL["<Any tag string>"] = "<ÐÑÐ±Ð°Ñ ÑÑÑока ÑоÑмаÑа>" |
--[[ ruRU ]] bL["Deficit Health Bar"] = "ÐолоÑка деÑиÑиÑа здоÑовÑÑ" |
--[[ ruRU ]] bL["Display health bar as a deficit (grows from right as health is lost)"] = "ÐÑобÑажаÑÑ Ð½Ð° полоÑке здоÑовÑÑ Ð´ÐµÑиÑÐ¸Ñ Ð·Ð´Ð¾ÑовÑÑ (ÑаÑÑÐµÑ ÑпÑава Ñ ÑменÑÑением здоÑовÑÑ)" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] bL["Health Bar"] = "çå½å¼æ¾ç¤ºæ¡" |
--[[ zhCN ]] bL["Health Bar options"] = "çå½å¼æ¾ç¤ºæ¡ç¸å ³è®¾ç½®" |
--[[ zhCN ]] bL["Texture"] = "æè´¨" |
--[[ zhCN ]] bL["Sets the health bar texture"] = "设å®çå½å¼æ¾ç¤ºæ¡çæè´¨" |
--[[ zhCN ]] bL["Enable Horizontal Tiling"] = "Enable Horizontal Tiling" |
--[[ zhCN ]] bL["Enable horizontal tiling of the health bar texture"] = "Enable horizontal tiling of the health bar texture" |
--[[ zhCN ]] bL["Alpha"] = "éæ度" |
--[[ zhCN ]] bL["Sets the health bar alpha"] = "设å®çå½å¼æ¾ç¤ºæ¡éæ度" |
--[[ zhCN ]] bL["Size"] = "尺寸" |
--[[ zhCN ]] bL["Adjust health bar's size"] = "è°æ´çå½å¼æ¾ç¤ºæ¡ç尺寸" |
--[[ zhCN ]] bL["Width"] = "宽度" |
--[[ zhCN ]] bL["Sets the width of the health bar"] = "设å®çå½å¼æ¾ç¤ºæ¡ç宽度" |
--[[ zhCN ]] bL["Height"] = "é«åº¦" |
--[[ zhCN ]] bL["Sets the height of the health bar"] = "设å®çå½å¼æ¾ç¤ºæ¡çé«åº¦" |
--[[ zhCN ]] bL["Position"] = "ä½ç½®" |
--[[ zhCN ]] bL["Adjust the health bar's position"] = "è°æ´çå½å¼æ¾ç¤ºæ¡çä½ç½®" |
--[[ zhCN ]] bL["Left Offset"] = "Left Offset" |
--[[ zhCN ]] bL["Sets the offset of the left of the health bar"] = "Sets the offset of the left of the health bar" |
--[[ zhCN ]] bL["Right Offset"] = "Right Offset" |
--[[ zhCN ]] bL["Sets the offset of the right of the health bar"] = "Sets the offset of the right of the health bar" |
--[[ zhCN ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ zhCN ]] bL["Sets the vertical offset of the health bar"] = "Sets the vertical offset of the health bar" |
--[[ zhCN ]] bL["Colors"] = "é¢è²" |
--[[ zhCN ]] bL["Customize colors"] = "èªå®ä¹é¢è²" |
--[[ zhCN ]] bL["Color by Class"] = "æ¾ç¤ºèä¸ä»£è¡¨è²" |
--[[ zhCN ]] bL["Sets the health bar color of players according to class"] = "çå½å¼æ¾ç¤ºæ¡é¢è²ä½¿ç¨èä¸é¢è²" |
--[[ zhCN ]] bL["Color Hostile by Class"] = "æ对æ¹åä½æ ¹æ®èä¸æ¾ç¤ºé¢è²" |
--[[ zhCN ]] bL["Sets the health bar color of hostile players according to class"] = "æ对æ¹ç©å®¶ççå½å¼æ¾ç¤ºæ¡é¢è²ä½¿ç¨èä¸ä»£è¡¨è²" |
--[[ zhCN ]] bL["Backdrop Color"] = "èæ¯é¢è²" |
--[[ zhCN ]] bL["Sets the backdrop color of the health bar"] = "设å®çå½å¼æ¾ç¤ºæ¡çèæ¯é¢è²" |
--[[ zhCN ]] bL["Pet"] = "å® ç©" |
--[[ zhCN ]] bL["Sets the health bar color for your pet"] = "设å®å® ç©ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Friendly Players"] = "å好æ¹ç©å®¶" |
--[[ zhCN ]] bL["Sets the health bar color for friendly players"] = "设å®å好æ¹ç©å®¶ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Friendly Pets"] = "å好æ¹å® ç©" |
--[[ zhCN ]] bL["Sets the health bar color for friendly pets"] = "设å®å好æ¹å® ç©ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Friendly NPCs"] = "å好æ¹NPC" |
--[[ zhCN ]] bL["Sets the health bar color for friendly NPC Bosses"] = "设å®å好æ¹NPCççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Friendly Boss"] = "å好æ¹é¦é¢" |
--[[ zhCN ]] bL["Sets the health bar color for friendly NPCs"] = "设å®å好æ¹é¦é¢ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Hostile Players"] = "æ对æ¹ç©å®¶" |
--[[ zhCN ]] bL["Sets the health bar color for hostile players"] = "设å®æ对æ¹ç©å®¶ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Hostile Pets"] = "æ对æ¹å® ç©" |
--[[ zhCN ]] bL["Sets the health bar color for hostile pets"] = "设å®æ对æ¹å® ç©ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Hostile NPCs"] = "æ对æ¹NPC" |
--[[ zhCN ]] bL["Sets the health bar color for hostile units"] = "设å®æ对æ¹NPCççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Hostile Boss"] = "æ对æ¹é¦é¢" |
--[[ zhCN ]] bL["Sets the health bar color for hostile boss units"] = "设å®æ对æ¹é¦é¢ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Neutral Units"] = "ä¸ç«æ¹åä½" |
--[[ zhCN ]] bL["Sets the health bar color for neutral units"] = "设å®ä¸ç«æ¹åä½ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Group Pets"] = "éåå® ç©" |
--[[ zhCN ]] bL["Sets the health bar color for group pets"] = "éåå® ç©ççå½å¼æ¾ç¤ºæ¡é¢è²" |
--[[ zhCN ]] bL["Unknown"] = "Unknown" |
--[[ zhCN ]] bL["Sets the health bar color for unknown units"] = "Sets the health bar color for unknown units" |
--[[ zhCN ]] bL["Reset to Defaults"] = "é置为é»è®¤" |
--[[ zhCN ]] bL["Resets all colors to their defaults"] = "å°å ¨é¨é¢è²è®¾å®é置为é»è®¤" |
--[[ zhCN ]] bL["Border"] = "Border" |
--[[ zhCN ]] bL["Border options"] = "Border options" |
--[[ zhCN ]] bL["Target Only"] = "Target Only" |
--[[ zhCN ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhCN ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhCN ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhCN ]] bL["Border Inset"] = "Border Inset" |
--[[ zhCN ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhCN ]] bL["Border Color"] = "è¾¹æ¡é¢è²" |
--[[ zhCN ]] bL["Sets the border color of the health bar"] = "Sets the border color of the health bar" |
--[[ zhCN ]] bL["Border Style"] = "è¾¹æ¡æ ·å¼" |
--[[ zhCN ]] bL["Sets the style of the health bar border"] = "Sets the style of the health bar border" |
--[[ zhCN ]] bL["Advanced"] = "é«çº§" |
--[[ zhCN ]] bL["Options for expert users"] = "é«çº§è®¾ç½®" |
--[[ zhCN ]] bL["Color Format"] = "é¢è²æ ¼å¼" |
--[[ zhCN ]] bL["Color tag"] = "é¢è²æ ç¾" |
--[[ zhCN ]] bL["<Any tag string>"] = "<ä»»ææ ç¾æå>" |
--[[ zhCN ]] bL["Deficit Health Bar"] = "äºåçå½æ¡" |
--[[ zhCN ]] bL["Display health bar as a deficit (grows from right as health is lost)"] = "å°çå½æ¡æ¾ç¤ºä¸ºäºå模å¼ï¼éççå½å¼ä¸§å¤±ä»å³ä¾§å¢é¿ï¼" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] bL["Health Bar"] = "çå½åæ¢" |
--[[ zhTW ]] bL["Health Bar options"] = "çå½åæ¢é¸é " |
--[[ zhTW ]] bL["Texture"] = "ç´ç" |
--[[ zhTW ]] bL["Sets the health bar texture"] = "çå½åæ¢ç´ç" |
--[[ zhTW ]] bL["Enable Horizontal Tiling"] = "Enable Horizontal Tiling" |
--[[ zhTW ]] bL["Enable horizontal tiling of the health bar texture"] = "Enable horizontal tiling of the health bar texture" |
--[[ zhTW ]] bL["Alpha"] = "éæ度" |
--[[ zhTW ]] bL["Sets the health bar alpha"] = "çå½åæ¢éæ度" |
--[[ zhTW ]] bL["Size"] = "大å°" |
--[[ zhTW ]] bL["Adjust health bar's size"] = "çå½åæ¢å¤§å°" |
--[[ zhTW ]] bL["Width"] = "寬度" |
--[[ zhTW ]] bL["Sets the width of the health bar"] = "çå½åæ¢å¯¬åº¦" |
--[[ zhTW ]] bL["Height"] = "é«åº¦" |
--[[ zhTW ]] bL["Sets the height of the health bar"] = "çå½åæ¢é«åº¦" |
--[[ zhTW ]] bL["Position"] = "ä½ç½®" |
--[[ zhTW ]] bL["Adjust the health bar's position"] = "çå½åæ¢ä½ç½®" |
--[[ zhTW ]] bL["Left Offset"] = "Left Offset" |
--[[ zhTW ]] bL["Sets the offset of the left of the health bar"] = "Sets the offset of the left of the health bar" |
--[[ zhTW ]] bL["Right Offset"] = "Right Offset" |
--[[ zhTW ]] bL["Sets the offset of the right of the health bar"] = "Sets the offset of the right of the health bar" |
--[[ zhTW ]] bL["Vertical Offset"] = "Vertical Offset" |
--[[ zhTW ]] bL["Sets the vertical offset of the health bar"] = "Sets the vertical offset of the health bar" |
--[[ zhTW ]] bL["Colors"] = "é¡è²" |
--[[ zhTW ]] bL["Customize colors"] = "èªå®é¡è²" |
--[[ zhTW ]] bL["Color by Class"] = "æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] bL["Sets the health bar color of players according to class"] = "çå½åæ¢é¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] bL["Color Hostile by Class"] = "æµå°å®ä½æ ¹æè·æ¥ä¸è²" |
--[[ zhTW ]] bL["Sets the health bar color of hostile players according to class"] = "æµå°ç©å®¶ççå½åæ¢é¡è²ä½¿ç¨è·æ¥é¡è²" |
--[[ zhTW ]] bL["Backdrop Color"] = "èæ¯é¡è²" |
--[[ zhTW ]] bL["Sets the backdrop color of the health bar"] = "çå½åæ¢èæ¯é¡è²" |
--[[ zhTW ]] bL["Pet"] = "寵ç©" |
--[[ zhTW ]] bL["Sets the health bar color for your pet"] = "寵ç©ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Friendly Players"] = "å好ç©å®¶" |
--[[ zhTW ]] bL["Sets the health bar color for friendly players"] = "å好ç©å®¶ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Friendly Pets"] = "å好寵ç©" |
--[[ zhTW ]] bL["Sets the health bar color for friendly pets"] = "å好寵ç©ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Friendly NPCs"] = "å好NPC" |
--[[ zhTW ]] bL["Sets the health bar color for friendly NPC Bosses"] = "å好NPCççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Friendly Boss"] = "å好é¦é " |
--[[ zhTW ]] bL["Sets the health bar color for friendly NPCs"] = "å好é¦é ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Hostile Players"] = "æµå°ç©å®¶" |
--[[ zhTW ]] bL["Sets the health bar color for hostile players"] = "æµå°ç©å®¶ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Hostile Pets"] = "æµå°å¯µç©" |
--[[ zhTW ]] bL["Sets the health bar color for hostile pets"] = "æµå°å¯µç©ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Hostile NPCs"] = "æµå°NPC" |
--[[ zhTW ]] bL["Sets the health bar color for hostile units"] = "æµå°NPCççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Hostile Boss"] = "æµå°ç©å®¶" |
--[[ zhTW ]] bL["Sets the health bar color for hostile boss units"] = "æµå°é¦é ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Neutral Units"] = "ä¸ç«å®ä½" |
--[[ zhTW ]] bL["Sets the health bar color for neutral units"] = "ä¸ç«å®ä½ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Group Pets"] = "åé«å¯µç©" |
--[[ zhTW ]] bL["Sets the health bar color for group pets"] = "åé«å¯µç©ççå½åæ¢é¡è²" |
--[[ zhTW ]] bL["Unknown"] = "Unknown" |
--[[ zhTW ]] bL["Sets the health bar color for unknown units"] = "Sets the health bar color for unknown units" |
--[[ zhTW ]] bL["Reset to Defaults"] = "éè¨åé è¨å¼" |
--[[ zhTW ]] bL["Resets all colors to their defaults"] = "éè¨å ¨é¨é¡è²åé è¨å¼" |
--[[ zhTW ]] bL["Border"] = "Border" |
--[[ zhTW ]] bL["Border options"] = "Border options" |
--[[ zhTW ]] bL["Target Only"] = "Target Only" |
--[[ zhTW ]] bL["Enables the border on the current target only"] = "Enables the border on the current target only" |
--[[ zhTW ]] bL["Border Edge Size"] = "Border Edge Size" |
--[[ zhTW ]] bL["Sets the thickness of the border"] = "Sets the thickness of the border" |
--[[ zhTW ]] bL["Border Inset"] = "Border Inset" |
--[[ zhTW ]] bL["Sets the padding aroundthe border"] = "Sets the padding around the border" |
--[[ zhTW ]] bL["Border Color"] = "éæ¡é¡è²" |
--[[ zhTW ]] bL["Sets the border color of the health bar"] = "Sets the border color of the health bar" |
--[[ zhTW ]] bL["Border Style"] = "éæ¡æ¨£å¼" |
--[[ zhTW ]] bL["Sets the style of the health bar border"] = "Sets the style of the health bar border" |
--[[ zhTW ]] bL["Advanced"] = "é²é" |
--[[ zhTW ]] bL["Options for expert users"] = "é²éé¸é " |
--[[ zhTW ]] bL["Color Format"] = "é¡è²æ ¼å¼" |
--[[ zhTW ]] bL["Color tag"] = "é¡è²æ¨ç±¤" |
--[[ zhTW ]] bL["<Any tag string>"] = "<ä»»ä½æ¨ç±¤æå>" |
--[[ zhTW ]] bL["Deficit Health Bar"] = "è§æ¸çå½æ¢" |
--[[ zhTW ]] bL["Display health bar as a deficit (grows from right as health is lost)"] = "å°çå½æ¢é¡¯ç¤ºçºè§æ¸æ¨¡å¼ï¼é¨èçå½å¼åªå¤±å¾å³å´å¢é·ï¼" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftHealthBar = setmetatable(bL, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
bL = nil |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftHealthBar |
if not L then return end |
local AloftHealthBar = Aloft:GetModule("HealthBar") |
if not AloftHealthBar then return end |
local SML = LibStub("LibSharedMedia-3.0") |
----------------------------------------------------------------------------- |
Aloft.Options.args.healthBar = |
{ |
type = 'group', |
name = L["Health Bar"], |
desc = L["Health Bar options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile end, |
args = |
{ |
height = |
{ |
type = 'range', |
width = "full", |
name = L["Height"], |
desc = L["Sets the height of the health bar"], |
order = 1, |
min = 1, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.height end, |
set = function(i, v) AloftHealthBar.db.profile.height = v AloftHealthBar:UpdateAll() end |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust the health bar's position"], |
order = 2, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile end, |
args = |
{ |
left = |
{ |
type = 'range', |
width = "full", |
name = L["Left Offset"], |
desc = L["Sets the offset of the left of the health bar"], |
order = 1, |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.offsets.left end, |
set = function(i, v) AloftHealthBar.db.profile.offsets.left = v AloftHealthBar:UpdateAll() end |
}, |
right = |
{ |
type = 'range', |
width = "full", |
name = L["Right Offset"], |
desc = L["Sets the offset of the right of the health bar"], |
order = 2, |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.offsets.right end, |
set = function(i, v) AloftHealthBar.db.profile.offsets.right = v AloftHealthBar:UpdateAll() end |
}, |
vertical = |
{ |
type = 'range', |
width = "full", |
name = L["Vertical Offset"], |
desc = L["Sets the vertical offset of the health bar"], |
order = 3, |
min = -128, |
max = 128, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.offsets.vertical end, |
set = function(i, v) AloftHealthBar.db.profile.offsets.vertical = v AloftHealthBar:UpdateAll() end |
}, |
}, |
}, |
texture = |
{ |
type = 'select', |
width = "full", |
name = L["Texture"], |
desc = L["Sets the health bar texture"], |
order = 3, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.healthBar.args.texture.values) do |
if v == AloftHealthBar.db.profile.texture then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftHealthBar.db.profile.texture = Aloft.Options.args.healthBar.args.texture.values[v] |
Aloft:DetermineDataSources() |
AloftHealthBar:UpdateAll() |
end, |
values = SML:List("statusbar") |
}, |
tileHoriz = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable Horizontal Tiling"], |
desc = L["Enable horizontal tiling of the health bar texture"], |
order = 4, |
get = function(i) return AloftHealthBar.db.profile.tileHoriz end, |
set = function(i, v) AloftHealthBar.db.profile.tileHoriz = v AloftHealthBar:UpdateAll() end |
}, |
border = { |
type = 'group', |
name = L["Border"], |
desc = L["Border options"], |
order = 5, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile end, |
args = |
{ |
targetOnly = |
{ |
type = 'toggle', |
width = "full", |
name = L["Target Only"], |
desc = L["Enables the border on the current target only"], |
order = 1, |
get = function(i) return AloftHealthBar.db.profile.targetOnly end, |
set = function(i, v) AloftHealthBar.db.profile.targetOnly = v Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end, |
disabled = function(i) return AloftHealthBar.db.profile.border == "None" end, |
}, |
style = |
{ |
type = 'select', |
width = "full", |
name = L["Border Style"], |
desc = L["Sets the style of the health bar border"], |
order = 2, |
get = function(i) |
for k, v in pairs(Aloft.Options.args.healthBar.args.border.args.style.values) do |
if v == AloftHealthBar.db.profile.border then |
return k |
end |
end |
end, |
set = function(i, v) |
AloftHealthBar.db.profile.border = Aloft.Options.args.healthBar.args.border.args.style.values[v] |
AloftHealthBar:UpdateAll() |
end, |
values = SML:List("border") |
}, |
edgeSize = |
{ |
type = 'range', |
width = "full", |
name = L["Border Edge Size"], |
desc = L["Sets the thickness of the border"], |
min = 1, |
max = 32, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.borderEdgeSize end, |
set = function(i, v) AloftHealthBar.db.profile.borderEdgeSize = v AloftHealthBar:UpdateAll() end |
}, |
inset = |
{ |
type = 'range', |
width = "full", |
name = L["Border Inset"], |
desc = L["Sets the padding aroundthe border"], |
min = 0, |
max = 32, |
step = 1, |
get = function(i) return AloftHealthBar.db.profile.borderInset end, |
set = function(i, v) AloftHealthBar.db.profile.borderInset = v AloftHealthBar:UpdateAll() end |
}, |
color = |
{ |
type = 'color', |
width = "full", |
name = L["Border Color"], |
desc = L["Sets the border color of the health bar"], |
order = 3, |
get = function(i) return unpack(AloftHealthBar.db.profile.borderColor) end, |
set = function(i, r, g, b, a) AloftHealthBar.db.profile.borderColor = { r, g, b, a } AloftHealthBar:UpdateAll() end, |
disabled = function(i) return AloftHealthBar.db.profile.border == "None" end, |
hasAlpha = true, |
}, |
}, |
}, |
alpha = |
{ |
type = 'range', |
width = "full", |
name = L["Alpha"], |
desc = L["Sets the health bar alpha"], |
order = 6, |
min = 0, |
max = 1.0, |
step = 0.05, |
get = function(i) return AloftHealthBar.db.profile.alpha end, |
set = function(i, v) AloftHealthBar.db.profile.alpha = v AloftHealthBar:UpdateAll() end, |
}, |
colors = |
{ |
type = 'group', |
name = L["Colors"], |
desc = L["Customize colors"], |
order = 7, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile end, |
args = |
{ |
colorByClass = |
{ |
type = 'toggle', |
width = "full", |
name = L["Color by Class"], |
desc = L["Sets the health bar color of players according to class"], |
get = function(i) return AloftHealthBar.db.profile.colorByClass end, |
set = function(i, v) AloftHealthBar.db.profile.colorByClass = v Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end, |
order = 1 |
}, |
colorHostileByClass = |
{ |
type = 'toggle', |
width = "full", |
name = L["Color Hostile by Class"], |
desc = L["Sets the health bar color of hostile players according to class"], |
get = function(i) return AloftHealthBar.db.profile.colorHostileByClass end, |
set = function(i, v) AloftHealthBar.db.profile.colorHostileByClass = v Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end, |
order = 2 |
}, |
backdrop = |
{ |
type = 'color', |
width = "full", |
name = L["Backdrop Color"], |
desc = L["Sets the backdrop color of the health bar"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.backdropColor) end, |
set = function(i, r, g, b, a) AloftHealthBar.db.profile.colors.backdropColor = { r, g, b, a } AloftHealthBar:UpdateAll() end, |
hasAlpha = true, |
order = 3 |
}, |
friendlyPlayer = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Players"], |
desc = L["Sets the health bar color for friendly players"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.friendlyPlayer) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.friendlyPlayer = { r, g, b } AloftHealthBar:UpdateAll() end |
}, |
friendlyPet = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Pets"], |
desc = L["Sets the health bar color for friendly pets"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.friendlyPet) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.friendlyPet = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
friendlyNPC = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly NPCs"], |
desc = L["Sets the health bar color for friendly NPCs"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.friendlyNPC) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.friendlyNPC = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
friendlyBoss = |
{ |
type = 'color', |
width = "full", |
name = L["Friendly Boss"], |
desc = L["Sets the health bar color for friendly NPC Bosses"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.friendlyBoss) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.friendlyBoss = { r, g, b } AloftHealthBar:UpdateAll() end |
}, |
hostilePlayer = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Players"], |
desc = L["Sets the health bar color for hostile players"], |
disabled = function(i) return AloftHealthBar.db.profile.colorHostileByClass end, |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.hostilePlayer) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.hostilePlayer = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
hostilePet = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Pets"], |
desc = L["Sets the health bar color for hostile pets"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.hostilePet) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.hostilePet = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
hostileNPC = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile NPCs"], |
desc = L["Sets the health bar color for hostile units"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.hostileNPC) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.hostileNPC = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
hostileBoss = |
{ |
type = 'color', |
width = "full", |
name = L["Hostile Boss"], |
desc = L["Sets the health bar color for hostile boss units"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.hostileBoss) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.hostileBoss = { r, g, b } AloftHealthBar:UpdateAll() end |
}, |
neutral = |
{ |
type = 'color', |
width = "full", |
name = L["Neutral Units"], |
desc = L["Sets the health bar color for neutral units"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.neutral) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.neutral = { r, g, b } AloftHealthBar:UpdateAll() end |
}, |
pet = |
{ |
type = 'color', |
width = "full", |
name = L["Pet"], |
desc = L["Sets the health bar color for your pet"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.pet) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.pet = { r, g, b } AloftHealthBar:UpdateAll() end |
}, |
groupPet = |
{ |
type = 'color', |
width = "full", |
name = L["Group Pets"], |
desc = L["Sets the health bar color for group pets"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.groupPet) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.groupPet = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
unknown = |
{ |
type = 'color', |
name = L["Unknown"], |
desc = L["Sets the health bar color for unknown units"], |
get = function(i) return unpack(AloftHealthBar.db.profile.colors.unknown) end, |
set = function(i, r, g, b) AloftHealthBar.db.profile.colors.unknown = { r, g, b } Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end |
}, |
reset = |
{ |
type = 'execute', |
width = "full", |
name = L["Reset to Defaults"], |
desc = L["Resets all colors to their defaults"], |
order = -1, |
func = function(i) |
local colors = AloftHealthBar.db.profile.colors |
colors.backdropColor = { 0.25, 0.25, 0.25, 0.5 } |
colors.friendlyPlayer = { 0, 0, 1 } |
colors.friendlyPet = { 0, 1, 0 } |
colors.friendlyNPC = { 0, 1, 0 } |
colors.friendlyBoss = { 0, 1, 0 } |
colors.hostilePlayer = { 1, 0, 0 } |
colors.hostilePet = { 1, 0, 0 } |
colors.hostileNPC = { 1, 0, 0 } |
colors.hostileBoss = { 1, 0, 0 } |
colors.neutral = { 1, 1, 0 } |
colors.pet = { 0, 1, 0 } |
colors.groupPet = { 0, 1, 0 } |
colors.unknown = { 0.5, 0.5, 0.5 } |
Aloft:DetermineDataSources() |
AloftHealthBar:UpdateAll() |
end, |
}, |
advanced = |
{ |
type = 'group', |
name = L["Advanced"], |
desc = L["Options for expert users"], |
order = -1, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile end, |
args = |
{ |
format = |
{ |
type = 'input', |
width = "full", |
name = L["Color Format"], |
desc = L["Color tag"], |
usage = L["<Any tag string>"], |
get = function(i) return Aloft:HighlightTagSyntax(AloftHealthBar.db.profile.colorFormat) end, |
set = function(i, v) |
AloftHealthBar.db.profile.colorFormat = Aloft:FixTagCasing(v) |
AloftHealthBar.colorMethodData = nil |
AloftHealthBar.colorMethod = nil |
Aloft:DetermineDataSources() |
AloftHealthBar:UpdateAll() |
end, |
} |
}, |
}, |
} |
}, |
deficit = |
{ |
type = 'toggle', |
name = L["Deficit Health Bar"], |
desc = L["Display health bar as a deficit (grows from right as health is lost)"], |
disabled = function(i) |
-- ChatFrame7:AddMessage("Aloft.Options.args.healthBar.args.deficit.disabled(): " .. tostring(Aloft:IsEnabled()) .. "/" .. tostring(AloftHealthBar:IsEnabled()) .. "/" .. tostring(AloftHealthBar.db) .. "/" .. tostring(AloftHealthBar.db.profile)) |
return not Aloft:IsEnabled() or not AloftHealthBar:IsEnabled() or not AloftHealthBar.db or not AloftHealthBar.db.profile |
end, |
get = function(i) return AloftHealthBar.db.profile.deficit end, |
set = function(i, v) AloftHealthBar.db.profile.deficit = v Aloft:DetermineDataSources() AloftHealthBar:UpdateAll() end, |
order = 99 |
}, |
}, |
} |
----------------------------------------------------------------------------- |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = { } |
----------------------------------------------------------------------------- |
-- Leave enUS locale active as default locale |
--[[ enUS ]] L["Target Tracking"] = "Target Tracking" |
--[[ enUS ]] L["Various target tracking options"] = "Various target tracking options" |
--[[ enUS ]] L["Treat Rares and Bosses as Unique (Experimental)"] = "Treat Rares and Bosses as Unique (Experimental)" |
--[[ enUS ]] L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"] = "Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)" |
--[[ enUS ]] L["Enable Focus Tracking"] = "Enable Focus Tracking" |
--[[ enUS ]] L["Enable group focus target tracking"] = "Enable group focus target tracking" |
--[[ enUS ]] L["Focus Tracking Update Interval"] = "Focus Tracking Update Interval" |
--[[ enUS ]] L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
local locale = GetLocale() |
----------------------------------------------------------------------------- |
if (locale == "koKR") then |
----------------------------------------------------------------------------- |
--[[ koKR ]] L["Target Tracking"] = "Target Tracking" |
--[[ koKR ]] L["Various target tracking options"] = "Various target tracking options" |
--[[ koKR ]] L["Treat Rares and Bosses as Unique (Experimental)"] = "Treat Rares and Bosses as Unique (Experimental)" |
--[[ koKR ]] L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"] = "Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)" |
--[[ koKR ]] L["Enable Focus Tracking"] = "Enable Focus Tracking" |
--[[ koKR ]] L["Enable group focus target tracking"] = "Enable group focus target tracking" |
--[[ koKR ]] L["Focus Tracking Update Interval"] = "Focus Tracking Update Interval" |
--[[ koKR ]] L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
elseif (locale == "ruRU") then |
----------------------------------------------------------------------------- |
--[[ ruRU ]] L["Target Tracking"] = "ÐÑÑлеживание Ñели" |
--[[ ruRU ]] L["Various target tracking options"] = "ÐаÑÑÑойки оÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ñели" |
--[[ ruRU ]] L["Treat Rares and Bosses as Unique (Experimental)"] = "РаÑÑмаÑÑиваÑÑ ÑÐµÐ´ÐºÐ¸Ñ Ð¸ боÑÑов как ÑникалÑнÑе (ТеÑÑиÑÑеÑÑÑ)" |
--[[ ruRU ]] L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"] = "Цели ÑÐµÐ´ÐºÐ¸Ñ Ð¸ ÑлиÑнÑÑ Ð±Ð¾ÑÑов (пологаÑÑÑ Ð½Ð° клаÑÑиÑикаÑи и ÑÑовенÑ) оÑÑлеживаÑÑÑÑ ÐµÑли Ð¸Ñ Ð¸Ð¼ÐµÐ½Ð° ÑникалÑнÑе (ТеÑÑиÑÑеÑÑÑ)" |
--[[ ruRU ]] L["Enable Focus Tracking"] = "ÐклÑÑиÑÑ Ð¾ÑÑлеживание ÑокÑÑа" |
--[[ ruRU ]] L["Enable group focus target tracking"] = "ÐклÑÑиÑÑ Ð¾ÑÑлеживание ÑокÑÑа" |
--[[ ruRU ]] L["Focus Tracking Update Interval"] = "СкоÑоÑÑÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð¾ÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ ÑокÑÑа" |
--[[ ruRU ]] L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"] = "ÐнаÑение вÑемени в ÑекÑÐ½Ð´Ð°Ñ , Ð¼ÐµÐ¶Ð´Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸ÐµÐ¼ ÑокÑÑа (0.0 макÑималÑÐ½Ð°Ñ ÑкоÑоÑÑÑ)" |
----------------------------------------------------------------------------- |
elseif (locale == "zhCN") then |
----------------------------------------------------------------------------- |
--[[ zhCN ]] L["Target Tracking"] = "Target Tracking" |
--[[ zhCN ]] L["Various target tracking options"] = "Various target tracking options" |
--[[ zhCN ]] L["Treat Rares and Bosses as Unique (Experimental)"] = "Treat Rares and Bosses as Unique (Experimental)" |
--[[ zhCN ]] L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"] = "Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)" |
--[[ zhCN ]] L["Enable Focus Tracking"] = "Enable Focus Tracking" |
--[[ zhCN ]] L["Enable group focus target tracking"] = "Enable group focus target tracking" |
--[[ zhCN ]] L["Focus Tracking Update Interval"] = "Focus Tracking Update Interval" |
--[[ zhCN ]] L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
elseif (locale == "zhTW") then |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Target Tracking"] = "Target Tracking" |
--[[ zhTW ]] L["Various target tracking options"] = "Various target tracking options" |
--[[ zhTW ]] L["Treat Rares and Bosses as Unique (Experimental)"] = "Treat Rares and Bosses as Unique (Experimental)" |
--[[ zhTW ]] L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"] = "Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)" |
--[[ zhTW ]] L["Enable Focus Tracking"] = "Enable Focus Tracking" |
--[[ zhTW ]] L["Enable group focus target tracking"] = "Enable group focus target tracking" |
--[[ zhTW ]] L["Focus Tracking Update Interval"] = "Focus Tracking Update Interval" |
--[[ zhTW ]] L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"] = "The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)" |
----------------------------------------------------------------------------- |
end |
----------------------------------------------------------------------------- |
AloftLocale.AloftTargetTrackingData = setmetatable(L, { __index = function(t, k) rawset(t, k, k) error("Aloft: No translation found for '" .. k .. "'") return k end }) |
L = nil |
local Aloft = Aloft |
if not Aloft then return end |
local AloftLocale = AloftLocale |
if not AloftLocale then return end |
----------------------------------------------------------------------------- |
local L = AloftLocale.AloftTargetTrackingData |
if not L then return end |
local AloftTargetTrackingData = Aloft:GetModule("TargetTrackingData", true) |
if not AloftTargetTrackingData then return end |
----------------------------------------------------------------------------- |
Aloft.Options.args.AloftTargetTrackingData = |
{ |
type = 'group', |
name = L["Target Tracking"], |
desc = L["Various target tracking options"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftTargetTrackingData:IsEnabled() or not AloftTargetTrackingData.db or not AloftTargetTrackingData.db.profile end, |
args = |
{ |
trackUnique = |
{ |
type = 'toggle', |
width = "full", |
name = L["Treat Rares and Bosses as Unique (Experimental)"], |
desc = L["Rare and elite boss targets (based on classification and level) are tracked as if their names are unique (experimental)"], |
order = 5, |
get = function(i) return AloftTargetTrackingData.db.profile.trackUnique end, |
set = function(i, v) AloftTargetTrackingData.db.profile.trackUnique = v Aloft:DetermineDataSources() end, |
}, |
--[[ |
focusEnable = |
{ |
type = 'toggle', |
width = "full", |
name = L["Enable Focus Tracking"], |
desc = L["Enable group focus target tracking"], |
get = function(i) return AloftTargetTrackingData.db.profile.focusEnable end, |
set = function(i, v) AloftTargetTrackingData.db.profile.focusEnable = v Aloft:DetermineDataSources() end, |
order = 1, |
}, |
focusInterval = |
{ |
type = 'range', |
width = "full", |
name = L["Focus Tracking Update Interval"], |
desc = L["The amount of time, in seconds, between group focus updates (0.0 is as fast as possible)"], |
min = 0.0, |
max = 5.0, |
step = 0.01, |
disabled = function(i) return not AloftTargetTrackingData.db.profile.focusEnable end, |
get = function(i) return AloftTargetTrackingData.db.profile.focusInterval end, |
set = function(i, v) AloftTargetTrackingData.db.profile.focusInterval = v Aloft:DetermineDataSources() end, |
order = 2, |
}, |
]] |
}, |
} |
----------------------------------------------------------------------------- |