mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
readme: remove obsolete discord button, add donate
This commit is contained in:
+20
-10
@@ -1345,19 +1345,29 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
||||
parent.lang:SetText(lang)
|
||||
end)
|
||||
|
||||
local discord = CreateFrame("Button", nil, this)
|
||||
discord:SetPoint("TOPLEFT", 150, -335)
|
||||
discord:SetWidth(125)
|
||||
discord:SetHeight(20)
|
||||
discord:SetText(T["Join Discord"])
|
||||
discord:SetScript("OnClick", function()
|
||||
pfUI.chat.urlcopy.CopyText("https://discord.gg/QTRKanu")
|
||||
local donate = CreateFrame("Button", nil, this)
|
||||
donate:SetPoint("TOPLEFT", 130, -335)
|
||||
donate:SetWidth(100)
|
||||
donate:SetHeight(20)
|
||||
donate:SetText(T["Donate"])
|
||||
donate:SetScript("OnClick", function()
|
||||
pfUI.chat.urlcopy.CopyText("https://ko-fi.com/shagu")
|
||||
end)
|
||||
SkinButton(discord)
|
||||
SkinButton(donate)
|
||||
|
||||
local github = CreateFrame("Button", nil, this)
|
||||
github:SetPoint("TOPLEFT", 240, -335)
|
||||
github:SetWidth(100)
|
||||
github:SetHeight(20)
|
||||
github:SetText(T["GitHub"])
|
||||
github:SetScript("OnClick", function()
|
||||
pfUI.chat.urlcopy.CopyText("https://github.com/shagu/pfUI")
|
||||
end)
|
||||
SkinButton(github)
|
||||
|
||||
local website = CreateFrame("Button", nil, this)
|
||||
website:SetPoint("TOPLEFT", 300, -335)
|
||||
website:SetWidth(125)
|
||||
website:SetPoint("TOPLEFT", 350, -335)
|
||||
website:SetWidth(100)
|
||||
website:SetHeight(20)
|
||||
website:SetText(T["Website"])
|
||||
website:SetScript("OnClick", function()
|
||||
|
||||
Reference in New Issue
Block a user