- 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 SML = LibStub("LibSharedMedia-3.0")
IceElement = IceCore_CreateClass()
@ -118,8 +119,8 @@ function IceElement.prototype:GetOptions()
opts["enabled"] = {
type = "toggle",
name = "Enabled",
desc = "Enable/disable module",
name = L["Enabled"],
desc = L["Enable/disable module"],
get = function()
return self.moduleSettings.enabled
end,
@ -136,15 +137,15 @@ function IceElement.prototype:GetOptions()
opts["headerVisibility"] = {
type = 'header',
name = 'Visibility Settings',
name = L["Visibility Settings"],
order = 27
}
opts["scale"] =
{
type = 'range',
name = "Scale",
desc = 'Scale of the element',
name = L["Scale"],
desc = L["Scale of the element"],
min = 0.2,
max = 2,
step = 0.1,
@ -166,8 +167,8 @@ function IceElement.prototype:GetOptions()
opts["alwaysFullAlpha"] =
{
type = 'toggle',
name = 'Always show at 100% alpha',
desc = 'Whether to always show this module at 100% alpha or not',
name = L["Always show at 100% alpha"],
desc = L["Whether to always show this module at 100% alpha or not"],
width = 'double',
get = function()
return self.moduleSettings.alwaysFullAlpha