From 355fa0cfe5cb6814d6ded55b14de74290a0660a4 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 11 May 2013 07:33:42 +0400 Subject: [PATCH] Isle of Thunder stuff --- ElvUI_SLE/locales/english.lua | 6 +++++- ElvUI_SLE/locales/russian.lua | 6 +++++- ElvUI_SLE/modules/datatexts/time.lua | 11 ++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua index 0d54c68..1c57be9 100755 --- a/ElvUI_SLE/locales/english.lua +++ b/ElvUI_SLE/locales/english.lua @@ -85,7 +85,11 @@ L["Panels & Dashboard"] = true L["Bosses killed: "] = true L["You didn't select any instance to track."] = true L["This LFR isn't available for your level/gear."] = true -L["SLE_AUTHOR_INFO"] = "Shadow & Light Edit by Darth Predator & Repooc" +L["Key to the Palace of Lei Shen:"] = true +L["Trove of the Thunder King:"] = true +L["Looted"] = true +L["Not looted"] = true +L["SLE_AUTHOR_INFO"] = "Shadow & Light by Darth Predator & Repooc" L["SLE_CONTACTS"] = [=[Bug reports, suggestions and other stuff accepted via: - Private Massage on TukUI.org to Darth Predator or Repooc - AddOn's page/ticket system on curse.com diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua index bbcacf3..7ec4e15 100755 --- a/ElvUI_SLE/locales/russian.lua +++ b/ElvUI_SLE/locales/russian.lua @@ -85,7 +85,11 @@ L["Panels & Dashboard"] = "Панели инфо-текстов" L["Bosses killed: "] = "Боссов убито: " L["You didn't select any instance to track."] = "Вы не выбрали подземелья для отслеживания" L["This LFR isn't available for your level/gear."] = "Это подземелье не доступно для Вашего уровня или экипировки." -L["SLE_AUTHOR_INFO"] = "Редакция \"Тень и Свет\" от Darth Predator и Repooc" +L["Key to the Palace of Lei Shen:"] = "Ключ от дворца Лэй Шэня" +L["Trove of the Thunder King:"] = "Сокровища Властелина Грома" +L["Looted"] = "Получено" +L["Not looted"] = "Не получено" +L["SLE_AUTHOR_INFO"] = "\"Тень и Свет\" от Darth Predator и Repooc" L["SLE_CONTACTS"] = [=[При возникновении вопросов, предложений и прочего обращаться: - Личное сообщение на форуме TukUI (tukui.org), ник Darth Predator или Repooc - Страница/система тикетов на curse.com diff --git a/ElvUI_SLE/modules/datatexts/time.lua b/ElvUI_SLE/modules/datatexts/time.lua index 6137ab8..5e02884 100755 --- a/ElvUI_SLE/modules/datatexts/time.lua +++ b/ElvUI_SLE/modules/datatexts/time.lua @@ -22,6 +22,8 @@ local lockoutFormatString = { "%dd %02dh %02dm", "%dd %dh %02dm", "%02dh %02dm", local curHr, curMin, curAmPm local enteredFrame = false; +local level = UnitLevel("player") + local Update, lastPanel; -- UpValue local localizedName, isActive, canQueue, startTime, canEnter local name, reset, locked, extended, isRaid, maxPlayers, difficulty, numEncounters, encounterProgress @@ -148,6 +150,8 @@ local function OnEnter(self) local Galleon = IsQuestFlaggedCompleted(32098) local Oondasta = IsQuestFlaggedCompleted(32519) local Nalak = IsQuestFlaggedCompleted(32518) + local LeiShenKey = IsQuestFlaggedCompleted(32626) + local Trove = IsQuestFlaggedCompleted(32609) DT.tooltip:AddLine(" ") DT.tooltip:AddLine(L["World Boss(s)"]) @@ -155,7 +159,12 @@ local function OnEnter(self) DT.tooltip:AddDoubleLine(L['Galleon']..':', Galleon and L['Defeated'] or L['Undefeated'], 1, 1, 1, 0.8, 0.8, 0.8) DT.tooltip:AddDoubleLine(L['Oondasta']..':', Oondasta and L['Defeated'] or L['Undefeated'], 1, 1, 1, 0.8, 0.8, 0.8) DT.tooltip:AddDoubleLine(L['Nalak']..':', Nalak and L['Defeated'] or L['Undefeated'], 1, 1, 1, 0.8, 0.8, 0.8) - + + if level == 90 then + DT.tooltip:AddDoubleLine(L["Key to the Palace of Lei Shen:"], LeiShenKey and "\124cffff0000"..L["Looted"].."\124r" or "\124cff00ff00"..L["Not looted"].."\124r", 1, 1, 1, 0.8, 0.8, 0.8) + DT.tooltip:AddDoubleLine(L["Trove of the Thunder King:"], Trove and "\124cffff0000"..L["Looted"].."\124r" or "\124cff00ff00"..L["Not looted"].."\124r", 1, 1, 1, 0.8, 0.8, 0.8) + end + local timeText local Hr, Min, AmPm = CalculateTimeValues(true) -- 1.7.9.5