From 59088a5d3b073a6cda57514f4012e1e140d8b71e Mon Sep 17 00:00:00 2001 From: JerichoR Date: Wed, 1 Oct 2025 21:32:52 +0200 Subject: [PATCH] Localization for character data text display --- Tukui/Modules/DataTexts/Elements/Character.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tukui/Modules/DataTexts/Elements/Character.lua b/Tukui/Modules/DataTexts/Elements/Character.lua index 4d67add8..6d705ae3 100644 --- a/Tukui/Modules/DataTexts/Elements/Character.lua +++ b/Tukui/Modules/DataTexts/Elements/Character.lua @@ -23,7 +23,7 @@ local Update = function(self) local durability = floor(L.DataText.Slots[1][3] * 100) local r, g, b = T.ColorGradient(durability, 100, 0.8, 0, 0, 0.8, 0.8, 0, 0, 0.8, 0) - self.Text:SetFormattedText("Durability |cff%02x%02x%02x%s%%|r", r * 255, g * 255, b * 255, durability) + self.Text:SetFormattedText("%s |cff%02x%02x%02x%s%%|r", DURABILITY, r * 255, g * 255, b * 255, durability) end local OnEnter = function(self)