Skip to content

Commit 307de40

Browse files
Merge pull request #157 from Unny984/dev
More chinese localization and fixed a typo in en-us.json in VoiceCraft.Server
2 parents c7461d1 + 2dc9501 commit 307de40

File tree

4 files changed

+129
-1
lines changed

4 files changed

+129
-1
lines changed

VoiceCraft.Server/Locales/en-us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ServerProperties.LoadFile.JSONFailed": "JSON parsing failed.",
2020
"ServerProperties.LoadFile.Failed": "Failed to load server properties! Falling back to default properties! Error: {0}",
2121
"ServerProperties.CreateFile.Generating": "Generating ServerProperties.json file at {0}...",
22-
"ServerProperties.CreateFile.Success": "Sucessfully generated ServerProperties.json file at {0}",
22+
"ServerProperties.CreateFile.Success": "Successfully generated ServerProperties.json file at {0}",
2323
"ServerProperties.CreateFile.Failed": "Failed to generate ServerProperties.json file at {0}! Error: {1}",
2424
"Commands.Exceptions.CannotFindEntity": "Could not find entity with id: {0}",
2525
"Commands.Root.Description": "VoiceCraft commands.",
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"Startup.Title.Starting": "启动中...",
3+
"Startup.ServerSetupTable.Server": "服务器",
4+
"Startup.ServerSetupTable.Port": "端口",
5+
"Startup.ServerSetupTable.Protocol": "协议",
6+
"Startup.ServerProperties.Loading": "加载服务器属性...",
7+
"Startup.ServerProperties.Success": "成功加载服务器属性!",
8+
"Startup.VoiceCraftServer.Starting": "启动 VoiceCraft 服务器...",
9+
"Startup.VoiceCraftServer.Failed": "启动 VoiceCraft 服务器失败! 请检查是否有其他进程正在使用相同的端口!",
10+
"Startup.VoiceCraftServer.Success": "VoiceCraft 服务器启动成功!",
11+
"Startup.Finished": "服务器启动成功!",
12+
"Startup.Exception": "启动服务器时发生错误!",
13+
"Command.Exception": "执行命令 {0} 时发生错误!",
14+
"Shutdown.StartingIn": "在 {0} 毫秒后关闭服务器...",
15+
"Shutdown.Starting": "正在关闭服务器...",
16+
"Shutdown.Success": "服务器已成功关闭!",
17+
"ServerProperties.LoadFile.NotFound": "未在当前和/或子目录中找到 ServerProperties.json! 改为使用默认服务器属性!",
18+
"ServerProperties.LoadFile.Loading": "正在加载位于 {0} 的 ServerProperties.json 文件...",
19+
"ServerProperties.LoadFile.JSONFailed": "JSON 解析失败.",
20+
"ServerProperties.LoadFile.Failed": "加载服务器属性失败! 改为使用默认属性! 错误: {0}",
21+
"ServerProperties.CreateFile.Generating": "正在生成位于 {0} 的 ServerProperties.json 文件...",
22+
"ServerProperties.CreateFile.Success": "成功生成位于 {0} 的 ServerProperties.json 文件",
23+
"ServerProperties.CreateFile.Failed": "无法在 {0} 生成 ServerProperties.json 文件!错误: {1}",
24+
"Commands.Exceptions.CannotFindEntity": "无法找到 ID 为 {0} 的实体!",
25+
"Commands.Root.Description": "VoiceCraft 命令.",
26+
"Commands.Options.id.Name": "ID",
27+
"Commands.Options.id.Description": "实体的ID。",
28+
"Commands.SetProperty.Name": "设置属性",
29+
"Commands.SetProperty.Description": "设置一个实体的属性。",
30+
"Commands.SetProperty.Options.key.Name": "key",
31+
"Commands.SetProperty.Options.key.Description": "属性的key。",
32+
"Commands.SetProperty.Options.value.Name": "value",
33+
"Commands.SetProperty.Options.value.Description": "属性的value。",
34+
"Commands.SetPosition.Name": "设置位置",
35+
"Commands.SetPosition.Description": "设置一个实体的位置。",
36+
"Commands.SetPosition.Options.x.Description": "X位置。",
37+
"Commands.SetPosition.Options.y.Description": "Y位置。",
38+
"Commands.SetPosition.Options.z.Description": "Z位置。",
39+
"Commands.SetWorldId.Name": "设置世界ID",
40+
"Commands.SetWorldId.Description": "设置一个实体的世界ID。",
41+
"Commands.SetWorldId.Options.world.Name": "世界",
42+
"Commands.SetWorldId.Options.world.Description": "世界ID。",
43+
"Commands.List.Name": "列表",
44+
"Commands.List.Description": "列出所有实体。",
45+
"Commands.List.Options.clientsOnly.Name": "只显示客户端",
46+
"Commands.List.Options.clientsOnly.Description": "只显示客户端。",
47+
"Commands.List.Options.limit.Name": "限制",
48+
"Commands.List.Options.limit.Description": "限制显示的实体数量。",
49+
"Commands.List.Exceptions.Limit": "限制不能小于零!",
50+
"Commands.List.EntityTable.Id": "ID",
51+
"Commands.List.EntityTable.Name": "名称",
52+
"Commands.List.EntityTable.Position": "位置",
53+
"Commands.List.EntityTable.Rotation": "旋转",
54+
"Commands.List.Showing": "显示 {0} 个实体。",
55+
"Commands.SetTitle.Name": "设置标题",
56+
"Commands.SetTitle.Description": "设置一个客户端的标题。",
57+
"Commands.SetTitle.Options.title.Name": "标题",
58+
"Commands.SetTitle.Options.title.Description": "要设置的标题。",
59+
"Commands.SetTitle.Exceptions.NotAClientEntity": "ID 为 {0} 的实体不是一个客户端实体!:(",
60+
"AudioEffectSystem.FailedToAddEffect": "添加效果失败!",
61+
"AudioEffectSystem.FailedToRemoveEffect": "移除效果失败!",
62+
"AudioEffectSystem.NoAvailableIdFound": "无法找到可用的ID!"
63+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"Startup.Title.Starting": "啟動中...",
3+
"Startup.ServerSetupTable.Server": "伺服器",
4+
"Startup.ServerSetupTable.Port": "端口",
5+
"Startup.ServerSetupTable.Protocol": "協議",
6+
"Startup.ServerProperties.Loading": "加載伺服器屬性...",
7+
"Startup.ServerProperties.Success": "成功加載伺服器屬性!",
8+
"Startup.VoiceCraftServer.Starting": "啟動 VoiceCraft 伺服器...",
9+
"Startup.VoiceCraftServer.Failed": "啟動 VoiceCraft 伺服器失敗! 請檢查是否有其他進程正在使用相同的端口!",
10+
"Startup.VoiceCraftServer.Success": "VoiceCraft 伺服器啟動成功!",
11+
"Startup.Finished": "伺服器啟動成功!",
12+
"Startup.Exception": "啟動伺服器時發生錯誤!",
13+
"Command.Exception": "執行命令 {0} 時發生錯誤!",
14+
"Shutdown.StartingIn": "在 {0} 毫秒後關閉伺服器...",
15+
"Shutdown.Starting": "正在關閉伺服器...",
16+
"Shutdown.Success": "伺服器已成功關閉!",
17+
"ServerProperties.LoadFile.NotFound": "未在當前和/或子目錄中找到 ServerProperties.json! 改為使用預設伺服器屬性!",
18+
"ServerProperties.LoadFile.Loading": "正在加載位于 {0} 的 ServerProperties.json 文件...",
19+
"ServerProperties.LoadFile.JSONFailed": "JSON 解析失敗.",
20+
"ServerProperties.LoadFile.Failed": "加載伺服器屬性失敗! 改為使用預設屬性! 錯誤: {0}",
21+
"ServerProperties.CreateFile.Generating": "正在生成位于 {0} 的 ServerProperties.json 文件...",
22+
"ServerProperties.CreateFile.Success": "成功生成位于 {0} 的 ServerProperties.json 文件",
23+
"ServerProperties.CreateFile.Failed": "無法在 {0} 生成 ServerProperties.json 文件!錯誤: {1}",
24+
"Commands.Exceptions.CannotFindEntity": "無法找到 ID 為 {0} 的實體!",
25+
"Commands.Root.Description": "VoiceCraft 命令.",
26+
"Commands.Options.id.Name": "ID",
27+
"Commands.Options.id.Description": "實體的ID。",
28+
"Commands.SetProperty.Name": "設置屬性",
29+
"Commands.SetProperty.Description": "設置一個實體的屬性。",
30+
"Commands.SetProperty.Options.key.Name": "key",
31+
"Commands.SetProperty.Options.key.Description": "屬性的key。",
32+
"Commands.SetProperty.Options.value.Name": "value",
33+
"Commands.SetProperty.Options.value.Description": "屬性的value。",
34+
"Commands.SetPosition.Name": "設置位置",
35+
"Commands.SetPosition.Description": "設置一個實體的位置。",
36+
"Commands.SetPosition.Options.x.Description": "X位置。",
37+
"Commands.SetPosition.Options.y.Description": "Y位置。",
38+
"Commands.SetPosition.Options.z.Description": "Z位置。",
39+
"Commands.SetWorldId.Name": "設置世界ID",
40+
"Commands.SetWorldId.Description": "設置一個實體的世界ID。",
41+
"Commands.SetWorldId.Options.world.Name": "世界",
42+
"Commands.SetWorldId.Options.world.Description": "世界ID。",
43+
"Commands.List.Name": "列表",
44+
"Commands.List.Description": "列出所有實體。",
45+
"Commands.List.Options.clientsOnly.Name": "只顯示客戶端",
46+
"Commands.List.Options.clientsOnly.Description": "只顯示客戶端。",
47+
"Commands.List.Options.limit.Name": "限制",
48+
"Commands.List.Options.limit.Description": "限制显示的實體數量。",
49+
"Commands.List.Exceptions.Limit": "限制不能小于零! :(",
50+
"Commands.List.EntityTable.Id": "ID",
51+
"Commands.List.EntityTable.Name": "名稱",
52+
"Commands.List.EntityTable.Position": "位置",
53+
"Commands.List.EntityTable.Rotation": "旋轉",
54+
"Commands.List.Showing": "顯示 {0} 個實體。",
55+
"Commands.SetTitle.Name": "設置標題",
56+
"Commands.SetTitle.Description": "設置一個客戶端的標題。",
57+
"Commands.SetTitle.Options.title.Name": "標題",
58+
"Commands.SetTitle.Options.title.Description": "要設置的標題。",
59+
"Commands.SetTitle.Exceptions.NotAClientEntity": "ID 為 {0} 的實體不是一個客戶端實體!",
60+
"AudioEffectSystem.FailedToAddEffect": "添加效果失敗!",
61+
"AudioEffectSystem.FailedToRemoveEffect": "移除效果失敗!",
62+
"AudioEffectSystem.NoAvailableIdFound": "無法找到可用的ID!"
63+
}

VoiceCraft.Server/VoiceCraft.Server.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<ItemGroup>
2222
<EmbeddedResource Include="Locales\nl-nl.json"/>
2323
<EmbeddedResource Include="Locales\en-us.json"/>
24+
<EmbeddedResource Include="Locales\zh-cn.json"/>
25+
<EmbeddedResource Include="Locales\zh-tw.json"/>
2426
</ItemGroup>
2527

2628
</Project>

0 commit comments

Comments
 (0)