mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however.
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local TargetTargetHealth = IceCore_CreateClass(IceTargetHealth)
|
||||
TargetTargetHealth.prototype.scheduledEvent = nil
|
||||
|
||||
@ -41,8 +42,8 @@ function TargetTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["selfDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = "Self Display Mode",
|
||||
desc = "What this bar should do whenever the player is the TargetOfTarget\n\nNOTE: When this is set to 'hide', then click-targeting is not available due to Blizzard's restrictions",
|
||||
name = L["Self Display Mode"],
|
||||
desc = L["What this bar should do whenever the player is the TargetOfTarget\n\nNOTE: When this is set to 'hide', then click-targeting is not available due to Blizzard's restrictions"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.selfDisplayMode)
|
||||
end,
|
||||
@ -68,8 +69,8 @@ function TargetTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["selfColor"] = {
|
||||
type = "color",
|
||||
name = "Self Color",
|
||||
desc = "Set the color of the TargetTarget bar if you are your target's target.",
|
||||
name = L["Self Color"],
|
||||
desc = L["Set the color of the TargetTarget bar if you are your target's target."],
|
||||
get = function()
|
||||
return self.moduleSettings.selfColor.r, self.moduleSettings.selfColor.g, self.moduleSettings.selfColor.b
|
||||
end,
|
||||
|
Reference in New Issue
Block a user