<commit_before>-- Call the Confirm_GP popup like this:
--
--local itemID = 34541  -- (debug)
--
--local itemName, itemLink, itemRarity, _, _, _, _, _, _, itemTexture = GetItemInfo(itemID) 
--local r, g, b = GetItemQualityColor(itemRarity);
--
--StaticPopup_Show("EPGP_CONFIRM_GP_CREDIT", "", "", {["texture"] = itemTexture, ["name"] = itemName, ["color"] = {r, g, b, 1}, ["link"] = itemLink, ["index"] = nil, ["count"] = 1});


StaticPopupDialogs["EPGP_CONFIRM_GP_CREDIT"] = {
	text = EPGP_TEXT_CONFIRM_GP_CREDIT,
	button1 = "Full",
	button3 = "Offspec",
	button2 = CANCEL,
	timeout = 0,
	whileDead = 1,
	maxLetters = 16,
	hideOnEscape = 1,
	hasEditBox = 1,
	hasItemFrame = 1,
	
	OnAccept = function()
	--todo : hook it!
	end,
	<commit_msg>Minor adjustment in popups.lua, forgot the EPGP_TEXT_CONFIRM_GP_CREDIT string!<commit_after>-- Call the Confirm_GP popup like this:
--
--local itemID = 34541  -- (debug)
--
--local itemName, itemLink, itemRarity, _, _, _, _, _, _, itemTexture = GetItemInfo(itemID) 
--local r, g, b = GetItemQualityColor(itemRarity);
--
--StaticPopup_Show("EPGP_CONFIRM_GP_CREDIT", "", "", {["texture"] = itemTexture, ["name"] = itemName, ["color"] = {r, g, b, 1}, ["link"] = itemLink, ["index"] = nil, ["count"] = 1});

EPGP_TEXT_CONFIRM_GP_CREDIT = "Add GP to member"

StaticPopupDialogs["EPGP_CONFIRM_GP_CREDIT"] = {
	text = EPGP_TEXT_CONFIRM_GP_CREDIT,
	button1 = "Full",
	button3 = "Offspec",
	button2 = CANCEL,
	timeout = 0,
	whileDead = 1,
	maxLetters = 16,
	hideOnEscape = 1,
	hasEditBox = 1,
	hasItemFrame = 1,
	
	OnAccept = function()
	--todo : hook it!
	end,
	
{'fraction_non_alphanumeric': 0.17314930991217065, 'fraction_numerical': 0.02132998745294856, 'mean_word_length': 4.406779661016949, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '851772', 'n_tokens_mistral': 669, 'n_tokens_neox': 632, 'n_words': 142}