Quantcast

Shorten the text

Eyal Solnik [10-03-15 - 08:35]
Shorten the text
Filename
Shared.lua
diff --git a/Shared.lua b/Shared.lua
index 35b5c47..83d07e7 100644
--- a/Shared.lua
+++ b/Shared.lua
@@ -49,9 +49,9 @@ function addon:Paste()
 	local level = UnitLevel("player")

 	if rested ~= 0 then
-		text = format("Current Level: %s XP: %.1f%% Rested: %.1f%% [Bubbles: %.0f / %s]", level, xpPercent, restedPercent, bubbles, MAX_BUBBLES)
+		text = format("[Current Level %s] XP: %.1f%% (%.1f%%)", level, xpPercent, restedPercent)
 	else
-		text = format("Current Level: %s XP: %.1f%% [Bubbles: %.0f / %s]", level, xpPercent, bubbles, MAX_BUBBLES)
+		text = format("[Current Level %s] XP: %.1f%%", level, xpPercent)
 	end

 	ChatFrame_OpenChat(text)