Start adding the locales
Scott Sibley [10-03-10 - 19:47]
diff --git a/.pkgmeta b/.pkgmeta
index 7ee0693..00803e3 100644
--- a/.pkgmeta
+++ b/.pkgmeta
@@ -37,11 +37,12 @@ externals:
Libs/AceSerializer-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceSerializer-3.0
tag: latest
+ Libs/AceLocale-3.0:
+ url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceLocale-3.0
+ tag: latest
Libs/LibSharedMedia-3.0:
url: svn://svn.wowace.com/wow/libsharedmedia-3-0/mainline/trunk
tag: latest
- Libs/LibTalentQuery-1.0:
- url: svn://svn.wowace.com/wow/libtalentquery-1-0/mainline/trunk
Libs/LibDBIcon-1.0:
url: svn://svn.wowace.com/wow/libdbicon-1-0/mainline/trunk/LibDBIcon-1.0
tag: latest
diff --git a/StarTip.lua b/StarTip.lua
index 4dc4047..0fff870 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -10,10 +10,9 @@ local LDB = LibStub:GetLibrary("LibDataBroker-1.1")
local AceConfigDialog = LibStub("AceConfigDialog-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale("StarTip")
-local LibCore = LibStub("LibScriptableDisplayCore-1.0", true)
-assert(LibCore, MAJOR .. " requires LibScriptableDisplayCore-1.0")
-local LibTimer = LibStub("LibScriptableDisplayTimer-1.0", true)
-assert(LibTimer, MAJOR .. " requires LibScriptableDisplayTimer-1.0")
+local LibCore = LibStub("LibScriptableDisplayCore-1.0")
+local LibTimer = LibStub("LibScriptableDisplayTimer-1.0")
+local PluginTalents = LibStub("LibScriptableDisplayPluginTalents-1.0")
local _G = _G
local GameTooltip = _G.GameTooltip
@@ -617,6 +616,9 @@ function StarTip.OnTooltipSetUnit(...)
StarTip.fading = false
StarTip.unit = unit
+
+ PluginTalents.SendQuery(unit)
+
--[[
if not UnitExists("mouseover") then
if UnitInRaid("player") then
diff --git a/StarTip.toc b/StarTip.toc
index a512b43..0b975b2 100644
--- a/StarTip.toc
+++ b/StarTip.toc
@@ -15,10 +15,10 @@
Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua
-Localization\enUS.lua
-
embeds.xml
+Localization\enUS.lua
+
StarTip.lua
modules.xml
diff --git a/embeds.xml b/embeds.xml
index a23d71e..32e04b3 100644
--- a/embeds.xml
+++ b/embeds.xml
@@ -13,6 +13,7 @@
<Include file = "Libs\AceTimer-3.0\AceTimer-3.0.xml"/>
<Include file = "Libs\AceComm-3.0\AceComm-3.0.xml"/>
<Include file = "Libs\AceSerializer-3.0\AceSerializer-3.0.xml"/>
+<Include file = "Libs\AceLocale-3.0\AceLocale-3.0.xml"/>
<Include file = "Libs\LibSharedMedia-3.0\lib.xml"/>
<Include file = "Libs\LibMobHealth-4.0\lib.xml"/>