Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
66b642ef
Commit
66b642ef
authored
Jun 03, 2022
by
Tesutarin
Committed by
Melledy
Jun 03, 2022
Browse files
Language: Update translation
parent
09580ef4
Changes
3
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/SpawnCommand.java
View file @
66b642ef
...
@@ -23,7 +23,7 @@ import java.util.Random;
...
@@ -23,7 +23,7 @@ import java.util.Random;
import
static
emu
.
grasscutter
.
Configuration
.*;
import
static
emu
.
grasscutter
.
Configuration
.*;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
@Command
(
label
=
"spawn"
,
usage
=
"spawn <entityId> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)"
,
permission
=
"server.spawn"
,
permissionTargeted
=
"server.spawn.others"
,
description
=
"commands.spawn.description"
)
@Command
(
label
=
"spawn"
,
usage
=
"spawn <entityId> [amount] [level(monster only)]
[
<x> <y> <z>(monster only, optional)
]
"
,
permission
=
"server.spawn"
,
permissionTargeted
=
"server.spawn.others"
,
description
=
"commands.spawn.description"
)
public
final
class
SpawnCommand
implements
CommandHandler
{
public
final
class
SpawnCommand
implements
CommandHandler
{
@Override
@Override
...
...
src/main/resources/languages/en-US.json
View file @
66b642ef
...
@@ -304,7 +304,7 @@
...
@@ -304,7 +304,7 @@
"description"
:
"Sets your world level (Relog to see proper effects)"
"description"
:
"Sets your world level (Relog to see proper effects)"
},
},
"spawn"
:
{
"spawn"
:
{
"usage"
:
"Usage: spawn <entityID> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)"
,
"usage"
:
"Usage: spawn <entityID> [amount] [level(monster only)]
[
<x> <y> <z>(monster only, optional)
]
"
,
"success"
:
"Spawned %s of %s."
,
"success"
:
"Spawned %s of %s."
,
"limit_reached"
:
"Scene spawn limit reached. Spawning %s entities instead."
,
"limit_reached"
:
"Scene spawn limit reached. Spawning %s entities instead."
,
"description"
:
"Spawns an entity near you"
"description"
:
"Spawns an entity near you"
...
...
src/main/resources/languages/zh-CN.json
View file @
66b642ef
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
"shutdown"
:
"正在关闭..."
,
"shutdown"
:
"正在关闭..."
,
"done"
:
"加载完成!输入
\"
help
\"
查看命令列表"
,
"done"
:
"加载完成!输入
\"
help
\"
查看命令列表"
,
"error"
:
"发生了一个错误。"
,
"error"
:
"发生了一个错误。"
,
"welcome"
:
"欢迎使用 Grasscutter!
珍惜这段美妙的旅途吧!
"
,
"welcome"
:
"欢迎使用 Grasscutter!"
,
"run_mode_error"
:
"无效的服务器运行模式:%s。"
,
"run_mode_error"
:
"无效的服务器运行模式:%s。"
,
"run_mode_help"
:
"服务器运行模式必须为 'HYBRID'(混合)、'DISPATCH_ONLY'(仅 Dispatch) 或 'GAME_ONLY'(仅游戏)。Grasscutter 启动失败..."
,
"run_mode_help"
:
"服务器运行模式必须为 'HYBRID'(混合)、'DISPATCH_ONLY'(仅 Dispatch) 或 'GAME_ONLY'(仅游戏)。Grasscutter 启动失败..."
,
"create_resources"
:
"正在创建 resources 目录..."
,
"create_resources"
:
"正在创建 resources 目录..."
,
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
"account"
:
{
"account"
:
{
"modify"
:
"修改用户账号"
,
"modify"
:
"修改用户账号"
,
"invalid"
:
"无效的UID。"
,
"invalid"
:
"无效的UID。"
,
"exists"
:
"账号已存在。"
,
"exists"
:
"
具有此用户名和/或 UID 的
账号已存在。"
,
"create"
:
"已创建 UID 为 %s 的账号。"
,
"create"
:
"已创建 UID 为 %s 的账号。"
,
"delete"
:
"账号已删除。"
,
"delete"
:
"账号已删除。"
,
"no_account"
:
"账号不存在。"
,
"no_account"
:
"账号不存在。"
,
...
@@ -304,7 +304,7 @@
...
@@ -304,7 +304,7 @@
"description"
:
"设置世界等级,执行命令后需重新登录以生效"
"description"
:
"设置世界等级,执行命令后需重新登录以生效"
},
},
"spawn"
:
{
"spawn"
:
{
"usage"
:
"用法:spawn <实体ID> [数量] [等级(仅怪物)]"
,
"usage"
:
"用法:spawn <实体ID> [数量] [等级(仅怪物)]
[<x> <y> <z>(仅怪物, 可选)]
"
,
"success"
:
"已生成 %s 个 %s。"
,
"success"
:
"已生成 %s 个 %s。"
,
"limit_reached"
:
"场景中的生成数量已达上限。已替代为生成 %s 个实体。"
,
"limit_reached"
:
"场景中的生成数量已达上限。已替代为生成 %s 个实体。"
,
"description"
:
"在你附近生成实体"
"description"
:
"在你附近生成实体"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment