Quantcast

No need to use GetLocale() -- the locale table is stored in Ovale.L

Johnny C. Lam [03-23-13 - 21:37]
No need to use GetLocale() -- the locale table is stored in Ovale.L

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@808 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleOptions.lua
diff --git a/OvaleOptions.lua b/OvaleOptions.lua
index 23a59c0..80a169b 100644
--- a/OvaleOptions.lua
+++ b/OvaleOptions.lua
@@ -14,6 +14,7 @@ local OvaleOptions = Ovale:NewModule("OvaleOptions", "AceConsole-3.0", "AceEvent
 Ovale.OvaleOptions = OvaleOptions

 --<private-static-properties>
+local L = Ovale.L
 local OvaleData = Ovale.OvaleData
 local OvalePaperDoll = Ovale.OvalePaperDoll
 local OvaleScripts = Ovale.OvaleScripts
@@ -33,7 +34,6 @@ OvaleOptions.db = nil
 local AceConfig = LibStub("AceConfig-3.0")
 local AceConfigDialog = LibStub("AceConfigDialog-3.0")
 local LibDualSpec = LibStub("LibDualSpec-1.0")
-local L = LibStub("AceLocale-3.0"):GetLocale("Ovale")

 --GUI option
 local self_options =