- 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:
Parnic
2010-09-26 05:14:42 +00:00
parent 4bf79adda5
commit 08861ecfe7
65 changed files with 856 additions and 746 deletions

View File

@ -1,3 +1,4 @@
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
IceUnitBar = IceCore_CreateClass(IceBarElement)
IceUnitBar.prototype.unit = nil
@ -69,8 +70,8 @@ function IceUnitBar.prototype:GetOptions()
opts["lowThreshold"] =
{
type = 'range',
name = 'Low Threshold',
desc = 'Threshold of pulsing the bar (0 means never) (for player applies only to mana, not rage/energy/runic power)',
name = L["Low Threshold"],
desc = L["Threshold of pulsing the bar (0 means never) (for player applies only to mana, not rage/energy/runic power)"],
get = function()
return self.moduleSettings.lowThreshold
end,
@ -89,8 +90,8 @@ function IceUnitBar.prototype:GetOptions()
}
opts["lowThresholdFlash"] = {
type = 'toggle',
name = 'Flash bar below Low Threshold',
desc = 'Flashes the bar when it is below the Low Threshold specified above',
name = L["Flash bar below Low Threshold"],
desc = L["Flashes the bar when it is below the Low Threshold specified above"],
width = 'double',
get = function()
return self.moduleSettings.lowThresholdFlash
@ -105,8 +106,8 @@ function IceUnitBar.prototype:GetOptions()
}
opts["lowThresholdColor"] = {
type = "toggle",
name = "Low Threshold color",
desc = "Colors the bar minColor when % is < lowThreshold (requires scaleColor to be enabled)",
name = L["Low Threshold color"],
desc = L["Colors the bar minColor when % is < lowThreshold (requires scaleColor to be enabled)"],
get = function()
return self.moduleSettings.lowThresholdColor
end,