From c43ebddb16e3534aa28c96bdd96a5e3a28fd24e9 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 24 Nov 2012 11:04:57 -0500 Subject: [PATCH] Added SLE Version in version.lua Signed-off-by: Repooc --- ElvUI_SLE/modules/datatexts/version.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/datatexts/version.lua b/ElvUI_SLE/modules/datatexts/version.lua index 379053d..1998cb0 100644 --- a/ElvUI_SLE/modules/datatexts/version.lua +++ b/ElvUI_SLE/modules/datatexts/version.lua @@ -1,6 +1,7 @@ --Version datatext. Only in Russian for now. local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore local DT = E:GetModule('DataTexts') +local SLE = E:GetModule('SLE') local displayString = ''; local lastPanel; @@ -27,7 +28,7 @@ local function OnEnter(self) end local function ValueColorUpdate(hex, r, g, b) - displayString = string.join("", "%s", hex, "%.2f|r", " : Shadow & Light Edit") + displayString = string.join("", "%s", hex, "%.2f|r", " : Shadow & Light Edit v"..SLE.version) if lastPanel ~= nil then OnEvent(lastPanel) -- 1.7.9.5