Quantcast

Fixed chinese loading

Mikeprod [11-16-16 - 08:11]
Fixed chinese loading
Filename
locales/locales.xml
locales/zhCN.lua
diff --git a/locales/locales.xml b/locales/locales.xml
index 1bb3fff..2933dde 100644
--- a/locales/locales.xml
+++ b/locales/locales.xml
@@ -3,4 +3,5 @@
   <Script file="deDE.lua"/>
   <Script file="frFR.lua"/>
   <Script file="ruRU.lua"/>
+  <Script file="zhCN.lua"/>
 </Ui>
diff --git a/locales/zhCN.lua b/locales/zhCN.lua
index e2ffde8..553536c 100644
--- a/locales/zhCN.lua
+++ b/locales/zhCN.lua
@@ -1,6 +1,7 @@
 local AddOnName, Engine = ...;
 local AceLocale = LibStub:GetLibrary("AceLocale-3.0");
-local L = AceLocale:NewLocale(AddOnName, "zhCN", true, false);
+local L = AceLocale:NewLocale(AddOnName, "zhCN", false, false);
+if not L then return end

 L['Modules'] = "模块";
 L['Left-Click'] = "左键单击";