WoWInterface - View Single Post - TEXT is missing in 7.2
View Single Post
04-19-17, 01:54 PM   #2
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
-- This function is used to translate text (DEPRECATED: actually it's already translated as-is)
function TEXT(text)
	return text
No idea why WowLua and Prat used that and don't remember if this behaved differently in previous expanions
  Reply With Quote