Quantcast

Adding missing locale object references.

pschifferer [12-17-09 - 04:09]
Adding missing locale object references.
Filename
CauldronMain.lua
CauldronQueue.lua
CauldronShoppingListUI.lua
CauldronUtil.lua
diff --git a/CauldronMain.lua b/CauldronMain.lua
index e653eef..fdb505d 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -276,6 +276,7 @@ function Cauldron:OnAddonLoaded(event, addon)
 	self:debug("OnAddonLoaded enter");
 --@end-alpha@

+	--[[
 	-- show the shopping list?
 	if self.db.profile.showShoppingList then
 		Cauldron:ShowShoppingList();
@@ -284,6 +285,7 @@ function Cauldron:OnAddonLoaded(event, addon)
 			Cauldron:ShowShoppingList();
 		end
 	end
+	--]]

 --@alpha@
 	self:debug("OnAddonLoaded exit");
diff --git a/CauldronQueue.lua b/CauldronQueue.lua
index 8059500..e426d2b 100644
--- a/CauldronQueue.lua
+++ b/CauldronQueue.lua
@@ -1,6 +1,8 @@
 -- $Revision$
 -- Cauldron queue management functions

+local L = LibStub("AceLocale-3.0"):GetLocale("Cauldron")
+
 CauldronQueue = {};

 --[[
diff --git a/CauldronShoppingListUI.lua b/CauldronShoppingListUI.lua
index 374b1eb..c3b26e9 100644
--- a/CauldronShoppingListUI.lua
+++ b/CauldronShoppingListUI.lua
@@ -1,6 +1,8 @@
 -- $Revision$
 -- Cauldron shopping list UI functions

+local L = LibStub("AceLocale-3.0"):GetLocale("Cauldron")
+
 function Cauldron:ShoppingList_Toggle()

 	if CauldronShoppingListFrame then
diff --git a/CauldronUtil.lua b/CauldronUtil.lua
index dd4b2d9..3812264 100644
--- a/CauldronUtil.lua
+++ b/CauldronUtil.lua
@@ -1,6 +1,8 @@
 -- $Revision$
 -- Cauldron utility functions

+local L = LibStub("AceLocale-3.0"):GetLocale("Cauldron")
+
 function Cauldron:IsVendorItem(item)

 	if (not item) or (type(item) ~= "number") then