Quantcast
WoWInterface - View Single Post - Hmm doing blahblah = { some stuff}
View Single Post
02-02-15, 03:21 AM   #2
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Also similar issue with my bindings code. It causes taint. Is there any way around this? the L infront of the "blahblah" portion is for translation. More or less I need to know if there is a way to do this that does not involve dumping it in the global space.
The LUA portion looks like this

Lua Code:
  1. BINDING_HEADER_GRIMUI = "----- GrimUI -----"
  2. BINDING_HEADER_WORLD_TARGET = L["World Target / Flares"]
  3. BINDING_HEADER_AUDIO_BINDING = L["Sound"]
  4. BINDING_NAME_AUDIO_BINDING_TEMPMUTE = L["Temporary Mute"]
  5. BINDING_NAME_AUDIO_BINDING_TOGGLEMUTE = L["Toggle Mute"]
  6.  
  7.  
  8. _G["BINDING_NAME_CLICK GUI_BlueFlare:LeftButton"] = L["Blue Flare"]
  9. _G["BINDING_NAME_CLICK GUI_GreenFlare:LeftButton"] = L["Green Flare"]
  10. _G["BINDING_NAME_CLICK GUI_PurpleFlare:LeftButton"] = L["Purple Flare"]
  11. _G["BINDING_NAME_CLICK GUI_RedFlare:LeftButton"] = L["Red Flare"]
  12. _G["BINDING_NAME_CLICK GUI_YellowFlare:LeftButton"] = L["Yellow Flare"]
  13. BINDING_NAME_CLEAR_WORLD_TARGETS = L["Clear all World Targets"]
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote