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
@@ -101,9 +101,9 @@ Results will print here when done.]],
["|cff00ff00%02d|r|cffffffffsec|r"] = true,
["Manually modified %s\'s note. EPGP was %s"] = true,
["|cffff0000Manually modified %s\'s note. EPGP was %s|r"] = true,
["Whisper me + for %s (mainspec)"] = true,
["Whisper me - for %s (offspec)"] = true,
["Whisper me + or - for %s (mainspec or offspec)"] = true,
["Whisper %s a + for %s (mainspec)"] = true,
["Whisper %s a - for %s (offspec)"] = true,
["Whisper %s a + or - for %s (mainspec or offspec)"] = true,
["Click $MS or $OS for %s"] = true,
["or $OS "] = true,
["$MS or "] = true,
@@ -306,9 +306,9 @@ L:RegisterTranslations("zhCN", function() return {
["|cff00ff00%02d|r|cffffffffsec|r"] = "|cff00ff00%02d|r|cffffffff秒|r",
["Manually modified %s\'s note. EPGP was %s"] = "手动修改 %s\'s 记录. EPGP 是 %s",
["|cffff0000Manually modified %s\'s note. EPGP was %s|r"] = "|cffff0000手动修改 %s\'s 记录. EPGP 是 %s|r",
["Whisper me + for %s (mainspec)"] = "私聊我 + %s (主天赋)",
["Whisper me - for %s (offspec)"] = "私聊我 - %s (副天赋)",
["Whisper me + or - for %s (mainspec or offspec)"] = "私聊我 + 或者 - %s (主天赋或副天赋)",
["Whisper %s a + for %s (mainspec)"] = "Whisper %s a + for %s (mainspec)", -- needs new translation
["Whisper %s a - for %s (offspec)"] = "Whisper %s a - for %s (offspec)", -- needs new translation
["Whisper %s a + or - for %s (mainspec or offspec)"] = "Whisper %s a + or - for %s (mainspec or offspec)", -- needs new translation
["Click $MS or $OS for %s"] = "Click $MS 或 $OS for %s",
["or $OS "] = "或 $OS ",
["$MS or "] = "$MS 或 ",
+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
+1 -1
View File
@@ -7,7 +7,7 @@
## X-Website: https://github.com/Road-block/shootyepgp/releases/latest
## X-Category: Guild
## X-Credits: shooty, Qcat(zhCN)
## Version: 3.50.3
## Version: 3.50.4
## X-Alpha:
## OptionalDeps: Ace2
## SavedVariables: sepgp_saychannel, sepgp_groupbyclass, sepgp_groupbyarmor, sepgp_groupbyrole, sepgp_raidonly, sepgp_dbver, sepgp_debug