change masterlooter bid announce to include the masterlooter name

This commit is contained in:
Road-block
2018-06-29 06:10:09 +03:00
parent e63b16a031
commit ab57bd72de
3 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -821,11 +821,11 @@ function sepgp:LootFrameItem_OnClick(button,data)
local itemLink = GetLootSlotLink(slot)
if (itemLink) then
if button == "LeftButton" then
self:widestAudience(string.format(L["Whisper me + for %s (mainspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a + for %s (mainspec)"],sepgp._playerName,itemLink))
elseif button == "RightButton" then
self:widestAudience(string.format(L["Whisper me - for %s (offspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a - for %s (offspec)"],sepgp._playerName,itemLink))
elseif button == "MiddleButton" then
self:widestAudience(string.format(L["Whisper me + or - for %s (mainspec or offspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a + or - for %s (mainspec or offspec)"],sepgp._playerName,itemLink))
end
end
end
@@ -855,13 +855,13 @@ function sepgp:ContainerFrameItemButton_OnClick(button,ignoreModifiers)
local bind = self:itemBinding(itemString) or ""
if (bind == self.VARS.boe) then
if button == "LeftButton" then
self:widestAudience(string.format(L["Whisper me + for %s (mainspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a + for %s (mainspec)"],sepgp._playerName,itemLink))
return
elseif button == "RightButton" then
self:widestAudience(string.format(L["Whisper me - for %s (offspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a - for %s (offspec)"],sepgp._playerName,itemLink))
return
elseif button == "MiddleButton" then
self:widestAudience(string.format(L["Whisper me + or - for %s (mainspec or offspec)"],itemLink))
self:widestAudience(string.format(L["Whisper %s a + or - for %s (mainspec or offspec)"],sepgp._playerName,itemLink))
return
end
end