Quantcast

Add profiles.

Eyal Shilony [10-11-14 - 20:30]
Add profiles.
Filename
Options.lua
loc/enUS.lua
diff --git a/Options.lua b/Options.lua
index 4ea489e..f24300e 100644
--- a/Options.lua
+++ b/Options.lua
@@ -84,5 +84,12 @@ function options:OnInitialize()
 		}
 	})

+	local profiles = options:AddSubCategory(L["Profiles"])
+    profiles:SetDescription(L["You can change the active database profile, so you can have different settings for every character."])
+
+    local frame = LibStub("Libra"):CreateAceDBControls(addon.db, profiles)
+
+    frame:SetPoint("TOP", -100, -100);
+
 	options:SetupControls()
 end
\ No newline at end of file
diff --git a/loc/enUS.lua b/loc/enUS.lua
index 222a342..a483c27 100644
--- a/loc/enUS.lua
+++ b/loc/enUS.lua
@@ -27,4 +27,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale(addonName, "enUS", true, false)
 L["Hide icon"] = true
 L["Icon Position"] = true
 L["Hide time"] = true
-L["Time Position"] = true
\ No newline at end of file
+L["Time Position"] = true
+
+L["Profiles"] = true
+L["You can change the active database profile, so you can have different settings for every character."] = true
\ No newline at end of file