Fix quest translations + update README
This commit is contained in:
parent
a5808f34ed
commit
5a584f1ecb
13 changed files with 1734 additions and 54 deletions
|
@ -146,6 +146,10 @@ end
|
|||
local function UpdateTranslationInfoFrame(frameEvent)
|
||||
local selectedQuestIndex, questId, questData, itemName
|
||||
|
||||
if TranslationInfoFrame:IsShown() then
|
||||
TranslationInfoFrame:Hide()
|
||||
end
|
||||
|
||||
if QuestLogFrame:IsShown() then
|
||||
selectedQuestIndex = GetQuestLogSelection()
|
||||
|
||||
|
@ -189,10 +193,6 @@ local function UpdateTranslationInfoFrame(frameEvent)
|
|||
-80
|
||||
)
|
||||
elseif frameEvent == "QUEST_COMPLETE" then
|
||||
if CzechQuestsOptions["DEBUG_MODE"] then
|
||||
QuestDoneFrame:Show()
|
||||
QuestDoneFrame.text:SetText("Quest #" .. questId .. " is DONE!")
|
||||
end
|
||||
ShowTranslatedQuestFrame(
|
||||
questId,
|
||||
questData.title,
|
||||
|
@ -235,10 +235,10 @@ TranslationInfoFrame:SetScript("OnEvent", function(self, event, ...)
|
|||
UpdateTranslationInfoFrame(event)
|
||||
end
|
||||
|
||||
if (event == "ITEM_TEXT_READY") then
|
||||
UpdateTranslationInfoFrame(event)
|
||||
end
|
||||
end)
|
||||
if (event == "ITEM_TEXT_READY") then
|
||||
UpdateTranslationInfoFrame(event)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Hover is enabled only for QuestLogFrame because i do know event for change quest from list
|
||||
local function SetHoverScripts(frame, children)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue