Quantcast

stuff

Darthpred [03-01-13 - 05:39]
stuff
Filename
ElvUI_SLE/ElvUI_SLE.lua
ElvUI_SLE/modules/install/install.lua
diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua
index 5266cc9..728181e 100644
--- a/ElvUI_SLE/ElvUI_SLE.lua
+++ b/ElvUI_SLE/ElvUI_SLE.lua
@@ -82,7 +82,7 @@ E.PopupDialogs["ELVUI_SLE_REPOOC"] = {
 	whileDead = 1,
 }
 E.PopupDialogs["ELVUI_SLE_AFFINITII"] = {
-	text = L["Would you like to load Affinitii's additional addon settings? Note: This will add a new profile in the addons that he has settings for and set your current profile to the newly made profile."],
+	text = L["Would you like to load additional addon settings from this profile's author? Note: This will add a new profile in the addons that he has settings for and set your current profile to the newly made profile."],
 	button1 = YES,
 	button2 = NO,
 	OnAccept = function(self)
@@ -96,7 +96,7 @@ E.PopupDialogs["ELVUI_SLE_AFFINITII"] = {
 	hideOnEscape = false,
 }
 E.PopupDialogs["ELVUI_SLE_DARTH"] = {
-	text = L["Do you want to also apply character based settings?"],
+	text = L["Would you like to load additional addon settings from this profile's author? Note: This will add a new profile in the addons that he has settings for and set your current profile to the newly made profile."],
 	button1 = YES,
 	button2 = NO,
 	OnAccept = function(self)
diff --git a/ElvUI_SLE/modules/install/install.lua b/ElvUI_SLE/modules/install/install.lua
index 9e0bedd..b9c8258 100644
--- a/ElvUI_SLE/modules/install/install.lua
+++ b/ElvUI_SLE/modules/install/install.lua
@@ -751,7 +751,7 @@ local function SetupAuras(style)
 end


-function E:DarthSetup(private) --The function to switch from classic ElvUI settings to Darth's
+function E:DarthSetup(loadAddons) --The function to switch from classic ElvUI settings to Darth's
 	InstallStepComplete.message = L["Darth's Defaults Set"]
 	InstallStepComplete:Show()
 	E:CopyTable(E.db, P)
@@ -1272,7 +1272,7 @@ function E:DarthSetup(private) --The function to switch from classic ElvUI setti
 	E.db.loclite.trans = true

 	--Loading private settings--
-	if private then
+		E.private.general.dmgfont = "ElvUI Font"
 		E.private.sle.farm.enable = true
 		E.private.sle.farm.seedtrash = true
 		E.private.sle.equip.spam = true
@@ -1282,7 +1282,6 @@ function E:DarthSetup(private) --The function to switch from classic ElvUI setti
 		E.private.skins.addons.EmbedSkada = true
 		E.private.skins.addons.EmbedOoC = true
 		E.private.skins.addons.AlwaysTrue = true
-	end

 	--Moving stuff--
 	do
@@ -1373,6 +1372,10 @@ function E:DarthSetup(private) --The function to switch from classic ElvUI setti
 		E.db.movers.FarmToolMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-175211"
 	end

+	if loadAddons then
+		AI:LoadAddons("Darth, All")
+	end
+
 	E:UpdateAll(true)
 end