- 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)
IceTargetMana = IceCore_CreateClass(IceUnitBar)
IceTargetMana.prototype.registerEvents = true
IceTargetHealth.prototype.color = nil
@ -126,8 +127,8 @@ function IceTargetMana.prototype:GetOptions()
opts["scaleManaColor"] = {
type = "toggle",
name = "Color bar by mana %",
desc = "Colors the mana bar from MaxManaColor to MinManaColor based on current mana %",
name = L["Color bar by mana %"],
desc = L["Colors the mana bar from MaxManaColor to MinManaColor based on current mana %"],
get = function()
return self.moduleSettings.scaleManaColor
end,
@ -143,8 +144,8 @@ function IceTargetMana.prototype:GetOptions()
opts["onlyShowMana"] = {
type = 'toggle',
name = 'Only show if target uses mana',
desc = 'Will only show this bar if the target uses mana (as opposed to rage, energy, runic power, etc.)',
name = L["Only show if target uses mana"],
desc = L["Will only show this bar if the target uses mana (as opposed to rage, energy, runic power, etc.)"],
width = 'double',
get = function()
return self.moduleSettings.onlyShowMana