add zhCN locale
This commit is contained in:
+3
-2
@@ -1,10 +1,11 @@
|
||||
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
|
||||
Cursive = AceLibrary("AceAddon-2.0"):new("AceEvent-2.0", "AceDebug-2.0", "AceModuleCore-2.0", "AceConsole-2.0", "AceDB-2.0", "AceHook-2.1")
|
||||
Cursive.superwow = true
|
||||
|
||||
if not GetPlayerBuffID or not CombatLogAdd or not SpellInfo then
|
||||
local notify = CreateFrame("Frame", nil, UIParent)
|
||||
notify:SetScript("OnUpdate", function()
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffffcc00Cursive:|cffffaaaa Couldn't detect SuperWoW.")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(L["|cffffcc00Cursive:|cffffaaaa Couldn't detect SuperWoW."])
|
||||
this:Hide()
|
||||
end)
|
||||
|
||||
@@ -12,7 +13,7 @@ if not GetPlayerBuffID or not CombatLogAdd or not SpellInfo then
|
||||
end
|
||||
|
||||
function Cursive:OnEnable()
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffffcc00Cursive:|cffffaaaa Loaded. /cursive for commands and minimap icon for options.")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(L["|cffffcc00Cursive:|cffffaaaa Loaded. /cursive for commands and minimap icon for options."])
|
||||
|
||||
Cursive.curses:LoadCurses()
|
||||
if Cursive.db.profile.enabled then
|
||||
|
||||
Reference in New Issue
Block a user