Quantcast TEXT is missing in 7.2 - WoWInterface
Thread Tools Display Modes
04-19-17, 11:14 AM   #1
galvin
A Cobalt Mageweaver
Join Date: Nov 2006
Posts: 236
TEXT is missing in 7.2

Prat and wowlua access this, but blizzard removed it. I thought it was changed to text cause of this
https://www.townlong-yak.com/framexm...d_7_2_5.lua#39

Wowlua is calling TEXT(OKAY) and TEXT(CANCEL), my guess is text is a textbox object? and those are buttons.
  Reply With Quote
04-19-17, 01:54 PM   #2
Ketho
A Molten Giant
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 847
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
04-19-17, 02:16 PM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 891
Given that it's listed under Localisation, I presume it once did more. A lot of addons use it currently, Clique, Prat, MoveAnything, XLoot etc.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle and Move Pad Plus.
  Reply With Quote
04-19-17, 03:12 PM   #4
galvin
A Cobalt Mageweaver
Join Date: Nov 2006
Posts: 236
Ok I get it now, thanks
  Reply With Quote

WoWInterface » PTR » PTR API and Graphics Changes » TEXT is missing in 7.2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off