Skip to content

Commit

Permalink
Merge pull request #20 from 0x506978656c/1.16.4
Browse files Browse the repository at this point in the history
Added English language support
  • Loading branch information
hhhxiao authored Feb 19, 2021
2 parents ff6885e + ca892b3 commit f02ba1b
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
"code"
]
}
],
],{
"login": "0x506978656c",
"name": "! Pixel",
"avatar_url": "https://avatars.githubusercontent.com/u/66031115?s=96&v=4",
"profile": "https://github.com/0x506978656c",
"contributions": [
"code"
]
},
"contributorsPerLine": 7
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Trapdoor是一个为 Minecraft Bedrock Edition 服务的,基于原版服务端
<td align="center"><a href="https://github.com/OEOTYAN"><img src="https://avatars2.githubusercontent.com/u/58554322?v=4?s=100" width="100px;" alt=""/><br /><sub><b>OEOTYAN</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=OEOTYAN" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/xiaohengying"><img src="https://avatars2.githubusercontent.com/u/44132837?v=4?s=100" width="100px;" alt=""/><br /><sub><b>xiaohengying</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=xiaohengying" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/quizhizhe"><img src="https://avatars1.githubusercontent.com/u/42761326?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Qiuzhizhe</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=quizhizhe" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/0x506978656c"><img src="https://avatars.githubusercontent.com/u/66031115?s=96&v=4" width="100px;" alt=""/><br /><sub><b>! Pixel</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=0x506978656c" title="Code">💻</a></td>
</tr>
</table>

Expand Down
1 change: 1 addition & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ thanks for the follow game players who make suggestions and feedback bugs:
<td align="center"><a href="https://github.com/OEOTYAN"><img src="https://avatars2.githubusercontent.com/u/58554322?v=4?s=100" width="100px;" alt=""/><br /><sub><b>OEOTYAN</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=OEOTYAN" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/xiaohengying"><img src="https://avatars2.githubusercontent.com/u/44132837?v=4?s=100" width="100px;" alt=""/><br /><sub><b>xiaohengying</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=xiaohengying" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/quizhizhe"><img src="https://avatars1.githubusercontent.com/u/42761326?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Qiuzhizhe</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=quizhizhe" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/0x506978656c"><img src="https://avatars.githubusercontent.com/u/66031115?s=96&v=4" width="100px;" alt=""/><br /><sub><b>! Pixel</b></sub></a><br /><a href="https://github.com/hhhxiao/TrapDoor/commits?author=0x506978656c" title="Code">💻</a></td>
</tr>
</table>

Expand Down
119 changes: 118 additions & 1 deletion lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,120 @@
{
"command.td?.desc":"print help info"
"command.apicfg.desc": "Internal API command settings",
"command.apicfg.pvd.desc": "Set the visible distance of particles",
"command.apicfg.pm.desc": "Sacrifice a certain display effect to reduce lag",
"command.tick.desc": "Change the running state of the world",
"command.tick.fz.desc": "Pause world operation",
"command.tick.slow.desc": "Slow down the world to run [num] multiples",
"command.tick.slow.error": "Slowdown multiple must be between [2-64]",
"command.tick.acc.desc": "Accelerate World Math [num] multiples (theoretical value)",
"command.tick.acc.error": "The acceleration factor must be between [2-10]",
"command.tick.r.desc": "Reset world operation to normal state",
"command.tick.fw.desc": "World running step [num]gt",
"command.tick.q.desc": "Query tick status",
"command.prof.desc": "Game Performance Analysis",
"command.prof.actor.desc": "Entity Update Performance Analysis",
"command.mspt.desc": "Display Mspt and tps",
"command.backup.desc": "Backup related functions",
"command.backup.l.desc": "List all backups",
"command.backup.b.desc": "Create Backup",
"command.backup.r.desc": "Restore Backup",
"command.backup.crash.desc": "Crash Server",
"command.hsa.desc": "hsa (structure spawning area) related commands",
"command.hsa.list.desc": "List all hsa",
"command.hsa.clear.desc": "Clear the hsa cache and display the number of points",
"command.hsa.find.desc": "Find the best pos",
"command.hsa.show.desc": "Switch hsa display",
"command.hsa.draw.desc": "Draw hsa",
"command.draw.desc": "Simple Construction",
"command.draw.ci.desc": "Draw a circle",
"command.draw.sp.desc": "Draw a sphere",
"command.draw.mr.desc": "Set the maximum radius",
"command.counter.desc": "Hopper Counter",
"command.counter.r.desc": "Reset Channel [num]",
"command.counter.p.desc": "Print Channel",
"command.village.desc": "Village related functions",
"command.village.list.desc": "List all loaded villages",
"command.village.b.desc": "Switch village border display",
"command.village.b.set": "Set the village border display as: %d",
"command.village.p.desc": "Display POI query range",
"command.village.p.set": "Set the POI query range to: %d",
"command.village.s.desc": "Display the refresh area of ​​the iron golem",
"command.village.s.set": "Set the refresh area for displaying iron golems as: %d",
"command.village.c.desc": "Show Village Center",
"command.village.c.set": "Set the display village center to",
"command.village.v.desc": "Display information above villagers' heads",
"command.village.v.set": "Set to display the information above the villager's head as: %d",
"command.village.n.desc": "Display detailed information of the nearest village",
"command.func.desc": "Switches for some global functions",
"command.func.hopper.desc": "Switch hopper Counter",
"command.func.hopper.set": "Set the hopper counter to: %d",
"command.func.spawn.desc": "Switch spawn point and spawn probability display",
"command.func.spawn.set": "Set the spawn point and spawn probability display as: %d",
"command.func.rotate.desc": "Switch cactus to cube",
"command.func.rotate.set": "Set the cactus to cube rotation: %d",
"command.func.draw.desc": "Switch draw command",
"command.func.draw.set": "Set the draw command to: %d",
"command.func.stat.desc": "Switch player behavior statistics",
"command.func.stat.set": "Set player behavior statistics to: %d",
"command.func.expl.desc": "Set the explosion destruction terrain",
"command.func.expl.set": "Set the explosion damage terrain to: %d",
"command.func.ncud.desc": "Switch prevents NC update",
"command.func.ncud.set": "Set to prevent NC update to %d",
"command.o.desc": "Quickly switch spectator mode",
"command.o.set": "Set player [%s] as spectator mode",
"command.s.desc": "Quickly switch survival mode",
"command.s.set": "Set player [%s] to survival mode",
"command.c.desc": "Quickly switch creative mode",
"command.c.set": "Set player [%s] to creative mode",
"command.td?.desc": "Print Help",
"command.self.desc": "Player Personal Function Switch",
"command.self.chunk.desc": "Switch chunk display",
"command.self.chunk.set": "Set chunk display as %d",
"command.self.me.desc": "Switch measurement",
"command.self.me.set": "Set the measurement to %d",
"command.self.rs.desc": "Switch redstone signal source display",
"command.self.rs.set": "Set the redstone signal source to %d",
"command.here.desc": "Broadcast your own coordinates",
"command.l.desc": "Display the coordinates of all online players",
"command.os.desc": "Display the CPU and memory usage of the server process",
"command.cl.desc": "Calculator",
"command.lang.desc": "Language related",
"command.lang.set.desc": "Change Language",
"command.lang.list.desc": "List all languages",
"command.lang.set.success": "Language set successfully",
"command.lang.set.failure": "Language setting failed",
"command.slime.desc": "Slime chunk display",
"command.slime.c.desc": "Please clear the slime cache",
"command.slime.r.desc": "Set the display radius of the slime area",
"command.slime.show.desc": "Show Slime chunk",
"command.error.config": "This command is not configured or has been closed",
"command.error.permission": "You do not have permission to execute this command, your permission level: %d <command permission level: %d",
"command.error.moreTokenRequired": "Missing parameters or subcommands after %s",
"command.error.noDesc": "The command has no description information",
"command.error.noSubCommand": "There is no such subcommand, the following are all possible subcommands of this command:\n",


"tick.fz.set": "World operation has stopped",
"tick.r.set": "The world has been restored to its initial state",
"tick.acc.set": "The world starts to run at %zu speed (theoretical value)",
"tick.acc.error": "The world is not in a normal state, acceleration cannot be used",
"tick.fw.begin": "Start to move forward, there is %zu gt left",
"tick.fw.error": "This command can only run in normal or suspended state",
"tick.fw.end": "%d gt has passed",
"tick.slow.set" :"The world is now slowing down at %zu",
"tick.slow.error": "This command can only be executed under normal conditions",

"prof.error":"Another analyzer is running",
"prof.start": "Start analysis...",
"prof.warning" :"The world is not in a normal state, performance analysis may be inaccurate",

"village.error.noDweller": "The entity is not a resident or does not belong to any village",
"village.error.noVillage": "There is no village nearby",
"village.info.allVillages": "Below are all the villages that are being loaded",
"backup.error.dictNotExist": "The backup directory does not exist",
"backup.info.start": "Backup Start",
"backup.info.end": "Backup complete",
"backup.error.failure": "Backup failed with error code %d",
"backup.info.noBackups": "No backup files",
"backup.info.moreBackups": "There are %d older backups not listed"
}
4 changes: 2 additions & 2 deletions todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[O] 完善彩色消息构造器(MessageBuilder),增加类似这样的接口 Message* printf(color,fmt,args...);
[O] 规范命名空间和各种变量名以及代码规范化

[-] 修复和完善仙人掌转方块
[-] 需要重写仙人掌立方体旋转w
[-] 完善权限管理
[-] 完善右键点击api
[-] 配置文件
Expand All @@ -20,4 +20,4 @@
[X] 丰富LevelChunk的接口
[X] 命令解析器希望能独立成独立的库,不和有hook的类交互(降低耦合)
[X] 重写和丰富村庄功能
...
...

0 comments on commit f02ba1b

Please sign in to comment.