Some crap
Darthpred [11-24-12 - 07:48]
diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua
index 019cc34..6357813 100644
--- a/ElvUI_SLE/ElvUI_SLE.lua
+++ b/ElvUI_SLE/ElvUI_SLE.lua
@@ -3,6 +3,8 @@ local SLE = E:NewModule('SLE', 'AceHook-3.0', 'AceEvent-3.0');
local UF = E:GetModule('UnitFrames');
local DTP
+SLE.version = GetAddOnMetadata("ElvUI_SLE", "Version")
+
function SLE:Tutorials() --Additional tutorials
table.insert(E.TutorialList, #(E.TutorialList)+1, L["To enable full values of health/power on unitframes in Shadow & Light add \":sl\" to the end of the health/power tag.\nExample: [health:current:sl]."]);
end
@@ -76,7 +78,6 @@ end
function SLE:Initialize()
- SLE.version = GetAddOnMetadata("ElvUI_SLE", "Version")
DTP = E:GetModule('DTPanels')
if E.private.unitframe.enable then
self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator);
diff --git a/ElvUI_SLE/modules/options.lua b/ElvUI_SLE/modules/options.lua
index a3e3a1b..ee888b5 100644
--- a/ElvUI_SLE/modules/options.lua
+++ b/ElvUI_SLE/modules/options.lua
@@ -14,7 +14,7 @@ E.Options.args.sle = {
header = {
order = 1,
type = "header",
- name = L["Shadow & Light Edit of ElvUI"],
+ name = L["Shadow & Light Edit of ElvUI"]..format(": |cff99ff33%s|r", SLE.version),
},
info = {
order = 2,