Initial update for 8.0
Jim Whitehead [07-20-18 - 09:58]
diff --git a/WowLua.lua b/WowLua.lua
index cc0367e..37dcd17 100644
--- a/WowLua.lua
+++ b/WowLua.lua
@@ -394,8 +394,8 @@ end
StaticPopupDialogs["WOWLUA_SAVE_AS"] = {
text = L.SAVE_AS_TEXT,
- button1 = TEXT(OKAY),
- button2 = TEXT(CANCEL),
+ button1 = OKAY and OKAY or "Okay",
+ button2 = CANCEL and CANCEL or "Cancel",
OnAccept = function(self)
local name = self:GetName().."EditBox"
local button = _G[name]
@@ -515,8 +515,8 @@ end
StaticPopupDialogs["WOWLUA_UNSAVED"] = {
text = L.UNSAVED_TEXT,
- button1 = TEXT(OKAY),
- button2 = TEXT(CANCEL),
+ button1 = OKAY and OKAY or "Okay",
+ button2 = CANCEL and CANCEL or "Cancel",
OnAccept = function(self)
local page,entry = WowLua:GetCurrentPage()
WowLuaFrameEditBox:SetText(entry.content)
diff --git a/WowLua.toc b/WowLua.toc
index a414586..8280f6b 100644
--- a/WowLua.toc
+++ b/WowLua.toc
@@ -1,4 +1,4 @@
-## Interface: 70300
+## Interface: 80000
## Title: WowLua
## Version: @project-version@
## Author: Cladhaire