wow插件elvui聊天模块不支持中文解决办法
Solution for supporting Chinese:
找到interface\addons\ElvUI\media\sharedmedia.lua
修改
LSM:Register("font","ElvUI Font", [[Interface\AddOns\ElvUI\media\fonts\PT_Sans_Narrow.ttf]])
用中文字体替换Interface\AddOns\ElvUI\media\fonts\PT_Sans_Narrow.ttf文件。
Cancel filter Chinese:
找到interface\addons\ElvUI\modules\chat\spam.lua文件
code:
function CH:SpamFilter(event, msg)
for blockMessage in pairs(blockMessages) do
if strfind(msg, blockMessage) then
return true //true改为false
end
end
end
找到interface\addons\ElvUI\media\sharedmedia.lua
修改
LSM:Register("font","ElvUI Font", [[Interface\AddOns\ElvUI\media\fonts\PT_Sans_Narrow.ttf]])
用中文字体替换Interface\AddOns\ElvUI\media\fonts\PT_Sans_Narrow.ttf文件。
Cancel filter Chinese:
找到interface\addons\ElvUI\modules\chat\spam.lua文件
code:
function CH:SpamFilter(event, msg)
for blockMessage in pairs(blockMessages) do
if strfind(msg, blockMessage) then
return true //true改为false
end
end
end