- 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)
local PetHealth = IceCore_CreateClass(IceUnitBar)
PetHealth.prototype.happiness = nil
@ -141,8 +142,8 @@ function PetHealth.prototype:GetOptions()
opts["scaleHealthColor"] = {
type = "toggle",
name = "Color bar by health %",
desc = "Colors the health bar from MaxHealthColor to MinHealthColor based on current health %",
name = L["Color bar by health %"],
desc = L["Colors the health bar from MaxHealthColor to MinHealthColor based on current health %"],
get = function()
return self.moduleSettings.scaleHealthColor
end,
@ -158,8 +159,8 @@ function PetHealth.prototype:GetOptions()
opts["allowClickTarget"] = {
type = 'toggle',
name = 'Allow click-targeting',
desc = 'Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)',
name = L["Allow click-targeting"],
desc = L["Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)"],
get = function()
return self.moduleSettings.allowMouseInteraction
end,