From cc25aead30dcebac4e95a6619f6b38efc21fa7fe Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Thu, 16 Feb 2017 22:53:24 +0100 Subject: [PATCH] Display information about the ctrl key usage --- GarrisonCommander.lua | 3 ++- ShipYard.lua | 3 ++- quick.lua | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index 89657fd..9179da5 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1690,7 +1690,8 @@ print("Setup") local tabQ=CreateFrame("Button",nil,GMF,"SpellBookSkillLineTabTemplate") GMF.tabQ=tabQ tabQ.tooltip=L["Automatically process completed missions and schedules new ones."].."\n".. - format(L["Check %s in mission control in order to be also logged out"],L["Auto Logout"]) + format(L["Check %s in mission control in order to be also logged out"],L["Auto Logout"]) .. "\n" .. + C(format(L["Keep pressed %s while opening table to automate processing"],CTRL_KEY),"green") tabQ:SetNormalTexture("Interface\\ICONS\\Ability_Rogue_Sprint.blp") tabQ:SetPushedTexture("Interface\\ICONS\\Ability_Rogue_Sprint.blp") tabQ:Show() diff --git a/ShipYard.lua b/ShipYard.lua index 90ce560..474f6db 100644 --- a/ShipYard.lua +++ b/ShipYard.lua @@ -85,7 +85,8 @@ function module:OnInitialize() local tabQ=CreateFrame("Button",nil,GSF,"SpellBookSkillLineTabTemplate") GSF.tabQ=tabQ tabQ.tooltip=L["Automatically process completed missions and schedules new ones."].."\n".. - format(L["Check %s in mission control in order to be also logged out"],L["Auto Logout"]) + format(L["Check %s in mission control in order to be also logged out"],L["Auto Logout"]) .. "\n" .. + C(format(L["Keep pressed %s while opening table to automate processing"],CTRL_KEY),"green") tabQ:SetNormalTexture("Interface\\ICONS\\Ability_Rogue_Sprint.blp") tabQ:SetPushedTexture("Interface\\ICONS\\Ability_Rogue_Sprint.blp") tabQ:Show() diff --git a/quick.lua b/quick.lua index 701d39b..e7ba230 100644 --- a/quick.lua +++ b/quick.lua @@ -96,7 +96,8 @@ function addon:RunQuick(force) return end if not IsShiftKeyDown() and not force then - self:Popup(L["Are you sure to start Garrison Commander Auto Pilot?\n(Keep shift pressed while clicking to avoid this question)"],10, + self:Popup(L["Are you sure to start Garrison Commander Auto Pilot?\n(Keep shift pressed while clicking to avoid this question)"].."\n" .. + C(format(L["Keep pressed %s while opening table to automate processing"],CTRL_KEY),"green"),10, function() StaticPopup_Hide("LIBINIT_POPUP") return addon:RunQuick(true) -- 1.7.9.5