聊天室添加ui,websocket连接/断开功能拓展

This commit is contained in:
MrZ626
2020-12-05 16:53:43 +08:00
parent f5d4866996
commit 2a5242aa6e
10 changed files with 223 additions and 99 deletions

View File

@@ -86,8 +86,15 @@ return{
loginFailed="Login failed",
accessSuccessed="Successfully authorized!",
accessFailed="Authorization failed",
wsSuccessed="Websocket connected!",
wsFailed="Websocket failed to connect",
-- wsSuccessed="WS连接成功",
-- wsFailed="WS连接失败",
-- wsDisconnected="WS连接断开",
-- wsNoConn="WS未连接",
-- chatJoin="有人来了,当前人数:",
-- chatLeave="有人离开了,当前人数:",
-- chatRemain="人数:",
-- chatHistory="------以上是历史消息------",
errorMsg="An error has occurred and Techmino needs to restart.\nError info has been created, and you can send it to the author.",
@@ -215,6 +222,7 @@ return{
chat="Chat",
},
chat={
clear="Clear",
send="Send",
},
setting_game={