diff --git a/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CN.json b/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CN.json index e606898a..fa0fe9bd 100644 --- a/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CN.json +++ b/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CN.json @@ -26,9 +26,9 @@ "VoipBackgroundError": "VOIP背景服务错误: {0}" }, "McWss": { - "Badge": null, - "Connected": null, - "Disconnected": null + "Badge": "McWss", + "Connected": "McWss 连接已建立: {0}", + "Disconnected": "McWss 连接已断开!" } }, "Home": { @@ -80,7 +80,7 @@ "EchoCancelers": "回声消除器", "InputDevices": "输入设备", "MicrophoneSensitivity": "麦克风灵敏度", - "OutputVolume": null, + "OutputVolume": "输出音量", "OutputDevices": "输出设备", "TestOutput": "测试输出", "MicrophoneTest": { @@ -90,8 +90,8 @@ }, "Network": { "Network": "网络设置", - "PositioningType": null, - "McWssListenIp": null, + "PositioningType": "定位类型", + "McWssListenIp": "MCWSS 监听IP地址", "McWssHostPort": "MCWSS主机端口" }, "HotKey": { @@ -116,11 +116,11 @@ "ServerInfo": { "ServerInfo": "服务器信息", "Status": { - "Latency": "延迟: {latency}", - "Motd": "Motd: {motd}", - "PositioningType": "定位类型: {positioningType}", - "ConnectedClients": "已连接客户端: {connectedClients}", - "Version": null, + "Latency": "延迟: {0}", + "Motd": "Motd: {0}", + "PositioningType": "定位类型: {0}", + "ConnectedClients": "已连接客户端: {0}", + "Version": "版本: {0}", "Pinging": "正在Ping..." } } @@ -147,22 +147,30 @@ "Init": "降噪器未初始化!" } }, + "McWssServer": { + "Exceptions": { + "Failed": "无法启动 McWss 服务器! 请检查是否有其他进程正在使用相同的端口!" + } + }, "VoiceCraft": { "Status": { "Initializing": "正在初始化...", "Connecting": "正在连接...", "Connected": "已连接!", - "Disconnected": "已断开连接!原因: {reason}" + "Disconnected": "已断开连接!原因: {0}" + }, + "DescriptionStatus": { + "McWss": "McWss 监听: {0}:{1}" }, "DisconnectReason": { "Manual": "手动断开连接。", "ServerFull": "服务器已满!", "IncompatibleVersion": "客户端/服务器版本不兼容!", - "ServerSidedOnly": null, - "ClientSidedOnly": null, + "ServerSidedOnly": "服务器只接受服务器端定位!", + "ClientSidedOnly": "服务器只接受客户端定位!", "Kicked": "被踢出服务器!", "Shutdown": "服务器关闭!", "Error": "尝试登录时发生错误!" } } -} \ No newline at end of file +} diff --git a/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-TW.json b/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-TW.json index a35169ae..8838076e 100644 --- a/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-TW.json +++ b/VoiceCraft.Client/VoiceCraft.Client/Locales/zh-TW.json @@ -26,9 +26,9 @@ "VoipBackgroundError": "VOIP背景服務錯誤: {0}" }, "McWss": { - "Badge": null, - "Connected": null, - "Disconnected": null + "Badge": "McWss", + "Connected": "McWss 連接已建立: {0}", + "Disconnected": "McWss 連接已斷開!" } }, "Home": { @@ -80,7 +80,7 @@ "EchoCancelers": "回聲消除器", "InputDevices": "輸入設備", "MicrophoneSensitivity": "麥克風靈敏度", - "OutputVolume": null, + "OutputVolume": "輸出音量", "OutputDevices": "輸出設備", "TestOutput": "測試輸出", "MicrophoneTest": { @@ -90,8 +90,8 @@ }, "Network": { "Network": "網路設置", - "PositioningType": null, - "McWssListenIp": null, + "PositioningType": "定位類型", + "McWssListenIp": "MCWSS監聽IP地址", "McWssHostPort": "MCWSS主機端口" }, "HotKey": { @@ -116,11 +116,11 @@ "ServerInfo": { "ServerInfo": "伺服器信息", "Status": { - "Latency": "延遲: {latency}", - "Motd": "Motd: {motd}", - "PositioningType": "定位類型: {positioningType}", - "ConnectedClients": "已連接客戶端: {connectedClients}", - "Version": null, + "Latency": "延遲: {0}", + "Motd": "Motd: {0}", + "PositioningType": "定位類型: {0}", + "ConnectedClients": "已連接客戶端: {0}", + "Version": "版本: {0}", "Pinging": "正在Ping..." } } @@ -147,22 +147,30 @@ "Init": "降噪器未初始化!" } }, + "McWssServer": { + "Exceptions": { + "Failed": "無法啟動 McWss 伺服器! 請檢查是否有其他進程正在使用相同的端口!" + } + }, "VoiceCraft": { "Status": { "Initializing": "正在初始化...", "Connecting": "正在連接...", "Connected": "已連接!", - "Disconnected": "已斷開連接!原因: {reason}" + "Disconnected": "已斷開連接!原因: {0}" + }, + "DescriptionStatus": { + "McWss": "McWss 監聽: {0}:{1}" }, "DisconnectReason": { "Manual": "手動斷開連接。", "ServerFull": "伺服器已滿!", "IncompatibleVersion": "客戶端/伺服器版本不兼容!", - "ServerSidedOnly": null, - "ClientSidedOnly": null, + "ServerSidedOnly": "伺服器只接受伺服器端定位!", + "ClientSidedOnly": "伺服器只接受客戶端定位!", "Kicked": "被踢出伺服器!", "Shutdown": "伺服器關閉!", "Error": "嘗試登錄時發生錯誤!" } } -} \ No newline at end of file +} diff --git a/VoiceCraft.Server/Locales/zh-CN.json b/VoiceCraft.Server/Locales/zh-CN.json index f8b13bae..924cc89e 100644 --- a/VoiceCraft.Server/Locales/zh-CN.json +++ b/VoiceCraft.Server/Locales/zh-CN.json @@ -190,8 +190,8 @@ } }, "Kick": { - "Name": null, - "Description": null, + "Name": "kick", + "Description": "踢出客户端.", "Arguments": { "Id": { "Name": "id", @@ -200,8 +200,8 @@ } }, "Mute": { - "Name": null, - "Description": null, + "Name": "mute", + "Description": "将实体/客户端静音.", "Arguments": { "Id": { "Name": "id", @@ -210,8 +210,8 @@ } }, "Unmute": { - "Name": null, - "Description": null, + "Name": "unmute", + "Description": "取消实体/客户端静音.", "Arguments": { "Id": { "Name": "id", @@ -220,8 +220,8 @@ } }, "Deafen": { - "Name": null, - "Description": null, + "Name": "deafen", + "Description": "使实体/客户端失聪.", "Arguments": { "Id": { "Name": "id", @@ -230,8 +230,8 @@ } }, "Undeafen": { - "Name": null, - "Description": null, + "Name": "undeafen", + "Description": "恢复实体/客户端听力.", "Arguments": { "Id": { "Name": "id", diff --git a/VoiceCraft.Server/Locales/zh-TW.json b/VoiceCraft.Server/Locales/zh-TW.json index a1bd6a5b..8b864360 100644 --- a/VoiceCraft.Server/Locales/zh-TW.json +++ b/VoiceCraft.Server/Locales/zh-TW.json @@ -194,8 +194,8 @@ "Description": "停止伺服器." }, "Kick": { - "Name": null, - "Description": null, + "Name": "kick", + "Description": "踢出客戶端.", "Arguments": { "Id": { "Name": "id", @@ -204,8 +204,8 @@ } }, "Mute": { - "Name": null, - "Description": null, + "Name": "mute", + "Description": "將實體/客戶端靜音.", "Arguments": { "Id": { "Name": "id", @@ -214,8 +214,8 @@ } }, "Unmute": { - "Name": null, - "Description": null, + "Name": "unmute", + "Description": "取消實體/客戶端靜音.", "Arguments": { "Id": { "Name": "id", @@ -224,8 +224,8 @@ } }, "Deafen": { - "Name": null, - "Description": null, + "Name": "deafen", + "Description": "使實體/客戶端失聽.", "Arguments": { "Id": { "Name": "id", @@ -234,8 +234,8 @@ } }, "Undeafen": { - "Name": null, - "Description": null, + "Name": "undeafen", + "Description": "恢復實體/客戶端聽力.", "Arguments": { "Id": { "Name": "id", @@ -244,4 +244,4 @@ } } } -} \ No newline at end of file +}