- 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 SunderCount = IceCore_CreateClass(IceElement)
SunderCount.prototype.sunderSize = 20
@ -21,8 +22,8 @@ function SunderCount.prototype:GetOptions()
opts["vpos"] = {
type = "range",
name = "Vertical Position",
desc = "Vertical Position",
name = L["Vertical Position"],
desc = L["Vertical Position"],
get = function()
return self.moduleSettings.vpos
end,
@ -41,8 +42,8 @@ function SunderCount.prototype:GetOptions()
opts["sunderFontSize"] = {
type = "range",
name = "Sunder Count Font Size",
desc = "Sunder Count Font Size",
name = L["Sunder Count Font Size"],
desc = L["Sunder Count Font Size"],
get = function()
return self.moduleSettings.sunderFontSize
end,
@ -61,8 +62,8 @@ function SunderCount.prototype:GetOptions()
opts["sunderMode"] = {
type = 'select',
name = "Display Mode",
desc = "Show graphical or numeric sunders",
name = L["Display Mode"],
desc = L["Show graphical or numeric sunders"],
get = function(info)
return IceHUD:GetSelectValue(info, self.moduleSettings.sunderMode)
end,
@ -81,8 +82,8 @@ function SunderCount.prototype:GetOptions()
opts["sunderGap"] = {
type = 'range',
name = 'Sunder gap',
desc = 'Spacing between each sunder count (only works for graphical mode)',
name = L["Sunder gap"],
desc = L["Spacing between each sunder count (only works for graphical mode)"],
min = 0,
max = 100,
step = 1,
@ -101,8 +102,8 @@ function SunderCount.prototype:GetOptions()
opts["gradient"] = {
type = "toggle",
name = "Change color",
desc = "1 sunder: yellow, 5 sunders: red",
name = L["Change color"],
desc = L["1 sunder: yellow, 5 sunders: red"],
get = function()
return self.moduleSettings.gradient
end,