Added tranliterate into the icon tooltip

This commit is contained in:
Tercio Jose
2024-06-01 12:52:52 -03:00
parent cd16ce7590
commit 9605299be0
5 changed files with 17 additions and 4 deletions
+5
View File
@@ -408,6 +408,11 @@ function detailsFramework:NewLabel(parent, container, name, member, text, font,
--if template has been passed as the third parameter
if (size and type(size) == "table") then
labelObject:SetTemplate(size)
--check if a template was passed as the 3rd argument
elseif (size and type(size) == "string") then
local template = detailsFramework:ParseTemplate(labelObject.type, size)
labelObject:SetTemplate(template)
end
return labelObject