From ab57bd72ded0e9a902228a3ac99bb3bd70c1db7a Mon Sep 17 00:00:00 2001 From: Road-block Date: Fri, 29 Jun 2018 06:10:09 +0300 Subject: [PATCH] change masterlooter bid announce to include the masterlooter name --- localization.lua | 12 ++++++------ shootyepgp.lua | 12 ++++++------ shootyepgp.toc | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/localization.lua b/localization.lua index 6b19a07..0e7bc41 100644 --- a/localization.lua +++ b/localization.lua @@ -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 或 ", diff --git a/shootyepgp.lua b/shootyepgp.lua index 8bf0157..73f7d2b 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -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 diff --git a/shootyepgp.toc b/shootyepgp.toc index f55b4d2..6de6f8d 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -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