Skip to content

Commit

Permalink
8.2 Stuff and Localization Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jun 8, 2019
1 parent f78c2b2 commit 1b251a0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion WorldQuestTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ end
local tutorial_three = function()
local alert = CreateFrame ("frame", "WorldQuestTrackerTutorialAlert3", worldFramePOIs, "MicroButtonAlertTemplate")
alert:SetFrameLevel (302)
alert.label = "Click here to see statistics and a saved list of quests on other characters."
alert.label = L["S_TUTORIAL_STATISTICS_BUTTON"]
alert.Text:SetSpacing (4)
MicroButtonAlert_SetText (alert, alert.label)
alert:SetPoint ("bottomleft", WorldQuestTrackerStatisticsButton, "topleft", 0, 32)
Expand Down
4 changes: 2 additions & 2 deletions WorldQuestTracker_Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4714,13 +4714,13 @@ WorldQuestTracker.OnToggleWorldMap = function (self)
if (numNews > 0 and WorldQuestTracker.DoubleTapFrame and false) then --adding a false here to not show the news button for now (15/02/2019)
-- /run WorldQuestTrackerAddon.db.profile.last_news_time = 0

local openNewsButton = DF:CreateButton (WorldQuestTracker.DoubleTapFrame, WorldQuestTracker.OpenNewsWindow, 120, 20, "What's New?", -1, nil, nil, nil, nil, nil, DF:GetTemplate ("button", "WQT_NEWS_BUTTON"), DF:GetTemplate ("font", "WQT_TOGGLEQUEST_TEXT"))
local openNewsButton = DF:CreateButton (WorldQuestTracker.DoubleTapFrame, WorldQuestTracker.OpenNewsWindow, 120, 20, L["S_WHATSNEW"], -1, nil, nil, nil, nil, nil, DF:GetTemplate ("button", "WQT_NEWS_BUTTON"), DF:GetTemplate ("font", "WQT_TOGGLEQUEST_TEXT"))
openNewsButton:SetPoint ("bottom", WorldQuestTracker.DoubleTapFrame, "top", -5, 2)
WorldQuestTracker.NewsButton = openNewsButton

local numNews = DF:GetNumNews (WorldQuestTracker.GetChangelogTable(), WorldQuestTracker.db.profile.last_news_time)
if (numNews > 0) then
WorldQuestTracker.NewsButton:SetText ("What's New? (|cFFFFFF00" .. numNews .."|r)")
WorldQuestTracker.NewsButton:SetText (L["S_WHATSNEW"] .. " (|cFFFFFF00" .. numNews .. "|r)")
end
end

Expand Down
16 changes: 15 additions & 1 deletion WorldQuestTracker_IDs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ WorldQuestTracker.MapData.ZoneIDs = {
STORMSONG = 942,
DRUSTVAR = 896,
TOLDAGOR = 1169,


NAZJATAR = 1355, --patch 8.2
}

--all zones with world quests
Expand Down Expand Up @@ -113,6 +114,9 @@ WorldQuestTracker.MapData.WorldQuestZones = {
--PRE PATCH
[WorldQuestTracker.MapData.ZoneIDs.DARKSHORE] = true,
[WorldQuestTracker.MapData.ZoneIDs.ARATHI] = true,

--8.2
[WorldQuestTracker.MapData.ZoneIDs.NAZJATAR] = true,
}

--list of map ids for world quest hubs
Expand Down Expand Up @@ -166,6 +170,16 @@ WorldQuestTracker.mapTables = {
[WorldQuestTracker.MapData.ZoneIDs.AZEROTH] = true,
},
},

[WorldQuestTracker.MapData.ZoneIDs.NAZJATAR] = {
widgets = {},
Anchor_X = 0.01,
Anchor_Y = 0.08,
GrowRight = true,
show_on_map = {
[WorldQuestTracker.MapData.ZoneIDs.AZEROTH] = true,
},
},

--BFA
[1161] = { --boralus
Expand Down

0 comments on commit 1b251a0

Please sign in to comment.