/branches/castbar/AloftOptions/AloftClassIcon
desc = L["Enable class icon display on the nameplate"], |
get = function(i) return AloftClassIcon.db.profile.enable end, |
set = function(i, v) AloftClassIcon.db.profile.enable = v AloftClassIcon:UpdateAll() end, |
order = 1 |
order = 1, |
}, |
totemEnable = |
{ |
type = 'toggle', |
width = 'full', |
name = L["Totem Enable"], |
desc = L["Enable totem icon display on the nameplate"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassIcon:IsEnabled() or not AloftClassIcon.db or not AloftClassIcon.db.profile or not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.totemEnable end, |
set = function(i, v) AloftClassIcon.db.profile.totemEnable = v AloftClassIcon:UpdateAll() end, |
order = 2, |
}, |
totemCrop = |
{ |
type = 'range', |
width = 'full', |
name = L["Totem Crop"], |
desc = L["Percentage to crop off the outside of the totem icon"], |
min = 0, |
max = 1, |
step = 0.01, |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassIcon:IsEnabled() or not AloftClassIcon.db or not AloftClassIcon.db.profile or not AloftClassIcon.db.profile.enable or not AloftClassIcon.db.profile.totemEnable end, |
get = function(i) return AloftClassIcon.db.profile.totemCrop end, |
set = function(i, v) AloftClassIcon.db.profile.totemCrop = v AloftClassIcon:UpdateAll() end, |
order = 3, |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the class icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.alpha end, |
set = function(i, v) AloftClassIcon.db.profile.alpha = v AloftClassIcon:UpdateAll() end, |
order = 4, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the class icon"], |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.size end, |
set = function(i, v) AloftClassIcon.db.profile.size = v AloftClassIcon:UpdateAll() end, |
order = 5, |
}, |
position = |
{ |
type = 'group', |
name = L["Position"], |
desc = L["Adjust class icon position"], |
disabled = function(i) return not Aloft:IsEnabled() or not AloftClassIcon:IsEnabled() or not AloftClassIcon.db or not AloftClassIcon.db.profile or not AloftClassIcon.db.profile.enable end, |
order = 6, |
args = |
{ |
anchor = { |
}, |
}, |
}, |
size = |
{ |
type = 'range', |
width = 'full', |
name = L["Size"], |
desc = L["Size in pixels of the class icon"], |
min = 4, |
max = 64, |
step = 1, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.size end, |
set = function(i, v) AloftClassIcon.db.profile.size = v AloftClassIcon:UpdateAll() end |
}, |
alpha = |
{ |
type = 'range', |
width = 'full', |
name = L["Alpha"], |
desc = L["Sets the class icon alpha"], |
min = 0, |
max = 1.0, |
step = 0.05, |
disabled = function(i) return not AloftClassIcon.db.profile.enable end, |
get = function(i) return AloftClassIcon.db.profile.alpha end, |
set = function(i, v) AloftClassIcon.db.profile.alpha = v AloftClassIcon:UpdateAll() end |
}, |
}, |
} |
--[[ enUS ]] L["Alpha"] = "Alpha" |
--[[ enUS ]] L["Sets the class icon alpha"] = "Sets the class icon alpha" |
--[[ enUS ]] L["Totem Enable"] = "Totem Enable" |
--[[ enUS ]] L["Enable totem icon display on the nameplate"] = "Enable totem icon display on the nameplate" |
--[[ enUS ]] L["Totem Crop"] = "Totem Crop" |
--[[ enUS ]] L["Percentage to crop off the outside of the totem icon"] = "Percentage to crop off the outside of the totem icon" |
--[[ enUS ]] L["TOPLEFT"] = "TOPLEFT" |
--[[ enUS ]] L["TOP"] = "TOP" |
--[[ enUS ]] L["TOPRIGHT"] = "TOPRIGHT" |
--[[ koKR ]] L["Alpha"] = "í¬ëª ë" |
--[[ koKR ]] L["Sets the class icon alpha"] = "Sets the class icon alpha" |
--[[ koKR ]] L["Totem Enable"] = "Totem Enable" |
--[[ koKR ]] L["Enable totem icon display on the nameplate"] = "Enable totem icon display on the nameplate" |
--[[ koKR ]] L["Totem Crop"] = "Totem Crop" |
--[[ koKR ]] L["Percentage to crop off the outside of the totem icon"] = "Percentage to crop off the outside of the totem icon" |
--[[ koKR ]] L["TOPLEFT"] = "ì¢ì¸¡ ìë¨" |
--[[ koKR ]] L["TOP"] = "ìë¨" |
--[[ koKR ]] L["TOPRIGHT"] = "ì°ì¸¡ ìë¨" |
--[[ ruRU ]] L["Alpha"] = "ÐÑозÑаÑноÑÑÑ" |
--[[ ruRU ]] L["Sets the class icon alpha"] = "ÐÐ°Ð´Ð°ÐµÑ Ð¿ÑозÑаÑноÑÑÑ Ð·Ð½Ð°Ñка клаÑÑа" |
--[[ ruRU ]] L["Totem Enable"] = "Totem Enable" |
--[[ ruRU ]] L["Enable totem icon display on the nameplate"] = "Enable totem icon display on the nameplate" |
--[[ ruRU ]] L["Totem Crop"] = "Totem Crop" |
--[[ ruRU ]] L["Percentage to crop off the outside of the totem icon"] = "Percentage to crop off the outside of the totem icon" |
--[[ ruRU ]] L["TOPLEFT"] = "ÐÐÐРХУ-СÐÐÐÐ" |
--[[ ruRU ]] L["TOP"] = "ÐÐÐРХУ" |
--[[ ruRU ]] L["TOPRIGHT"] = "ÐÐÐРХУ-СÐÐ ÐÐÐ" |
--[[ zhCN ]] L["Alpha"] = "éæ度" |
--[[ zhCN ]] L["Sets the class icon alpha"] = "设置èä¸å¾æ éæ度" |
--[[ zhCN ]] L["Totem Enable"] = "Totem Enable" |
--[[ zhCN ]] L["Enable totem icon display on the nameplate"] = "Enable totem icon display on the nameplate" |
--[[ zhCN ]] L["Totem Crop"] = "Totem Crop" |
--[[ zhCN ]] L["Percentage to crop off the outside of the totem icon"] = "Percentage to crop off the outside of the totem icon" |
--[[ zhCN ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhCN ]] L["TOP"] = "ä¸" |
--[[ zhCN ]] L["TOPRIGHT"] = "å³ä¸" |
----------------------------------------------------------------------------- |
--[[ zhTW ]] L["Class Icon"] = "è·æ¥å示" |
--[[ zhTW ]] L["Class icon placement options"] = "è·æ¥å示ä½ç½®é¸é " |
--[[ zhTW ]] L["Class icon placement options"] = "è·æ¥å示ä½ç½®è¨å®" |
--[[ zhTW ]] L["Enable"] = "åç¨" |
--[[ zhTW ]] L["Enable class icon display on the nameplate"] = "å¨å§åæ¿ä¸é¡¯ç¤ºè·æ¥å示" |
--[[ zhTW ]] L["Size"] = "尺寸" |
--[[ zhTW ]] L["Size in pixels of the class icon"] = "è·æ¥å示ç大å°ï¼å®ä½çºåå ï¼" |
--[[ zhTW ]] L["Enable class icon display on the nameplate"] = "åç¨å¨åçä¸é¡¯ç¤ºè·æ¥å示" |
--[[ zhTW ]] L["Size"] = "大å°" |
--[[ zhTW ]] L["Size in pixels of the class icon"] = "è·æ¥å示çåç´ å¤§å°" |
--[[ zhTW ]] L["Position"] = "ä½ç½®" |
--[[ zhTW ]] L["Adjust class icon position"] = "è·æ¥å示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "X軸å移" |
--[[ zhTW ]] L["X offset of the class icon"] = "è·æ¥å示橫軸å移" |
--[[ zhTW ]] L["Y Offset"] = "Y軸å移" |
--[[ zhTW ]] L["Y offset of the class icon"] = "è·æ¥å示縱軸å移" |
--[[ zhTW ]] L["Adjust class icon position"] = "調æ´è·æ¥å示ä½ç½®" |
--[[ zhTW ]] L["X Offset"] = "Xå移" |
--[[ zhTW ]] L["X offset of the class icon"] = "è·æ¥å示çXå移" |
--[[ zhTW ]] L["Y Offset"] = "Yå移" |
--[[ zhTW ]] L["Y offset of the class icon"] = "è·æ¥å示çYå移" |
--[[ zhTW ]] L["Anchor"] = "é¨é»" |
--[[ zhTW ]] L["Sets the anchor for the class icon"] = "è·æ¥å示é¨é»" |
--[[ zhTW ]] L["Anchor To"] = "åºå®å¨" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the class icon"] = "è¨ç½®è·æ¥å示è¦ä¾éå°çå½æ¢çåªåä½ç½®" |
--[[ zhTW ]] L["Sets the anchor for the class icon"] = "è¨å®è·æ¥å示çé¨é»" |
--[[ zhTW ]] L["Anchor To"] = "é¨é»å°" |
--[[ zhTW ]] L["Sets the relative point on the health bar to anchor the class icon"] = "è¨å®å¨çå½æ¢ä¸é¨å°è·æ¥å示çç¸éé»" |
--[[ zhTW ]] L["Alpha"] = "éæ度" |
--[[ zhTW ]] L["Sets the class icon alpha"] = "è¨ç½®è·æ¥å示éæ度" |
--[[ zhTW ]] L["Sets the class icon alpha"] = "è¨å®è·æ¥å示éæ度" |
--[[ zhTW ]] L["TOPLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["Totem Enable"] = "å騰åç¨" |
--[[ zhTW ]] L["Enable totem icon display on the nameplate"] = "åç¨å¨åçä¸çå騰å示顯示" |
--[[ zhTW ]] L["Totem Crop"] = "å騰è£å" |
--[[ zhTW ]] L["Percentage to crop off the outside of the totem icon"] = "以ç¾åæ¯ä¾ééè£åå騰å示çå¤è§" |
--[[ zhTW ]] L["TOPLEFT"] = "ä¸å·¦" |
--[[ zhTW ]] L["TOP"] = "ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["TOPRIGHT"] = "ä¸å³" |
--[[ zhTW ]] L["LEFT"] = "å·¦" |
--[[ zhTW ]] L["CENTER"] = "ä¸" |
--[[ zhTW ]] L["RIGHT"] = "å³" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "å·¦ä¸" |
--[[ zhTW ]] L["BOTTOMLEFT"] = "ä¸å·¦" |
--[[ zhTW ]] L["BOTTOM"] = "ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "å³ä¸" |
--[[ zhTW ]] L["BOTTOMRIGHT"] = "ä¸å³" |
----------------------------------------------------------------------------- |
end) |
--[[ zhTW ]] mL["AloftClassIcon"] = "è·æ¥å示" |
--[[ zhTW ]] mL["AloftClassIcon"] = "Aloftè·æ¥å示" |
--[[ zhTW ]] mL["Display class icons on nameplates"] = "å¨åçä¸é¡¯ç¤ºè·æ¥å示" |
----------------------------------------------------------------------------- |