Fixed some more missing locale strings.
pschifferer [01-22-09 - 20:46]
Fixed some more missing locale strings.
Added a check against subclasses when viewing a linked tradeskill.
Fixed an issue when resizing the shopping list window, again.
diff --git a/Cauldron/CauldronMain.lua b/Cauldron/CauldronMain.lua
index 4a0c0df..f6d31a2 100644
--- a/Cauldron/CauldronMain.lua
+++ b/Cauldron/CauldronMain.lua
@@ -518,7 +518,7 @@ function Cauldron:LocaleString(str)
end
function Cauldron:DisplayVersion()
- self:Print(L["Cauldron, version "],Cauldron.version);
+ self:Print(L["Version "],Cauldron.version);
end
----------------------------------------------------------------
diff --git a/Cauldron/CauldronShoppingList.xml b/Cauldron/CauldronShoppingList.xml
index 79024f0..b5b55af 100644
--- a/Cauldron/CauldronShoppingList.xml
+++ b/Cauldron/CauldronShoppingList.xml
@@ -181,7 +181,7 @@
if button == "LeftButton" then
self:GetParent():StopMovingOrSizing();
self:GetParent().isResizing = false;
- CauldronShopping:UpdateShoppingList();
+ Cauldron:UpdateShoppingList();
end
</OnMouseUp>
<OnHide>
diff --git a/Cauldron/CauldronTradeskill.lua b/Cauldron/CauldronTradeskill.lua
index 1cd13ca..b92184f 100644
--- a/Cauldron/CauldronTradeskill.lua
+++ b/Cauldron/CauldronTradeskill.lua
@@ -133,12 +133,14 @@ function Cauldron:UpdateSkills()
skillDB.recipes[name].keywords = keywords;
else
-- save the header name
- category = name;
-
- -- expand the header, so we get all the skills
- if not expanded then
- ExpandTradeSkillSubClass(i);
- end
+ if name then
+ category = name;
+
+ -- expand the header, so we get all the skills
+ if not expanded then
+ ExpandTradeSkillSubClass(i);
+ end
+ end
end
end
diff --git a/Cauldron/Locale/Cauldron-enUS.lua b/Cauldron/Locale/Cauldron-enUS.lua
index 8f5f13d..1fdbc28 100644
--- a/Cauldron/Locale/Cauldron-enUS.lua
+++ b/Cauldron/Locale/Cauldron-enUS.lua
@@ -7,6 +7,7 @@ if not L then return end
--
L["Cauldron"] = true
L["Cauldron loaded; version "] = true
+L["Version "] = true
L["Current log level: "] = true
L["Setting log level: "] = true
L["Config"] = true