Skip to content

Commit 2e96fca

Browse files
Merge pull request #188 from Unny984/master
update chinese translation and match format
2 parents 99cc538 + 57e5376 commit 2e96fca

File tree

5 files changed

+461
-155
lines changed

5 files changed

+461
-155
lines changed

VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CHS.json renamed to VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CN.json

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
{
2+
"BackgroundService": {
3+
"BackgroundError": "背景服务错误: {0}"
4+
},
25
"Notification": {
3-
"Badges": {
4-
"Servers": "服务器",
5-
"Error": "错误",
6-
"GC": "垃圾回收",
7-
"VoiceCraft": "VoiceCraft",
8-
"CrashLogs": "崩溃日志"
6+
"VoiceCraft": {
7+
"Badge": "VoiceCraft"
8+
},
9+
"Servers": {
10+
"Badge": "服务器",
11+
"Added": "{0} 已添加。",
12+
"Edited": "{0} 已编辑。",
13+
"Removed": "{0} 已删除。"
14+
},
15+
"GC": {
16+
"Badge": "垃圾回收",
17+
"Triggered": "垃圾回收触发。内存清除: {0}mb。"
18+
},
19+
"CrashLogs": {
20+
"Badge": "崩溃日志",
21+
"Cleared": "成功清除所有日志。"
22+
},
23+
"Error": {
24+
"Badge": "错误",
25+
"VoipFailedToStart": "背景服务无法启动VOIP进程!",
26+
"VoipBackgroundError": "VOIP背景服务错误: {0}"
927
}
1028
},
1129
"Home": {
@@ -27,9 +45,9 @@
2745
"Port": "端口"
2846
},
2947
"Credits": {
30-
"AppVersion": "应用版本: {version}",
31-
"Version": "版本: {version}",
32-
"Codec": "编解码器: {version}",
48+
"AppVersion": "应用版本: {0}",
49+
"Version": "版本: {0}",
50+
"Codec": "编解码器: {0}",
3351
"Contributors": "贡献者",
3452
"Roles": {
3553
"Author": "作者",
@@ -69,10 +87,10 @@
6987
"McWssHostPort": "MCWSS主机端口"
7088
},
7189
"HotKey": {
72-
"HotKey": null,
90+
"HotKey": "快捷键",
7391
"Actions": {
74-
"Mute": null,
75-
"Deafen": null
92+
"Mute": "静音",
93+
"Deafen": "拒听"
7694
}
7795
},
7896
"Advanced": {
@@ -128,10 +146,11 @@
128146
"Disconnected": "已断开连接!原因: {reason}"
129147
},
130148
"DisconnectReason": {
131-
"Shutdown": null,
132-
"Forced": null,
133-
"IncompatibleVersion": "客户端/服务器版本不兼容!",
149+
"Manual": "手动断开连接。",
134150
"ServerFull": "服务器已满!",
151+
"IncompatibleVersion": "客户端/服务器版本不兼容!",
152+
"Kicked": "被踢出服务器!",
153+
"Shutdown": "服务器关闭!",
135154
"Error": "尝试登录时发生错误!"
136155
}
137156
}

VoiceCraft.Client/VoiceCraft.Client/Locales/zh-CHT.json renamed to VoiceCraft.Client/VoiceCraft.Client/Locales/zh-TW.json

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
{
2+
"BackgroundService": {
3+
"BackgroundError": "背景服務錯誤: {0}"
4+
},
25
"Notification": {
3-
"Badges": {
4-
"Servers": "伺服器",
5-
"Error": "錯誤",
6-
"GC": "垃圾回收",
7-
"VoiceCraft": "VoiceCraft",
8-
"CrashLogs": "崩潰日志"
6+
"VoiceCraft": {
7+
"Badge": "VoiceCraft"
8+
},
9+
"Servers": {
10+
"Badge": "伺服器",
11+
"Added": "{0} 已添加。",
12+
"Edited": "{0} 已編輯。",
13+
"Removed": "{0} 已刪除。"
14+
},
15+
"GC": {
16+
"Badge": "垃圾回收",
17+
"Triggered": "垃圾回收觸發。內存清除: {0}mb。"
18+
},
19+
"CrashLogs": {
20+
"Badge": "崩潰日志",
21+
"Cleared": "成功清除所有日志。"
22+
},
23+
"Error": {
24+
"Badge": "錯誤",
25+
"VoipFailedToStart": "背景服務無法啟動VOIP進程!",
26+
"VoipBackgroundError": "VOIP背景服務錯誤: {0}"
927
}
1028
},
1129
"Home": {
@@ -27,9 +45,9 @@
2745
"Port": "端口"
2846
},
2947
"Credits": {
30-
"AppVersion": "應用版本: {version}",
31-
"Version": "版本: {version}",
32-
"Codec": "編解碼器: {version}",
48+
"AppVersion": "應用版本: {0}",
49+
"Version": "版本: {0}",
50+
"Codec": "編解碼器: {0}",
3351
"Contributors": "貢獻者",
3452
"Roles": {
3553
"Author": "作者",
@@ -69,10 +87,10 @@
6987
"McWssHostPort": "MCWSS主機端口"
7088
},
7189
"HotKey": {
72-
"HotKey": null,
90+
"HotKey": "快捷鍵",
7391
"Actions": {
74-
"Mute": null,
75-
"Deafen": null
92+
"Mute": "靜音",
93+
"Deafen": "拒聽"
7694
}
7795
},
7896
"Advanced": {
@@ -128,10 +146,11 @@
128146
"Disconnected": "已斷開連接!原因: {reason}"
129147
},
130148
"DisconnectReason": {
131-
"Shutdown": null,
132-
"Forced": null,
133-
"IncompatibleVersion": "客戶端/伺服器版本不兼容!",
149+
"Manual": "手動斷開連接。",
134150
"ServerFull": "伺服器已滿!",
151+
"IncompatibleVersion": "客戶端/伺服器版本不兼容!",
152+
"Kicked": "被踢出伺服器!",
153+
"Shutdown": "伺服器關閉!",
135154
"Error": "嘗試登錄時發生錯誤!"
136155
}
137156
}

VoiceCraft.Client/VoiceCraft.Client/VoiceCraft.Client.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
<ItemGroup>
108108
<EmbeddedResource Include="Locales\nl-NL.json"/>
109109
<EmbeddedResource Include="Locales\en-US.json"/>
110-
<None Include="Locales\zh-CHS.json" />
111-
<None Include="Locales\zh-CHT.json" />
110+
<None Include="Locales\zh-CN.json" />
111+
<None Include="Locales\zh-TW.json" />
112112
</ItemGroup>
113113

114114
<ItemGroup>

0 commit comments

Comments
 (0)