Commit fcb4c603 authored by Simpy's avatar Simpy 🐹
Browse files

dont auto add : to labels for these tho

parent f0d7c057
......@@ -569,14 +569,14 @@ local function OnEvent(self, event, message)
if E.global.datatexts.settings.Friends.NoLabel then
self.text:SetFormattedText(displayString, onlineFriends + numBNetOnline)
else
self.text:SetFormattedText(displayString, E.global.datatexts.settings.Friends.Label ~= '' and E.global.datatexts.settings.Friends.Label or _G.FRIENDS, onlineFriends + numBNetOnline)
self.text:SetFormattedText(displayString, E.global.datatexts.settings.Friends.Label ~= '' and E.global.datatexts.settings.Friends.Label or _G.FRIENDS..': ', onlineFriends + numBNetOnline)
end
lastPanel = self
end
local function ValueColorUpdate(hex)
displayString = strjoin('', E.global.datatexts.settings.Friends.NoLabel and '' or '%s: ', hex, '%d|r')
displayString = strjoin('', E.global.datatexts.settings.Friends.NoLabel and '' or '%s', hex, '%d|r')
if lastPanel then
OnEvent(lastPanel, 'ELVUI_COLOR_UPDATE')
......
......@@ -298,7 +298,7 @@ local function OnEvent(self, event, ...)
if E.global.datatexts.settings.Guild.NoLabel then
self.text:SetFormattedText(displayString, #guildTable)
else
self.text:SetFormattedText(displayString, E.global.datatexts.settings.Guild.Label ~= '' and E.global.datatexts.settings.Guild.Label or GUILD, #guildTable)
self.text:SetFormattedText(displayString, E.global.datatexts.settings.Guild.Label ~= '' and E.global.datatexts.settings.Guild.Label or GUILD..': ', #guildTable)
end
else
self.text:SetText(noGuildString)
......@@ -306,7 +306,7 @@ local function OnEvent(self, event, ...)
end
local function ValueColorUpdate(hex)
displayString = strjoin('', E.global.datatexts.settings.Guild.NoLabel and '' or '%s: ', hex, '%d|r')
displayString = strjoin('', E.global.datatexts.settings.Guild.NoLabel and '' or '%s', hex, '%d|r')
noGuildString = hex..L["No Guild"]
if lastPanel then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment