Quantcast
WoWInterface - View Single Post - TEXT is missing in 7.2
View Single Post
04-19-17, 01:54 PM   #2
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 940
Originally Posted by galvin View Post
Wowlua is calling TEXT(OKAY) and TEXT(CANCEL), my guess is text is a textbox object? and those are buttons.

I don't know if I'm just wrong but as you can see TEXT() is simply a function that returns its argument
https://github.com/Gethe/wow-ui-sour...ls.xml#L54-L59
Code:
-- This function is used to translate text (DEPRECATED: actually it's already translated as-is)
function TEXT(text)
	return text
end
No idea why WowLua and Prat used that and don't remember if this behaved differently in previous expanions
  Reply With Quote